SHASS Components - Smart-Home-Automation/shass GitHub Wiki

Sensors

Supply data / feedback to the Controller through the gateway

Sensor Payload Json Object

  • {“ID: 123, “Location”: “Office Door”, “Type”: “Reed Switch”, “Payload”: {“State”: “Open”}}

Gateway

  • MQTT Pub / Subscribe system

  • Controller

    • Receive data / feedback from the sensors through the Gateway.
    • Collect information from the internet
      • Weather
      • Events
      • IFTT

Scenes

Control Panels

  • UI for communicating with the Controller
  • Configuring Scenes and Events with the Controller.

Sensors

Overview

Sensors will have a standard library that will handle the basics like:

  • Auto Connect – The controller will send out a beacon that all sensors will listen for. This will allow the sensors and controller to find each other and auto configure.

  • Auto Configure – Once the Controller “sees” the sensor:

    • It will assign the sensor an ID and encryption key.

    • If required, if will set a timer for data retrieval.

    • The sensor will notify the controller of the sensor type.

  • Auto Route – If a senor is too far away, it may communicate to the controller through one or more sensors that are also setup to be a repeater.

Gateway

Controller

Control Panels