Hello Remb0, I'm trying to get this sunscreen script running but I get an error. Perhaps you know what causes the issue.
2016-09-12 14:20:01.583 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_time_Sunscreen.lua: /home/pi/domoticz/scripts/lua/MyFunc.lua:62: bad argument #1 to 'len ...
Search found 4 matches
- Monday 12 September 2016 14:27
- Forum: LUA
- Topic: Weather blind\sunscreen script 0.27
- Replies: 17
- Views: 9651
- Monday 20 April 2015 21:09
- Forum: LUA
- Topic: Weather blind\sunscreen script 0.27
- Replies: 17
- Views: 9651
Re: Weather blind\sunscreen script 0.27
Hello,
I need some help adding a trigger StartTime because the sun is only shining past 13:00 at the front of our house so closing before that time is not needed.
Made a uservariable 'Zonnescherm_StartTime' type 'Times'
In the script I have to add an extra line to check if the current time is past ...
I need some help adding a trigger StartTime because the sun is only shining past 13:00 at the front of our house so closing before that time is not needed.
Made a uservariable 'Zonnescherm_StartTime' type 'Times'
In the script I have to add an extra line to check if the current time is past ...
- Tuesday 14 April 2015 8:35
- Forum: LUA
- Topic: Weather blind\sunscreen script 0.27
- Replies: 17
- Views: 9651
Re: Weather blind\sunscreen script 0.27
Getting weather code from openweathermap (http://openweathermap.org/weather-conditions)
Change <value> with your own data
0) Get your free API key (http://openweathermap.org/register)
1) create virtual sensor
Hardware settings > Add Dummy
click on 'make virtual sensors'
create virtual sensor ...
Change <value> with your own data
0) Get your free API key (http://openweathermap.org/register)
1) create virtual sensor
Hardware settings > Add Dummy
click on 'make virtual sensors'
create virtual sensor ...
- Sunday 12 April 2015 13:06
- Forum: LUA
- Topic: Weather blind\sunscreen script 0.27
- Replies: 17
- Views: 9651
Weather blind\sunscreen script 0.27
Hello Remb0,
I like your script, testing it right now :-)
Last year I also made a script for controling our sunscreens. Not so sophisticated like this one but I made some scripts for predicting the weather conditions.
I made chance of rain(in %) with a python script(pop.py) and a script(pop.sh ...
I like your script, testing it right now :-)
Last year I also made a script for controling our sunscreens. Not so sophisticated like this one but I made some scripts for predicting the weather conditions.
I made chance of rain(in %) with a python script(pop.py) and a script(pop.sh ...