HacklabMQ: Difference between revisions

Jump to navigation Jump to search
684 bytes added ,  18 March 2016
Updating docs since door.entry is now JSON, not XML.
No edit summary
(Updating docs since door.entry is now JSON, not XML.)
 
(3 intermediate revisions by the same user not shown)
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: XML format described on the [[doorbot]] page each time a card is swiped at the door.
** 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.
* notification.general - Fanout exchange, messages pushed to this exchange indicate graphics which should be sent to lab occupants somehow (e.g. LED sign, twitter, doorbot)
* notification.general - Fanout exchange, messages pushed to this exchange indicate graphics which should be sent to lab occupants somehow (e.g. LED sign, twitter, doorbot)
** Format: JSON, 'text' and 'image' keys, images referenced should be in NFS user home directories
** Format: JSON, 'text' and 'image' keys, images referenced should be in NFS user home directories, 'public' key says whether to hide or show this message in public spaces
* statistics.bandwidth - Fanout exchange, messages pushed to this exchange indicate bandwidth statistics that can be stored/reported by other systems
* statistics.bandwidth - Fanout exchange, messages pushed to this exchange indicate bandwidth statistics that can be stored/reported by other systems
** Format: TBD
** Format: TBD
Line 41: Line 41:
   "statistics.bandwidth" [shape=trapezium style=filled fillcolor="paleturquoise1"]
   "statistics.bandwidth" [shape=trapezium style=filled fillcolor="paleturquoise1"]
   "statistics.occupancy" [shape=trapezium style=filled fillcolor="paleturquoise1"]
   "statistics.occupancy" [shape=trapezium style=filled fillcolor="paleturquoise1"]
  "statistics.hvac" [shape=trapezium style=filled fillcolor="paleturquoise1"]
   "eight" [shape=trapezium style=filled fillcolor="paleturquoise1"]
   "eight" [shape=trapezium style=filled fillcolor="paleturquoise1"]
    
    
Line 54: Line 55:
   "statistics.power.graph" [shape=box style=filled fillcolor="palegreen1"]
   "statistics.power.graph" [shape=box style=filled fillcolor="palegreen1"]
   "statistics.occupancy.graph" [shape=box style=filled fillcolor="palegreen1"]
   "statistics.occupancy.graph" [shape=box style=filled fillcolor="palegreen1"]
  "statistics.occupancy.hacktouch" [shape=box style=filled fillcolor="palegreen1"]
  "statistics.occupancy.hvac" [shape=box style=filled fillcolor="palegreen1"]
   "eight.signs" [shape=box style=filled fillcolor="palegreen1"]
   "eight.signs" [shape=box style=filled fillcolor="palegreen1"]


Line 60: Line 63:
   "IRC #hacklabto (recv)" [shape=hexagon style=filled fillcolor="royalblue1"]
   "IRC #hacklabto (recv)" [shape=hexagon style=filled fillcolor="royalblue1"]
   "IRC #hacklabto (send)" [shape=hexagon style=filled fillcolor="royalblue1"]
   "IRC #hacklabto (send)" [shape=hexagon style=filled fillcolor="royalblue1"]
  "HTTP API\nBAYweb Cloud HVAC" [shape=hexagon style=filled fillcolor="royalblue1"]


   "Service"
   "Service"
Line 102: Line 106:
   "WiFi Occupancy Sensors" -> "occupancy_collector" -> "statistics.occupancy"
   "WiFi Occupancy Sensors" -> "occupancy_collector" -> "statistics.occupancy"
   "statistics.occupancy" -> "statistics.occupancy.graph" -> "occupancygraph" -> "HTTP Frontend\nHackLab AMQP Graphs"
   "statistics.occupancy" -> "statistics.occupancy.graph" -> "occupancygraph" -> "HTTP Frontend\nHackLab AMQP Graphs"
  "statistics.occupancy" -> "statistics.occupancy.hacktouch" -> "hacktouch_occupancy_powersave"
  "statistics.occupancy" -> "statistics.occupancy.hvac" -> "hvac_occupancy_adjuster" -> "HTTP API\nBAYweb Cloud HVAC"
  "HTTP API\nBAYweb Cloud HVAC" -> "hvac_stats_feeder" -> "statistics.hvac"


   "eight" -> "eight.signs"
   "eight" -> "eight.signs"
56

edits

Navigation menu