First of all I would like to thank all of you for the great support this forum gave me during the installation of OpenHap (Raspberry Pi3)
If I may ask a question (as I am really lost and after having checked on the web as well as in the forum I cannot find any solution), I tried to write a rule to close the RollerShutters if the outside temperature is over X.
The rule is the following :
rule "Volets Chaleur" when Item Temperature_Ext received update then if (Temperature_Ext > 20) if (cFboxMacOnline2.state==ON || cFboxMacOnline3.state==ON) Central_Vol.sendCommand(DOWN) end
Each time that the Temperature_Ext is updated, I can see following error in the log file.
2019-05-01 16:21:56.812 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Volets Chaleur': Unknown variable or command '>'; line 6, column 7, length 20
I tried replacing Temperature_Ext with Temperature_Ext.state, added a () after the .state, nothing seems to work.
May I kindly ask for your assistance ?
Thanks a lot !