MCH2022 badge?
go to mch2022.badge.team

SensorCommunityLuftdatenDisplay rev. 4 (by xro)

Sensor.Community E-Paper Data Display

It is a simple app to get data from an AirRohr sensor and display it in a very simple fashion on a Sha2017 e-paper badge.

The app assumes that you have a dustsensor + environmental sensor with two consecutive sensor-ids.

Pull-Requests welcome. Project is currently evolving on GitHub

configuration

  1. connect your badge via USB
  2. open the serial console to the badge
  3. start the python console
  4. set the sensor.community sensor id of airquality-dust-sensor that you want to query:
    import badge
    badge.nvs_set_str("sensorcommunity","sid","<YourSensorID>")
    
    you can get the sensor-id from the sensor.community map or by logging in to https://devices.sensor.community/sensors. Click data of your sensor and use the particulate matter sensor ID.
  5. quit the python console

Todo

  • [x] exit via START button press
  • [x] force update via A/B button press
  • [x] don't display outdated values
  • [x] larger, easier-to-read text with units instead of json dump
  • [x] add value subtitle description or make font even larger
  • [x] up/down arrow indicating current trend
  • [x] indicate UTC time on screen so user can gauge last update
Category: data
Status: working
Minimal firmware version: 13082021
Vote Comment Date
up 2 years ago
Compatibility
  • SHA2017 Badge: working
  • Disobey 2020: unknown
Dependencies
  • No dependencies found
Dependants
  • No dependants found
Author: xro

File Last edited Size
README.md 2023-01-23 22:23:02 1.25 KiB
__init__.py 2023-01-23 22:23:02 8.59 KiB
metadata.json 2023-01-23 22:23:03 189 B