hello,
Lua script is working properly, DzEvent script not really, virtual sensors are not updated, and there is not any error reported. Strange
Any idea?
Thanks
Search found 9 matches
- Friday 03 August 2018 21:33
- Forum: Examples & Solutions
- Topic: dzVents version of the Solar Data Script [SOLVED]
- Replies: 175
- Views: 48908
- Thursday 02 August 2018 22:35
- Forum: LUA
- Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
- Replies: 245
- Views: 67346
Re: Real-time solar data : azimuth, Altitude, Lux sensor...
hello,
Lua script is working properly, DzEvent script not really, virtual sensors are not updated, and there is not any error reported. Strange
Any idea?
Thanks
Lua script is working properly, DzEvent script not really, virtual sensors are not updated, and there is not any error reported. Strange
Any idea?
Thanks
- Thursday 19 July 2018 13:59
- Forum: dzVents
- Topic: I don't know why it doesn't work
- Replies: 14
- Views: 1449
Re: I don't know why it doesn't work
Thanks a lot Waaren. It is working exactly how I wanted. What is the difference between:
execute = function(domoticz, trigger) and execute = function(domoticz, Device)?
Thanks again.
Pascal
execute = function(domoticz, trigger) and execute = function(domoticz, Device)?
Thanks again.
Pascal
- Wednesday 18 July 2018 23:17
- Forum: dzVents
- Topic: I don't know why it doesn't work
- Replies: 14
- Views: 1449
Re: I don't know why it doesn't work
any clue?
- Wednesday 18 July 2018 21:40
- Forum: dzVents
- Topic: I don't know why it doesn't work
- Replies: 14
- Views: 1449
Re: I don't know why it doesn't work
here it is:
2018-07-18 21:39:00.664 Status: dzVents: Error (2.4.6): chauffage actions: ...e/pi/domoticz/scripts/dzVents/generated_scripts/kiki.lua:8: attempt to call local 'device' (a table value)
2018-07-18 21:39:00.664 Status: dzVents: Error (2.4.6): chauffage actions: ...e/pi/domoticz/scripts/dzVents/generated_scripts/kiki.lua:8: attempt to call local 'device' (a table value)
- Wednesday 18 July 2018 21:15
- Forum: dzVents
- Topic: I don't know why it doesn't work
- Replies: 14
- Views: 1449
Re: I don't know why it doesn't work
Here is the error I have:
2018-07-18 21:10:56.190 Status: dzVents: Error (2.4.6): chauffage actions: ...e/pi/domoticz/scripts/dzVents/generated_scripts/kiki.lua:8: attempt to call global 'device' (a nil value)
Thanks for your help
2018-07-18 21:10:56.190 Status: dzVents: Error (2.4.6): chauffage actions: ...e/pi/domoticz/scripts/dzVents/generated_scripts/kiki.lua:8: attempt to call global 'device' (a nil value)
Thanks for your help
- Wednesday 18 July 2018 21:05
- Forum: dzVents
- Topic: I don't know why it doesn't work
- Replies: 14
- Views: 1449
Re: I don't know why it doesn't work
I just did, but nothing happens. Probably something I did not do properly, but I don't know what.
- Tuesday 17 July 2018 22:56
- Forum: dzVents
- Topic: I don't know why it doesn't work
- Replies: 14
- Views: 1449
Re: I don't know why it doesn't work
No I don't see anything in logfile. even with yours. Amazing
- Tuesday 17 July 2018 21:31
- Forum: dzVents
- Topic: I don't know why it doesn't work
- Replies: 14
- Views: 1449
I don't know why it doesn't work
Who could explain to me why it does not seem to work. Here is my script: return { on = { timer = { 'every minute' } }, execute = function(domoticz, timer) if (device'Fin_chauffage'.state == 'On') then device'prise ordi'.switchOff() device'prise TV Chambre'.switchOff() domoticz.notify('Hey pas mal ...