Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monteslu/remotepi
A raspberry Pi web app in node to remote control GPIOs in a browser with johnny-five
https://github.com/monteslu/remotepi
Last synced: about 2 months ago
JSON representation
A raspberry Pi web app in node to remote control GPIOs in a browser with johnny-five
- Host: GitHub
- URL: https://github.com/monteslu/remotepi
- Owner: monteslu
- Created: 2014-12-20T16:48:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-08T13:22:11.000Z (over 8 years ago)
- Last Synced: 2024-10-11T14:11:55.751Z (2 months ago)
- Language: JavaScript
- Size: 453 KB
- Stars: 18
- Watchers: 3
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Remote Pi
=======
This app runs on a raspberry Pi allowing you remote access via a webrowser to
run [Johnny-Five](https://github.com/rwaldron/johnny-five) programs.It is uses [raspi-io](https://github.com/bryan-m-hughes/raspi-io) wrapped with [remote-io](https://github.com/monteslu/remote-io). The hardware is exposed via the [scoket.io-serial](https://github.com/monteslu/socket.io-serial) transport to the self hosted browser app or to any other node client that wishes to connect to it.
![Remote Pi](screenshot.png)
# Getting Started
This takes about half an hour on my Model A+ pi (and you may need to run it a couple of times if the install doesnt finish):
```
npm install
````Then you need to build the web UI:
```
npm run build
```Then you'll need to sudo to access the GPIOs:
```
sudo node server
```Then open a browser to the pi's IP: http://MY_PI_ADDRESS:3000
Your robots code will be running in the browser, but remote controlling the pins on the Raspberry Pi!