Hello,
I’m looking for a way to have a button on the dashboard that writes data to InfluxDB. It could be approached a couple of ways:
- Grafana Dashboard button sends data to InfluxDB via HTTP API.
- Dashboard button that publishes to MQTT topic (my InfluxDB has a MqTT_consumer).
I couldn’t find any examples to help me get started. It seems the Grafana “Text” panel allows for javascript - so I was wondering if anyone has examples of javascript using either method? Or could guide me on which way to go? The example InfluxDB javascript I could find uses a library to interact with InfluxDB rather than form and send HTTP POST.
Thanks,
Eric