{% load custom_tags_and_filters %}

MQTT Broker Configuration

Configure the MQTT broker connection for publishing NEMO events. Only one MQTT configuration is supported.

{% csrf_token %}
A descriptive name for this MQTT configuration.

Broker Connection

The hostname or IP address of the MQTT broker.
The port number of the MQTT broker (typically 1883).
Keep alive interval in seconds (default: 60).
Unique identifier for this NEMO instance on the MQTT broker.
Username sent in the MQTT CONNECT packet. Set with broker password to disable anonymous access.
Password for broker authentication. Leave blank to keep existing password.

HMAC Message Authentication

Sign payloads with HMAC so subscribers can verify authenticity and integrity. Uses a shared secret; transport remains plain TCP.

Message Settings

Prefix for all MQTT topics (e.g., 'nemo/' for topics like 'nemo/tool/start').

Connection Management

Delay between reconnection attempts.
Maximum number of reconnection attempts (0 = unlimited).

Logging

Minimum log level for MQTT messages.
{% button type="save" value="Save MQTT Configuration" %}

Status & Recent Messages

{% if config.enabled %}
MQTT is enabled - Events will be published to the broker.
{% else %}
MQTT is disabled - No events will be published.
{% endif %} {% if recent_messages %}

Recent MQTT Messages

{% for message in recent_messages %} {% endfor %}
Topic Status QoS Sent At
{{ message.topic }} {% if message.success %} Success {% else %} Failed {% endif %} {{ message.qos }} {{ message.sent_at|date:"M d, Y H:i:s" }}
{% else %}

No recent MQTT messages found.

{% endif %}
View all message logs Manage event filters