firenet

0.0.1 • Public • Published

Firenet of things

This is the 'worker' package for "Firenet of Things" - my $4 Smarthome setup build on top of Google Firebase. This part connects firebase to devices. It runs locally in your home, on Raspberry Pi or other supporting device. More information in Github README

Features

  • Siri integration ( via homebridge-firenet package )
  • Wireless control over $4 ESP8266 modules
  • AC/DC current control
  • RGB LED strip control, Sunrise simulation
  • IFTTT integration
    • Presence sensing
    • Google Calendar intogration
    • Notifications
  • Device shadows (keeping last device state), notification on device disconnection (ex. when power fails)
  • Google / Facebok / Github... etc login and auth
  • Triggers that can start a series of tasks
  • Websocket API
  • REST API
  • React / Firebase web app
  • Runs on a free Google Firebase plan

Quick install

Prerequisites:

  • MQTT broker
  • Devices connected to MQTT broker
  • Firebase account

Installation

  • npm install -g firenet

Configuration

Configuration is kept in ~/.firenet-of-things/ Download service account keys for firebase and save them as ~/.firenet-of-things/firebase-credentials.json Edit ~/.firenet-of-things/config.js with your config:

{
    id: 'smart-pi',
    broker: 'mqtt://...',
    firebase: 'https://....firebaseio.com'
};

Run

Just run in console: firenet-of-things

Dependencies (4)

Dev Dependencies (13)

Package Sidebar

Install

npm i firenet

Weekly Downloads

3

Version

0.0.1

License

GPL3

Last publish

Collaborators

  • artpi