I guess it has to do with one of your scripts. Can You isolate the problem to a single script, for example by turning them off, one by one temporary. Can You remember what script you were working with at the time that these errors started to show?
2017-03-28 11:30:01.651 LUA: error loading module 'devices' from file '/home/pi/domoticz/scripts/lua/devices.lua':
/home/pi/domoticz/scripts/lua/devices.lua:927: '}' expected (to close '{' at line 922) near
Line 922 is written wrong and there not working.
Setup:
- DS923+ Docker
Domoticz Latest Stable
Mosquitto / ZwaveJSUI @ Aeotec Z-Stick Gen5+ / PiHole Unbound
P1 USB Gas/Power, HW watermeter
- A lot of Zwave switches, contacts, plugs, smoke/Co2 ect
- DiY 7.5kWh Solar Storage @ GitHuB
Yes but the file is generated automatic after deletion the file get rebuild/made again and then the error returns after a while.
I only run a heating script and also keeps turning the switch for heating constantly with every run off or on. Like the script cannot figure out the device state
Yep...
But without knowing what script and such you are running is like trying to find your way in the dark.
As such errors (non domoticz standard scripts) we need more info and can't blind guess what is going on.
Then take a look at you script at the part where the devices.lua is created and debug what is wrong and why it writes a false line.
And if it's dzvent related, maybe asking the dedicated dzvent thread could solve your issue
Setup:
- DS923+ Docker
Domoticz Latest Stable
Mosquitto / ZwaveJSUI @ Aeotec Z-Stick Gen5+ / PiHole Unbound
P1 USB Gas/Power, HW watermeter
- A lot of Zwave switches, contacts, plugs, smoke/Co2 ect
- DiY 7.5kWh Solar Storage @ GitHuB
mcmikev wrote:Yes but the file is generated automatic after deletion the file get rebuild/made again and then the error returns after a while.
I only run a heating script and also keeps turning the switch for heating constantly with every run off or on. Like the script cannot figure out the device state
Mmm, this is really a problem. I'm not sure how to fix this exactly. I'm doing an http request and turn the json into a Lua module that can be required by the dzVents code. Somehow, along the way, this conversion goes wrong. Maybe you can send me the devices.lua file when this happens.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.