MQTT Topics and Messages
Less than 1 minute
MQTT Topics and Messages
This page describes which MQTT topics are used by Rfxcom2MQTT. Note that the base topic (by default rfxcom2MQTT
) is configurable in the Rfxcom2MQTT config.yaml
.
rfxcom2MQTT/bridge/info
Contains information of the bridge. Whenever one of the attributes in the payload changes, this is republished. Example payload:
{
"receiverTypeCode": 83,
"receiverType": "433.92MHz transceiver",
"hardwareVersion": "1.2",
"firmwareVersion": 242,
"firmwareType": "Ext",
"enabledProtocols": [
"LIGHTING4",
"LACROSSE",
"AC",
"OREGON",
"HOMECONFORT"
],
"transmitterPower": 10
}
rfxcom2MQTT/bridge/state
Contains the state of the bridge, this message is published as retained. Payloads are:
online
: published when the bridge is running (on startup)offline
: published right before the bridge stops
rfxcom2mqtt/devices** to receive incoming messages.
Contains information of an device.
Example payload on topic "rfxcom2mqtt/devices/0x01A4F9BE/2"
:
{
"seqnbr": 4,
"subtype": 0,
"id": "0x01A4F9BE",
"unitCode": 2,
"commandNumber": 0,
"command": "Off",
"level": 0,
"rssi": 4,
"type": "lighting2",
"deviceName": [
"KlikAanKlikUit",
"HomeEasy UK",
"Chacon",
"NEXA",
"Intertechno"
],
"subTypeValue": "AC"
}
Publish command examples (topic/payload)
rfxcom2mqtt/cmd/lighting2/0/0x01A4F9BE/2/set
on
rfxcom2mqtt/cmd/lighting2/0/0x01A4F9BE/2/set
off
rfxcom2mqtt/cmd/lighting2/0/0x01A4F9BE/2/set
level 15