An open API service indexing awesome lists of open source software.

https://github.com/mathdroid/evasap-pi


https://github.com/mathdroid/evasap-pi

Last synced: 12 months ago
JSON representation

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

![Schematic](circuit.png)

## 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