Coder Social home page Coder Social logo

pschroeder89 / homebridge-levoit-humidifiers Goto Github PK

View Code? Open in Web Editor NEW
66.0 4.0 10.0 1.65 MB

Levoit Humidifiers Plugin for Apple HomeKit via Homebridge

License: Apache License 2.0

TypeScript 100.00%
homebridge homebridge-plugin homebridge-plugins levoit humidifier humidifiers homebridge-humidifiers

homebridge-levoit-humidifiers's Introduction

Dimension by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)


This is Dimension, a fun little one-pager with modal-ized (is that a word?) "pages"
and a cool depth effect (click on a menu item to see what I mean). Simple, fully
responsive, and kitted out with all the usual pre-styled elements you'd expect.
Hope you dig it :)

Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images
you can use for pretty much whatever.

(* = not included)

AJ
[email protected] | @ajlkn


Credits:

	Demo Images:
		Unsplash (unsplash.com)

	Icons:
		Font Awesome (fontawesome.io)

	Other:
		jQuery (jquery.com)
		Responsive Tools (github.com/ajlkn/responsive-tools)

homebridge-levoit-humidifiers's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homebridge-levoit-humidifiers's Issues

v1.8.9-beta4 release marked as latest production release

Describe The Bug:

v1.8.9-beta4 release marked as latest production release. And some weird log messages noted below. OasisMist 451S

To Reproduce:

Just select update from HomeBridge plugin status.

Expected behavior:

Logs:

[24/01/2023, 09:34:35] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/01/2023, 09:34:35] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/01/2023, 09:34:35] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/01/2023, 09:34:35] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/01/2023, 09:34:35] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/01/2023, 09:34:35] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/01/2023, 09:34:35] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[TARGET HUMIDIDITY]: 40
[TARGET HUMIDIDITY]: 40
[TARGET HUMIDIDITY]: 40

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

Device exposes too many controls?

Describe The Bug:
Since upgrading to the newest version of the humidifier plugin, my humidifiers now expose multiple "humidifier" controls in the Home app. It's not totally clear what the difference is between the controls.

Additionally, the "Cool Mist" control also seems confusing, as it's not clear if that corresponds to fan speed or some other element.

If the controls actually serve separate purposes it might be an opportunity to give them clearer labels.

To Reproduce:
Use latest version of plugin with a Classic300s Levoit humidifier.

Expected behavior:
One set of humidity controls, or better labels that make the differences clear.

Logs:

no logs

Plugin Config:

normal config

Screenshots:

humidifier

Environment:

  • Plugin Version: 1.6.0
  • Homebridge Version: 1.4.0
  • Node.js Version: 14.19.0
  • NPM Version: 6.14.16
  • Operating System: Raspbian Buster

[Device Request] Superior 6000S

Model number:
LUH_O601S_WUS

Number of mist levels:
9

Number of warm mist levels:
0

Auto mode?
Yes - autoPro

Sleep mode?
Yes

Night Light?
No

Any other features not listed above?

Setting auto mode turns device off

First off, thanks for putting this together, this is super useful.

I tried it with my Classic 300S and everything seems to be working great except auto mode. When I set the device to auto via HomeKit the device turns off. It's not just that the mist turns off, the device shows up as off in the VeSync app. This happens regardless of what the target humidity is set to. Also, if I set the device to auto mode in the VeSync app, it shows up as being in manual mode in homekit.

Let me know if there's any other information I can provide that'd be helpful. I might try to dig into the code a bit if I have some time this weekend.

Thanks!

[Request] Toggle to Disable Humidity Sensor Reporting in Homekit

Is your feature request related to a problem? Please describe:

I'd like to be able to disable humidity reporting from the humidifier. I have a homepod that reports humidity for the room and now Siri when asked about the humidity replies with the range of humidities from both the HomePod and the humidifier instead of just a single value.

Describe the solution you'd like:
In the Homebridge settings for the plugin I'd like to he able to toggle off the humidity sensor.

"This plugin slows down Homebridge"

I have both of my humidifiers unplugged currently and I'm setting this in the log for homebridge-levoit-humidifiers v1.7.1-beta1:

