项目作者: ZackMattor

项目描述 :
Aurora IOT Lighting Home Hub
高级语言: JavaScript
项目地址: git://github.com/ZackMattor/aurora-home-hub.git
创建时间: 2017-12-09T00:47:42Z
项目社区:https://github.com/ZackMattor/aurora-home-hub

开源协议:

下载


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

  1. nvm install 19
  2. npm install
  3. 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

  1. {
  2. topic: 'device_activate',
  3. payload: {
  4. device_id: '7C:9E:BD:ED:9B:24',
  5. output_type: '1',
  6. geometry: ''
  7. }
  8. }

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.

  1. {
  2. topic: 'device_telemetry',
  3. payload: {
  4. device_id: '7C:9E:BD:ED:04:64',
  5. input_state: {
  6. reed_switch: 0,
  7. 144_59: 103,
  8. 144_60: 210,
  9. }
  10. }
  11. }