MQTT integration protocol
Last updated on December 22, 2024
DIY enthusiasts can implement the MQTT protocol support by themself.
The MQTT server address of Sber is displayed in Studio in the integration project on the tab
(see Getting data for connecting an agent to the cloud section).For the data exchange, topics listed in the below table are used. Addresses of topics use the username
parameter – a login which allows for connection to Sber’s MQTT server. The login can also be viewed in the integration project in Studio.
Topic | Read/write | Description |
sberdevices/v1/username/down/commands | Reading | Transmitting status change commands. After applying changes, it is necessary to send the current state of devices |
sberdevices/v1/username/down/status_request | Reading | Device status request. It is necessary to send the current status of the transmitted devices |
sberdevices/v1/username/down/config_request | Reading | Devices configuration request. It is necessary to send the current configuration of the devices |
sberdevices/v1/username/up/status | Writing | Devices status transmission |
sberdevices/v1/username/up/config | Writing | Devices configuration transmission |