VolkovLabs / business-forms

The Business Forms panel is a conceptually new plugin for Grafana. It is the first plugin that allows inserting and updating application data, as well as modifying configuration directly from your Grafana dashboard.
https://docs.volkovlabs.io
Apache License 2.0
86 stars 10 forks source link

business forms submit button on click publish MQTT message #476

Closed tankienleong closed 2 months ago

tankienleong commented 3 months ago

Publishing data directly to an MQTT broker is often essential for executing basic control functions, especially in home automation and IoT scenarios where an HTTP API might not be available.

Is this achievable through the Business Form panel?

mikhail-vl commented 3 months ago

@tankienleong Business Forms can send update request to any Grafana Data source or REST API.

Grafana has MQTT data source, but I don't think it supports executing commands: https://grafana.com/grafana/plugins/grafana-mqtt-datasource/

Most probably, you should use custom REST API server like Node-RED for this. Please let us know how you implemented it.

mikhail-vl commented 3 months ago

We have multiple REST API server implementations: https://volkovlabs.io/plugins/business-forms/servers/