Hi,
I run into a problem what I can’t solve because I am not a developer, but I think it will be really easy to you. I have problem with calculating numbers (milliseconds).
I get the following error message:
[ERROR] [ntime.internal.engine.ExecuteRuleJob] - Error during the execution of rule 'Fireplace floor heating': An error occurred the script execution: Couldn't invoke 'assignValueTo' for feature JvmVoid: (eProxyURI: custom.rules#|::0.2.9.2.0.0.1.0.1::0::/1)
Item definition:
Number Temp_Outside "Kinti hőmérséklet [%.1f °C]" (Temperatures, Outside) {onewire="deviceId=28.E28596060000;propertyName=temperature"}
the Rule which trows this error:
rule "Fireplace floor heating"
when
Time cron "0 0 0/1 1/1 * ? *"
then
if (Heating_Main_Switch.state == ON && overheating_state == 1 ){
overheating_living_heating = 1
// Calculate time based on outside temp.
overheating_base_time = 900
Number overheating_time_modifier = 0 - Temp_Outside.state as Number
Number overheating_time = overheating_base_time + overheating_time_modifier
logInfo("rules","Padló átmeneti fűtés idő: "+overheating_time)
createTimer(now.plusSeconds(overheating_time), [|
overheating_living_heating = 0
])
}
end
Thank you for your support!