Thank you.
I have 2 devices. I use API AddScheduleTarget and post:
new AddScheduleTarget()
{
DeviceId = 1,
Objects = new GXObject[]
{
new GXObject()
{
LogicalName = "0.0.96.1.0.255",
ObjectType = 1,
DeviceId = 1,
Attributes = new List<GXAttribute>() {new GXAttribute() {Index = 2}}
}
},
Schedules = new ulong[] { 1},
};
After that 2 read object tasks are created for device 1 and device 2, although I only need to start read for device 1.
Hi,
Hi,
Send Post-request
http://address:64881/api/schedule/ListSchedules
Body is Json
{
"DeviceId":1234
}
1234 is the device address.
BR,
Mikko
Thank you.
Thank you.
I have 2 devices. I use API AddScheduleTarget and post:
new AddScheduleTarget()
{
DeviceId = 1,
Objects = new GXObject[]
{
new GXObject()
{
LogicalName = "0.0.96.1.0.255",
ObjectType = 1,
DeviceId = 1,
Attributes = new List<GXAttribute>() {new GXAttribute() {Index = 2}}
}
},
Schedules = new ulong[] { 1},
};
After that 2 read object tasks are created for device 1 and device 2, although I only need to start read for device 1.
Hi,
Hi,
You are right. It's now fixed. Get the latest version.
https://gurux.fi/node/16520
BR,
Mikko
Thank you.
Thank you.