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
60 stars 11 forks source link

Support for LV600S and Superior 6000S Humidifiers #86

Open indygwyn opened 5 months ago

indygwyn commented 5 months ago

Describe The Bug

After enabling support for Humidifiers I didn't see my 2 humidifiers available. My Core 200S Air Purifier shows up just fine.

Expected behavior

LV 600S and Superior 6000S available

Logs

[1/15/2024, 7:32:09 PM] Registering platform 'homebridge-levoit-air-purifier.LevoitAirPurifiers' [1/15/2024, 7:32:09 PM] [Levoit Air Purifiers] Initializing LevoitAirPurifiers platform... [1/15/2024, 7:32:09 PM] [Levoit Air Purifiers] Initializing child bridge 0E:A7:18:9B:80:79 [1/15/2024, 7:32:09 PM] [Levoit Air Purifiers] Launched child bridge with PID 39057 [1/15/2024, 7:32:09 PM] Registering platform 'homebridge-levoit-air-purifier.LevoitAirPurifiers' [1/15/2024, 7:32:10 PM] [Levoit Air Purifiers] Loaded homebridge-levoit-air-purifier v2.0.0 child bridge successfully [1/15/2024, 7:32:10 PM] [Levoit Air Purifiers] Connecting to the servers... [1/15/2024, 7:32:10 PM] Homebridge v1.7.0 (HAP v0.11.1) (Levoit Air Purifiers) is running on port 51989. [1/15/2024, 7:32:10 PM] [Levoit Air Purifiers] Discovering devices... [1/15/2024, 7:32:12 PM] [Levoit Air Purifiers] Adding new accessory: Air Purifier [1/15/2024, 7:33:31 PM] [Levoit Air Purifiers] Restarting child bridge... [1/15/2024, 7:33:36 PM] [Levoit Air Purifiers] Child bridge process ended [1/15/2024, 7:33:36 PM] [Levoit Air Purifiers] Process Ended. Code: 143, Signal: null [1/15/2024, 7:33:43 PM] [Levoit Air Purifiers] Restarting Process... [1/15/2024, 7:33:44 PM] [Levoit Air Purifiers] Launched child bridge with PID 39365 [1/15/2024, 7:33:44 PM] Registering platform 'homebridge-levoit-air-purifier.LevoitAirPurifiers' [1/15/2024, 7:33:44 PM] [Levoit Air Purifiers] Loaded homebridge-levoit-air-purifier v2.0.0 child bridge successfully [1/15/2024, 7:33:44 PM] [Levoit Air Purifiers] Loading accessory from cache: Air Purifier [1/15/2024, 7:33:44 PM] [Levoit Air Purifiers] Connecting to the servers... [1/15/2024, 7:33:44 PM] Homebridge v1.7.0 (HAP v0.11.1) (Levoit Air Purifiers) is running on port 51989. [1/15/2024, 7:33:44 PM] [Levoit Air Purifiers] Discovering devices... [1/15/2024, 7:33:47 PM] [Levoit Air Purifiers] Restoring existing accessory from cache: Air Purifier [1/15/2024, 7:33:51 PM] [Levoit Air Purifiers] Restarting child bridge... [1/15/2024, 7:33:56 PM] [Levoit Air Purifiers] Child bridge process ended [1/15/2024, 7:33:56 PM] [Levoit Air Purifiers] Process Ended. Code: 143, Signal: null [1/15/2024, 7:34:03 PM] [Levoit Air Purifiers] Restarting Process... [1/15/2024, 7:34:04 PM] [Levoit Air Purifiers] Launched child bridge with PID 39396 [1/15/2024, 7:34:04 PM] Registering platform 'homebridge-levoit-air-purifier.LevoitAirPurifiers' [1/15/2024, 7:34:04 PM] [Levoit Air Purifiers] Loaded homebridge-levoit-air-purifier v2.0.0 child bridge successfully [1/15/2024, 7:34:04 PM] [Levoit Air Purifiers] Loading accessory from cache: Air Purifier [1/15/2024, 7:34:04 PM] [Levoit Air Purifiers] Connecting to the servers... [1/15/2024, 7:34:04 PM] Homebridge v1.7.0 (HAP v0.11.1) (Levoit Air Purifiers) is running on port 51989. [1/15/2024, 7:34:04 PM] [Levoit Air Purifiers] Discovering devices... [1/15/2024, 7:34:07 PM] [Levoit Air Purifiers] Restoring existing accessory from cache: Air Purifier

Plugin Config

{ "bridge": { "name": "Homebridge 69C2", "username": "0E:54:E2:67:73:A7", "port": 51799, "pin": "103-40-384", "advertiser": "avahi", "bind": [ "enp5s0" ] }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "name": "Govee", "username": "redacted", "password": "redacted", "_bridge": { "username": "0E:E6:7A:7F:E3:C8", "port": 36186 }, "platform": "Govee" }, { "name": "Levoit Air Purifiers", "email": "redacted", "password": "redacted", "experimentalFeatures": [ "Humidifiers" ], "_bridge": { "username": "0E:A7:18:9B:80:79", "port": 51989 }, "platform": "LevoitAirPurifiers" } ], "disabledPlugins": [] }

Plugin Version

v2.0.0

Homebridge Version

v1. 7.0

Node.js Version

v20.9.0

NPM Version

10.1.0

Operating System

AlmaLinux Shamrock Pampas Cat (9.3)

indygwyn commented 5 months ago
  {
    "deviceRegion": "US",
    "isOwner": true,
    "authKey": null,
    "deviceName": "Superior 6000S",
    "deviceImg": "https://image.vesync.com/defaultImages/LEH-S601S-WUS/icon_LEH_S601S_WUS_240.png",
    "cid": "vsaqd58340d4bd1b8fd48caeadf24ca7",
    "deviceStatus": null,
    "connectionStatus": null,
    "connectionType": "WiFi+BTOnboarding+BTNotify",
    "deviceType": "LEH-S601S-WUS",
    "type": "wifi-air",
    "uuid": "4ed9c169-c8a0-4b1f-9f16-efd96ea86706",
    "configModule": "VS_WFON_AHM_LEH-S601S-WUS_US",
    "macID": "48:31:b7:3d:aa:b8",
    "mode": null,
    "speed": null,
    "currentFirmVersion": null,
    "subDeviceNo": null,
    "subDeviceType": null,
    "deviceFirstSetupTime": "Nov 18, 2023 8:03:08 PM",
    "subDeviceList": null,
    "extension": null,
    "deviceProp": {
      "wifiRssi": -44,
      "powerSwitch": 1,
      "targetHumidity": 60,
      "virtualLevel": 9,
      "childLockSwitch": 0,
      "BTMac": "48:31:b7:3d:aa:ba",
      "workMode": "humidity",
      "mistLevel": 3,
      "filterLifePercent": 56,
      "screenSwitch": 1,
      "wifiMac": "48:31:b7:3d:aa:b8",
      "humidity": 57,
      "connectionStatus": "online"
    }
  },
  {
    "deviceRegion": "US",
    "isOwner": true,
    "authKey": null,
    "deviceName": "LV600S",
    "deviceImg": "https://image.vesync.com/defaultImages/deviceDefaultImages/icon_lv600s_humidifier.png",
    "cid": "vsaqf02114e4643bea11045104bac361",
    "deviceStatus": "on",
    "connectionStatus": "online",
    "connectionType": "WiFi+BTOnboarding+BTNotify",
    "deviceType": "LUH-A602S-WUS",
    "type": "wifi-air",
    "uuid": "77afbe64-1097-45d1-872e-6741a98bf384",
    "configModule": "WFON_AHM_LUH-A602S-WUS_US",
    "macID": "cc:db:a7:f4:25:46",
    "mode": null,
    "speed": null,
    "currentFirmVersion": null,
    "subDeviceNo": null,
    "subDeviceType": null,
    "deviceFirstSetupTime": "Oct 27, 2023 12:31:15 PM",
    "subDeviceList": null,
    "extension": null,
    "deviceProp": null
  }