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/outbox
For example:
Room/My room/Props/Raspberry Teletext/outbox
The 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/inbox
For example:
Room/My room/Props/Raspberry Teletext/inbox
The 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):
CONNECTED
is sent when the props is connected to the MQTT brokerDISCONNECTED
is set as the MQTT will for the outbox topicDATA var1=value1 var2=value2
to report sensors or challenge stateREQU command
to send a request to another propsPROG command
to send a program request to the Escape Game controller (Room software)DONE command
to report command has been received and doneOMIT command
to report unsupported command has been receivedOVER command
to 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