User Tools

Site Tools


infrastructure:smartspace

Table of Contents

SmartSpace

SmartSpace is a project to enhance the space with Internet of Things type of devices and services.

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
  • 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 isvhsopen

Operations

Sources

The SmartSpace repository is hosted on GitHub:

https://github.com/vhs/SmartSpace

Access via #vhs-it-ops on Slack

Use

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.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