Hi Guys
I am trying to set up a rule in Rule Machine to turn off the AC when no one is home (house with teenagers who have no concept of turning stuff off).
The AC is a system called MyAir by Advantage Air (Australian made) and will respond to JSON commands which is great. I have tested this by posting command straight into a browser bar and it works fine - as an example I post:
http://10.10.x.x:2025/setAircon?json={"ac1":{"info":{"state":"off"}}} - and the aircon turns off which is great!
SO how do I convert this into a RM friendly command? I see there are two "fields" if you will when looking at posting a JSON command:
Enter URL to send request to - which I assume would be - http://10.10.x.x:2025/setAircon?
Enter body for POST - which I assume would be - json={"ac1":{"info":{"state":"off"}}}
I have tried this and ran the rule but no dice with the aircon going off. I am probably missing something really basic here but would appreciate it if anyone could give me some guidance.
Thanks
Blair