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 protocol 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 props/outboxFor example:
Room/My room/Props/Raspberry Teletext/outboxThe props also subscribes to its dedicated inbox topic to listen to command such as actuators:
Room/Name of the room/Props/Name of the props/inboxFor example:
Room/My room/Props/Raspberry Teletext/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 props 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 propsPROG commandto send a program request to the Escape Game controller (Room software)DONE commandto report command has been received and doneOMIT commandto report unsupported command has been receivedOVER commandto report 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