MQTT devices
What it is
Section titled “What it is”The MQTT plugin receives and publishes messages from IoT devices through a broker (Mosquitto, EMQX, HiveMQ…). Messages arrive through the Heskala worker or the ingestion webhook. With them you can:
- Show values, charts, maps and device status in IoT widgets of a dashboard.
- Publish commands with an IoT button.
- Run a script on each message of a topic, or a connection trigger.
How it works
Section titled “How it works”- Create an MQTT connection in Settings → Integrations with the broker data.
- Install or configure the worker, or send messages to the ingestion webhook.
- Check the topics and their last value on the connection.
- Add IoT widgets to the dashboard with the topic and, if the message is JSON, the field (for example
env.temp). - To react to messages, create a script with an MQTT source (event
onMessageand a topic filter).
Rules and limits
Section titled “Rules and limits”- On a public link, IoT widgets do not send commands and locations can be rounded.
- There are profiles for cameras with detection (Frigate) and radio mesh networks (Meshtastic).
For agents (MCP)
Section titled “For agents (MCP)”get_mqtt_status: workers, topics with their last value and, with Frigate, the last detection per camera.create_scriptwithmqttConnectionIdandmqttTopicFilter;create_triggerwithsource: "mqtt".- IoT widgets:
get_dashboard_widget_guideandset_dashboard_widgets.