23.09.2016, 16:25
Dear All,
I have a small problem. I have a KNX device that does keep in memory its previuos humidity setpoint what power shut down. Hence I would like to write a script in order to save the setpoint in homelynk Schneider and write it when power comes back.
I wrote this on event script on 2/4/51 address:
storage.set ('myobjectdata', '2/4/51')
Then in init script I wrote the following:
mydata = storage.get('myobjectdata')
grp.write ('2/4/51', mydata)
It seems everything works but the value sent on bus is 0% (Umidity). What is wrong?
When I save a data to storage, there is a time after that data is saved? Or the saving is immediate?
Thank you for your help.
HomeLynk firmware version is 1.3.1
Thanks.
Claudio Lauriola
I have a small problem. I have a KNX device that does keep in memory its previuos humidity setpoint what power shut down. Hence I would like to write a script in order to save the setpoint in homelynk Schneider and write it when power comes back.
I wrote this on event script on 2/4/51 address:
storage.set ('myobjectdata', '2/4/51')
Then in init script I wrote the following:
mydata = storage.get('myobjectdata')
grp.write ('2/4/51', mydata)
It seems everything works but the value sent on bus is 0% (Umidity). What is wrong?
When I save a data to storage, there is a time after that data is saved? Or the saving is immediate?
Thank you for your help.
HomeLynk firmware version is 1.3.1
Thanks.
Claudio Lauriola