Skip to content

Bug: can't fetch data from AQICN #7

@rafalkarolczyk

Description

@rafalkarolczyk

Describe The Bug

can't fetch data from AQICN

To Reproduce

normal steps

Expected behavior

to show level of all pollutants

Relevant log output

I have wrong info about level of pollution. I have my own GAIA station bought from AQICN. It works perfectly if I set Latitude and Longitude of the station managed by Government. Other private stations produced by AQICN shows the same problem.

Config for homebridge-air

{
    "name": "Air",
    "devices": [
        {
            "provider": "aqicn",
            "apiKey": "here is my API",
            "latitude": "49.81131694596411",
            "longitude": "19.073215305554868"
        }
    ],
    "logging": "standard",
    "_bridge": {
        "name": "Air E872",
        "username": "0E:E3:A3:E1:B1:45",
        "port": 48132
    },
    "platform": "Air"
}

Screenshots

No response

Node.js Version

22.13.1

NPM Version

last vesrion

Homebridge Version

1.8.5

Homebridge Air Plugin Version

1.0.1

Homebridge Config UI X Plugin Version

No response

Operating System

macOS

Metadata

Metadata

Labels

bugSomething isn't workingpinned

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions