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.

Save data to storage
#1
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
Reply


Messages In This Thread
Save data to storage - by Domoticatorino - 23.09.2016, 16:25
RE: Save data to storage - by admin - 23.09.2016, 18:05
RE: Save data to storage - by Domoticatorino - 23.09.2016, 18:11

Forum Jump: