State Time Line with node-red and influxdb

I have no clue how to translate the number value generated by nodered (0/1) into influxdb and visualised by grafana as state timeline (on and off).

I see there is data generated in node-red and they are given to influxdb. But i need some help to make it work. Is there someone who can help?



Hi @pedro9b3b

In Grafana, what happens when you change the visualization to State Timeline? It appears from your screenshot that you are using a regular time series graph.