https://github.com/juangesino/faye-gpio
https://github.com/juangesino/faye-gpio
faye gpio-pins raspberry-pi socket
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/juangesino/faye-gpio
- Owner: juangesino
- License: mit
- Created: 2016-04-17T19:01:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-17T19:01:49.000Z (over 9 years ago)
- Last Synced: 2025-03-08T14:07:05.044Z (7 months ago)
- Topics: faye, gpio-pins, raspberry-pi, socket
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GPIO Faye
A Faye client that can access Raspberry Pi's GPIO pins.
Turn pins on and off by sending Sockets to the Raspberry Pi.
## Installation
First, make sure you have node.js and npm installed.If you don't, open a terminal and type:
sudo apt-get install nodejs npm node-semver
Now we need to allow your user to access the GPIO pins (can only be done from root by default). We are going to use GPIO Admin for that:
git clone git://github.com/juangesino/quick2wire-gpio-admin.git
cd quick2wire-gpio-admin
make
sudo make install
sudo adduser $USER gpioLogout and login again ([more info](https://github.com/juangesino/quick2wire-gpio-admin)).
Now we are ready to clone the server.
git clone https://github.com/juangesino/faye-gpio.git
cd faye-gpio
npm installTo run the script:
node app.js
## Usage
TODO
## Examples
TODO
## Contributing
1. Fork it ( https://github.com/juangesino/faye-gpio/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## License
See [MIT-LICENSE](https://github.com/juangesino/faye-gpio/blob/master/LICENSE)