Search found 9 matches

by pascal
Friday 03 August 2018 21:33
Forum: Examples & Solutions
Topic: dzVents version of the Solar Data Script [SOLVED]
Replies: 175
Views: 48908

Re: dzVents version of the Solar Data Script [SOLVED]

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? :roll:
Thanks
by pascal
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? :roll:
Thanks
by pascal
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

:roll: 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 :P :P
by 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? :-(
by pascal
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)
by pascal
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 :-)
by pascal
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.
by pascal
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
by pascal
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 ...