mlamie wrote:I sometimes see the error:
2017-05-08 19:15:10.406 Error: EventSystem: Warning!, lua script /home/pi/domoticz/scripts/lua/script_time_rain.lua has been running for more than 10 seconds
Can that aso be solved somehow?
Good to hear that its working now mlamie

If you get a "has been running for more than 10 seconds" please check your network/internet..
It tells you that it hasnt recieved any data after 10 seconds.
Occasionally i get the same warning, and its not that special..
Sometimes buienradar itself has difficulties on its server-side.
The same warning you can get from Weather Underground, Open Weather Map, or any other internet services when it doesnt recieve any or wrong data from the service within 10 seconds.
The reason of the 10 seconds is simple:
If a script is executed and it doesnt get any or corrupted data, it has to break the execute after 10 sec otherwise the system will hang as it cant do a new (script) job anymore.
After that it will re-start the hole scripting process again.
You can do a ping to a host or ping your raspberry to be sure your network is okay:
go to your windows, then cmd, and then the command: "ping -t 192.x.x.x"
You can use the ipaddress of your raspberry for internal network check or buienradar.nl for internet check, and wait some minutes.
If you recieved a time-out, then your network to the raspberry isnt that good or, when checked, even your internet has difficulties.
Log of today gives me 2 errors:
Code: Select all
2017-05-08 13:18:21.564 Error: Wunderground: Error getting http data!
(Explanation: I did a firmware upgrade on the router, so internet switched off for a couple seconds)
Code: Select all
2017-05-08 17:15:12.278 Error: EventSystem: Warning!, lua script regenverwacht has been running for more than 10 seconds
(Explanation: I did a reset on my switch after i added some new devices in my network)