luftdaten.info

From XennisWiki
Jump to: navigation, search

Luftdaten.info to build a particulates sensor and collect all the data.

Sensor.Community flashing tool

Further information: GitHub repo

Build it

Clone the project (here version 0.3.1)

git clone -b v0.3.1 https://github.com/opendata-stuttgart/airrohr-firmware-flasher.git
cd airrohr-firmware-flasher

Create a virtual environment and enable it

python3.8 -m venv .env
source .env/bin/activate

Install the dependencies

make deps
pip install --requirement requirements.txt

Create the binary

make dist

Run it

  • Execute the binary ./dist/airrohr-flasher
  • Flash the microcontroller with the firmware
    • Select a Firmware version, e.g. latest_en.bin
    • Click Upload
    • Write down the sensor ID that is shown
  • Configure the sensor
    • Reboot the microcontroller
    • Connect to a WiFi called airRohr-<sensor-id>
    • Open http://192.168.4.1 to configure it
    • Configure the WiFi and press Save and restart
  • Now the should be connected to the WiFi. Open https://<ip> to access the UI.

External links