I want to visualize the state of my garage. There is a sensor which can send a individual mqtt message to node-red. In the past, I was using an other system so I just sent "open" and "closed".
Now I have node-red with grafana (and influxdb). I am using it by sending mqtt-messages in json format (temp, hum, voltage of battery driven devices) and visualize it in grafana.
Now I would like to do something similar for the garage door.
What would be a good way to make this work?
I could not find an example yet.
Maybe someone can help me.
Thank you very much.