10.06.2021, 09:27
(10.06.2021, 08:26)gdimaria Wrote: ok.... I show you the logs:
When I change the setpoint (tagged bim-read-write) from LM the log is:
* string: {"Type":"NotificationPackage","Item":{"Link":"","State":"22.00","Type":"NUMBER:FLOAT","Name":"SetPoint","Editable":2},"TimeStamp":"2021-06-10T08:19:01.857Z"}
When they changes the setpoint from their GUI, we transmit:
* arg: 1 * string: {"Controller":"Items","Action":"Post","ItemName":"SetPoint","ItemState":"28"} * arg: 2 * number: 1 * arg: 3 * nil * arg: 4 * nil * arg: 5 * nil
both are correct, but they receive nothing.
they receive every other state from objects tagged bim-read and can execute every command on objects tagged bim-write.
The mistake is only on bim-read-write objects.
(10.06.2021, 08:26)gdimaria Wrote: ok.... I show you the logs:
When I change the setpoint (tagged bim-read-write) from LM the log is:
* string: {"Type":"NotificationPackage","Item":{"Link":"","State":"22.00","Type":"NUMBER:FLOAT","Name":"SetPoint","Editable":2},"TimeStamp":"2021-06-10T08:19:01.857Z"}
When they changes the setpoint from their GUI, we transmit:
* arg: 1 * string: {"Controller":"Items","Action":"Post","ItemName":"SetPoint","ItemState":"28"} * arg: 2 * number: 1 * arg: 3 * nil * arg: 4 * nil * arg: 5 * nil
both are correct, but they receive nothing.
they receive every other state from objects tagged bim-read and can execute every command on objects tagged bim-write.
The mistake is only on bim-read-write objects.
Pardon, when I change from LM, They receive the feedback.
They receive nothing when change from their dashboard, even the command is correctly execute.
Ok, at the end we found the mistake: we have to never send a "write message", but only "read message", even in the case of a feedback after a write command.
that's what we have to send with a bim-read-write object:
* string: {"Type":"NotificationPackage","Item":{"Link":"","State":"22.00","Type":"NUMBER:FLOAT","Name":"SetPoint","Editable":2},"TimeStamp":"2021-06-10T08:19:01.857Z"}
NEVER
* arg: 1 * string: {"Controller":"Items","Action":"Post","ItemName":"SetPoint","ItemState":"28"} * arg: 2 * number: 1 * arg: 3 * nil * arg: 4 * nil * arg: 5 * nil
(That is what they send to write from their dashboard)
So, please, can you help me to modify the library?
THANK YOU SO MUCH!