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

https://github.com/arve0/yun-fire-alert

SMS alert for Nobi 220i R2 fire alarm with Arduino Yun
https://github.com/arve0/yun-fire-alert

Last synced: 3 months ago
JSON representation

SMS alert for Nobi 220i R2 fire alarm with Arduino Yun

Awesome Lists containing this project

README

        

yun-fire-alert
==============

SMS alert for Nobi 220i R2 fire alarm with Arduino Yun

# Install #

## Requirements
MsTimer2 arduino library:
```
git clone https://github.com/PaulStoffregen/MsTimer2 ~/Documents/Arduino/libraries/MsTimer2
```

## Setup
Get code, edit Twilio settings and upload to Yun.
```
git clone https://github.com/arve0/yun-fire-alert.git
cd yun-fire-alert
open sms_alert.py
scp sms_alert.py check_twilio.py cacert.pem [email protected]:/
```

Login to YUN through SSH and install twilio:
```
ssh -l root arduino.local
opkg update
opkg install python-openssl python-expat distribute
easy_install twilio
```

Make sure 32u4 is restarted when linux is booted:
```
sed -i "" "s/^#reset-mcu/reset-mcu/" /etc/rc.local
```

# Images #

## Drawing
![Diagram drawing](images/drawing.png "Diagram drawing")

## Programming
![Programming](images/programming.jpg "Powered with usb")

## First live test
![Wires everywhere](images/testing.jpg "A mess")