Hi,
In my house I have twe curtains. I open en close them bij using the command_line cover open/close/stop commands. This triggers an TCP/IP relay.
#Gordijnen
cover:
- platform: command_line #http://<1xx.1x8.0.xxx>/io.cgi?DOA8=20
covers:
gordijn_achter:
unique_id: 202306051802001
command_open: "/usr/bin/curl -u admin:password -X GET 'http://<1xx.1x8.0.xxx>/io.cgi?DOA1=20'"
command_close: "/usr/bin/curl -u admin:password -X GET 'http://<1xx.1x8.0.xxx>/io.cgi?DOA3=20'"
command_stop: "/usr/bin/curl -u admin:password -X GET 'http://<1xx.1x8.0.xxx>/io.cgi?DOA2=20'"
friendly_name: Gordijn achter
value_template: '{{ value[7] == "1" }}'
The problem is that there is no state feedback. Alle the icon’s stay black and if I use google assistant to close the curtains I get the responce that the state is unknown.
Does anybody have a solution?
Thanks.