Not sure if the command is right, as the car is doing nothing
// Triggers:
// - When ZOE_ac_start received command ON
// context: zoe-1
executeCommandLine(Duration.ofSeconds(5), "curl","-d","POST","http://10.0.1.46/zoe/index.php?acnow","-H","Content-Type:application/json","-s","-H")
rule "Klimatisierung starten"
when
Item ZOE_ac_start received command ON
then
executeCommandLine(Duration.ofSeconds(5), "curl","-d","POST","http://10.0.1.46/zoe/index.php?acnow","-H","Content-Type:application/json","-s","-H")
end
in the web gui under rules it is shown as this:
// Triggers:
// - When ZOE_ac_start received command ON
// context: zoe-1
executeCommandLine(Duration.ofSeconds(5), "curl","-d","POST","http://10.0.1.46/zoe/index.php?acnow","-H","Content-Type:application/json","-s","-H")
bug?
Youāre right, the trigger is not working therefore?
rule "Klimatisierung starten"
when
Item ZOE_ac_start received command ON
then
executeCommandLine(Duration.ofSeconds(5), "curl","-d","POST","https://zoe.yxyxyxyxyxyxy.net/?acnow","-H","Content-Type:application/json","-s","-H","authorization:Basic ababababababababab")
end
Again, the Renault servers have issues sometimes, it may not work for a couple of days and always check the MyRenailt App first before doing some testing in openHAB.
After rebooting the PI and the openhab service, Iām getting the following error in the log (for the rule in the rules file from you)
2021-09-17 09:49:03.107 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'zoe-1' failed: An error occurred during the script execution: index=1, size=1 in zoe
same for the next rule
2021-09-17 09:50:00.662 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'zoe-4' failed: An error occurred during the script execution: Couldn't invoke 'assignValueTo' for feature JvmVoid: (eProxyURI: zoe.rules#|::0.2.3.2.0.1.0.0::0::/1) in zoe
for me as well, thanks for your support. Now itās working flawlessly.
ā¦ but there is a bug as you mentioned. after changing the rules you need to restart openhab, not everytime the rule change will be successfully activated