Tell me more about persistant data. In the data section you can give an initial value. When does it get this value?
Do you make extra code in case you need to reset?
when/how reset persistant data
Moderator: leecollings
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: when/how reset persistant data
It will get that value when there is no prior data. Resetting can be done by throwing away (or editing) the data file for your script. See How does the storage stuff work?.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: when/how reset persistant data
Or just give it a new value in your script.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Who is online
Users browsing this forum: No registered users and 1 guest