I am trying to show the status of a button using grafana via Influxdb using the discrete plugin.
I use the background to set the colour of the button from other nodes.
The problem I have is sending a constant value to influxdb, for the status to hold in grafana.
So if the button is green for example send 1's to the database, and if red send 0's.
Any ideas how to achieve this.
Thanks
Laurie