Close

MQTT topic structure redesign

A project log for mqopen

Open-source IoT platform

ivo-slaninaIvo Slanina 03/07/2016 at 13:500 Comments

Since my IoT network slowly grows up, I have mode devices. And more devices means more data and also more errors in the network. Till now, every of my devices use following MQTT topics:

Devices are connected to their local broker in designated area. Every local broker is bridged to central broker and outgoing messages are prefixed with the name of the area. For example living-room/temperature becomes my-house/living-room/temperature.

This works fine with few devices, but now I have many devices based on different kinds of processors, different versions of PCBs, different SW versions and much more. For that reason, I'm designing new topic scheme:

Data topics

Where

Service topics

All service topics should set retain flag.

Where

Discussions