GithubHelp home page GithubHelp logo

homebridge-platform-aqe's Introduction

homebridge-platform-snmp

An Air Quality Egg platform plugin for Homebridge.

Installation

Run these commands:

% sudo npm install -g homebridge
% sudo npm install -g homebridge-platform-aqe

On Linux, you might see this output for the second command:

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!

If so, please try

% apt-get install libpcap-dev

and try

% sudo npm install -g homebridge-platform-aqe

again!

NB: If you install homebridge like this:

sudo npm install -g --unsafe-perm homebridge

Then all subsequent installations must be like this:

sudo npm install -g --unsafe-perm homebridge-platform-aqe

Homebridge Configuration

This is a "dynamic" platform plugin, so if you're already running homebridge on your system, then you already have a ~/.homebridge/config.json file and no configuration is needed!

If this is your first time with homebridge, this will suffice:

{ "bridge":
  { "name": "Homebridge"
  , "username": "CC:22:3D:E3:CE:30"
  , "port": 51826
  , "pin": "031-45-154"
  }
, "description": ""
, "accessories":
  [
  ]
, "platforms":
  [
  [
    { "platform" : "homebridge-platform-aqe"
    , "name"     : "AQE"
    }
  ]
}

AQE Configuration

Connect your Egg's USB cable to your computer, and launch Serial Monitor program. Make sure that EOL is set to Carriage Return1, and that the Baud Rateis set to115200`.

Type aqe when the Egg starts and, after initialization, you'll be in configuration mode. Type these three commands:

mqttsrv mqtt.example.com
mqttauth disable
exit

where mqtt.example.com is the domain-name of the machine that is running Homebridge. (It would be better if the Egg would allow an IP address for the MQTT server, but it requires a domain-name.)

Personally, I also like to set these as well prior to the exit command:

backlight alwayson
use ntp
ntpsrv pool.ntp.org

homebridge-platform-aqe's People

Contributors

mrose17 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.