Difference between revisions of "MQTT Topics"

From Nottinghack Wiki
Jump to navigation Jump to search
m
m
Line 81: Line 81:
  
  
[[Category:Projects]]
+
 
[[Category:Current Projects]]
 
 
[[Category:Network]]
 
[[Category:Network]]
  
 
[[Category:Instrumentation]]
 
[[Category:Instrumentation]]

Revision as of 00:55, 18 November 2011

This is the list of MQTT Topics that are use by the various HackSpace Instrumentation projects.

All topics should be prefixed with "nh/"

STATUS

nh/Status

All clients should subscribe to the topic and listen for the message "STATUS"

Clients should respond with there name and "Running" status.

ie. "MatrixMQTT Running"

Clients may also report there "Restart" and termination "Terminated"

The status of all running clients is logged and reported here...


Gatekeeper

Topic Description Notes
nh/gk/Unlock
nh/gk/DoorState
nh/gk/Keypad
nh/gk/DoorButton
nh/gk/RFID
nh/gk/LastManState
nh/gk/Status

MatrixMQTT

Topic Description Notes
nh/mb/tx
nh/mb/rx
nh/mb/Status


IRC Bot: nh-holly

Topic Description Notes
nh/irc/tx
nh/irc/rx

Twitter Bot: @Holly533MHz

Topic Description Notes
nh/twitter/tx
nh/twitter/rx/dm
nh/twitter/rx/mention