infrastructure:smartspace
This is an old revision of the document!
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:
Type | Topic Naming | Purpose |
---|---|---|
Config | / config / device | Push configurations to devices |
Devices | / devices / device / key | Push/update specific device settings or values |
Events | / events / category / name | Topic for single event reporting |
Status | / status / category / key | Topic for general status reporting. |
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.1554755569.txt.gz · Last modified: 2019/04/08 20:32 by tyisi