shermozle / wio_sensors

Pull down wio sensors and push to various places

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wio_sensors

Pull down sensor data from the Wio iOT devices and write them out to Initial State which does some pretty awesome visualisation of the sensor data. You can learn more about connecting things up to Initial State.

Requirements

  • Initial State python module
  • Initial State account
  • Wio Link or Node devices
  • Wio account
  • API pages for your Wio devices with the device token and API endpoints for the attached bits
  • myjson.com page

Configuration

At the shell set the keys for Initial State:

export IS_BUCKET_KEY=<Your Initial State bucket key>
export IS_ACCESS_KEY=<Your Initial State access key>
export MYJSON_KEY=<Your myjson key (the bit at the end of the URL path)>

Move wios_example.json to wios.json and edit it to reflect the devices you have attached to your Wios.

Now run get_wio.py and it'll start polling the devices and sending data into Initial State.

About

Pull down wio sensors and push to various places

License:GNU General Public License v3.0


Languages

Language:Python 100.0%