kryptonneke
(Andy Meyfroidt)
October 26, 2022, 4:48pm
1
I have a garage door opener that is running in domoticz (for historic reasons). And, I’ve got node red running in home assistant.
I can send a MQTT message from node-red to domoticz to open the garage door, when a button is pushed.
But I was wondering if there is some way to give some visual feedback, change the state/icon of the button? Maybe use a (virtual) swicht instead?
aceindy
(Aceindy)
October 26, 2022, 6:13pm
2
That completely depends on wether or not Domoticz reports the state of the door by mqtt…
kryptonneke
(Andy Meyfroidt)
October 26, 2022, 8:37pm
3
Ah yeah, should have mentioned that in the orginal post I guess.
So yeah the door opener does report it’s state via Domiticz into MQTT into homeassistant & node-red. As a matter of fact I already have a text that displays open or closed.
But I’d rather this be a more visual indication of the state like an open or closed garage door icon…
aceindy
(Aceindy)
October 27, 2022, 6:10am
4
Plenty working material regarding that topic:
Hi I have successfully setup my garage door opener using card code provided in another thread - including status icon. But I cannot find what I am doing wrong below - when I click on the icon - the garage is opening. But when I click again - it is not closing the door…what am I missing here?
entity: binary_sensor.sonoff_ABCDE
icon: 'hass:garage'
show_icon: true
show_name: false
state:
- color: 'rgb(255,0,0)'
icon: 'hass:garage-open'
value: 'on'
- color: 'rgb(68,115,159)'
type: '…
I have a door sensor and it shows as a door icon that opens and closes. But if I want to change it to a sliding door, it no longer opens and closes. Even though there is an open and closed version of that icon. How can I change it?