13.05.2021, 10:01
(13.05.2021, 09:53)admin Wrote: Modify the sendobjvalue function in bim-iot library and do a full script restart via disable/enable:
Code:function sendobjvalue(obj)
local data = json.encode({
Type = 'NotificationPackage',
Item = {
Name = obj.name,
State = encodevalue(obj.value, obj.dtype),
Type = obj.dtype,
Editable = 2, -- allow read/write
Link = ''
},
TimeStamp = timestamp()
})
wsclient:send(data)
end
I already done it...
Everything seems to works fine at moment...
now they said me that they will try to send write messages in the next days... hopefully everything will be fine.
Thank you so much for your priceless support!
Peppe