REST Switch command:
I try to controll my garage door, which is running with this url in Browser:
http://192.168.178.22/GaragentorHA_Bewegen.php?aktion=move
I have a user and passwort. I can send the action over GET or POST. It makes no difference.
Does anyone have an idea, what is bad on below HA command line?
body_on and body_off doesn’t work, both ways.
- platform: rest
name: Garagentor44
method: post
username: root
password: XYZ
resource: http://192.168.178.22/GaragentorHA_Bewegen.php
body_on: aktion=move
body_off: aktion=movete code here