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
Last revisionBoth sides next revision
infrastructure:smartspace [2019/04/06 23:41] – SpaceBus tyisiinfrastructure:smartspace [2019/04/08 20:32] 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 23: Line 23:
  
 ==== SpaceBus ==== ==== SpaceBus ====
 +
 +=== Use ===
 +
 +For now, read only access is available on spacebus.vanhack.ca on port 1883
 +
 +=== Topics ===
  
 SpaceBus uses the following patterns/naming conventions: SpaceBus uses the following patterns/naming conventions:
  
-^ Type ^ Topic Naming ^ +^ Type ^ Topic Naming ^ Purpose 
-Events | /events///category/////name// | +Config | / config / //device// | Push configurations to devices | 
-Services | /services///category/////name//+| Devices | devices / //device// / //key// | Push/update specific device settings or values 
-| Status | /status///category/////name// |+Events | / events / //category// / //name// | Topic for single event reporting 
 +| Status | / status / //category// / //key// | Topic for general status reporting. | 
 + 
 +Special categories: 
 +  * //services// 
 +  * //space//
  
 === Examples === === Examples ===
-  * SIP monitor reports its status to ///services/phone/sip-to-mqtt/// and incoming calls to ///events/phone/ring//+  * SIP monitor reports its status to /status/services/sip-to-mqtt and incoming calls to /events/phone/ring
  
  
infrastructure/smartspace.txt · Last modified: 2019/04/09 03:00 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