Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a step by step manual for getting started with s hiftrshiftr.io (desktop application), s hiftrshiftr.io pocket and Processing. The goal is to collect data via s hiftrshiftr.io Pocket and to store this in an .csv file.

...

Also you need to make sure that you're running the latest version of Processing. If you have an old version or haven’t Processing installed at all, get it from their website.

Afterwards, download the processing-mqtt library from the GitHub repository. When the download has finished, move the library to your sketch folders libraries directory. More information about installing a library can be found here.

...

The Host field needs your IP-adress. Check with «alt» + click on the wifi icon in your Menu Bar. You need to have a router although it has no internet connection. (Later in the Processing script, don't forget to change the address from borkerbroker.shiftr.io to your IP address.)

...

Use the following Processing script to store the received data in an .csv file. In this example, we're working with the distance sensor, because it's the easiest an easy, absolute data type to work with.

Please note: Change the URI (here: "mqtt://67edd5ectry:ca0473914fbded6b@brokertry@broker.shiftr.io") to the one you are connected to. And don't forget to subscribe to the right device (here: p7p11) with the activated sensor (here: dst).

...