AirVisual Panels
Last updated: 6 months ago

Downloads: 35

Reviews: 0

  • Screenshot 2020-05-25 at 21.41.45.png
    Screenshot 2020-05-25 at 21.41.45.png

Get your API key from and replace <AIRVISUAL_API_KEY> in config. Restart Telegraf or his container.

Please, remember - API Key valid for one year! After that time you need to get new one and update configs!

Also, for sure update urls by list of cities you need, and don't forget to update dashboard queries related to your cities configuration.

Collector Configuration Details


urls = [
data_format = "json"
tag_keys = [ "data_location_coordinates_0", "data_location_coordinates_1", "data_country", "data_state", "data_city" ]
json_string_fields = [ "data_current_pollution_aqius", "data_current_pollution_aqicn" ]
json_time_key = "data_current_pollution_ts"
json_time_format = "2006-01-02T15:04:05Z07:00"
name_override = "airvisual"