This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
chaosstuff:infrastructure:network:mqtt [2018/12/31 01:24] – metalgamer | chaosstuff:infrastructure:network:mqtt [2021/07/25 13:57] – metalgamer |
---|
===== Host ===== | ===== Host ===== |
| |
The MQTT broker is running on roonadan.lan (192.168.1.189). | We run 2 MQTT brokers, one on saturn and on roonadan.lan (192.168.1.189). Both are bridged together, so all messages will be forwarded to each other. |
| |
===== Sandbox ===== | ===== Sandbox ===== |
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. | 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. |
| |
^ Topic ^ Description ^ | ^ Topic ^ Description ^ |
| availability/# | This topic is used for every client to publish availability messages (online/offline). This is the topic also for the last will messages. | | | 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. | | | space/status | This topic contains the current space state. It is a JSON encoded message. | |
| space/member_count | On this topic the current member count of the club will be published. This message is JSON encoded. | | | 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 | 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/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) | |