Hi, I could use this plugin without problem till 2 days ago. I have updated all my devices to iOS 14 and homebridge version 1.1.6 to 1.2.2.
I have this error "airPurifierIndex specified is higher than number of air purifiers available"
because of this all of other homebridge accessory became "no response" due to endless message cycle appeared as descried in log file. When I exclude this plugin from config.json, everything works as same as before.
I am running Homebridge v1.2.2 now but when I downgraded to v1.1.6, it doesn't work also, very strange...
I am not sure it is related to iOS update but it happened at same time, just for your reference.
I have tried hard reboot of homebridge hub(raspberry pi 3B+), deleted all purifier and re-registered again into blueair app, even only one purifier registered in both blueair app and homebridge config file without statement "airPurifierIndex": "0",
same error message "airPurifierIndex specified is higher than number of air purifiers available"
please be so kind to help, how to fix this.
homebridge.log in debug mode
[9/18/2020, 11:10:31] [HB Supervisor] Restarting Homebridge...
[9/18/2020, 11:10:31] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[9/18/2020, 11:10:31] [HB Supervisor] Started Homebridge v1.2.2 with PID: 6048
[9/18/2020, 11:10:32] Loaded config.json with 13 accessories and 4 platforms.
[9/18/2020, 11:10:32] ---
[9/18/2020, 11:10:35] Loaded plugin: [email protected]
[9/18/2020, 11:10:38] Registering accessory 'homebridge-blueair.BlueAir'
[9/18/2020, 11:10:46] Loading 13 accessories...
[9/18/2020, 11:10:46] [WIC purifier] Initializing BlueAir accessory...
[9/18/2020, 11:10:46] [Entrance purifier] Initializing BlueAir accessory...
[9/18/2020, 11:10:46] [Entrance purifier] ** Fakegato-storage AddWriter : Entrance purifier
[9/18/2020, 11:10:46] [Entrance purifier] Loading...
[9/18/2020, 11:10:46] [Entrance purifier] ** Fakegato-storage read FS file: /var/lib/homebridge/hassio_Entrance purifier_persist.json
[9/18/2020, 11:10:46] [Entrance purifier] ** Fakegato-timer Subscription : Entrance purifier
[9/18/2020, 11:10:46] [Entrance purifier] Registring Events Entrance purifier
[9/18/2020, 11:10:46] [Entrance purifier] Accessory Entrance purifier
[9/18/2020, 11:10:46] [Entrance purifier] ** Fakegato-timer Subscription : undefined
[9/18/2020, 11:10:47] [WIC purifier] Polled API: https://api.foobot.io/v2/user/[email protected]/homehost/ undefined
[9/18/2020, 11:10:47] [WIC purifier] Got home region: "api-nc.foobot.io"
[9/18/2020, 11:10:47] [WIC purifier] Polled API: https://api.foobot.io/v2/user/[email protected]/homehost/ undefined
[9/18/2020, 11:10:47] [WIC purifier] Got home region: "api-nc.foobot.io"
[9/18/2020, 11:10:47] [WIC purifier] Polled API: https://api.foobot.io/v2/user/[email protected]/homehost/ undefined
[9/18/2020, 11:10:47] [WIC purifier] Got home region: "api-nc.foobot.io"
[9/18/2020, 11:10:47] [Entrance purifier] Polled API: https://api.foobot.io/v2/user/[email protected]/homehost/ undefined
[9/18/2020, 11:10:47] [Entrance purifier] Got home region: "api-nc.foobot.io"
[9/18/2020, 11:10:47] [Entrance purifier] Polled API: https://api.foobot.io/v2/user/[email protected]/homehost/ undefined
[9/18/2020, 11:10:47] [Entrance purifier] Got home region: "api-nc.foobot.io"
[9/18/2020, 11:10:47] [Entrance purifier] Polled API: https://api.foobot.io/v2/user/[email protected]/homehost/ undefined
[9/18/2020, 11:10:47] [Entrance purifier] Got home region: "api-nc.foobot.io"
after homebridge is runing,
[9/18/2020, 11:10:47] Homebridge is running on port 51600.
[9/18/2020, 11:10:48] [WIC purifier] Polled API: https://api-nc.foobot.io/v2/user/[email protected]/login/ undefined
[9/18/2020, 11:10:48] [WIC purifier] Logged in to API
[9/18/2020, 11:10:48] [Entrance purifier] Polled API: https://api-nc.foobot.io/v2/user/[email protected]/login/ undefined
[9/18/2020, 11:10:48] [Entrance purifier] Logged in to API
[9/18/2020, 11:10:48] [Entrance purifier] Polled API: https://api-nc.foobot.io/v2/user/[email protected]/login/ undefined
[9/18/2020, 11:10:48] [Entrance purifier] Logged in to API
[9/18/2020, 11:10:48] [WIC purifier] Polled API: https://api-nc.foobot.io/v2/user/[email protected]/login/ undefined
[9/18/2020, 11:10:48] [WIC purifier] Logged in to API
[9/18/2020, 11:10:48] [Entrance purifier] Polled API: https://api-nc.foobot.io/v2/user/[email protected]/login/ undefined
[9/18/2020, 11:10:48] [Entrance purifier] Logged in to API
[9/18/2020, 11:10:48] [WIC purifier] Polled API: https://api-nc.foobot.io/v2/user/[email protected]/login/ undefined
[9/18/2020, 11:10:48] [WIC purifier] Logged in to API
[9/18/2020, 11:10:48] [WIC purifier] Polled API: https://api-nc.foobot.io/v2/owner/[email protected]/device/ undefined
[9/18/2020, 11:10:48] [WIC purifier] airPurifierIndex specified is higher than number of air purifiers available
[9/18/2020, 11:10:48] [Entrance purifier] Polled API: https://api-nc.foobot.io/v2/owner/[email protected]/device/ undefined
[9/18/2020, 11:10:48] [Entrance purifier] airPurifierIndex specified is higher than number of air purifiers available
[9/18/2020, 11:10:48] [Entrance purifier] Polled API: https://api-nc.foobot.io/v2/owner/[email protected]/device/ undefined
[9/18/2020, 11:10:48] [Entrance purifier] airPurifierIndex specified is higher than number of air purifiers available
[9/18/2020, 11:10:48] [Entrance purifier] Polled API: https://api-nc.foobot.io/v2/owner/[email protected]/device/ undefined
[9/18/2020, 11:10:48] [Entrance purifier] airPurifierIndex specified is higher than number of air purifiers available
[9/18/2020, 11:10:48] [WIC purifier] Polled API: https://api-nc.foobot.io/v2/owner/[email protected]/device/ undefined
[9/18/2020, 11:10:48] [WIC purifier] airPurifierIndex specified is higher than number of air purifiers available
[9/18/2020, 11:10:48] [WIC purifier] Polled API: https://api-nc.foobot.io/v2/owner/[email protected]/device/ undefined
[9/18/2020, 11:10:48] [WIC purifier] airPurifierIndex specified is higher than number of air purifiers available
and this cycle of messages continues.
my config which was working before is shown below
{
"accessory": "BlueAir",
"name": "WIC purifier",
"airPurifierIndex": "0",
"username": "",
"password": ""
},
{
"accessory": "BlueAir",
"name": "Entrance purifier",
"airPurifierIndex": "1",
"nameAirQuality": "Air Quality",
"nameTemperature": "Temp.",
"nameHumidity": "Hum.",
"nameCO2": "CO2",
"username": "",
"password": "",
"showTemperature": true,
"showHumidity": true,
"showAirQuality": true,
"showCO2": true,
"showLED": false,
"getHistoricalStats": true
},