The personal pollution exposure monitor. Making the invisible, visible!
- http://nodejs.org/download/
- Android SDK - https://developer.android.com/sdk/index.html
- Apache Ant - http://ant.apache.org/bindownload.cgi
- Java SDK - http://www.oracle.com/technetwork/java/javase/index.html
JAVA_HOME
andANDROID_HOME
environment variables configured- Ant on the
PATH
git clone https://github.com/catchmartin/Breazy.git
cd Breazy/App
rm -r mobile-treo
npm install -g cordova ionic
ionic start mobile-treo sidemenu
cd mobile-treo
ionic platform add android
git reset --hard HEAD
notes: On a linux(Ubuntu 14.04 x64) I found that I had to install 2 packages to build/run the android app:
- sudo apt-get install lib32z1
- sudo apt-get install lib32stdc++6
- https://github.com/node-red/node-red-nodes
- npm install mongodb
- configure mongodb if necessary
- cd ~/Breazy/Backend/mongodb
- mongorestore
- cd ~/node-red*
- configure mongodb if necessary
- cd nodes/; git clone https://github.com/node-red/node-red-nodes.git
- cd ..
- copy in breazy.json file
- edit settings.js file for CORS https://groups.google.com/d/msg/node-red/9ZZY_2xcfaI/MHlgty0xQrcJ
- node red.js breazy.json
- Weather
- Accuweather
- WeatheUnderground * http://www.wunderground.com/weather/api/ * http://www.wunderground.com/weather/api/d/docs * GET http://api.wunderground.com/api/Your_Key/features/settings/q/query.format * http://www.wunderground.com/weather/api/d/docs?d=data/index&MR=1 * treo * http://api.wunderground.com/api/$KEY/forecast/geolookup/conditions/q/CA/San_Francisco.json
- Sensor
- London Air Quality * http://api.erg.kcl.ac.uk/AirQuality/help