A demo project to collect, store and chart environmental data from an Electric Imp device using Node.js, Angular and MongoDB.
- An Electric Imp dev kit with an Environmental Tail
- Node.js environment with a MongoDB database.
- Knowledge of Javascript/Node.js environments
The server must be publicly accessible.
- npm update
- bower update
- node server.js
- Login at https://ide.electricimp.com
- Register your Electric Imp device.
- Install agent.nut and device.nut.
- Update agent.nut for your environment.
// Begin - Settings const serverUrl = "http://yourhost.com"; const WUNDERGROUND_API_KEY = "xxxxxxxxxx"; const WUNDERGROUND_LOCATION = "NY/Albany"; // End - Settings