can anyone help with this error message?
2018-01-01 22:50:00.026 [ERROR] [ntime.internal.engine.ExecuteRuleJob] - Error during the execution of rule 'Beleuchtung': An error occurred during the script execution: Couldn't invoke 'assignValueTo' for feature JvmVoid: (eProxyURI: home.rules#|::0.2.0.2.0.1.2::0::/1)
this is my rule:
rule "Beleuchtung" when Time cron "0 0/15 * * * ?" then var Number hour = now.getHourOfDay if(hour >= 6 && hour < 22 && Sun_Elevation < 0 ) lightState = ON else lightState = OFF Sonoff_CH1.sendCommand(lightState) end
i dont know whats the problem