Skip to content

ZackMattor/aurora-home-hub

Repository files navigation

Aurora Home Hub

This is a framework for running and managing IOT lighting throughout your home. Currently it supports using the ESP32 and ESP8266 style chips. The firmware currently support adafruit neopixels which are fantastic RGB addressable LEDs. This firmware connects to a mqtt broker, mosquitto, which gets messages from the server application hosted in this repository. This server application sends frames down to the device to set the LED lighting. There is also a control application to allow users to manage their lighting throughout their home.

https://imgur.com/gallery/hAcF4hQ

This is part of the Aurora Lighting System

Aurora Firmware

Aurora Home Hub

Aurora App

Bill of Materials

Getting Started

nvm install 19

npm install
npm start

API

https://aurora.ngrok.io/api-docs

Device Interface...

Activate

Gets sent when a device first going to connect to the home hub

{
  topic: 'device_activate',
  payload: {
    device_id: '7C:9E:BD:ED:9B:24',
    output_type: '1',
    geometry: ''
  }
}

Telemetry

Sends us the current state of various inputs on the device. This should not send data that hasn't changed since the previous telemetry.

{
  topic: 'device_telemetry',
  payload: {
    device_id: '7C:9E:BD:ED:04:64',
    input_state: {
      reed_switch: 0,
      144_59: 103,
      144_60: 210,
    }
  }
}

Releases

No releases published

Packages

No packages published