https://github.com/mathdroid/evasap-pi
https://github.com/mathdroid/evasap-pi
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mathdroid/evasap-pi
- Owner: mathdroid
- Created: 2015-10-24T18:21:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-16T14:41:07.000Z (over 9 years ago)
- Last Synced: 2025-01-04T06:13:39.300Z (about 1 year ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# README
NodeJS app in Raspberry Pi for [evasap](https://github.com/haritsE/evasap), an app for Hackathon Merdeka 2.0. This app will join the executing device (Raspberry Pi) to the **Smoke Network** by evasap.
# Installation
## Schematic

## Installing spidev:
```
sudo apt-get update
sudo apt-get -y install git python-dev
git clone https://github.com/doceme/py-spidev.git
cd py-spidev/
sudo python setup.py install
```
## Node Modules
```
npm i --python=python2
```
# Usage
```
node index.js
```
# Credits
Python script for smoke detection is acquired from
http://www.learningaboutelectronics.com/Articles/MQ-2-smoke-sensor-circuit-with-raspberry-pi.php