First of all, big thanks for your hard work on Dzvents!
Yesterday I upgraded my Domoticz to 3.8153 release. Then, after adjusted my scripts to 2.xx req I have problems with persistent data in my scripts. It seems like the _xxx.lua scripts not beeing created in the Data folder.
Would be glad if someone could help me getting forward in this matter, I don't want to fill up Domoticz variables with all of my data...
Error code on Domoticz:
Code: Select all
2017-08-02 09:05:00.280 Error: dzVents: Error: An error occured when calling event handler DisplayDevelopment_new
2017-08-02 09:05:00.280 Error: dzVents: Error: ...oticz/scripts/dzVents/scripts/DisplayDevelopment_new.lua:107: attempt to compare nil with number
Sample of my data section:
Code: Select all
data = {
barometer_old = {initial=0},
balja_old = {initial=0},
utetemp_old = {initial=0},
vindgust_old = {initial=0},
regn_old = {initial=0},
dorrar_old = {initial=0},
hour_old = {initial=0}
},