This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
chaosstuff:infrastructure:network:mqtt [2018/12/27 22:00] – [Table] metalgamer | chaosstuff:infrastructure:network:mqtt [2019/12/27 20:03] – [Table] metalgamer |
---|
===== Topics used ===== | ===== Topics used ===== |
| |
^ Topic ^ Description ^ | The following topics are ACL restricted. Your MQTT client needs to have a valid login and the according permission to read/write on the topics. Ask [[user:metalgamer|metalgamer]] on how to get an account. |
| availability/# | This topic is used for every client to publish availability messages (online/offline). This is the topic also for the last will messages. | | |
| space/status | This topic contains the current space state. It is a JSON encoded message. | | ^ Topic ^ Description ^ |
| space/member_count | On this topic the current member count of the club will be published. This message is JSON encoded. | | | availability/# | This topic is used for every client to publish availability messages (online/offline). This is the topic also for the last will messages. | |
| sensors/people_now_present | On this topic the current people present will be published (integer) | | | space/status | This topic contains the current space state. It is a JSON encoded message. | |
| sensors/people_now_present/names | The names of the people present (if available) | | | space/member_count | On this topic the current member count of the club will be published. This message is JSON encoded. | |
| | sensors/people_now_present | On this topic the current people present will be published (integer) | |
| | sensors/people_now_present/names | The names of the people present (if available) | |
| | sensors/temperature/# | On this topic the current temperature sensors reading will be published. The readings are in °C an are a float. The subtopics are the location for the sensors (Example: sensors/temperature/chill/shelf for the sensors on the shelf in the Chill room) | |