Last active
January 14, 2022 20:42
-
-
Save maruno/bcbde4532c83c14ce29b76dfc4320474 to your computer and use it in GitHub Desktop.
Luchtmeetnet HA sensor configuration (example station NL01492)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- platform: rest | |
name: Luchtmeetnet NL01492 PM2.5 | |
resource: https://api.luchtmeetnet.nl/open_api/stations/NL01492/measurements?formula=PM25 | |
device_class: pm25 | |
unit_of_measurement: µg/m³ | |
value_template: '{{ value_json.data[0].value }}' | |
- platform: rest | |
name: Luchtmeetnet NL01492 PM10 | |
resource: https://api.luchtmeetnet.nl/open_api/stations/NL01492/measurements?formula=PM10 | |
device_class: pm10 | |
unit_of_measurement: µg/m³ | |
value_template: '{{ value_json.data[0].value }}' | |
- platform: rest | |
name: Luchtmeetnet NL01492 SO2 | |
resource: https://api.luchtmeetnet.nl/open_api/stations/NL01492/measurements?formula=SO2 | |
device_class: sulphur_dioxide | |
unit_of_measurement: µg/m³ | |
value_template: '{{ value_json.data[0].value }}' | |
- platform: rest | |
name: Luchtmeetnet NL01492 O3 | |
resource: https://api.luchtmeetnet.nl/open_api/stations/NL01492/measurements?formula=O3 | |
device_class: ozone | |
unit_of_measurement: µg/m³ | |
value_template: '{{ value_json.data[0].value }}' | |
- platform: rest | |
name: Luchtmeetnet NL01492 NO | |
resource: https://api.luchtmeetnet.nl/open_api/stations/NL01492/measurements?formula=NO | |
device_class: nitrous_oxide | |
unit_of_measurement: µg/m³ | |
value_template: '{{ value_json.data[0].value }}' | |
- platform: rest | |
name: Luchtmeetnet NL01492 NO2 | |
resource: https://api.luchtmeetnet.nl/open_api/stations/NL01492/measurements?formula=NO2 | |
device_class: nitrogen_dioxide | |
unit_of_measurement: µg/m³ | |
value_template: '{{ value_json.data[0].value }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment