An effective protocol for MQTT messages sent by connected props for Escape Room.
Connected props for Escape Room exchange data and messages with a MQTT broker.
Room Outbox level 7 protocol (application level) is a minimal implementation to structure messages sent by connected props.
However props may use MQTT topics in any way, for example Teletext Props publishes its displayed text as a retained message in a dedicated MQTT topic.
Room Outbox protocol defines messages sent in props outbox, which is a MQTT topic structured like this:
Room/Name of the room/Props/Name of the prop/outboxFor example:
Room/My room/Props/Raspberry Echo/outboxThe prop also subscribes to its dedicated inbox topic to listen to command such as actuators:
Room/Name of the room/Props/Name of the prop/inboxFor example:
Room/My room/Props/Raspberry Echo/inboxThe protocol has been defined to be human readable (so debugging Escape Room is easy) and simple to parse (so low-end MCU can parse it quickly, such as Arduino):
CONNECTEDis sent when the prop is connected to the MQTT brokerDISCONNECTEDis set as the MQTT will for the outbox topicDATA var1=value1 var2=value2to report sensors or challenge stateREQU commandto send a request to another propPROG commandto send a program request to the Escape Game controller (Room software)DONE commandto report that a command has been received and doneOMIT commandto report that an unsupported command has been received and ignoredOVER commandto report that an Escape Game challenge has been completeMESG any interesting stuff to report
Faure Systems (Oct 9th, 2019)
- company: FAURE SYSTEMS SAS
- mail: dev at faure dot systems
- github: fauresystems
- web: Faure Systems
