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
nvm install 19
npm install
npm start
https://aurora.ngrok.io/api-docs
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: ''
}
}
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,
}
}
}