Hi,
My garage door send the following status info:
opening, closing, open, closed
to the following topic:
stat/sonoff/brama/state
it is based on sonoff device.
here:
tele/sonoff/brama/LWT
I can check if its Online or Offline.
I have the following mqtt cover:
cover:
- name: "MQTT Cover"
command_topic: "stat/sonoff/brama/POWER"
state_topic: "stat/sonoff/brama/state"
availability:
- topic: "tele/sonoff/brama/LWT"
qos: 0
retain: true
payload_open: "OPEN"
payload_close: "CLOSE"
payload_stop: "STOP"
state_open: "open"
state_opening: "opening"
state_closed: "closed"
state_closing: "closing"
payload_available: "Online"
payload_not_available: "Offline"
optimistic: false
value_template: "{{ value.x }}"
why it is not working?
I use my remote controller to open/stop/close door.
The cover is offline (grey) (while mqtt explorer is showing Online).
I added Button with garage door icon to the lovelace.
At the begining Id like to see the status of my door (I dont want to send and open,close commands).
thx for any tips.