Skip to main content

MQTT Reference

Base Topic

scalior-slc-{MAC}/

Where {MAC} is the device's MAC address in lowercase without separators, e.g. scalior-slc-aabbccddeeff/.


Master Topics (global for entire staircase)

Prefix: scalior-slc-{MAC}/M/

TopicDirectionValuesDescription
M/Switchpub / sub0 / 1Turn all lighting on/off
M/Standbypub / sub0 / 1Standby mode (night lighting)
M/Sensorspub / sub0 / 1Enable/disable motion sensors
M/Brightnesspub / sub25100Brightness (%)
M/UpperSenspub0 / 1Top sensor state
M/BottomSenspub0 / 1Bottom sensor state
M/Illuminancepub0255Light sensor reading
M/LightSensorStatepub0 / 1 / 2Sensor state: 0=off, 1=bright, 2=dark
M/VersionpubstringFirmware version
M/UptimepubnumberUptime (seconds)

Flight Topics

Prefix: scalior-slc-{MAC}/{N}/, where {N} = 14.

TopicDirectionValuesDescription
{N}/Switchpub / sub0 / 1Turn flight on/off
{N}/Standbypub / sub0 / 1Flight standby mode
{N}/Sensorspub / sub0 / 1Flight sensors
{N}/Brightnesspub / sub25100Flight brightness (%)
{N}/UpperSenspub0 / 1Top sensor triggered
{N}/BottomSenspub0 / 1Bottom sensor triggered

Flight topics are only available if the Master topics only mode is not enabled in MQTT settings.


Command Examples

Turn on all lighting

Topic:   scalior-slc-aabbccddeeff/M/Switch
Payload: 1

Set flight 2 brightness to 75%

Topic:   scalior-slc-aabbccddeeff/2/Brightness
Payload: 75

Enable standby mode

Topic:   scalior-slc-aabbccddeeff/M/Standby
Payload: 1

Disable sensors for flight 1

Topic:   scalior-slc-aabbccddeeff/1/Sensors
Payload: 0

Metadata (retained)

The device publishes JSON descriptions of its topics in retained messages:

scalior-slc-{MAC}/M/meta   → master topic descriptions
scalior-slc-{MAC}/{N}/meta → flight N topic descriptions

Home Assistant Integration

Example configuration for automatic addition via MQTT Discovery or manual addition:

# configuration.yaml
mqtt:
light:
- name: "Staircase"
state_topic: "scalior-slc-aabbccddeeff/M/Switch"
command_topic: "scalior-slc-aabbccddeeff/M/Switch"
brightness_state_topic: "scalior-slc-aabbccddeeff/M/Brightness"
brightness_command_topic: "scalior-slc-aabbccddeeff/M/Brightness"
brightness_scale: 100
payload_on: "1"
payload_off: "0"

sensor:
- name: "Staircase Illuminance"
state_topic: "scalior-slc-aabbccddeeff/M/Illuminance"
unit_of_measurement: "lx"

"Master Topics Only" Mode

If the Master topics only option is enabled in MQTT settings:

  • Only M/* topics are published
  • 1/*4/* topics are not used
  • Suitable for simple single-flight installations

Quality of Service (QoS)

All messages are published with QoS 0. The retained flag is set for metadata and status topics.