HacklabMQ: Difference between revisions
Jump to navigation
Jump to search
Updating docs since door.entry is now JSON, not XML.
No edit summary |
(Updating docs since door.entry is now JSON, not XML.) |
||
Line 3: | Line 3: | ||
== Exchanges == | == Exchanges == | ||
* door.entry - Fanout exchange, one message gets pushed to the exchange | * door.entry - Fanout exchange, one message gets pushed to the exchange | ||
** Format: | ** Format: JSON message each time a card is swiped at any door associated with the HackLab. | ||
* notification.graphic - Fanout exchange, messages pushed to this exchange indicate animated graphics which should be sent to lab occupants somehow (e.g. LED sign) | * notification.graphic - Fanout exchange, messages pushed to this exchange indicate animated graphics which should be sent to lab occupants somehow (e.g. LED sign) | ||
** Format: Name of the animation to display. Currently "ostrich" is the only supported animation. | ** Format: Name of the animation to display. Currently "ostrich" is the only supported animation. |