Skip to main content

MQTT Topics

Below table is a description of all MQTT topics that might be of use by a user. Replace <panel_name> with the friendly name of your NSPanel:

TopicPayloadDescription
nspanel/<panel_name>/screen_cmd1 or 0Send a 1 or 0 to turn on/off the display.
nspanel/<panel_name>/screen_state1 or 0Current state of the screen.
nspanel/<panel_name>/brightness1 to 100Control the brightness of the screen.
nspanel/<panel_name>/brightness_screensaver0 to 100Control the brightness of the screensaver.
nspanel/<panel_name>/r1_cmd1 or 0Send a 1 or 0 to turn on/off relay 1.
nspanel/<panel_name>/r1_state1 or 0The current state of relay 1.
nspanel/<panel_name>/r2_cmd1 or 0Send a 1 or 0 to turn on/off relay 2.
nspanel/<panel_name>/r2_state1 or 0The current state of relay 2.
nspanel/<panel_name>/temperature_stateCurrent temperatureThe current temperature reading.
nspanel/<panel_name>/screensaver_modescreensaver modeSelect what screensaver to display
Choose from the following:
- with_background
-without_background
-datetime_with_background
-datetime_without_background
or no_screensaver
nspanel/<panel_name>/logLog messageThe panel will send live logs on this topic.

There are more topics that are used internally, these are:

TopicPayloadDescription
nspanel/entities/<type>/<id>/state_<attribute>The value of the attributeAn update of entity state value sent out by MQTTManager. Example:nspanel/entities/light/42/state_kelvin
nspanel/status/timeTime as a stringCurrent time sent by MQTTManager.
nspanel/status/weatherJSONA JSON representation of the current weather and weather forecast.
nspanel/<panel_name>/status_reportJSONJSON payload with current state of the panel.
nspanel/<panel_name>/statusJSONJSON payload with current online/offline state of the panel.
nspanel/<panel_name>/commandJSONJSON payload with a command for the panel to execute.
nspanel/mqttmanager/commandJSONJSON payload from panel with a command for MQTTManager to perform.