0.1.3 • Published 5 years ago

homebridge-go-plantower v0.1.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

homebridge-go-plantower

Homebridge plugin for plantower sensors

Uses go-plantower CLI tool

npm version

Screenshots

Installation

Homebridge Installation

You may need to use the --unsafe-perm flag if you receive an error similar to this: gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/5.5.0"

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-go-plantower
  3. Ensure that the go-plantower binary is accessible and permitted to be run by Homebridge. Note for Raspbian: Ensure your Homebridge user is part of the dialout group.

  4. Update your configuration file. See sample config.json snippet below.

Config.json example

  "accessories": [
    {
      "accessory": "go-plantower",
      "name": "Plantower",
      "device": "/dev/ttyAMA0",
      "model": "pms5003",
      "binary": "/usr/local/bin/go-plantower",
      "interval": 120,
      "timeout": 10
    }
  ]

Only accessory and name are required, the rest have defaults. interval and timeout are in seconds. However, see go-plantower on possible values for model and device.

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago