RaresAil / homebridge-levoit-air-purifier

A Homebridge platform plugin made for Levoit Air Purifiers which supports the following models: Core 200S/300S/400S/400S Pro
https://www.npmjs.com/package/homebridge-levoit-air-purifier
Apache License 2.0
61 stars 11 forks source link

Since 3.0 is adding humidifier on its own #97

Open scottn168 opened 5 months ago

scottn168 commented 5 months ago

Describe The Bug

Since upgrade to 3.0 and now still in 3.0.1 my 6000s humidifier is added even when I have the box unchecked. Shows in Homekit but is unusable and already use the separate humidifier plugin.

Expected behavior

Not to add device I don't want added

Logs

[4/17/2024, 7:45:05 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge A9BB) is running on port 51265. [4/17/2024, 7:45:06 PM] [Levoit Air Purifiers] Discovering devices... [4/17/2024, 7:45:06 PM] Registering platform 'homebridge-levoit-humidifiers.LevoitHumidifiers' [4/17/2024, 7:45:08 PM] [Levoit Air Purifiers] Adding new accessory: Entry 600S [Entry 600S@@Filter Change Indication] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway. [Entry 600S@@Filter Life Level] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway. [4/17/2024, 7:45:08 PM] Registering platform 'homebridge-winix-purifiers.WinixPurifiers' [4/17/2024, 7:45:09 PM] [Levoit Air Purifiers] Adding new accessory: Master Hall Humidifier [Master Hall Humidifier@@Filter Change Indication] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway. [Master Hall Humidifier@@Filter Life Level] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway. [4/17/2024, 7:45:58 PM] [Levoit Air Purifiers] Initializing LevoitAirPurifiers platform... [4/17/2024, 7:45:58 PM] [Levoit Air Purifiers] Initializing child bridge 0E:65:EB:F4:9D:A8 [4/17/2024, 7:45:58 PM] Loading 2 accessories... [4/17/2024, 7:46:01 PM] [Levoit Air Purifiers] Launched child bridge with PID 56773 [4/17/2024, 7:46:01 PM] [Levoit Air Purifiers] Loaded homebridge-levoit-air-purifier v3.0.1 child bridge successfully [4/17/2024, 7:46:02 PM] [Levoit Air Purifiers] Connecting to the servers... [4/17/2024, 7:46:04 PM] [Levoit Air Purifiers] Discovering devices... [4/17/2024, 7:46:04 PM] Registering platform 'homebridge-winix-purifiers.WinixPurifiers' [4/17/2024, 7:46:06 PM] [Levoit Air Purifiers] Adding new accessory: Entry 600S [Entry 600S@@Filter Change Indication] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway. [Entry 600S@@Filter Life Level] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway. [4/17/2024, 7:46:07 PM] [Levoit Air Purifiers] Adding new accessory: Master Hall Humidifier [Master Hall Humidifier@@Filter Change Indication] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway. [Master Hall Humidifier@@Filter Life Level] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.

Plugin Config

"name": "Levoit Air Purifiers",
"email": "",
"password": "",
"platform": "LevoitAirPurifiers",
"_bridge": {
    "username": "0E:65:EB:F4:9D:A8",
    "port": 48551
}

}

Plugin Version

3.0, 3.0.1

Homebridge Version

1.7.0 (HAP v0.11.1)

Node.js Version

20.12.2

NPM Version

latest

Operating System

Raspberry Pi OS 64 bit latest. / Docker

RaresAil commented 5 months ago

@scottn168 can you enable debug mode and post those logs?

scottn168 commented 5 months ago

[4/18/2024, 6:27:50 PM] [Levoit Air Purifiers] Discovering devices... [4/18/2024, 6:27:53 PM] [Levoit Air Purifiers] Restoring existing accessory from cache: Entry 600S [4/18/2024, 6:27:54 PM] [Levoit Air Purifiers] Adding new accessory: Master Hall Humidifier [Master Hall Humidifier@@Filter Change Indication] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway. [Master Hall Humidifier@@Filter Life Level] Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway. [4/18/2024, 6:28:06 PM] [Levoit Air Purifiers] Restarting child bridge... [4/18/2024, 6:28:06 PM] Got SIGTERM, shutting down child bridge process... [4/18/2024, 6:28:11 PM] [Levoit Air Purifiers] Child bridge process ended [4/18/2024, 6:28:11 PM] [Levoit Air Purifiers] Process Ended. Code: 143, Signal: null [4/18/2024, 6:28:18 PM] [Levoit Air Purifiers] Restarting Process... [4/18/2024, 6:28:18 PM] [Levoit Air Purifiers] Launched child bridge with PID 93728 [4/18/2024, 6:28:18 PM] Registering platform 'homebridge-levoit-air-purifier.LevoitAirPurifiers' [4/18/2024, 6:28:19 PM] [Levoit Air Purifiers] Loaded homebridge-levoit-air-purifier v3.0.1 child bridge successfully [4/18/2024, 6:28:19 PM] Loaded 4 cached accessories from cachedAccessories.0E65EBF49DA8. [4/18/2024, 6:28:19 PM] [Levoit Air Purifiers] Loading accessory from cache: Entry 600S [4/18/2024, 6:28:19 PM] [Levoit Air Purifiers] Loading accessory from cache: Master Hall Humidifier [4/18/2024, 6:28:19 PM] Publishing bridge accessory (name: Levoit Air Purifiers, publishInfo: { username: '0E:65:EB:F4:9D:A8', port: 48551, pincode: '*-*-', category: 2, bind: undefined, mdns: undefined, addIdentifyingMaterial: true, advertiser: undefined }). [4/18/2024, 6:28:19 PM] [Levoit Air Purifiers] Connecting to the servers... [4/18/2024, 6:28:19 PM] Homebridge v1.7.0 (HAP v0.11.1) (Levoit Air Purifiers) is running on port 48551. [4/18/2024, 6:28:20 PM] [Levoit Air Purifiers] Discovering devices... [4/18/2024, 6:28:22 PM] [Levoit Air Purifiers] Restoring existing accessory from cache: Entry 600S [4/18/2024, 6:28:23 PM] [Levoit Air Purifiers] Restoring existing accessory from cache: Master Hall Humidifier