I get an error message in the log with this blocky:
2020-05-03 00:06:08.915 Error: EventSystem: Lua script error (Blockly), Name: Varmvatten beredare sol_1 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: attempt to compare number with nil
2020-05-03 00:06:08.915 Error: EventSystem: Lua script error (Blockly), Name: Varmvatten beredare sol_2 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: attempt to compare nil with number
2020-05-03 00:06:10.177 Error: EventSystem: Lua script error (Blockly), Name: Varmvatten beredare sol_1 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: attempt to compare number with nil
2020-05-03 00:06:10.177 Error: EventSystem: Lua script error (Blockly), Name: Varmvatten beredare sol_2 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: attempt to compare nil with number
This is an hotwater heater that should start heating when the solar production is over 3000watts, and it should stop heating when the solar production is less than 2500watts
any sugestions?
Strange error in blocky
Moderator: leecollings
-
wouterlet
- Posts: 109
- Joined: Tuesday 02 October 2018 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Strange error in blocky
Are you sure the value of 'Production 12,5 kw' is a number?
Who is online
Users browsing this forum: No registered users and 1 guest