A raspberry pi automation server to remotely control GPIO. Implemented in Express with Socket.io emitting real time events and syncing across multiple devices.
- Raspberry Pi (Tested on RPi 3 w/ Raspbian Stretch)
Any of the following modules:
- Led
- Lazer
- RGB
- Relay
- Temperature Sensor (ds18b20)
- Clone this repo:
git clone https://github.com/Netherium/neth-omation-server.git
- Change directory
cd neth-omation-server
- Install dependencies
npm install
- Set accordingly your pin numbers in
gpio.config.json
(GPIO pins and not physical) - Comment out init/register functions for any of the modules not used in
gpio.service.ts
- Build and run
tsc && sudo node ./dist/gpio-server.js
If you need a frontend UI to control your backend server you can find neth-omation-client made with Angular 6
Netherium
Code released under the MIT license