Openhab won’t even let me load that:
Configuration model ‘Test.rules’ has errors, therefore ignoring it: [13,36]: missing ‘)’ at ‘Content’
[13,48]: mismatched input ‘:’ expecting ‘end’
I’ve tried so many variations with quotes I still can’t get it to load
No it doesn’t do anything. It loads; when i run it; i don’t even see a log entry.
I did mess around with my other one some more; i got it to load AND execute, BUT it doesn’t change the state of the item. So now I’m even more confused.
executeCommandLine("curl --header \"Content-Type: text/plain\" --request PUT --data \"ON\" http://172.16.1.231:8080/rest/items/IsSunset/state")
I have found a solution: sendHttpPutRequest("http://172.16.1.231:8080/rest/items/ZWaveNode_TILTZWAVE2ZWaveGarageDoorSensorGarageTilt_DoorStateDeprecated/state", "text/plain", 'OPEN')