michaelahern / homebridge-airthings

A Homebridge plugin for Airthings air quality monitors via the Airthings Consumer API.
ISC License
38 stars 6 forks source link

Multiple Airthings Devices #43

Closed realtoinedeal8 closed 2 weeks ago

realtoinedeal8 commented 3 weeks ago

love the plugin. But i am a total noob to this world of homebridge and plugins. I have about 6 airthings minis in my house. How do I make thee plug in read all of them? or do I just pick one and stick with that one? sorry if it is a dumb question.

michaelahern commented 2 weeks ago

Not a dumb question! When you go to the Airthings plugin config, click the "+" button next to "Save" to add another device. Assuming the devices are all on the same Airthings account, you can use the same Client ID and Secret and just set a unique name and serial number for each device.

new

michaelahern commented 2 weeks ago

Also, would note that with 6 devices, you'll hit the Airthings API rate limits with the default plugin config. Would recommend setting Advanced Settings --> Airthings API Refresh Interval to 200 seconds for each device to prevent hitting rate limit errors.