automatic time daylight
Posted: Sunday 09 December 2018 12:07
Hi, my name is Brian
this is my first post and my first script.
I am from the Netherlands, and have trying to create een time script that turns my light on 30 minutes before sun set, automatically with DzVents (time)script
if have a raspberry pi 1b
os is Debian
Domoticz version 4.9700
443,92 MHz device
the log creates the following text
2018-12-09 11:49:00.923 Status: dzVents: Info: ------ Start internal script: auto_verlichting:, trigger: every minute
2018-12-09 11:49:00.924 Status: dzVents: Error (2.4.6): An error occurred when calling event handler auto_verlichting
2018-12-09 11:49:00.925 Status: dzVents: Error (2.4.6): ...z/scripts/dzVents/generated_scripts/auto_verlichting.lua:16: attempt to index global 'kleuren_led_woonkamer' (a nil value)
2018-12-09 11:49:00.925 Status: dzVents: Info: ------ Finished auto_verlichting
can someone help me with this or tell me if it is possible at all?
this is my first post and my first script.
I am from the Netherlands, and have trying to create een time script that turns my light on 30 minutes before sun set, automatically with DzVents (time)script
if have a raspberry pi 1b
os is Debian
Domoticz version 4.9700
443,92 MHz device
the log creates the following text
2018-12-09 11:49:00.923 Status: dzVents: Info: ------ Start internal script: auto_verlichting:, trigger: every minute
2018-12-09 11:49:00.924 Status: dzVents: Error (2.4.6): An error occurred when calling event handler auto_verlichting
2018-12-09 11:49:00.925 Status: dzVents: Error (2.4.6): ...z/scripts/dzVents/generated_scripts/auto_verlichting.lua:16: attempt to index global 'kleuren_led_woonkamer' (a nil value)
2018-12-09 11:49:00.925 Status: dzVents: Info: ------ Finished auto_verlichting
can someone help me with this or tell me if it is possible at all?
- Spoiler: show