[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[4/5/2022, 12:47:21 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' was slow to respond! See https://git.io/JtMGR for more info.

Sleep Mode doesn't switch off to Auto on non-US LV600s models

Describe The Bug:

To Reproduce:

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

Not showing target humidity for LEVOIT Superior 6000S

Describe The Bug:

Using the plugin, the humidity setting shows 0 when it is current set to a higher value.
Using LEVOIT Superior 6000S.

To Reproduce:

When setting the target humidity value on the manufacturers app to 43. The HomeKit app say rising to 0% and this never changes.

Expected behavior:

I expect the HomeKit app to reflect the target humidity.

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

image
Environment:

  • Plugin Version:
  • Homebridge Version:
    Hoobs core 5.0.12
  • Node.js Version:
  • NPM Version:
  • Operating System:
    hoobs

Night light support for Dual 200S

Is your feature request related to a problem? Please describe:
There are two different models of the Dual 200S. The Amazon version does not have a night light but the Target version does (the one I have). The VeSync app supports the night light function and I can control it just fine. The error I am getting in the latest version of your plugin is: This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined).

Describe the solution you'd like:
Looking for the developers to add support for the night light function for the Dual 200S as the VeSync app supports it.

Describe alternatives you've considered:
N/A

Additional context:
N/A

characteristic value 0 is not contained in valid values array

Describe The Bug:
Log output seems to indicate unexpected or missing values.

To Reproduce:
Add Classic300S humidifiers, disable all accessories in config.

Expected behavior:
I wouldn't expect any of the below output in logs.

Logs:

homebridge_1  | [2/8/2024, 1:15:04 PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge ABCD) is running on port 12345.
homebridge_1  | [2/8/2024, 1:15:05 PM] [Levoit Humidifiers] Launched child bridge with PID 1234
homebridge_1  | [2/8/2024, 1:15:05 PM] Registering platform 'homebridge-levoit-humidifiers.LevoitHumidifiers'
homebridge_1  | [2/8/2024, 1:15:05 PM] [Levoit Humidifiers] Loaded homebridge-levoit-humidifiers v1.12.4 child bridge successfully
homebridge_1  | [2/8/2024, 1:15:05 PM] [Levoit Humidifiers] Connecting to the servers...
homebridge_1  | [2/8/2024, 1:15:05 PM] Homebridge v1.7.0 (HAP v0.11.1) (Levoit Humidifiers) is running on port 54321.
homebridge_1  | [2/8/2024, 1:15:05 PM] [Levoit Humidifiers] Discovering devices...
homebridge_1  | [2/8/2024, 1:15:06 PM] [Levoit Humidifiers] Adding new accessory: Bedroom Humidifier
homebridge_1  | [Bedroom Humidifier@Humidifier@Target Humidifier-Dehumidifier State] characteristic value 0 is not contained in valid values array
homebridge_1  | [Bedroom Humidifier@Humidifier@Current Humidifier-Dehumidifier State] characteristic value 0 is not contained in valid values array
homebridge_1  | [2/8/2024, 1:15:06 PM] [Levoit Humidifiers] Adding new accessory: Nursery Humidifier
homebridge_1  | [Nursery Humidifier@Humidifier@Target Humidifier-Dehumidifier State] characteristic value 0 is not contained in valid values array
homebridge_1  | [Nursery Humidifier@Humidifier@Current Humidifier-Dehumidifier State] characteristic value 0 is not contained in valid values array

Plugin Config:

{
    "name": "Levoit Humidifiers",
    "email": "_",
    "password": "_",
    "accessories": {
        "cool_mist": false,
        "warm_mist": false,
        "sleep_mode": false,
        "display": false,
        "night_light": false
    },
    "options": {
        "showOffWhenDisconnected": false
    },
    "platform": "LevoitHumidifiers"
}

Environment:

  • Plugin Version: 1.9.0 -> 1.12.4
  • Homebridge Version: 1.7.0
  • Node.js Version: v18.18.2
  • Operating System: Ubuntu/Docker

This plugin slows down Homebridge

Describe The Bug:
Plugin slows down Homebridge, moved it to an own Homebridge instance, still getting the following error messages:

[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Target Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.

To Reproduce:
Install it, hook it up with your Levoit account, connect with your humidifier and simply wait for the errors to emerge.

Expected behavior:
No slow-downs, no error messages

Logs:

[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Target Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info.
[12/6/2021, 12:19:36 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.

Plugin Config:

        {
            "name": "Levoit Humidifiers",
            "email": "mymailaddress",
            "password": "mypassword",
            "platform": "LevoitHumidifiers"
        }

Screenshots:
all said above

Environment:

  • Plugin Version:
  • Homebridge Version: 1.3.8
  • Node.js Version: v16.13.1
  • NPM Version: <v8.1.2
  • Operating System: Docker on Synology, but error the same in Ubuntu VM and current Raspbian

[Device Request] OasisMist 1000S

Model number: LUH-M101S-WUS

Number of cool mist levels:

Number of warm mist levels:

Auto mode? Yes

Sleep mode? Yes

Night Light?

Any other features not listed above?

Homebridge report plugin slow down

[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/30/2022, 6:36:00 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.

Adding additional humidifiers

Is your feature request related to a problem? Please describe:
I added a second Humidifier (LV600S) to my exisiting LV200S. It shows up in Homebridge and HomeKit but there is only one config and it is for the original LV200S which is configured as a child bridge.

Describe the solution you'd like:
Being able to add a second child bridge for the second humidifier so I can configure it separately.

Describe alternatives you've considered:
Adding a new device to HomeKit with the Homebridge code but I fear that will generate a second instance since the device already shows up in HomeKit

Additional context:
None of the switches in the Levoit tiles show any labels which may be related to the config issue

Can't see OasisMist 600S

Describe The Bug:
Can't see OasisMist 600S after setup on v1.12.1 (earlier versions same result). Logs show most device info returned as null. Release notes for this latest version show model "WUS" not "KUS" as supported? Running Node v18 (docker image), this looks to be supported even though logs say v20 is required.

To Reproduce:

Expected behavior:
Expected accessories to appear after setup.

Logs:


[1/16/2024, 11:32:57 PM] [Levoit Humidifiers] [DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"US","isOwner":true,"authKey":null,"deviceName":"Bedroom","deviceImg":"https://image.vesync.com/defaultImages/LV_450S_Series/img_lv450_6l_black_240.png","cid":"vsaqa2874e8425483822b74c6865aa0b","deviceStatus":"on","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LUH-O601S-KUS","type":"wifi-air","uuid":"removed","configModule":"VS_WFON_AHM_LUH-O601S-KUS_US","macID":"removed","mode":null,"speed":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Jan 17, 2024 1:33:11 AM","subDeviceList":null,"extension":null,"deviceProp":null}]

Plugin Config:

        {
            "name": "Levoit Humidifiers",
            "email": "removed",
            "password": "removed",
            "accessories": {
                "humidity_sensor": true,
                "mist": true,
                "warm_mist": true,
                "sleep_mode": true,
                "display": true,
                "night_light": true,
                "auto_pro": true
            },
            "options": {
                "showOffWhenDisconnected": false
            },
            "_bridge": {
                "username": "removed",
                "port": removed
            },
            "platform": "LevoitHumidifiers",
            "enableDebugMode": true
        }

Screenshots:

Environment:

  • Plugin Version: v1.12.1
  • Homebridge Version: v1.7.0
  • Node.js Version: v18.19.10
  • NPM Version:
  • Operating System: Docker

Unhandled Rejection in HOOBS

Describe The Bug:
Trying to configure HOOBS plugin running on child bridge for Levoit 300S Humidifier.
Get the error: WARNING unhandled rejection: TypeError: Cannot read properties of undefined (reading 'apiTimeout')
HOOBS bridge goes down

To Reproduce:
Create child bridge, install plugin, enter credentials in visual config

Expected behavior:
No error

Logs:
03/04/2024, 13:01:55HOOBS (Levoit Humidifer) starting
03/04/2024, 13:01:58HOOBS (Levoit Humidifer)Loaded plugin 'homebridge-levoit-humidifiers'
03/04/2024, 13:01:58HOOBS (Levoit Humidifer)Loading 1 platforms...
03/04/2024, 13:01:58HOOBS (Levoit Humidifer)Levoit Humidifiers[DEBUG]: [PLATFORM] Debug mode enabled
03/04/2024, 13:01:58HOOBS (Levoit Humidifer)WARNINGunhandled rejection: TypeError: Cannot read properties of undefined (reading 'apiTimeout')

Plugin Config:
{
"platform": "LevoitHumidifiers",
"name": "Levoit Humidifiers",
"email": "[email protected]",
"password": "xxxx",
"enableDebugMode": true
}

Screenshots:

Environment:

  • Plugin Version: 1.12.4
  • Homebridge Version: 1.70
  • Node.js Version: 16.20.2
  • NPM Version: n/k
  • Operating System: HOOBS 4.3.1

Plugin generated a warning from the characteristic "Current Relative Humidity" error

Describe The Bug:
Humidifier is not reporting current humidity levels, night light brightness or set to humidity level in Homekit.
To Reproduce:
Check Homekit, shows 0%. I was able to fix this by rolling back to the previous version but yeah..

Expected behavior:
Humidfier reports current humidity levels, night light brightness, and humidity set to level in Homekit.

Logs:
[7/24/2022, 4:45:53 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:45:53 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:45:53 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:46:14 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:46:14 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:46:14 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:46:15 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:46:15 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:46:15 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:46:18 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:46:18 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[7/24/2022, 4:46:18 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:
{
"name": "Levoit Humidifiers",
"email": "[email protected]",
"password": "mypassword",
"accessories": {
"cool_mist": false,
"warm_mist": false,
"sleep_mode": false,
"display": true,
"night_light": true
},
"platform": "LevoitHumidifiers",
"_bridge": {
"username": "macaddress",
"port": port
}
}

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version: 1.7.1
  • Homebridge Version: 1.5.0
  • Node.js Version: 16.16.0
  • NPM Version: 8.11.0
  • Operating System: Ubantu

[Device Request] Vista 200 Air Purifier

Just got this lil guy from Best Buy on sale, hoping to add it to some HomeKit scenes. Happy to test and troubleshoot. Thanks in advance!

Model number:
Vista 200
https://levoit.com/collections/air-purifiers-for-small-spaces-up-to-200-sq-ft/products/vista200-true-hepa-air-purifier

Number of mist levels:
N/A (no mist feature)

Number of warm mist levels:
N/A (no mist feature)

Auto mode?
N/A (no humidifier feature)

Sleep mode?
Yes

Night Light?
Yes

Any other features not listed above?
Fan speed (sleep/low/med/high)

Logs indicating that the plugin slows down homebridge

Describe The Bug:

Homebridge logs are flooded with this message:

[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.

To Reproduce:

  • Install the plugin
  • Configure the plugin
  • Observe the messages

Expected behavior:

I expect that the logs aren't flooded with this type of message.

Logs:

[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[12/16/2023, 7:22:03 PM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

{
    "name": "Levoit Humidifiers",
    "email": "XXXXXX",
    "password": "XXXXXXX",
    "accessories": {
        "cool_mist": true,
        "warm_mist": true,
        "sleep_mode": true,
        "display": true,
        "night_light": true
    },
    "options": {
        "showOffWhenDisconnected": true
    },
    "platform": "LevoitHumidifiers"
}

Environment:

  • Plugin Version: v1.9.0
  • Homebridge Version: 1.7.0
  • Node.js Version: v18.18.2
  • NPM Version: 9.8.1
  • Operating System: Ubuntu 22.04.03

This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined.

Describe The Bug:
This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.

NOTE: I do have a Levoit purifier and humidifier; device discovery pulls both successfully. I am unsure if the error is associated to the purifier.

To Reproduce:
Load and configure plugin, launch Homebridge.

Expected behavior:
Absence of warning in logs.

Logs:

[1/30/2024, 1:56:13   PM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 37D2) is running on port   51669.
--
[1/30/2024, 1:56:13 PM] [Levoit   Humidifiers] [DEBUG]: [LOGIN] Authentication was successful
[1/30/2024, 1:56:13 PM] [Levoit   Humidifiers] Discovering devices...
[1/30/2024, 1:56:14 PM] [Levoit   Humidifiers] [DEBUG]: [GET DEVICES] Device List -> JSON:   [{"deviceRegion":"US","isOwner":true,"authKey":null,"deviceName":"HoMe   Purifier","deviceImg":"https://image.vesync.com/defaultImages/deviceDefaultImages/wfon_apr_lap-c601s-wus_us_240.png","cid":"<removed in case identifying>","deviceStatus":"on","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LAP-C601S-WUS","type":"wifi-air","uuid":"<removed in case identifying>","configModule":"WFON_APR_LAP-C601S-WUS_US","macID":"<removed in case identifying>","mode":null,"speed":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Nov   17, 2022 7:57:25   PM","subDeviceList":null,"extension":{"airQuality":-1,"airQualityLevel":1,"mode":"auto","fanSpeedLevel":"1"},"deviceProp":null},{"deviceRegion":"US","isOwner":true,"authKey":null,"deviceName":"Nursery   humidifier   ","deviceImg":"https://image.vesync.com/defaultImages/deviceDefaultImages/wifibtonboardingnotify_airhumidifier_classic200s_us_240.png","cid":"<removed in case identifying>","deviceStatus":"off","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"Classic200S","type":"wifi-air","uuid":"<removed in case identifying>","configModule":"WiFiBTOnboardingNotify_AirHumidifier_Classic200S_US","macID":"<removed in case identifying>","mode":null,"speed":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Nov   1, 2022 11:29:28 PM","subDeviceList":null,"extension":null,"deviceProp":null}]
[1/30/2024, 1:56:14 PM] [Levoit   Humidifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[1/30/2024, 1:56:14 PM] [Levoit   Humidifiers] [DEBUG]: [DEVICE INFO]   {"traceId":"1706648174163","code":0,"msg":"request   success","module":null,"stacktrace":null,"result":{"traceId":"1706648174163","code":0,"result":{"enabled":false,"mist_virtual_level":9,"mist_level":3,"mode":"manual","water_lacks":false,"water_tank_lifted":false,"humidity":0,"humidity_high":false,"indicator_light_switch":false,"automatic_stop_reach_target":false,"configuration":{"auto_target_humidity":80,"indicator_light_switch":false,"automatic_stop":false}}}}
[1/30/2024, 1:56:14 PM] [Levoit   Humidifiers] Restoring existing accessory from cache: Nursery humidifier
[1/30/2024, 1:56:14 PM]   [homebridge-levoit-humidifiers] This plugin generated a warning from the   characteristic 'On': characteristic value expected boolean and received   undefined. See https://homebridge.io/w/JtMGR for more info.
[1/30/2024, 1:56:14 PM]   [homebridge-levoit-humidifiers] Error:
at On.Characteristic.characteristicWarning   (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105)
at On.Characteristic.validateUserInput   (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2887:12)
at On.<anonymous>   (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2405:24)
at step   (/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
at Object.next   (/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
at fulfilled   (/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:166:62)
at processTicksAndRejections (node:internal/process/task_queues:95:5)

Plugin Config:

{
--
"name":ย "Levoitย Humidifiers",
"email":ย <removed>,
"password":ย <removed>,
"accessories":ย {
"humidity_sensor":ย true,
"mist":ย true,
"warm_mist":ย false,
"sleep_mode":ย false,
"display":ย true,
"night_light":ย false,
"auto_pro":ย false
},
"options":ย {
"showOffWhenDisconnected":ย false
},
"platform":ย "LevoitHumidifiers",
"enableDebugMode":ย true
}

Screenshots:
image

Environment:

  • Plugin Version: 1.12.3
  • Homebridge Version: 1.7.0
  • Node.js Version: 18.19.0
  • NPM Version: 10.2.3
  • Operating System: Docker

1.12 Can't find humidifier

Describe The Bug:

Upgraded to 1.12 now the plugin cannot find the humidifier. Downgrade to 1.11 and works again.

To Reproduce:

Upgrade to 1.12

Expected behavior:

Logs:
[1/15/2024, 6:44:13 PM] [Levoit Humidifiers] Initializing LevoitHumidifiers platform...
[1/15/2024, 6:44:13 PM] [Levoit Humidifiers] Initializing child bridge 0E:51:45:E6:7F:EC
[1/15/2024, 6:44:13 PM] Loading 5 accessories...
[1/15/2024, 6:44:19 PM] [Levoit Humidifiers] Launched child bridge with PID 216
[1/15/2024, 6:44:21 PM] [Levoit Humidifiers] Loaded homebridge-levoit-humidifiers v1.12.0 child bridge successfully
[1/15/2024, 6:44:20 PM] Registering accessory 'homebridge-winix-purifiers.WinixPurifier'
[1/15/2024, 6:44:21 PM] [Levoit Humidifiers] Connecting to the servers...
[1/15/2024, 6:44:22 PM] [Levoit Humidifiers] Discovering devices...
[1/15/2024, 6:44:22 PM] Loaded 0 cached accessories from cachedAccessories.0E35159E63C8.
[1/15/2024, 6:44:23 PM] [Levoit Humidifiers] Failed to updateInfo due to unreachable device: Device was unreachable. Ensure it is plugged in and connected to WiFi.
[1/15/2024, 6:44:23 PM] [Levoit Humidifiers] Error for device: Master Hall Humidifier:cfa12b31-b8a3-4b01-a092-be73dd66b95b | Device was unreachable. Ensure it is plugged in and connected to WiFi.```
Show the Homebridge logs here, remove any sensitive information.


**Plugin Config:**

```json
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

[Device Request]

Model number: LUH-D301S-WUSR - This is a Dual 200S, purchased in the US. The deviceType returned in the devices query is that, and deviceName is "Levoit Smart Cool Ultrasonic Humidifier". I manually updated deviceTypes.d.ts and deviceTypes.js in a deployed instance and now it shows up in HomeKit.

Please add support for new model lv600s_humidifier

Is your feature request related to a problem? Please describe:

I've bought the newer model, and it's not supported by plugin due to the device type "deviceType":"LUH-A602S-WUS"
Describe the solution you'd like:

Please add "deviceType":"LUH-A602S-WUS" to the list of supported devices, it operates like Classic_300S, but also has warm mist mode.
Describe alternatives you've considered:

Additional context:

[Device Request]

Model number: LEH-S601S-WUS

Number of cool mist levels: 0

Number of warm mist levels: 0

Auto mode? Yes

Sleep mode? Yes

Night Light? No

Any other features not listed above?

this is an evaporative humidifier. It has fan speed setting (no mist levels).

Number of cool mist levels:

Number of warm mist levels:

Auto mode?

Sleep mode?

Night Light?

Any other features not listed above?
image

image

Device LV600S doesn't show up in HomeKit

Describe The Bug:
Device doesn't show up in Home-App after proper installation and setup.

To Reproduce:
I installed the plugin 1.6.0 via Homebridge UI and entered my credentials for VeSync. I defined the plugin as a child bridge and restarted Homebridge. I included the bridge in HomeKit, which Homekit does correctly.
No device appears in Home app. Not in any room.
Screenshots and logs are attached.

Expected behavior:
See any device

Logs:

[14/03/2022, 08:58:58] [HB Supervisor] Restarting Homebridge...
[14/03/2022, 08:58:58] [HB Supervisor] Starting Homebridge with extra flags: -I
[14/03/2022, 08:58:58] [HB Supervisor] Started Homebridge v1.4.0 with PID: 17102
[14/03/2022, 08:59:00] Loaded config.json with 1 accessories and 4 platforms.
[14/03/2022, 08:59:00] Loaded 4 cached accessories from cachedAccessories.
[14/03/2022, 08:59:00] ---
[14/03/2022, 08:59:03] Loaded plugin: [email protected]
[14/03/2022, 08:59:03] Registering platform 'homebridge-config-ui-x.config'
[14/03/2022, 08:59:03] ---
[14/03/2022, 08:59:03] Loaded plugin: [email protected]
[14/03/2022, 08:59:03] Registering platform 'homebridge-levoit-humidifiers.LevoitHumidifiers'
[14/03/2022, 08:59:03] ---
[14/03/2022, 08:59:03] Loaded plugin: [email protected]
[14/03/2022, 08:59:03] Registering platform 'homebridge-myq.myQ'
[14/03/2022, 08:59:03] ---
[14/03/2022, 08:59:05] Loaded plugin: [email protected]
[14/03/2022, 08:59:05] Registering platform 'homebridge-ring.Ring'
[14/03/2022, 08:59:05] ---
[14/03/2022, 08:59:05] Loaded plugin: [email protected]
[14/03/2022, 08:59:05] Registering accessory 'homebridge-solaredge-inverter.SolarEdge Inverter'
[14/03/2022, 08:59:05] ---
[14/03/2022, 08:59:05] Loading 4 platforms...
[14/03/2022, 08:59:05] [Config] Initializing config platform...
[14/03/2022, 08:59:05] [Config] Running in Service Mode
[14/03/2022, 08:59:05] [Ring] Initializing Ring platform...
[14/03/2022, 08:59:05] [myQ] Initializing myQ platform...
[14/03/2022, 08:59:05] [Levoit Humidifiers] Initializing LevoitHumidifiers platform...
[14/03/2022, 08:59:05] [Levoit Humidifiers] Initializing child bridge 0E:19:B6:D3:24:B4
[14/03/2022, 08:59:05] Loading 1 accessories...
[14/03/2022, 08:59:05] [SolarEdge Inverter] Initializing SolarEdge Inverter accessory...
[14/03/2022, 08:59:05] [Ring] Configuring cached accessory ***deleted for privacy**** Haustรผr
[14/03/2022, 08:59:05] [Ring] Configuring cached accessory ***deleted for privacy**** Garage
[14/03/2022, 08:59:05] [Ring] Configuring cached accessory ***deleted for privacy**** Garten
Setup Payload:
X-HM://0024ZFNUF12TT
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     
    โ”‚ 915-43-927 โ”‚     
    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     
                       
[14/03/2022, 08:59:06] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge E9A7) is running on port 51420.
[14/03/2022, 08:59:08] [Levoit Humidifiers] Launched child bridge with PID 17133
[14/03/2022, 08:59:08] Registering platform 'homebridge-levoit-humidifiers.LevoitHumidifiers'
[14/03/2022, 08:59:08] [Levoit Humidifiers] Loaded homebridge-levoit-humidifiers v1.6.0 child bridge successfully
[14/03/2022, 08:59:08] Loaded 0 cached accessories from cachedAccessories.0E19B6D324B4.
[14/03/2022, 08:59:08] [Levoit Humidifiers] [DEBUG]: [PLATFORM] Debug mode enabled
[14/03/2022, 08:59:08] [Levoit Humidifiers] Connecting to the servers...
[14/03/2022, 08:59:08] [Levoit Humidifiers] [DEBUG]: [START SESSION] Starting auth session...
[14/03/2022, 08:59:08] [Levoit Humidifiers] [DEBUG]: [LOGIN] Logging in...
[14/03/2022, 08:59:09] Homebridge v1.4.0 (HAP v0.10.0) (Levoit Humidifiers) is running on port 53948.
[14/03/2022, 08:59:09] [Levoit Humidifiers] [DEBUG]: [LOGIN] The authentication success
[14/03/2022, 08:59:09] [Levoit Humidifiers] Discovering devices...
[14/03/2022, 08:59:09] [Levoit Humidifiers] [DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"EU","isOwner":true,"authKey":null,"deviceName":"Luftbefeuchter","deviceImg":"https://image.vesync.com/defaultImages/LV_600S_Series/icon_lv600s_humidifier_160.png","cid":"vsaq027ae339462ba7cb53752e0cc12b","deviceStatus":"on","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LUH-A602S-WEU","type":"wifi-air","uuid":"6f30f1ce-38de-4ee3-91e6-314fa1aaec30","configModule":"WFON_AHM_LUH-A602S-WEU_EU","macID":"34:86:5d:93:c3:56","mode":null,"speed":null,"extension":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Mar 11, 2022 1:52:57 PM","deviceProp":null}]
[14/03/2022, 08:59:10] [Ring] Found the following locations:
[14/03/2022, 08:59:10] [Ring]   locationId: ***deleted for privacy**** - 17c
[14/03/2022, 08:59:11] [Ring] Configuring 3 cameras and 4 devices for location "17c" - locationId: ***deleted for privacy****
[14/03/2022, 08:59:11] [Ring] Hidden accessory ***deleted for privacy**** chime_v2 Wohnzimmer Klingel 
[14/03/2022, 08:59:12] [myQ] myQ API: Successfully connected to the myQ API.
[14/03/2022, 08:59:13] [myQ] myQ API: Discovered device family gateway: Garage Chamberlain Hub [Chamberlain EU Ethernet Gateway] (serial number: ***deleted for privacy****).
[14/03/2022, 08:59:13] [myQ] myQ API: Discovered device family garagedoor: Garagentor (serial number: ***deleted for privacy****).

Plugin Config:

{
    "name": "Levoit Humidifiers",
    "email": "nnn",
    "password": "*P",
    "platform": "LevoitHumidifiers",
    "enableDebugMode": true,
    "_bridge": {
        "username": "0E:19:B6:D3:24:B4",
        "port": 53948
    }
}

Screenshots:
IMG_0115
IMG_0116
IMG_0117

Environment:

  • Plugin Version: homebridge-levoit-humidifiers v1.6.0
  • Homebridge Version: 1.4.0
  • Node.js Version: 16.14.0
  • NPM Version: 8.5.4
  • Operating System: Raspbian GNU/Linux Buster (10)

[Device Request]

Model number: Oasis Smart Humidifer. (configModule":"WFON_AHM_LUH-A451S-WUS_US")

Number of cool mist levels:
9
Number of warm mist levels:
3
Auto mode?
Yes
Sleep mode?
Yes
Night Light?
No
Any other features not listed above?
No

Problem with deviceType of Dual 200s

Describe The Bug:

After installing the plugin, no devices were added to the accessories section of HomeBridge. I am using correct VeSync account credentials and the Dual 200s is registered and linked with the account. With enabled debug mode, I can see that the API call can find the device but it won't get added.

Expected behavior:

As the Dual 200s should be supported by the plugin, the device should be added by HomeBridge.

Logs:

[30/12/2021, 20:20:53] Homebridge v1.3.9 (HAP v0.9.8) (Homebridge 8A12) is running on port 51919.
[30/12/2021, 20:20:57] [Levoit Humidifiers] Launched child bridge with PID 16291
[30/12/2021, 20:20:57] Registering platform 'homebridge-levoit-humidifiers.LevoitHumidifiers'
[30/12/2021, 20:20:57] [Levoit Humidifiers] Loaded homebridge-levoit-humidifiers v1.3.0 child bridge successfully
[30/12/2021, 20:20:57] Loaded 0 cached accessories from cachedAccessories.0E5D1A92D560.
[30/12/2021, 20:20:57] [Levoit Humidifiers] [DEBUG]: [PLATFORM] Debug mode enabled
[30/12/2021, 20:20:57] [Levoit Humidifiers] Connecting to the servers...
[30/12/2021, 20:20:57] [Levoit Humidifiers] [DEBUG]: [START SESSION] Starting auth session...
[30/12/2021, 20:20:57] [Levoit Humidifiers] [DEBUG]: [LOGIN] Logging in...
[30/12/2021, 20:20:58] Homebridge v1.3.9 (HAP v0.9.8) (Levoit Humidifiers) is running on port 55588.
[30/12/2021, 20:20:58] [Levoit Humidifiers] [DEBUG]: [LOGIN] The authentication success
[30/12/2021, 20:20:59] [Levoit Humidifiers] Discovering devices...
[30/12/2021, 20:21:00] [Levoit Humidifiers] [DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"EU","isOwner":true,"authKey":null,"deviceName":"levoit Dual 200s","deviceImg":"https://image.vesync.com/defaultImages/Dual_200S_Series/icon_dual200s_humidifier_160.png","cid":"...","deviceStatus":"on","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LUH-D301S-WEU","type":"wifi-air","uuid":"...","configModule":"WFON_AHM_LUH-D301S-WEU_EU","macID":"...","mode":null,"speed":null,"extension":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Dec 29, 2021 1:33:16 PM","deviceProp":null}]

Environment:

  • Plugin Version: 1.3.0
  • Homebridge Version: 1.3.9
  • Operating System: Raspbian

Suggestion:

I already fixed it locally for myself as I noticed that the deviceType of my Dual 200s got reported as "deviceType": "LUH-D301S-WEU" and I simply changed the corresponding enum DeviceName in the deviceTypes.ts file. However I do know that this is not a general purpose solution and thus is not feasible for a PR. I just wanted to inform about this. Maybe the device type check can also consider the "deviceName": "levoit Dual 200s", property or something.

Night Mode

Great and sleek plugin, good job ๐Ÿ‘
Iโ€™m just missing the night mode, maybe as a separate switch, to turn off the display within automations. Is such an implementation possible?

Sensitive Information is not secure!

Describe Your Problem:
Used a set of credentials that I use only for risky security situations to set up the plugin, was concerned about submitting sensitive information to an unverified plugin. Within minutes of configuring the plugin, received email notification of attempted log ins to several other accounts tied to the email.

Unclear if this is a problem that existed when the project was forked from the LeVoir Air Purifier project, or if it's a new problem. Regardless, there appears to be a vulnerability somewhere along the line.

Environment:

  • Plugin Version: v1.3.0-beta3

  • Homebridge Version: 4.41.4

  • Operating System: Windows

Latest version doesn't 'see' the Classic S200

Describe The Bug:
With the latest version, the humidifier disappears from HomeBridge and HK and in the log there is a reference that the device cannot be found on the WiFi. At the same time it can be controlled by the VeSynch app. Re-installing the previous version brings the device back to HB and HK.

To Reproduce:
Install the latest plugin version

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

Humidifier disappearing from Home app

Describe The Bug:

If I have my Dual 200S connected in Homebridge and Apple Home, if my humidifier loses network connectivity, it will disappear from the Apple Home app and Homebridge accessories entirely. I need to reboot Homebridge to discover the device again and add to Apple Home. Even then, it adds it to Default Room and does not remember the room I selected. It is as if it's adding a completely new device.

To Reproduce:

  1. Unplug humidifier
  2. Device disappears from Homebridge and Apple Home app
  3. Restart Homebridge
  4. Devices appears in Homebridge and Apple Home as a brand new device and loses its saved room selection

Expected behavior:

Device should be cached in Homebridge and not cause issues when it loses network connectivity or unplugged.

Logs:

[1/2/2023, 8:36:12 PM] [Levoit Humidifiers] Initializing LevoitHumidifiers platform...
[1/2/2023, 8:36:12 PM] [Levoit Humidifiers] Loading accessory from cache: Bedroom Humidifier
[1/2/2023, 8:36:12 PM] [Levoit Humidifiers] Connecting to the servers...
[1/2/2023, 8:36:12 PM] [Levoit Humidifiers] Discovering devices...
[1/2/2023, 8:36:13 PM] [Levoit Humidifiers] [UPDATED INFO RESPONSE] {"traceId":"*removed*","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"*removed*","code":0,"result":{"enabled":true,"mist_virtual_level":1,"mist_level":1,"mode":"auto","water_lacks":false,"water_tank_lifted":false,"humidity":42,"humidity_high":false,"display":true,"automatic_stop_reach_target":false,"configuration":{"auto_target_humidity":40,"display":true,"automatic_stop":true},"extension":{"schedule_count":0,"timer_remain":0},"rgbNightLight":{"action":"on","colorMode":"color","speed":0,"brightness":91,"red":20,"green":232,"blue":181,"colorSliderLocation":89}}}}
[1/2/2023, 8:36:13 PM] [Levoit Humidifiers] Restoring existing accessory from cache: Bedroom Humidifier
[1/2/2023, 8:36:13 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

{
    "name": "Levoit Humidifiers",
    "email": "[email protected]",
    "password": "password",
    "accessories": {
        "cool_mist": true,
        "warm_mist": true,
        "sleep_mode": true,
        "display": true,
        "night_light": true
    },
    "options": {
        "showOffWhenDisconnected": false
    },
    "platform": "LevoitHumidifiers"
}

Screenshots:

Environment:

  • Plugin Version: 1.8.4-debug
  • Homebridge Version: v1.6.0
  • Node.js Version: v18.12.1
  • NPM Version: 9.2.0
  • Operating System: Ubuntu

Got a new OAsisMist 600S.....none of the HomeKit buttons work except the warm mist.

Describe The Bug:
Only warm mist button works. its powers the device on but not off. I would expect it to only control warm mist. The humidity level button does not power the device on, and it does not change target nudity level. The fan speed also doesn't work in auto or manual mode, totally non responsive.

To Reproduce:
Only warm mist button is response so use any other button

Expected behavior:
I would expect the humidity level button the power the device on and off and change target humidity in auto mode. I would also expect more than just one button to work.

Logs:
[03/03/2024, 19:03:24] [Levoit Humidifiers] Changing Mode to sleep
[03/03/2024, 19:03:31] [Levoit Humidifiers] Setting Power to false
[03/03/2024, 19:03:31] [Levoit Humidifiers] Setting Mist Level to 2
[03/03/2024, 19:03:31] [Levoit Humidifiers] Setting Power to true
[03/03/2024, 19:03:32] [Levoit Humidifiers] Setting Mist Level to 4
[03/03/2024, 19:03:32] [Levoit Humidifiers] Setting Mist Level to 5
[03/03/2024, 19:03:32] [Levoit Humidifiers] Setting Mist Level to 8
[03/03/2024, 19:03:33] [Levoit Humidifiers] Setting Mist Level to 9
[03/03/2024, 19:04:08] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
[03/03/2024, 19:07:00] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
[03/03/2024, 19:08:02] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
[03/03/2024, 19:08:13] [Levoit Humidifiers] Setting Power to true
[03/03/2024, 19:08:14] [Levoit Humidifiers] Setting Target Humidity to 40
[03/03/2024, 19:08:14] [Levoit Humidifiers] Setting Target Humidity to 40
[03/03/2024, 19:08:14] [Levoit Humidifiers] Setting Target Humidity to 40
[03/03/2024, 19:08:14] [Levoit Humidifiers] Setting Target Humidity to 42
[03/03/2024, 19:08:15] [Levoit Humidifiers] Setting Target Humidity to 47
[03/03/2024, 19:08:15] [Levoit Humidifiers] Setting Target Humidity to 48
[03/03/2024, 19:08:15] [Levoit Humidifiers] Setting Target Humidity to 49
[03/03/2024, 19:08:16] [Levoit Humidifiers] Setting Target Humidity to 50
[03/03/2024, 19:08:16] [Levoit Humidifiers] Setting Target Humidity to 51
[03/03/2024, 19:08:17] [Levoit Humidifiers] Setting Target Humidity to 46
[03/03/2024, 19:08:18] [Levoit Humidifiers] Setting Target Humidity to 43
[03/03/2024, 19:08:18] [Levoit Humidifiers] Setting Target Humidity to 42
[03/03/2024, 19:08:18] [Levoit Humidifiers] Setting Target Humidity to 44
[03/03/2024, 19:08:18] [Levoit Humidifiers] Setting Target Humidity to 47
[03/03/2024, 19:08:19] [Levoit Humidifiers] Setting Target Humidity to 48
[03/03/2024, 19:08:19] [Levoit Humidifiers] Setting Target Humidity to 48
[03/03/2024, 19:08:29] [Levoit Humidifiers] Setting Power to false
[03/03/2024, 19:08:30] [Levoit Humidifiers] Setting Mist Level to 2
[03/03/2024, 19:08:30] [Levoit Humidifiers] Setting Power to true
[03/03/2024, 19:08:30] [Levoit Humidifiers] Setting Mist Level to 4
[03/03/2024, 19:08:30] [Levoit Humidifiers] Setting Mist Level to 5
[03/03/2024, 19:08:31] [Levoit Humidifiers] Setting Mist Level to 5
[03/03/2024, 19:08:31] [Levoit Humidifiers] Setting Mist Level to 9
[03/03/2024, 19:08:35] [Levoit Humidifiers] Changing Mode to sleep
[03/03/2024, 19:08:36] [Levoit Humidifiers] Setting Display to true
[03/03/2024, 19:08:43] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
[03/03/2024, 19:08:59] [Levoit Humidifiers] Changing Mode to sleep
[03/03/2024, 19:09:21] [Levoit Humidifiers] Changing Mode to humidity
[03/03/2024, 19:09:27] [Levoit Humidifiers] Changing Mode to sleep
[03/03/2024, 19:09:30] [Levoit Humidifiers] Changing Mode to humidity
[03/03/2024, 19:09:36] [Levoit Humidifiers] Setting Display to true
[03/03/2024, 19:09:39] [Levoit Humidifiers] Setting Display to false
[03/03/2024, 19:10:32] [Levoit Humidifiers] Setting Warm Level to 0
[03/03/2024, 19:10:32] [Levoit Humidifiers] Setting Warm Level to 0
[03/03/2024, 19:10:33] [Levoit Humidifiers] Setting Warm Level to 3
[03/03/2024, 19:10:34] [Levoit Humidifiers] Setting Warm Level to 1
[03/03/2024, 19:10:34] [Levoit Humidifiers] Setting Warm Level to 0
[03/03/2024, 19:11:44] [Levoit Humidifiers] Setting Power to true
[03/03/2024, 19:11:51] [Levoit Humidifiers] Setting Target Humidity to 60
[03/03/2024, 19:11:55] [Levoit Humidifiers] Setting Target Humidity to 50
[03/03/2024, 19:12:53] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

OasisMist 451S

Model number: OasisMist 451S (LUH-O451S-WUS)

Number of cool mist levels: 9

Number of warm mist levels:3

Auto mode? Y

Sleep mode? Y

Night Light? N

Any other features not listed above?
Display Toggle
Humidity Sensor

I'm not sure if this is any different than the 450S. But I don't think it's working right. If I'm in Auto mode, then turn on the Sleep toggle it goes into Sleep mode as expected. If I then toggle Sleep mode off, I would expect it to go back to Auto. But nothing happens. It stays in sleep mode. If I toggle the main humidifier off, it switches off. But when I toggle it again, it comes on but is still in sleep mode. Not sure how to get it out of sleep mode other than using the app or the physical auto switch.

The read handler for the characteristic 'Current Relative Humidity' was slow to respond

Getting the following message on a Beaglebone Black running Debian GNU/Linux Buster (10) with a single Dual 200S. The plugin is running in a child bridge.

[1/9/2022, 2:18:18 AM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[1/9/2022, 2:18:18 AM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[1/9/2022, 2:18:18 AM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Target Humidifier-Dehumidifier State' was slow to respond! See https://git.io/JtMGR for more info.
[1/9/2022, 2:18:18 AM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[1/9/2022, 2:18:18 AM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Relative Humidity Humidifier Threshold' was slow to respond! See https://git.io/JtMGR for more info.
[1/9/2022, 2:18:18 AM] [homebridge-levoit-humidifiers] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.

Login Restriction

Describe The Bug:
Vesync iOS app is constantly getting logged out. When logged out, I must turn off WiFi to log back in successfully. I reached out to support and they wrote the following.

In order to ensure the security of your account, our system has login restrictions in place. It appears that your account is experiencing frequent logins through HomeKit, which may be causing this issue. We recommend that you unlink HomeKit from your account (or device) to prevent it from logging in excessively and causing abnormal login behavior on the mobile app.

So it appears that the plugin is frequently logging in and causing a restriction to be place on some combination of account + IP address. (If I toggle WiFi off, I'm able to sign in.)

To Reproduce:
Connect iOS device to WiFi. Log in to Vesync iOS app. Configure plugin. Wait a few hours, then try to open Vesync iOS app. Notice you've been signed out and can't sign back in. Disable WiFi, then sign in successfully.

Expected behavior:
Vesync iOS app not constantly logged out.

Logs:

No relevant plugin logs. Issue manifests in first-party app.

Plugin Config:

{
    "name": "Levoit Humidifiers",
    "email": "XXX",
    "password": "XXX",
    "accessories": {
        "cool_mist": false,
        "warm_mist": false,
        "sleep_mode": false,
        "display": false,
        "night_light": false
    },
    "options": {
        "showOffWhenDisconnected": true
    },
    "platform": "LevoitHumidifiers",
    "_bridge": {
        "username": "XXX",
        "port": 123
    }
}

Screenshots:
IMG_0518

IMG_0517

Environment:

  • Plugin Version:
  • Homebridge Version: 1.7.0
  • Node.js Version: v20.10.0
  • NPM Version: 10.2.3
  • Operating System: Ubuntu Jammy Jellyfish (22.04.3 LTS)

Trailing blank in user e-mail causes homebridge crash

Describe The Bug:
Trailing blank in user e-mail causes homebridge crash and continuous restart cycle

To Reproduce:
Insert a Trailing blank in user e-mail via either the GUI or the json.

Expected behavior:
No crash

Logs:

[02/01/2024, 12:05:07] [Levoit Humidifiers] Discovering devices...
[02/01/2024, 12:05:07] Error: The user is not logged in!
    at /var/lib/homebridge/node_modules/homebridge-levoit-humidifiers/src/api/VeSync.ts:278:15
    at /var/lib/homebridge/node_modules/homebridge-levoit-humidifiers/node_modules/async-lock/lib/index.js:171:12
    at AsyncLock._promiseTry (/var/lib/homebridge/node_modules/homebridge-levoit-humidifiers/node_modules/async-lock/lib/index.js:306:31)
    at exec (/var/lib/homebridge/node_modules/homebridge-levoit-humidifiers/node_modules/async-lock/lib/index.js:170:9)
    at AsyncLock.acquire (/var/lib/homebridge/node_modules/homebridge-levoit-humidifiers/node_modules/async-lock/lib/index.js:189:3)
    at VeSync.getDevices (/var/lib/homebridge/node_modules/homebridge-levoit-humidifiers/src/api/VeSync.ts:276:17)
    at Platform.discoverDevices (/var/lib/homebridge/node_modules/homebridge-levoit-humidifiers/src/platform.ts:80:39)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • v1.11.0:
  • v1,7,0:
  • v20.10.0:
  • NPM Version:
  • Debian GNU/Linux Bullseye (11):

Error: getaddrinfo ENOTFOUND smartapi.vesync.com

Describe The Bug:
When setting up the plugin in a dockerized Homebridge instance (freshly pulled oznu/homebridge:latest), the humidifier is not reachable (because the API itself seems unreachable).

Interestingly, the homebridge instance managed to reach VeSync's API at least once, and the device showed up in Homebridge (but without the ability to control). The logs (below), show that the API (smartapi.vesync.com) is not reachable.

Not sure if it matters, but:

  1. Pinging (through the homebridge instance's /bin/sh) shows that:
  • A generic domain (github.com) is reachable
  • Vesync's root domain (vesync.com) is reachable
  • Vesync's API (smartapi.vesync.com) does not resolve (error: ping: smartapi.vesync.com: Name does not resolve)
  1. Doing the same from another random docker instance or from the host machine (Synology NAS) itself resolves all three hosts (including the API).

  2. Running an nslookup from the homebridge container's console works and returns:

Non-authoritative answer:
smartapi.vesync.com     canonical name = vesyncappapi-1834200178.us-east-1.elb.amazonaws.com

To Reproduce:

Simply (re)start the homebridge instance with the homebridge-levoit-humidifiers plugin enabled and let it run for a while.

Expected behavior:

Homebridge manages to connect to VeSync's API and control the devices

Logs:

[3/5/2022, 12:20:02 PM] [CHILDHUBNAME] [DEBUG]: [START SESSION] Starting auth session...
[3/5/2022, 12:20:02 PM] [CHILDHUBNAME] [DEBUG]: [LOGIN] Logging in...
[3/5/2022, 12:20:02 PM] Homebridge v1.4.0 (HAP v0.10.0) (CHILDHUBNAME) is running on port NNNNN.
Error: getaddrinfo ENOTFOUND smartapi.vesync.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
[3/5/2022, 12:20:02 PM] [CHILDHUBNAME] Child bridge process ended
[3/5/2022, 12:20:02 PM] [CHILDHUBNAME] Process Ended. Code: 1, Signal: null
[3/5/2022, 12:20:09 PM] [CHILDHUBNAME] Restarting Process...
[3/5/2022, 12:20:10 PM] [CHILDHUBNAME] Launched child bridge with PID 3933
[3/5/2022, 12:20:10 PM] Registering platform 'homebridge-levoit-humidifiers.LevoitHumidifiers'
[3/5/2022, 12:20:10 PM] [CHILDHUBNAME] Loaded homebridge-levoit-humidifiers v1.6.0 child bridge successfully
[3/5/2022, 12:20:10 PM] [CHILDHUBNAME] [DEBUG]: [PLATFORM] Debug mode enabled
[3/5/2022, 12:20:10 PM] [CHILDHUBNAME] Connecting to the servers...
[3/5/2022, 12:20:10 PM] [CHILDHUBNAME] [DEBUG]: [START SESSION] Starting auth session...
[3/5/2022, 12:20:10 PM] [CHILDHUBNAME] [DEBUG]: [LOGIN] Logging in...
[3/5/2022, 12:20:10 PM] Homebridge v1.4.0 (HAP v0.10.0) (CHILDHUBNAME) is running on port NNNNN.
Error: getaddrinfo ENOTFOUND smartapi.vesync.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
[3/5/2022, 12:20:10 PM] [CHILDHUBNAME] Child bridge process ended
[3/5/2022, 12:20:10 PM] [CHILDHUBNAME] Process Ended. Code: 1, Signal: null
[3/5/2022, 12:20:17 PM] [CHILDHUBNAME] Restarting Process...
[3/5/2022, 12:20:18 PM] [CHILDHUBNAME] Launched child bridge with PID 3944
[3/5/2022, 12:20:18 PM] Registering platform 'homebridge-levoit-humidifiers.LevoitHumidifiers'
[3/5/2022, 12:20:18 PM] [CHILDHUBNAME] Loaded homebridge-levoit-humidifiers v1.6.0 child bridge successfully
[3/5/2022, 12:20:18 PM] [CHILDHUBNAME] [DEBUG]: [PLATFORM] Debug mode enabled
[3/5/2022, 12:20:18 PM] [CHILDHUBNAME] Connecting to the servers...
[3/5/2022, 12:20:18 PM] [CHILDHUBNAME] [DEBUG]: [START SESSION] Starting auth session...
[3/5/2022, 12:20:18 PM] [CHILDHUBNAME] [DEBUG]: [LOGIN] Logging in...
[3/5/2022, 12:20:18 PM] Homebridge v1.4.0 (HAP v0.10.0) (CHILDHUBNAME) is running on port NNNNN.
[3/5/2022, 12:20:19 PM] [CHILDHUBNAME] [DEBUG]: [LOGIN] The authentication success
[3/5/2022, 12:20:19 PM] [CHILDHUBNAME] Discovering devices...
[3/5/2022, 12:20:19 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICES] Device List -> JSON: [{#Device data in JSON shown here, looks OK.#}]
[3/5/2022, 12:20:19 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:20:20 PM] [CHILDHUBNAME] Adding new accessory: ACCESSORYNAME
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:05 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] [DEBUG]: [GET DEVICE INFO] Getting device info...
[3/5/2022, 12:30:06 PM] [CHILDHUBNAME] getaddrinfo ENOTFOUND smartapi.vesync.com

NOTE: The first part (up to The authentication success) repeats for approximately 15 minutes. Truncated for space. The following part also repeats ad infinitum.

Plugin Config:

        {
            "name": "CHILDHUBNAME",
            "email": "@",
            "password": "hunter2",
            "platform": "LevoitHumidifiers",
            "enableDebugMode": true,
            "_bridge": {
                "username": "00:XX:XX:XX:XX:00",
                "port": 11111
            }
        }

Screenshots:

Environment:

  • Plugin Version: 1.6.0
  • Homebridge Version: 1.4.0
  • Node.js Version: 16.14.0
  • NPM Version: 8.3.1
  • Operating System: Docker engine version 20.10.3 (on Synology NAS)

Thanks in advance for your support :).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.