Good way to design mqtt topic?
问题 I am very new with mqtt design. As I see from some tutorials in the internet, common mqtt topic has this format: /home/room/device_type/device_id I could not see the benefit to do that. And have no idea how to use this kind of design. From my point of view, the device (dev) might subscribe (sub) to control topic and publish (pub) to status topic. Like this: pub: clients/dev/devid/stat sub: clients/dev/devid/ctrl In this way, it seems sub,pub logic is very simple for both clients and devices