Hello,
I want to make an automation in HA for my electrical awning. The HTTP requests are made and they work.
My problem ist how to make to switches in HA to call the two URLs. I tried with restful command integration:
rest_command:
markise-ausfahren:
url: "http://192.168.178.124/command?XC_FNC=SendSC&type=WA&data=74F9F488"
markise_einfahren:
url: "http://192.168.178.124/command?XC_FNC=SendSC&type=WA&data=74FDF488"
but this doesn´t work.
And I tried with restful switch Integration, but this doesn´t work too:
switch:
- platform: rest
resource: "http://192.168.178.124/command?XC_FNC=SendSC&type=WA&data=74F9F488"
name: markise-ausfahren
- platform: rest
resource: "http://192.168.178.124/command?XC_FNC=SendSC&type=WA&data=74FDF488"
name: markise-einfahren
What is wrong with that and how can I see the switches in HA?
Thanks a lot
Markus