Skip to content

Fetch system status info from a Luftdaten sensor and convert to influx line protocol. Includes importable Grafana dashboards.

Notifications You must be signed in to change notification settings

Phaze-III/luftdaten-sensor-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 

Repository files navigation

luftdaten-sensor-status

Fetch system status info from a Sensor.Community (previously Luftdaten) sensor and convert to influx line protocol

Includes a Grafana-dashboard to visualize the information.

Requirements

Should work on most Unix(tm)/Linux flavours with the standard tools and two additional packages (see Dependencies).

Tested on BSD (Mac OSX and FreeBSD) and airrohr-firmware NRZ-2020-129 to NRZ-2024-135 with a SDS011 sensor.

Dependencies

The script depends on curl (7.75.0 or higher) and html2text, both most likely available in the package repositories of your OS distribution. Source code is available at:

No Python required :)

Usage

  • Create a new InfluxDB with create database "sensor-status"
  • Modify the Status*- and INFLUXDB-settings in get-sensor-status.sh as needed
  • Run the script from cron every 15 minutes

Additional information

About

Fetch system status info from a Luftdaten sensor and convert to influx line protocol. Includes importable Grafana dashboards.

Resources

Stars

Watchers

Forks

Languages