Kindle 4 as information display

I used a Kindle4 as status display some time ago. For some months this display was without power and I was to lazy to fix it. My solution in 2014 rooting and image generation is nowadays too complicated.

Ciko from my local hackerspace solved the problem in an easy way using the buildin webbrowser of the Kindle 4. No rooting required.

Repository of Cikos solution: https://github.com/c1ko/statusKindle

My kindle today:

kindle_image

Disable screensaver (source):

;debugOn (press enter)
~disableScreensaver (press enter)

Banking API

For another project (the shackbureau) we needed to convert banking numbers from the old German system to the European system. At first we used the webpage of a German bank but after their relaunch the form was removed.

After some searching we found the data from the German federal bank as an XLS file. But XLS is a bad api to use from another site. The solution is the banking-api: https://banking.stupig.org/

Some usage examples:

  1. Search for a banking number (old German system):

    https://banking.stupig.org/v1/bank?blz=10000000

  2. Search for a banking number based on the new system:

    https://banking.stupig.org/v1/bank?bic=MARKDEF1100

  3. Search for all banks in Berlin:

    https://banking.stupig.org/v1/bank?city=Berlin

  4. Search for all banks with zipcode 10117:

    https://banking.stupig.org/v1/bank?zipcode=10117

  5. Generate the iban based on old German account data:

    For example:

    curl --request POST --url https://banking.stupig.org/v1/iban/ --header 'Content-Type: application/json' --data '{"country": "DE", "blz": "64090100", "account_number": "1234567"}'

    returns

    {"country":"DE","blz":"64090100","account_number":"1234567","iban":"DE80640901000001234567"}

The sourcecode of the API is on github: https://github.com/opendata-stuttgart/banking-api

Particles sensor of opendata-stuttgart

Shopping list

  1. Shinyei PPD42NS: http://www.aliexpress.com/wholesale?SearchText=shinyei+ppd42ns [12€]

  2. NodeMCU: http://www.aliexpress.com/wholesale?SearchText=nodemcu [4€]

  3. two 87°C plastic tubes: http://www.hornbach.de/shop/HT-Bogen-DN-75-87-Grad/266682/artikel.html [2€]

  4. cable fixer: http://www.amazon.de/Br%C3%BCder-Mannesmann-M13050-Kabelbinder-Sortiment-300-tlg/dp/B003XUIGQO [5€]

  5. Micro usb cable [1€]

Assembling

  1. drill two holes for the sensor and 2 to 4 for the nodemcu

plastic tube image
  1. assemble ppd42ns with cable fixer to tube

  2. the same for nodemcu.

  3. Connect pins of PPD42NS to nodemcu

  • PPD42NS Pin 1 (grey or green) => GND

  • PPD42NS Pin 2 (green or white)) => Pin D5 / GPIO14

  • PPD42NS Pin 3 (black or yellow) => Vin

  • PPD42NS Pin 4 (white or black) => Pin D6 / GPIO12

  • PPD42NS Pin 5 (red) => unused

  1. final version

final tube image

Software

German version: https://github.com/opendata-stuttgart/sensors-software/blob/master/BeginnersGuide/Guide.md

  1. Download Arduino software (tested is version 1.6.5): https://www.arduino.cc/en/Main/OldSoftwareReleases#previous

  2. Add esp8266 boards to Arduino software: https://github.com/esp8266/Arduino#installing-with-boards-manager

  3. We have more than one working version of the firmware. For example https://github.com/opendata-stuttgart/sensors-software/tree/master/esp8266-arduino/ppd42ns-wifi-dht

  4. Change wifi settings if no Freifunk is available.

  5. Upload software to nodemcu

Register sensor on API

  1. Watch serial console to see chipid

  2. Send chipid to one of the admins of api.dusti.xyz. For example me.

  3. Describe in the email the location you apply the sensor to. Should be outdoor!