This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

BIM ioT
#28
(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!
Reply


Messages In This Thread
BIM ioT - by gdimaria - 06.05.2021, 15:05
RE: BIM ioT - by admin - 06.05.2021, 15:08
RE: BIM ioT - by gdimaria - 07.05.2021, 07:54
RE: BIM ioT - by gdimaria - 06.05.2021, 15:11
RE: BIM ioT - by admin - 07.05.2021, 07:59
RE: BIM ioT - by gdimaria - 10.05.2021, 16:16
RE: BIM ioT - by admin - 11.05.2021, 07:08
RE: BIM ioT - by gdimaria - 11.05.2021, 09:30
RE: BIM ioT - by admin - 11.05.2021, 09:32
RE: BIM ioT - by gdimaria - 11.05.2021, 09:41
RE: BIM ioT - by admin - 11.05.2021, 09:42
RE: BIM ioT - by gdimaria - 11.05.2021, 10:24
RE: BIM ioT - by admin - 13.05.2021, 06:23
RE: BIM ioT - by gdimaria - 13.05.2021, 09:05
RE: BIM ioT - by admin - 13.05.2021, 09:06
RE: BIM ioT - by gdimaria - 13.05.2021, 09:51
RE: BIM ioT - by admin - 13.05.2021, 09:53
RE: BIM ioT - by gdimaria - 13.05.2021, 10:01
RE: BIM ioT - by gdimaria - 28.05.2021, 11:07
RE: BIM ioT - by admin - 28.05.2021, 13:57
RE: BIM ioT - by gdimaria - 06.06.2021, 16:35
RE: BIM ioT - by admin - 07.06.2021, 09:59
RE: BIM ioT - by gdimaria - 09.06.2021, 15:17
RE: BIM ioT - by admin - 10.06.2021, 06:05
RE: BIM ioT - by gdimaria - 10.06.2021, 07:48
RE: BIM ioT - by admin - 10.06.2021, 07:53
RE: BIM ioT - by gdimaria - 10.06.2021, 08:26
RE: BIM ioT - by gdimaria - 10.06.2021, 09:27
RE: BIM ioT - by admin - 10.06.2021, 10:03
RE: BIM ioT - by gdimaria - 10.06.2021, 17:34

Forum Jump: