Error: EventSystem: Lua script error (Blockly)
Posted: Wednesday 26 August 2020 20:10
After my first successfull Blockly script i tried to create the following.
light goes off at 22:30. Unless the tv is on it stays on until the tv is going off.
i created a collaboration of two events to do this.
however i keep getting the following errors every minute.
searched the forum and google, but there i found that in most situations there were multiple times inside the event.
but i only have one time inside it.
2020-08-26 19:55:00.353 Error: EventSystem: Lua script error (Blockly), Name: Gang uit na AV uit_1 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: ')' expected near 'comparevariable'
2020-08-26 19:56:00.364 Error: EventSystem: Lua script error (Blockly), Name: Gang uit na AV uit_1 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: ')' expected near 'comparevariable'
How can i get it to work without errors?
light goes off at 22:30. Unless the tv is on it stays on until the tv is going off.
i created a collaboration of two events to do this.
however i keep getting the following errors every minute.
searched the forum and google, but there i found that in most situations there were multiple times inside the event.
but i only have one time inside it.
2020-08-26 19:55:00.353 Error: EventSystem: Lua script error (Blockly), Name: Gang uit na AV uit_1 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: ')' expected near 'comparevariable'
2020-08-26 19:56:00.364 Error: EventSystem: Lua script error (Blockly), Name: Gang uit na AV uit_1 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: ')' expected near 'comparevariable'
How can i get it to work without errors?