Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sethetter/node-relay-server
An express server for communicating with an arduino relay using Johnny-Five.
https://github.com/sethetter/node-relay-server
Last synced: 12 days ago
JSON representation
An express server for communicating with an arduino relay using Johnny-Five.
- Host: GitHub
- URL: https://github.com/sethetter/node-relay-server
- Owner: sethetter
- Created: 2015-07-21T23:24:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-28T19:42:58.000Z (about 9 years ago)
- Last Synced: 2024-04-14T15:20:21.578Z (7 months ago)
- Language: HTML
- Size: 107 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-relay-server
This was an experiment for powering an arduino connected relay using an express
web server. Constructed at a [devICT](http://meetup.com/devict) hangout.## it's real simple
Connect your relay's "CTRL" to pin 10.
```
$ npm install
$ node relay.js
```
Navigate to http://localhost:3005/ in your browser.If it does not work on Ubuntu, try adding your user to the dialout group:
```
sudo adduser ${USER} dialout
```
and then you will probably have to reboot.