Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to node-wiring-pi 0.0.4 with external wiringPi #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ This plugin uses extensively the WiringPi lib to communicate with GPIO ports of
the raspberry. This plugin is compatible with RF433 emitter wired to the Raspberry.

## How to install

1. Install homebridge using: `npm install -g homebridge`
2. Install wiringPi using: `sudo apt-get install wiringpi`
3. Add rights to homebridge user if running homebridge as systemd service: `sudo usermod -G gpio homebridge`
4. Install this plugin using: `npm install -g homebridge-rpi-chacon`

## How to use

### Configuration
Expand Down
2 changes: 1 addition & 1 deletion chaconEmitter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var wpi = require('wiringpi-node')
var wpi = require('node-wiring-pi')

var pin = 0;
var dimLevels = 15;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"homebridge": ">=0.2.0"
},
"dependencies": {
"wiringpi-node": "^2.4.4"
"node-wiring-pi": "^0.0.4"
},
"keywords": [
"RF433",
Expand Down