Search found 6 matches
- Tuesday 15 May 2018 14:50
- Forum: LUA
- Topic: LUA script in dir clogs up log
- Replies: 10
- Views: 1268
Re: LUA script in dir clogs up log
That log entry can be disabled easily on regular use by simply going into the domoticz website, go into Setup/Settings and select the Other tab. Scroll down to the Event part and deselect the option "Log 'event script triggers" Jos Thanks, I’ll give that a go. Sent from my iPhone using Tapatalk
- Tuesday 15 May 2018 14:12
- Forum: LUA
- Topic: LUA script in dir clogs up log
- Replies: 10
- Views: 1268
Re: LUA script in dir clogs up log
Thanks for the previous help. I now just get a lot of the message below: 2018-05-15 13:06:07.131 EventSystem: Script event triggered: /home/pi/domoticz/scripts/lua/script_device_test.lua 2018-05-15 13:06:09.818 (RXFCom 433) Temp + Humidity (Bathroom) 2018-05-15 13:06:09.833 EventSystem: Script event ...
- Monday 14 May 2018 12:24
- Forum: LUA
- Topic: LUA script in dir clogs up log
- Replies: 10
- Views: 1268
Re: LUA script in dir clogs up log
Sorry, i thought (and not understanding how and when the device scripts are called or run, that i was just missing something obvious. No worries, I was just playing a little. :) The thing to understand is that the eventsystem will run all script_device.xxxx.lua files each time when when any device ...
- Monday 14 May 2018 0:45
- Forum: LUA
- Topic: LUA script in dir clogs up log
- Replies: 10
- Views: 1268
Re: LUA script in dir clogs up log
Hi Jos, Sorry, i thought (and not understanding how and when the device scripts are called or run, that i was just missing something obvious. The script name is script_device_test.lua and the content is below. Normally the sensors all report back 'Closed', unless one is left Open. commandArray ...
- Monday 14 May 2018 0:07
- Forum: LUA
- Topic: LUA script in dir clogs up log
- Replies: 10
- Views: 1268
Re: LUA script in dir clogs up log
Is there a way to either not have that message appear, or to not have the script trigger unless the devices im interested in change? You could convert your script to dzVents Lua and let it trigger only on the relevant devices. It does take some reading but the wiki is excellent and conversion is ...
- Sunday 13 May 2018 23:05
- Forum: LUA
- Topic: LUA script in dir clogs up log
- Replies: 10
- Views: 1268
LUA script in dir clogs up log
Hi all, I have created a device script in the domoticz/script/lua directory. I want to catch a set of contact sensors opening and then update a virtual switch with the overall status (i.e. House insecure). The aim is that i can dashboard the general house security status and see if someone has left ...