User Tools

Site Tools


infrastructure:smartspace

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
infrastructure:smartspace [2019/04/06 22:59] tyisiinfrastructure:smartspace [2019/04/09 03:00] (current) tyisi
Line 5: Line 5:
 SmartSpace consists of three components: SmartSpace consists of three components:
   * SpaceBus, a Mosquitto-based MQTT broker service that will allow users/devices/services to pass messages. SpaceBus features a controlled part for protected use (such as phone notifications) and an open part for general use   * SpaceBus, a Mosquitto-based MQTT broker service that will allow users/devices/services to pass messages. SpaceBus features a controlled part for protected use (such as phone notifications) and an open part for general use
-  * SmartSpace services, a variety of services that can connect to the SpaceBus, including Node-Red, Grafana, Influxdb, SIP monitoring and URL monitoring+  * SmartSpace services, a variety of services that can connect to the SpaceBus, including Sergeant, Node-Red, Grafana, Influxdb, SIP monitoring and URL monitoring
   * SmartSpace devices, devices around the space that either act as consumers or publishers on the SpaceBus. Example: visual phone notification aids or automatic sign control based on [[hacks:isvhsopen]]   * SmartSpace devices, devices around the space that either act as consumers or publishers on the SpaceBus. Example: visual phone notification aids or automatic sign control based on [[hacks:isvhsopen]]
  
Line 21: Line 21:
  
 While this is under development, ask in #vhs-it-ops While this is under development, ask in #vhs-it-ops
 +
 +==== SpaceBus ====
 +
 +=== Use ===
 +
 +For now, read only access is available on spacebus.vanhack.ca on port 1883
 +
 +=== Topics ===
 +
 +SpaceBus uses the following patterns/naming conventions:
 +
 +Controlled:
 +^ Type ^ Topic Naming ^ Purpose ^ Read Access ^ Write Access ^
 +| Config | / config / //device// | Push configurations to devices | VHS Restricted | VHS Restricted |
 +| Devices | / devices / //device// / //key// | Push/update specific device settings or values | VHS Restricted | VHS Restricted |
 +| Events | / events / //category// / //name// | Topic for single event reporting | Public | VHS Restricted |
 +| Status | / status / //category// / //key// | Topic for general status reporting. | Public | VHS Restricted |
 +| Projects | / projects / //project// / //key// / | Topic for project specific things | Public | Project Restricted |
 +
 +Special categories:
 +  * //services//
 +  * //space//
 +
 +=== Examples ===
 +  * SIP monitor reports its status to /status/services/sip-to-mqtt and incoming calls to /events/phone/ring
 +
 +
infrastructure/smartspace.1554591580.txt.gz · Last modified: 2019/04/06 22:59 by tyisi

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki