Coder Social home page Coder Social logo

raresail / homebridge-levoit-air-purifier Goto Github PK

View Code? Open in Web Editor NEW
60.0 3.0 11.0 257 KB

A Homebridge platform plugin made for Levoit Air Purifiers which supports the following models: Core 200S/300S/400S/400S Pro

Home Page: https://www.npmjs.com/package/homebridge-levoit-air-purifier

License: Apache License 2.0

TypeScript 99.37% JavaScript 0.63%
levoit air-purifier api homebridge-plugin vesync typescript 300s 400s 200s 401s

homebridge-levoit-air-purifier's Introduction

verified-by-homebridge

Build and Lint CodeQL

NPM Package Downloads Snyk Vulnerabilities for NPM Package

Homebridge Levoit Air Purifier

This is a Homebridge plugin to control Levoit Air Purifiers/Humidifiers with via the VeSync Platform.

Supported Versions Tested
Core 600S
Core 400S Pro
Core 400S
Core 300S
Core 200S
Other versions

The versions lower then 200 are not supported (e.g. 131S) because they require API v1 and this plugin uses v2

If you have a newer version that is not in this table, then open a issue and i will try to add support for it

Any device from VeSync that is not listed in the supported versions are automatically skipped when discovering devices.

Features for Purifiers

  1. Displaying the air quality (the same display as the one on the physical device) (Not for 200S)
  2. Display the PM2.5 Density value in Home App shown in µg/m^3 (Not for 200S)
  3. Child Lock option
  4. Speed option:
    • 0 -> Off
    • 1 -> Sleep Mode
    • 2 -> Level 1
    • 3 -> Level 2
    • 4 -> Level 3
    • 5 -> Level 4 (Only for Core 400S, 400S Pro and 600S)
  5. Filter Change Indicator & Filter Life Level
  6. Mode change (Not for 200S)
    • Auto
    • Manual

Humidifiers (Experimental Feature)

The version 2.x adds support for humidifiers as an experimental feature which by default is disabled, the devices and features are limited for this devices for now

Supported Versions Tested
Dual 200S
Other versions

If you have a newer version that is not in this table, then open a issue and i will try to add support for it

Features

  1. Displaying the humidity level
  2. Target Humidity
  3. Speed option:
    • 0 -> Off
    • 1 -> LOW
    • 2 -> HIGH
  4. Mode change as Swing in home app
    • Auto (Swing enabled)
    • Manual (Swing disabled)

Experimental Features

For the experimental features to be activated you need to add them in the config file of the platform, e.g.

{
  "name": "Levoit Air Purifiers",
  "experimentalFeatures": ["DeviceDisplay", "Humidifiers"]
}

  1. Show the display's switch as a light in the app (DeviceDisplay)

The read data is cached for 5 seconds to not trigger the rate limiter for the API. Each request is delayed by 500ms to not trigger the rate limiter if a huge number of requests are sent.

The timers are not included because you can accomplish similar results by using Home App's Automatization or the Shortcuts app

  1. Discovers supported humidifiers (Humidifiers)

Configuration

  • Via the Homebridge UI, enter the Homebridge VeSync Client plugin settings.
  • Enter your VeSync app credentials.
  • Setup the platform plugin as a child bridge for better performance
  • Save and restart Homebridge.

This plugin requires your VeSync credentials as it communicates with the VeSync devices via VeSync's own API. Your credentials are only stored in the Homebridge config and not sent to any server except VeSync's.

You can also do this directly via the homebridge config by adding your credentials to the config file under platforms. Replace the values of username and password by your credentials.

{
  "platforms": [
    {
      "name": "Levoit Air Purifiers",
      "email": "email",
      "password": "password",
      "platform": "LevoitAirPurifiers",
      "experimentalFeatures": []
    }
  ]
}

Enabling Debug Mode

In the config file, add enableDebugMode: true

{
  "platforms": [
    {
      "name": "Levoit Air Purifiers",
      "email": "email",
      "password": "password",
      "platform": "LevoitAirPurifiers",
      "enableDebugMode": true
    }
  ]
}

Local Development

To setup the local project clone the files and inside the root directory of the project run:

yarn install

After that to start the local server use

yarn watch

homebridge-levoit-air-purifier's People

Contributors

brandawg93 avatar eoddc5 avatar rardfs avatar raresail avatar

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

Watchers

 avatar  avatar  avatar

homebridge-levoit-air-purifier's Issues

Can't turn on/off my 400s in homekit.

Describe The Bug

I can't see the state and I can't turn on/off my levoit 400s within the homekit app on my iphone running IOS 15.5.
here's what I tried :
turning the air purifier on/off with the VeSync App (it does work).
turning the air purifier on homebridge (in the "accessory" tab", and it does work)
rebooting my iphone. (doesnt work)
rebooting my raspberry pi. doesnt work.
I tried unpairing the child bridge and pair it again. doesnt work.
I tried unplugging/plugging the air purifier, lol.
I also tried to empty the cached data in homebridge settings. doesnt work.

Note : I forgot to mention that it was working correctly this morning. (its not username or password related..!)

Here are the logs :
CleanShot 2022-07-05 at 15 39 44@2x

Expected behavior

Air quality should display, and I should be able to turn on/off the air purifier.

Logs

see picture above

Plugin Config

{
"bridge": {
"name": "Homebridge,
"username": "XXX",
"port": 51991,
"pin": "XXX",
"advertiser": "avahi",
"bind": [
"eth0"
]
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"name": "LAPoB",
"email": "XXX",
"password": "XXX",
"platform": "LevoitAirPurifiers",
"_bridge": {
"username": "XXX",
"port": 50789
}
}
]
}

Plugin Version

homebridge-levoit-air-purifier v1.1.13

Homebridge Version

v1.5

Node.js Version

v16.15.1

NPM Version

?

Operating System

Official Homebridge for raspberry pi Image

Humidifier always shows “Rising to 35%” in home card

Describe The Bug

(I know this is new and experimental)

No matter what it is set at, the home card for the humidifier always defaults back to “rising to 35%” (even though the action is not doing that)

IMG_9534

if you open the card itself up, it shows the proper percentage

IMG_9535

Expected behavior

Should show the correct set humidity percentage

Logs

Na

Plugin Config

     "platform": "LevoitHumidifiers"
    },
    {
        "name": "Levoit Air Purifiers",
        "email": "[email protected]",
        "password": "abcdefg",
        "experimentalFeatures": [
            "Humidifiers"
        ],
        "_bridge": {
            "username": "abcdefg",
            "port": 37728
        },

Plugin Version

2.0.0

Homebridge Version

1.7.0

Node.js Version

20.9.0

NPM Version

9.x

Operating System

Synology

Please suppot LAP-C401S-WJP

Describe The Bug

It is recognized as a Levoit air purifier, I can turn it on and off, adjust the fan strength, and the air quality display is fine, but I can't see child lock, auto mode, or filter status. The model is Core401S, but it is displayed as LAP-C401S-WJP. Please support me. Thank you.

Expected behavior

none

Logs

none

Plugin Config

normal

Plugin Version

1.1.13

Homebridge Version

15.0

Node.js Version

16.18.0

NPM Version

8.19.2

Operating System

pi os 64bit

LV-PUR131S Support (API v1)

Hey,

Guessing this isn't an issue per say; but just wondering there's one other VeSync Air Purifier which is missing from support which is VeSync LV-PUR131S model.

It has all the same characteristics as the CORE purifiers using the same app and API's. Just wondering if you would kindly consider enabling support with it on a later release? Perhaps even if its in debug mode. Happy to assist with testing / access if it is something you would consider :)

Plugin cannot login

Describe The Bug

Recently I've not been able to control my air purifier. When I checked HomeBridge logs I could see the plugin trying to connect to smartapi.vesync.com but failing.

Expected behavior

The plugin should be able to log in and I should be able to control the device

Logs

[15/05/2023, 02:39:47] [Levoit Air Purifiers] Failed to login Error: getaddrinfo ENOTFOUND smartapi.vesync.com
[15/05/2023, 03:34:47] [Levoit Air Purifiers] Failed to login Error: getaddrinfo ENOTFOUND smartapi.vesync.com
[15/05/2023, 04:29:20] [Levoit Air Purifiers] Failed to get device info for Home Error: getaddrinfo ENOTFOUND smartapi.vesync.com
[15/05/2023, 04:29:47] [Levoit Air Purifiers] Failed to login Error: getaddrinfo ENOTFOUND smartapi.vesync.com
[15/05/2023, 05:24:47] [Levoit Air Purifiers] Failed to login Error: getaddrinfo ENOTFOUND smartapi.vesync.com
[15/05/2023, 06:19:47] [Levoit Air Purifiers] Failed to login Error: getaddrinfo ENOTFOUND smartapi.vesync.com
[15/05/2023, 06:48:31] [Levoit Air Purifiers] Failed to get device info for Home Error: getaddrinfo ENOTFOUND smartapi.vesync.com

Plugin Config

{
    "name": "Levoit Air Purifiers",
    "email": "MY_EMAIL",
    "password": "MY_PASSWORD",
    "platform": "LevoitAirPurifiers",
    "_bridge": {
        "username": "BRIDGE_ADDRESS",
        "port": PORT
    }
}

Plugin Version

1.3.0

Homebridge Version

1.6.0

Node.js Version

18.12.1

NPM Version

N/A

Operating System

Raspbian

A number of messages related to "This plugin slows down homebridge"

Describe The Bug

Only recently I've been seeing this in the logs. It's entirely possible it's coincidental; however, the automations I have configured stopped working around the time this started showing up.

Expected behavior

No errors about homebridge being slowed down (it has it's own bridge, but still).

Logs

[11/17/2022, 9:06:43 PM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/17/2022, 9:06:43 PM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/17/2022, 9:06:43 PM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/17/2022, 9:06:43 PM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/17/2022, 9:06:43 PM] [homebridge-levoit-air-purifier] 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.
[11/17/2022, 9:06:43 PM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/17/2022, 9:06:43 PM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/17/2022, 9:06:43 PM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/17/2022, 9:06:43 PM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://homebridge.io/w/JtMGR for more info.

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "nah",
"password": "nah",
"platform": "LevoitAirPurifiers",
"_bridge": {
"username": "0E:58:6F:A5:6C:D8",
"port": 47894
}
}

Plugin Version

1.2.0

Homebridge Version

1.5.0

Node.js Version

v18.12.1

NPM Version

unknown

Operating System

Docker - using this: https://hub.docker.com/r/oznu/homebridge/

Levoit Core 400s - not returning PM2.5 or air quality

Describe The Bug

Levoit Core 400s does not return air quality or PM2.5 count, throws the error attached below

Expected behavior

Sensor values to show correctly

Logs

[15/06/2023, 03:07:09] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [15/06/2023, 03:07:09] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://homebridge.io/w/JtMGR for more info.

Plugin Config

{
"name": "Purificador",
"email": "[email protected]",
"password": "XXXXXXXXXX",
"platform": "LevoitAirPurifiers",
"_bridge": {
"username": "0E:A2:0A:XX:XX:XX",
"port": 32756
}
}

Plugin Version

v1.3.1

Homebridge Version

v1.6.1

Node.js Version

v18.12.1

NPM Version

Unknown

Operating System

Raspbian GNU/Linux Bullseye (11)

Core 400S Pro not working

Thanks for the message on the other plug-ins page. This plugin looks very promising! Unfortunately it doesn’t seem to be finding my device. I have just a Levoit Core 400S set up in my VeSync account. I have installed the plugin and entered my credentials but in the status log the latest message I see is “Discovering Devices….” And I don’t see the air purifier show up in my Home app. Any ideas? Am I missing something in setup?

Support for LV600s

Describe The Bug

Support for LV600s no stats/ details show in homekit

Expected behavior

n/a

Logs

n/a

Plugin Config

n/a

Plugin Version

n/a

Homebridge Version

n/a

Node.js Version

n/a

NPM Version

n/a

Operating System

n/a

Core 200S Auto/Manual mode

Describe The Bug

The plugin presents an Auto/Manual option in HomeKit for the Core200S. However the the Core200S does not have an Auto/Manual mode, its always manual since that model does not have an air quality sensor.

Expected behavior

Plugin doesn't expose features that are not present

Logs

N/A

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "[email protected]",
"password": "my_password",
"platform": "LevoitAirPurifiers",
"_bridge": {
"username": "XX:XX:XX:XX:XX",
"port": 36967
}
}

Plugin Version

1.3.0

Homebridge Version

1.60

Node.js Version

18.13.0

NPM Version

unsure

Operating System

Linux Mint 21.1

Plugin Slows HomeBridge

Describe The Bug

This is spammed all over my homebridge logs.

This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://homebridge.io/w/JtMGR for more info.

Expected behavior

Logs

[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:46] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:52] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:52] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:52] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:08:52] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:52] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:52] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:52] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:08:52] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:52] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:56] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:56] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:56] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:56] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:56] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:56] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:56] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:08:56] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:08:56] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:09:05] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:09:05] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:09:05] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:09:05] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:09:05] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:09:05] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:00] [Homebridge UI] Changes to config.json saved.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:04] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:17] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:17] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:17] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:17] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:17] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:17] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:17] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:28:17] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:17] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:23] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:23] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:23] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:28:23] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:23] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:23] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:23] [homebridge-levoit-air-purifier] 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.
[19/07/2023, 16:28:23] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[19/07/2023, 16:28:23] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' 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 Air Purifiers",
        "email": [email protected]",
        "password": "xxxxxxxxxxxxxxxxxx",
        "platform": "LevoitAirPurifiers",
        "_bridge": {
            "username": "0E:40:5D:7E:08:09",
            "port": 45818
        }

Plugin Version

1.3.1

Homebridge Version

4.50.4

Node.js Version

v18.16.1

NPM Version

unsure

Operating System

Raspberrypi

Support for LV600S and Superior 6000S Humidifiers

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)

200S and Air Quality

Is your feature request related to a problem? Please describe:
Purchased a 200S today, found this plugin and it works great! I can turn the device on/off and change fan speed with no issue. However, this device is not capable of reading air quality, and triggers the following warning:

[12/5/2021, 11:51:19 PM] [homebridge-levoit-air-purifier] This plugin generated a warning from the characteristic 'PM2.5 Density': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.

Describe the solution you'd like:
Could you please allow the air quality sensor/PM2.5 Density to be optional? When I add the Air Purifier to to a room, the associated Air Quality sensor appears, but is unusable.

Please let me know if you need anything further, or if I can help you with other 200S testing.

Thanks

[bug] Not Displaying the air quality on 400S

Describe The Bug

Air quality does not show in the latest build.

400s

Expected behavior

Been able to see the air quality

Logs

No error messages

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "my_email@my_email",
"password": "my_password",
"platform": "LevoitAirPurifiers"
}

Plugin Version

1.2.1-alpha

Homebridge Version

1.6.0

Node.js Version

18.12.1

NPM Version

8.19.2

Operating System

Raspbian 1.0.39

Air Quality Levels Inconsistency

Describe The Bug

In Aqara's manual air quality is defined in 4 levels.
However, when exposed to HomeKit it shows 5 levels.
This inconsistency makes it hard to set up automations based on the actual PM 2.5 value.

Screenshot 2022-12-04 at 2 17 58 PM

image

Expected behavior

Either shows 4 levels of air quality that correspond to what is provided, or exposes PM 2.5 value as a HomeKit automation trigger.

Logs

None

Plugin Config

    {
        "name": "Levoit Air Purifiers",
        "email": "***",
        "password": "***",
        "platform": "LevoitAirPurifiers"
    }

Plugin Version

v1.2.0

Homebridge Version

v1.6.0

Node.js Version

v16.16.0

NPM Version

8.11.0

Operating System

Raspbian GNU/Linux 11

Missing Air purifier characteristic

Describe The Bug

Nightlight won’t show any logs because it’s not being imported. It’s a separate function on the device itself, controlling an entirely different light than the “display”.

Sorry for brevity, on mobile.

Expected behavior

Toggle On

Logs

N/A

Plugin Config

N/A

Plugin Version

N/A

Homebridge Version

N/A

Node.js Version

N/A

NPM Version

N/A

Operating System

N/A

Request for new

Describe The Bug

Requesting support for the Levoit EverestAir model

Expected behavior

N/a

Logs

N/a

Plugin Config

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "",
"password": "",
"_bridge": {
"username": "0E:A8:70:B3:CB:90",
"port": 43561
},
"platform": "LevoitAirPurifiers"
}

Plugin Version

2.0

Homebridge Version

4.52.1

Node.js Version

16

NPM Version

6.4

Operating System

windows 11

Installed in homekit as a hub but device won't show up

Describe The Bug

I've installed the plugin, first as a normal "child" of home bridge then as a hub itself. None of which successfully shows the device in HomeKit.

I can see the hub in HomeKit but not the Humidifier (200s).

Expected behavior

Expected to see a new device in a room in HomeKit or in the accessories under hub.

Logs

[DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"EU","isOwner":true,"authKey":null,"deviceName":"Humidifier","deviceImg":"https://image.vesync.com/defaultImages/deviceDefaultImages/wfon_ahm_luh-d301s-weu_eu_240.png","cid":"vsaq8cc625b4105a4e11c1241aa02454","deviceStatus":"on","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LUH-D301S-WEU","type":"wifi-air","uuid":"b27aadd3-e3d0-430e-b08f-a125132c5fa8","configModule":"WFON_AHM_LUH-D301S-WEU_EU","macID":"24:a1:60:9f:17:5e","mode":null,"speed":null,"extension":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Aug 22, 2022 8:52:18 PM","deviceProp":null}]

Plugin Config

{ "bridge": { "name": "Homebridge", "username": "", "port": 51245, "pin": "" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "name": "Nest", "refreshToken": "", "options": [ "HomeAway.Disable", "FieldTest.Enable" ], "platform": "Nest" }, { "name": "TplinkSmarthome", "addCustomCharacteristics": true, "inUseThreshold": 10, "deviceTypes": [ "plug", "bulb" ], "platform": "TplinkSmarthome" }, { "name": "eWeLink", "username": "", "password": "", "mode": "auto", "debug": false, "language": "en", "multiDevices": [ { "label": "Garage Lights", "deviceId": "10015f8158", "deviceModel": "dualr3_switch" } ], "platform": "eWeLink" }, { "refreshToken": "", "platform": "Nest-cam" }, { "name": "Levoit Air Purifiers", "email": "myemail", "password": "mypass", "platform": "LevoitAirPurifiers", "enableDebugMode": true, "_bridge": { "username": "0E:52:3D:D3:3E:C9", "port": 57839 } } ], "disabledPlugins": [ "homebridge-nest-cam" ] }

Plugin Version

1.1.13

Homebridge Version

1.5.0

Node.js Version

v16.13.1

NPM Version

8.3.0

Operating System

Linux homebridge 5.10.63-v7+ #1488 SMP Thu Nov 18 16:14:44 GMT 2021 armv7l GNU/Linux

Core 400S Screen/Display Off

Discussed in #45

Originally posted by funbobby909 December 3, 2022
Hi there. Got this up and running tonight on my QNAP NAS and works like a charm. Thanks for the work on this! Is it possible to surface the screen on/off feature in the home app? It's something in the VeSync app. Allows you to turn off the top screen/display if it's too bright in a dark room. Would love to add that task to night time automations. Thanks!

Add support for OasisMist 1000S

Describe The Bug

NA

Expected behavior

Model is supported. ID is LUH-M101S-WUS

Logs

NA

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "",
"password": "",
"experimentalFeatures": [
"Humidifiers"
],
"_bridge": {
"username": "",
"port":
},
"platform": "LevoitAirPurifiers"
}

Plugin Version

2.0.0

Homebridge Version

1.7.0

Node.js Version

20.11.0

NPM Version

NA

Operating System

Linux

Support for humidifier Levoit 450S

Describe The Bug

Add support for the 450S serie humidifiers
model LUH-O451S-WUS
options already supported for other models is more than enough.
thanks

Expected behavior

Supported model

Logs

Logs are displaying “discovering devices”

Plugin Config

Basic config, entered my vesync user/pwd and touched nothing

Plugin Version

Latest

Homebridge Version

1.7.0

Node.js Version

18.19.0

NPM Version

?

Operating System

Homebridge-pi install

Failed to login error

Describe The Bug

I just installed the plugin and am hoping to use it with my 300Sm, however I get the following error in the logs:

Jan 27 11:58:40 raspberrypi homebridge[8920]: [1/27/2022, 11:58:40 AM] [Levoit Air Purifiers] Failed to login Error: timeout of 15000ms exceeded

Has anyone else experienced this issue?

Thanks,

Tim

Expected behavior

To be able to add the 300S within the Home app.

Logs

Jan 27 11:58:40 raspberrypi homebridge[8920]: [1/27/2022, 11:58:40 AM] [Levoit Air Purifiers] Failed to login Error: timeout of 15000ms exceeded

Plugin Config

    {
        "name": "Levoit Air Purifiers",
        "email": "####@#####",
        "password": "########",
        "platform": "LevoitAirPurifiers",
        "enableDebugMode": true
    }

Plugin Version

1.1.8

Homebridge Version

1.4.0

Node.js Version

16.13.0

NPM Version

8.1.3

Operating System

raspberry Pi Buster

Request for new model Everest

Describe The Bug

Does not seem to support the Everest model

Expected behavior

Same excellent feature coverage as other purifiers

Logs

None

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "",
"password": "",
"_bridge": {
"username": "0E:A8:70:B3:CB:90",
"port": 43561
},
"platform": "LevoitAirPurifiers"
}

Plugin Version

v1.2.0

Homebridge Version

v1.2.0

Node.js Version

v14.21.1

NPM Version

v6.14.17

Operating System

LinuxMint Tina (19.2)

300S | Humidifier

So something weird is happening with my 300S. I have it running in homebridge 1.3.8 with the latest code for this plugin and debug enabled I get this:

[12/1/2021, 9:52:40 AM] [Levoit Air Purifiers] Discovering devices...
[12/1/2021, 9:52:40 AM] [Levoit Air Purifiers] [DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"US","isOwner":true,"authKey":null,"deviceName":"Humidifier ","deviceImg":"https://image.vesync.com/defaultImages/Classic_300S_Series/icon_300s_humidifier_160.png","cid":"vsaqc7c957d443a6ace7d2ce1c9bcd2e","deviceStatus":"on","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"Classic300S","type":"wifi-air","uuid":"6d4852fe-792e-4791-9e04-c614e088919d","configModule":"WiFiBTOnboardingNotify_AirHumidifier_Classic300S_US","macID":"ac:0b:fb:31:12:ee","mode":null,"speed":null,"extension":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Nov 30, 2021 11:57:23 PM"}]

Which seems to indicate that it finds my device, however, when I go in... there is no new devices added to homebridge's accessories and thus nothing new added to my HomeKit Home.

Multiple devices unresponsive

Describe The Bug

I have multiple humidifiers between the core 200 300 and 400 and all are showing as unresponsive now.

Expected behavior

Operational devices and to be able to control them though the home app

Logs

IMG_6327

Plugin Config

Can add if needed specifically

Plugin Version

1.3.0

Homebridge Version

1.6.1

Node.js Version

18.16.0

NPM Version

9.5.1

Operating System

Homebridge image on raspberry pi 4

1.3.0 no longer connects properly to devices. All show as “no response”

Describe The Bug

Updated today to 1.3.0. Since then all devices come in as “no response” in homekit

was working fine prior

I can get logs if needed

Expected behavior

Working and responsive devices

Logs

Na

Plugin Config

Na

Plugin Version

1.3.0

Homebridge Version

2.0.0

Node.js Version

Na

NPM Version

Na

Operating System

macOS 13

Dual200S is not accurately reporting humidity it is set to

Describe The Bug

The air humidifier is set to 55% but is reporting 31%. The difference is always 24%.

Expected behavior

It should be reporting 55%.

Note: There are a couple of other issues as well. I have a Dual200S and happy to provide any info that would be helpful or create new issues for those.

Logs

Not sure how to generate

Plugin Config

{
            "name": "Levoit Air Purifiers",
            "email": "",
            "password": "",
            "experimentalFeatures": [
                "Humidifiers"
            ],
            "_bridge": {
                "username": "",
                "port":
            },
            "platform": "LevoitAirPurifiers"
        }

Plugin Version

v2.0.0

Homebridge Version

v1.7.0

Node.js Version

v20.9.0

NPM Version

7.5.2

Operating System

Debian GNU/Linux Bullseye (11)

Request support for Vital 200s

Describe The Bug

Thank you for your work! Please add support for new model Vital 200s. Thank you again!

Expected behavior

Support

Logs

None

Plugin Config

None

Plugin Version

None

Homebridge Version

None

Node.js Version

None

NPM Version

None

Operating System

None

Feature Request: Core200S Night Light

Describe The Bug

The 200S has a light on top that can be controlled via the VeSync app, current logs show that the night light state can be pulled, would it be possible to expose this as a light within HomeKit?

Original discussion:
#34

Expected behavior

Currently logs pull night light state, however there are no controls within homebridge or Home app

Logs

Off:

[03/05/2023, 10:41:47] [Levoit Air Purifiers] [DEBUG]: [LOGIN] Logging in...
[03/05/2023, 10:41:47] [Levoit Air Purifiers] [DEBUG]: [LOGIN] The authentication success
[03/05/2023, 11:11:11] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[03/05/2023, 11:11:12] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] JSON: {"traceId":"1683133871362","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1683133871362","code":0,"result":{"enabled":false,"filter_life":55,"mode":"manual","level":1,"display":false,"child_lock":false,"night_light":"off","configuration":{"display":true,"display_forever":false},"device_error_code":0}}}

Dim setting:

[03/05/2023, 13:57:39] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[03/05/2023, 13:57:40] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] JSON: {"traceId":"1683143859551","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1683143859551","code":0,"result":{"enabled":false,"filter_life":55,"mode":"manual","level":1,"display":false,"child_lock":false,"night_light":"dim","configuration":{"display":true,"display_forever":false},"device_error_code":0}}}

On/High setting:

[03/05/2023, 13:59:16] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[03/05/2023, 13:59:17] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] JSON: {"traceId":"1683143956938","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1683143956938","code":0,"result":{"enabled":false,"filter_life":55,"mode":"manual","level":1,"display":false,"child_lock":false,"night_light":"on","configuration":{"display":true,"display_forever":false},"device_error_code":0}}}

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "REDACTED",
"password": "REDACTED",
"_bridge": {
"username": "0E:3C:1E:D7:21:C6",
"port": 37350
},
"platform": "LevoitAirPurifiers"
}

Plugin Version

1.3.1

Homebridge Version

4.50.4

Node.js Version

v18.16.0

NPM Version

0

Operating System

Raspbian GNU/Linux Bullseye (11) / Homebridge Raspbian v1.0.39

Core 300S Air Purifier not showing up in Home

Describe The Bug

I installed the plugin and entered the correct account credentials, then added the child bridge to HomeKit, but my air purifier isn't showing up. Here's the debug log:

Expected behavior

Core 300S Air Purifier should be showing up in Home app.

Logs

[DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"TA","isOwner":true,"authKey":null,"deviceName":"Air Purifier","deviceImg":"https://image.vesync.com/defaultImages/Core_300S_Series/icon_300_purifier_160.png","cid":"vsokabcc28bb4587ef15d3","deviceStatus":"off","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LAP-C301S-WAAA","type":"wifi-air","uuid":"3ae8mmc6-1972-8829-83d5-b651851ca9f7","configModule":"WFON_APR_LAP-C301S-WAAA_TA","macID":"ac:1b:fb:6e:6c:a1","mode":null,"speed":null,"extension":{"airQuality":-1,"airQualityLevel":1,"mode":"manual","fanSpeedLevel":"255"},"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Mar 5, 2022 1:33:13 AM","deviceProp":null}]

Plugin Config

{
"bridge": {
"name": "Homebridge",
"username": "0E:A5:BA:52:FD:90",
"port": 52345,
"pin": "942-99-555",
"bind": [
"eth0"
]
},
"accessories": [
{
"name": "Levoit Air Purifiers",
"email": "(removed)",
"password": "(removed)",
"platform": "LevoitAirPurifiers",
"enableDebugMode": true,
"_bridge": {
"username": "0E:4C:91:23:50:E6",
"port": 29410
}
]
}

Plugin Version

1.1.10

Homebridge Version

1.3.9

Node.js Version

14.18.1

NPM Version

v.8.1.0

Operating System

Raspbian Buster

131S support

Is your feature request related to a problem? Please describe:
Hey guys, is there any reason why the LV-PUR131S cannot be supported? It strikes me that it must have all the same sensor values and speed steps, etc... so surely it's just a case of adding it to the device whitelist?

Describe the solution you'd like:
Could you simply add it, will it 'just work'? - Sadly, I'm not sure how to test this myself

Describe alternatives you've considered:
I could use another plugin I suppose, but I like that this one is so active, and regularly maintained. Alternative, I could sell my 131S and get a smaller Core... but then, I quite like my model ;)

Additional context:
Happy to test, and provide some debug where capable. Many thanks.

Support for Core PlasmaPro 300S and 600S - (Core302S and Core602S)

Describe The Bug

You have support for Core 300S and 301S models, but there is a third, Core 302S (which is the version with plasmapro)

You have support for Core 600S and 601S models, but there is a third, Core 602S (which is the version with plasmapro)

Are you able to add those model into the device list?

Expected behavior

NA

Logs

NA

Plugin Config

NA

Plugin Version

NA

Homebridge Version

NA

Node.js Version

NA

NPM Version

NA

Operating System

NA

Plug-in No Longer Sees Purifiers

Describe The Bug

It happened about a month ago, maybe. But my purifiers show “no response” in Home Kit. They worked perfectly fine, and I’ve had no problems with this plugin until recently. My VeSync credentials are correct. It just stopped working. Do I need to set up port forwarding for any reason? I recently disabled UPnP on my router for security reasons.

Expected behavior

To work.

Logs

How do I get you logs for the plug-in? I don’t see that option anywhere.

Plugin Config

    {
        "name": "Levoit",
        "email": "<redacted>",
        "password": "<pass-redacted>",
        "_bridge": {
            "username": "0E:3B:41:1B:17:D3",
            "port": 45492
        },
        "platform": "LevoitAirPurifiers"
    },

Plugin Version

v1.3.1

Homebridge Version

v1.6.1

Node.js Version

v18.13.0

NPM Version

No clue. Whatever is installed with the Homebridge Docker image. I don’t see it listed in Homebridge.

Operating System

Synology DSM 7.1.1-42962 Update 6

300S | ioBroker.ham

I do not get any useful values

ham.0 2021-11-22 07:22:34.095 info stateChange ham.0.Hildegard-.Accessory-Information.Serial-Number {"val":"9c:9c:1f:32:65:aa","ack":true,"ts":1637565754093,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:34.095 info stateChange ham.0.Hildegard-.Accessory-Information.Model {"val":"Core300S","ack":true,"ts":1637565754093,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:34.094 info stateChange ham.0.Hildegard-.Accessory-Information.Manufacturer {"val":"Levoit","ack":true,"ts":1637565754093,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:32.993 info stateChange ham.0.Edeltraud.Accessory-Information.Serial-Number {"val":"9c:9c:1f:32:86:5a","ack":true,"ts":1637565752991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:32.993 info stateChange ham.0.Edeltraud.Accessory-Information.Model {"val":"Core300S","ack":true,"ts":1637565752991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172364}
ham.0 2021-11-22 07:22:32.992 info stateChange ham.0.Edeltraud.Accessory-Information.Manufacturer {"val":"Levoit","ack":true,"ts":1637565752991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172364}
ham.0 2021-11-22 07:22:29.993 info stateChange ham.0.Hildegard-.0000008D.Status-Tampered {"val":0,"ack":true,"ts":1637565749957,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.992 info stateChange ham.0.Hildegard-.0000008D.Status-Low-Battery {"val":0,"ack":true,"ts":1637565749957,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.988 info stateChange ham.0.Hildegard-.0000008D.Status-Fault {"val":0,"ack":true,"ts":1637565749957,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.988 info stateChange ham.0.Hildegard-.0000008D.Status-Active {"val":false,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.988 info stateChange ham.0.Hildegard-.0000008D.Name {"val":"","ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.988 info stateChange ham.0.Hildegard-.0000008D.VOC-Density {"val":0,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.987 info stateChange ham.0.Hildegard-.0000008D.Sulphur-Dioxide-Density {"val":0,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.987 info stateChange ham.0.Hildegard-.0000008D.PM2.5-Density {"val":0,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516582558}
ham.0 2021-11-22 07:22:29.987 info stateChange ham.0.Hildegard-.0000008D.PM10-Density {"val":0,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.987 info stateChange ham.0.Hildegard-.0000008D.Ozone-Density {"val":0,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.987 info stateChange ham.0.Hildegard-.0000008D.Nitrogen-Dioxide-Density {"val":0,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.984 info stateChange ham.0.Hildegard-.0000008D.PM2.5-Density {"val":2,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637565749956}
ham.0 2021-11-22 07:22:29.984 info stateChange ham.0.Hildegard-.0000008D.Air-Quality {"val":1,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173589}
ham.0 2021-11-22 07:22:29.984 info stateChange ham.0.Hildegard-.000000BB.Swing-Mode {"val":0,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516912888}
ham.0 2021-11-22 07:22:29.984 info stateChange ham.0.Hildegard-.000000BB.Rotation-Speed {"val":0,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516582554}
ham.0 2021-11-22 07:22:29.984 info stateChange ham.0.Hildegard-.000000BB.Name {"val":"","ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.984 info stateChange ham.0.Hildegard-.000000BB.Lock-Physical-Controls {"val":0,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173589}
ham.0 2021-11-22 07:22:29.982 info stateChange ham.0.Hildegard-.000000BB.Filter-Life-Level {"val":83,"ack":true,"ts":1637565749956,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173589}
ham.0 2021-11-22 07:22:29.982 info stateChange ham.0.Hildegard-.000000BB.Filter-Change-Indication {"val":0,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173589}
ham.0 2021-11-22 07:22:29.982 info stateChange ham.0.Hildegard-.000000BB.Rotation-Speed {"val":50,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637565749955}
ham.0 2021-11-22 07:22:29.982 info stateChange ham.0.Hildegard-.000000BB.Lock-Physical-Controls {"val":0,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173589}
ham.0 2021-11-22 07:22:29.982 info stateChange ham.0.Hildegard-.000000BB.Target-Air-Purifier-State {"val":1,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516271682}
ham.0 2021-11-22 07:22:29.981 info stateChange ham.0.Hildegard-.000000BB.Current-Air-Purifier-State {"val":2,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173589}
ham.0 2021-11-22 07:22:29.981 info stateChange ham.0.Hildegard-.000000BB.Active {"val":1,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516246642}
ham.0 2021-11-22 07:22:29.981 info stateChange ham.0.Hildegard-.Accessory-Information.Product-Data {"val":null,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.981 info stateChange ham.0.Hildegard-.Accessory-Information.Software-Revision {"val":"","ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.978 info stateChange ham.0.Hildegard-.Accessory-Information.Hardware-Revision {"val":"","ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.978 info stateChange ham.0.Hildegard-.Accessory-Information.Configured-Name {"val":"","ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.977 info stateChange ham.0.Hildegard-.Accessory-Information.App-Matching-Identifier {"val":null,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.975 info stateChange ham.0.Hildegard-.Accessory-Information.Accessory-Flags {"val":0,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.975 info stateChange ham.0.Hildegard-.Accessory-Information.Firmware-Revision {"val":"1.1.1","ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.975 info stateChange ham.0.Hildegard-.Accessory-Information.Serial-Number {"val":"9c:9c:1f:32:65:aa","ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.974 info stateChange ham.0.Hildegard-.Accessory-Information.Name {"val":"Hildegard ","ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.974 info stateChange ham.0.Hildegard-.Accessory-Information.Model {"val":"Core300S","ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.974 info stateChange ham.0.Hildegard-.Accessory-Information.Manufacturer {"val":"Levoit","ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516173588}
ham.0 2021-11-22 07:22:29.974 info stateChange ham.0.Edeltraud.0000008D.Status-Tampered {"val":0,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.973 info stateChange ham.0.Edeltraud.0000008D.Status-Low-Battery {"val":0,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.973 info stateChange ham.0.Edeltraud.0000008D.Status-Fault {"val":0,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.973 info stateChange ham.0.Edeltraud.0000008D.Status-Active {"val":false,"ack":true,"ts":1637565749955,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.973 info stateChange ham.0.Edeltraud.0000008D.Name {"val":"","ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.972 info stateChange ham.0.Edeltraud.0000008D.VOC-Density {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.972 info stateChange ham.0.Edeltraud.0000008D.Sulphur-Dioxide-Density {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.972 info stateChange ham.0.Edeltraud.0000008D.PM2.5-Density {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516582553}
ham.0 2021-11-22 07:22:29.972 info stateChange ham.0.Edeltraud.0000008D.PM10-Density {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.972 info stateChange ham.0.Edeltraud.0000008D.Ozone-Density {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.972 info stateChange ham.0.Edeltraud.0000008D.Nitrogen-Dioxide-Density {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.967 info stateChange ham.0.Edeltraud.0000008D.PM2.5-Density {"val":1,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637565749954}
ham.0 2021-11-22 07:22:29.967 info stateChange ham.0.Edeltraud.0000008D.Air-Quality {"val":1,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172380}
ham.0 2021-11-22 07:22:29.967 info stateChange ham.0.Edeltraud.000000BB.Swing-Mode {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.967 info stateChange ham.0.Edeltraud.000000BB.Rotation-Speed {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516582552}
ham.0 2021-11-22 07:22:29.967 info stateChange ham.0.Edeltraud.000000BB.Name {"val":"","ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.967 info stateChange ham.0.Edeltraud.000000BB.Lock-Physical-Controls {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172370}
ham.0 2021-11-22 07:22:29.966 info stateChange ham.0.Edeltraud.000000BB.Filter-Life-Level {"val":87,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172370}
ham.0 2021-11-22 07:22:29.965 info stateChange ham.0.Edeltraud.000000BB.Filter-Change-Indication {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172370}
ham.0 2021-11-22 07:22:29.965 info stateChange ham.0.Edeltraud.000000BB.Rotation-Speed {"val":75,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637565749954}
ham.0 2021-11-22 07:22:29.965 info stateChange ham.0.Edeltraud.000000BB.Lock-Physical-Controls {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172370}
ham.0 2021-11-22 07:22:29.964 info stateChange ham.0.Edeltraud.000000BB.Target-Air-Purifier-State {"val":0,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172370}
ham.0 2021-11-22 07:22:29.964 info stateChange ham.0.Edeltraud.000000BB.Current-Air-Purifier-State {"val":2,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172370}
ham.0 2021-11-22 07:22:29.964 info stateChange ham.0.Edeltraud.000000BB.Active {"val":1,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.964 info stateChange ham.0.Edeltraud.Accessory-Information.Product-Data {"val":null,"ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.964 info stateChange ham.0.Edeltraud.Accessory-Information.Software-Revision {"val":"","ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.963 info stateChange ham.0.Edeltraud.Accessory-Information.Hardware-Revision {"val":"","ack":true,"ts":1637565749954,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.963 info stateChange ham.0.Edeltraud.Accessory-Information.Configured-Name {"val":"","ack":true,"ts":1637565749953,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.962 info stateChange ham.0.Edeltraud.Accessory-Information.App-Matching-Identifier {"val":null,"ack":true,"ts":1637565749953,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.962 info stateChange ham.0.Edeltraud.Accessory-Information.Accessory-Flags {"val":0,"ack":true,"ts":1637565749953,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.962 info stateChange ham.0.Edeltraud.Accessory-Information.Firmware-Revision {"val":"1.1.1","ack":true,"ts":1637565749953,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.962 info stateChange ham.0.Edeltraud.Accessory-Information.Serial-Number {"val":"9c:9c:1f:32:86:5a","ack":true,"ts":1637565749953,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172365}
ham.0 2021-11-22 07:22:29.962 info stateChange ham.0.Edeltraud.Accessory-Information.Name {"val":"Edeltraud","ack":true,"ts":1637565749953,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172364}
ham.0 2021-11-22 07:22:29.962 info stateChange ham.0.Edeltraud.Accessory-Information.Model {"val":"Core300S","ack":true,"ts":1637565749953,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172364}
ham.0 2021-11-22 07:22:29.961 info stateChange ham.0.Edeltraud.Accessory-Information.Manufacturer {"val":"Levoit","ack":true,"ts":1637565749953,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1637516172364}
ham.0 2021-11-22 07:22:29.834 info updateState Hildegard-.0000008D.Status-Tampered: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value","name":"Status Tampered","unit":""}
ham.0 2021-11-22 07:22:29.833 info updateState Hildegard-.0000008D.Status-Low-Battery: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value.lowbat","name":"Status Low Battery","unit":""}
ham.0 2021-11-22 07:22:29.833 info updateState Hildegard-.0000008D.Status-Active: value = false /common= {"type":"boolean","read":true,"write":false,"role":"sensor","name":"Status Active","unit":""}
ham.0 2021-11-22 07:22:29.833 info updateState Hildegard-.0000008D.VOC-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"VOC Density","unit":""}
ham.0 2021-11-22 07:22:29.832 info updateState Hildegard-.0000008D.Sulphur-Dioxide-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"Sulphur Dioxide Density","unit":""}
ham.0 2021-11-22 07:22:29.832 info updateState Hildegard-.0000008D.PM10-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"PM10 Density","unit":""}
ham.0 2021-11-22 07:22:29.832 info updateState Hildegard-.0000008D.Nitrogen-Dioxide-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"Nitrogen Dioxide Density","unit":""}
ham.0 2021-11-22 07:22:29.833 info updateState Hildegard-.0000008D.Name: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""}
ham.0 2021-11-22 07:22:29.833 info updateState Hildegard-.0000008D.Status-Fault: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value","name":"Status Fault","unit":""}
ham.0 2021-11-22 07:22:29.831 info updateState Hildegard-.0000008D.PM2.5-Density: value = 2 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"PM2.5 Density","unit":""}
ham.0 2021-11-22 07:22:29.831 info updateChannel Hildegard-.0000008D: name =
ham.0 2021-11-22 07:22:29.832 info updateState Hildegard-.0000008D.Ozone-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"Ozone Density","unit":""}
ham.0 2021-11-22 07:22:29.832 info updateState Hildegard-.0000008D.PM2.5-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"PM2.5 Density","unit":""}
ham.0 2021-11-22 07:22:29.831 info updateState Hildegard-.000000BB.Swing-Mode: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":true,"role":"level","name":"Swing Mode","unit":""}
ham.0 2021-11-22 07:22:29.830 info updateState Hildegard-.000000BB.Name: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""}
ham.0 2021-11-22 07:22:29.830 info updateState Hildegard-.000000BB.Filter-Life-Level: value = 83 /common= {"type":"number","min":0,"max":100,"read":true,"write":false,"role":"value","name":"Filter Life Level","unit":""}
ham.0 2021-11-22 07:22:29.831 info updateState Hildegard-.0000008D.Air-Quality: value = 1 /common= {"type":"number","min":0,"max":5,"read":true,"write":false,"role":"value","name":"Air Quality","unit":""}
ham.0 2021-11-22 07:22:29.830 info updateState Hildegard-.000000BB.Filter-Change-Indication: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value","name":"Filter Change Indication","unit":""}
ham.0 2021-11-22 07:22:29.829 info updateState Hildegard-.000000BB.Lock-Physical-Controls: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":true,"role":"level","name":"Lock Physical Controls","unit":""}
ham.0 2021-11-22 07:22:29.830 info updateState Hildegard-.000000BB.Lock-Physical-Controls: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":true,"role":"level","name":"Lock Physical Controls","unit":""}
ham.0 2021-11-22 07:22:29.830 info updateState Hildegard-.000000BB.Rotation-Speed: value = 0 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":true,"role":"level","name":"Rotation Speed"}
ham.0 2021-11-22 07:22:29.829 info updateState Hildegard-.000000BB.Target-Air-Purifier-State: value = 1 /common= {"type":"number","min":0,"max":1,"read":true,"write":true,"role":"level","name":"Target Air Purifier State","unit":""}
ham.0 2021-11-22 07:22:29.828 info updateState Hildegard-.000000BB.Active: value = 1 /common= {"type":"number","min":0,"max":1,"read":true,"write":true,"role":"level","name":"Active","unit":""}
ham.0 2021-11-22 07:22:29.828 info updateState Hildegard-.Accessory-Information.Product-Data: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"Product Data","unit":""}
ham.0 2021-11-22 07:22:29.829 info updateState Hildegard-.000000BB.Rotation-Speed: value = 50 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":true,"role":"level","name":"Rotation Speed"}
ham.0 2021-11-22 07:22:29.827 info updateState Hildegard-.Accessory-Information.Software-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Software Revision","unit":""}
ham.0 2021-11-22 07:22:29.827 info updateState Hildegard-.Accessory-Information.Configured-Name: value = /common= {"type":"string","read":true,"write":true,"role":"text","name":"Configured Name","unit":""}
ham.0 2021-11-22 07:22:29.828 info updateChannel Hildegard-.000000BB: name =
ham.0 2021-11-22 07:22:29.828 info updateState Hildegard-.000000BB.Current-Air-Purifier-State: value = 2 /common= {"type":"number","min":0,"max":2,"read":true,"write":false,"role":"value","name":"Current Air Purifier State","unit":""}
ham.0 2021-11-22 07:22:29.827 info updateState Hildegard-.Accessory-Information.App-Matching-Identifier: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"App Matching Identifier","unit":""}
ham.0 2021-11-22 07:22:29.826 info updateState Hildegard-.Accessory-Information.Firmware-Revision: value = 1.1.1 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""}
ham.0 2021-11-22 07:22:29.826 info updateState Hildegard-.Accessory-Information.Name: value = Hildegard /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""}
ham.0 2021-11-22 07:22:29.826 info updateState Hildegard-.Accessory-Information.Manufacturer: value = Levoit /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""}
ham.0 2021-11-22 07:22:29.827 info updateState Hildegard-.Accessory-Information.Hardware-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""}
ham.0 2021-11-22 07:22:29.825 info updateState Hildegard-.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""}
ham.0 2021-11-22 07:22:29.826 info updateState Hildegard-.Accessory-Information.Model: value = Core300S /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""}
ham.0 2021-11-22 07:22:29.826 info updateState Hildegard-.Accessory-Information.Serial-Number: value = 9c:9c:1f:32:65:aa /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""}
ham.0 2021-11-22 07:22:29.826 info updateState Hildegard-.Accessory-Information.Accessory-Flags: value = 0 /common= {"type":"number","min":0,"max":4294967295,"read":true,"write":false,"role":"value","name":"Accessory Flags","unit":""}
ham.0 2021-11-22 07:22:29.825 info updateChannel Hildegard-.Accessory-Information: name =
ham.0 2021-11-22 07:22:29.825 info updateDev Hildegard-: name = Hildegard /type= 1
ham.0 2021-11-22 07:22:29.822 info updateState Edeltraud.0000008D.Status-Tampered: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value","name":"Status Tampered","unit":""}
ham.0 2021-11-22 07:22:29.822 info updateState Edeltraud.0000008D.Status-Fault: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value","name":"Status Fault","unit":""}
ham.0 2021-11-22 07:22:29.822 info updateState Edeltraud.0000008D.Status-Active: value = false /common= {"type":"boolean","read":true,"write":false,"role":"sensor","name":"Status Active","unit":""}
ham.0 2021-11-22 07:22:29.821 info updateState Edeltraud.0000008D.VOC-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"VOC Density","unit":""}
ham.0 2021-11-22 07:22:29.821 info updateState Edeltraud.0000008D.PM2.5-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"PM2.5 Density","unit":""}
ham.0 2021-11-22 07:22:29.822 info updateState Edeltraud.0000008D.Status-Low-Battery: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value.lowbat","name":"Status Low Battery","unit":""}
ham.0 2021-11-22 07:22:29.821 info updateState Edeltraud.0000008D.PM10-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"PM10 Density","unit":""}
ham.0 2021-11-22 07:22:29.821 info updateState Edeltraud.0000008D.Sulphur-Dioxide-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"Sulphur Dioxide Density","unit":""}
ham.0 2021-11-22 07:22:29.821 info updateState Edeltraud.0000008D.Name: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""}
ham.0 2021-11-22 07:22:29.820 info updateState Edeltraud.0000008D.Ozone-Density: value = 0 /common= {"type":"number","min":0,"max":1000,"read":true,"write":false,"role":"value","name":"Ozone Density","unit":""}

400S homekit trying to turn off but it will jump back to "on" state

Describe The Bug

the switch on home kit will keep staying at the "on" state, even when the device itself is "off" already.

Expected behavior

switch stays in the "off" state when it is turned off.

Logs

i don't have logs

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "",
"password": "
",
"_bridge": {
"username": "0E:5D:27:58:E3:67",
"port": 56326
},
"platform": "LevoitAirPurifiers"
}

Plugin Version

1.3.0

Homebridge Version

1.6.1

Node.js Version

16.16.0

NPM Version

n/a

Operating System

synology DSM

State stays in "Turning on..." or "Turning off..." in the Home app

Describe The Bug

Only way for it to switch to showing On or Off is to exit the Home iOS app and then go back to it. Happens in both regular and child bridge modes.

Expected behavior

On or Off should stick.

Logs

[1/29/2022, 3:28:49 PM] [Levoit Air Purifiers] Launched child bridge with PID 4165
[1/29/2022, 3:28:49 PM] Registering platform 'homebridge-levoit-air-purifier.LevoitAirPurifiers'
[1/29/2022, 3:28:49 PM] [Levoit Air Purifiers] Loaded homebridge-levoit-air-purifier v1.1.8 child bridge successfully
[1/29/2022, 3:28:49 PM] Loaded 1 cached accessories from cachedAccessories.0E868D81DF80.
[1/29/2022, 3:28:49 PM] [Levoit Air Purifiers] [DEBUG]: [PLATFORM] Debug mode enabled
[1/29/2022, 3:28:49 PM] [Levoit Air Purifiers] Loading accessory from cache: Nick’s Air Purifier
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
[1/29/2022, 3:28:49 PM] [Levoit Air Purifiers] Connecting to the servers...
[1/29/2022, 3:28:49 PM] [Levoit Air Purifiers] [DEBUG]: [START SESSION] Starting auth session...
[1/29/2022, 3:28:49 PM] [Levoit Air Purifiers] [DEBUG]: [LOGIN] Logging in...
[1/29/2022, 3:28:49 PM] Homebridge v1.4.0 (HAP v0.10.0) (Levoit Air Purifiers) is running on port 34759.
[1/29/2022, 3:28:50 PM] [Levoit Air Purifiers] [DEBUG]: [LOGIN] The authentication success
[1/29/2022, 3:28:50 PM] [Levoit Air Purifiers] Discovering devices...
[1/29/2022, 3:28:51 PM] [Levoit Air Purifiers] [DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"US","isOwner":true,"authKey":null,"deviceName":"Nick’s Air Purifier","deviceImg":"https://image.vesync.com/defaultImages/LAP-C201S-AUSR/icon_core200s_purifier_offline_us_160.png","cid":"vsaqfc23ea19438ea1224bc6029e52fe","deviceStatus":"off","connectionStatus":"online","connectionType":"wifi+BTOnboarding","deviceType":"LAP-C201S-AUSR","type":"wifi-air","uuid":"13d596bf-4d37-4f32-bbba-2b512977c522","configModule":"WFBO_APR_LAP-C201S-AUSR_US","macID":"94:3c:c6:5b:88:5a","mode":null,"speed":null,"extension":{"airQuality":-1,"airQualityLevel":1,"mode":"sleep","fanSpeedLevel":"1"},"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Jan 25, 2022 5:11:20 AM","deviceProp":null}]
[1/29/2022, 3:28:51 PM] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[1/29/2022, 3:28:52 PM] [Levoit Air Purifiers] Restoring existing accessory from cache: Nick’s Air Purifier
[1/29/2022, 3:28:56 PM] [TV] Cannot read properties of undefined (reading 'send')
[1/29/2022, 3:29:17 PM] [Levoit Air Purifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Nick’s Air Purifier with ({"enabled":true,"id":0})...
[1/29/2022, 3:29:18 PM] [Levoit Air Purifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Nick’s Air Purifier with ({"level":3,"type":"wind","id":0})...
[1/29/2022, 3:30:38 PM] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[1/29/2022, 3:30:41 PM] [Levoit Air Purifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Nick’s Air Purifier with ({"enabled":false,"id":0})...
[1/29/2022, 3:31:46 PM] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...

Plugin Config

    {
        "name": "Levoit Air Purifiers",
        "email": "[email protected]",
        "password": "VLightsaber3!!C",
        "platform": "LevoitAirPurifiers",
        "enableDebugMode": true,
        "_bridge": {
            "username": "0E:86:8D:81:DF:80",
            "port": 34759
        }
    }

Plugin Version

1.1.8

Homebridge Version

1.4.0

Node.js Version

16.13.2

NPM Version

8.4.0

Operating System

Mac 10.15.7 / iOS 15.2.1

Core 200s devices not appearing

Describe The Bug

After installing plugin and successfully setting up child bridge, neither of my core 200s purifiers are appearing in homebridge nor in HomeKit.

Expected behavior

For supported devices to show up and be controllable after completing setup.

Logs

Not sure how to get logs for just the plugin?

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "redacted",
"password": "redacted",
"experimentalFeatures": [
"DeviceDisplay"
],
"platform": "LevoitAirPurifiers",
"_bridge": {
"username": "0E:AD:E8:BC:43:A6",
"port": 49179
}
}

Plugin Version

1.3.1

Homebridge Version

1.6.1

Node.js Version

18.16.0

NPM Version

Couldn’t find info (whatever version is with official Rpi image)

Operating System

Raspbian GNU/Linux Bullseye (11)

Commands are failed to send

Describe The Bug

The logs indicate that some commands cannot be sent

Expected behavior

No errors

Logs

[02/01/2024, 16:10:01] [Levoit Air Purifiers] Failed to send command setLevel to Office Purifier Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle
[02/01/2024, 16:10:01] [Levoit Air Purifiers] Failed to send command setSwitch to Office Purifier Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle
[02/01/2024, 19:00:02] [Levoit Air Purifiers] Failed to send command setSwitch to Office Purifier Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle

Plugin Config

    {
        "name": "Levoit Air Purifiers",
        "email": "",
        "password": "",
        "experimentalFeatures": [
            "Humidifiers"
        ],
        "_bridge": {
            "username": "",
            "port":
        },
        "platform": "LevoitAirPurifiers"
    },

Plugin Version

v2.0.0

Homebridge Version

v1.7.0

Node.js Version

v20.10.0

NPM Version

NA

Operating System

Debian GNU/Linux Bullseye (11)

iobroker / ham adapter

Hello,
I would like to try it, but I cannot find the adapter. I'm looking through Iobroker with the Ham adapter

Support for Vital 100S

Describe The Bug

As with the Vital 200S, the Vital 100S is a new model from levoit and would be awesome to have support for it.

Hopefully the whole vital line can be added and supported

Expected behavior

Na

Logs

Na

Plugin Config

Na

Plugin Version

Na

Homebridge Version

Na

Node.js Version

Na

NPM Version

Na

Operating System

Na

Support for Vital 200s

Describe The Bug

Support for Vital 200s Air Purifiers

Expected behavior

N/a

Logs

N/a

Plugin Config

N/a

Plugin Version

N/a

Homebridge Version

N/a

Node.js Version

N/a

NPM Version

N/a

Operating System

N/a

Strange issue with 200S and adjusting the speed of the unit

Describe The Bug

The unit has only 4 fan speeds. 25% appears to trigger night mode, anything above that is settings I, II, III on the unit.

The plugin can turn the device off and on without issue, however there seems to be an issue with adjusting the fan speed after a period of time has elapsed. To reproduce:

  1. Trigger night mode (25%)
  2. Wake up in the morning
  3. Ask Siri to adjust the fan speed to 50% (or any %, it doesn't matter).
  4. Siri will say that the speed has been adjusted (but it hasn't)

You don't need to ask Siri. If you go in to the home app manually and attempt to adjust the fan speed it will show that the setting sticks but the fan won't kick up. If you go back in, you'll see the speed is still pinned at the 25% setting.

Interestingly, the only way around this seems to be to tell siri (or set in the home app) to set the speed to 100%, after which time you will be able to use siri (or the home app) to adjust between the 4 fan speeds no problem.

My workaround: I created a shortcut that pushes the fan speed to 100% then down to the speed I want. in sequence. I have Siri run that/run it on an automation and it works.

In my testing this issue only seems to occur when the device has been in sleep mode. It does not seem to be a problem going from a higher setting down to sleep mode.

Expected behavior

The fan speed adjusts no matter how much time has elapsed when between adjustments from sleep mode.

Logs

I don't have these at the moment. Happy to gather whatever is necessary.

Plugin Config

{
[...SNIP...]
        {
            "name": "Levoit Air Purifiers",
            "email": "my email here",
            "password": "password is here",
            "platform": "LevoitAirPurifiers",
            "_bridge": {
                "username": "stuff is here",
                "port": 38665
            }
        }
    ]
}

Plugin Version

1.1.6

Homebridge Version

1.3.8? UI is v4.41.5

Node.js Version

16.13.1

NPM Version

8.1.2

Operating System

uname -a: 4.4.180+ #42218 SMP Mon Oct 18 19:17:56 CST 2021 x86_64 GNU/Linux

400S automation to set to Auto?

Describe The Bug

Hi i have a when leaving home automation who will bump the Fan to 3, manual mode. Then another first one gets home automation which sets the mode to Auto. From checking the log in debug mode, there is not mode auto sent to the 400S, just fan speed. I can provide more infos if needed. Any comment welcomed.

Expected behavior

400S turns to Auto no matter the fan speed.

Logs

N/a

Plugin Config

N/a

Plugin Version

Latest

Homebridge Version

Latest

Node.js Version

N/a

NPM Version

N/a

Operating System

N/a

Can't Issue Commands/Control Core S300 on 2.0.0

Describe The Bug

When attempting to control a Core 300S, the following error is emitted and no control is performed:

[Levoit Air Purifiers] Failed to send command setSwitch to Levoit 300S Error: Converting circular structure to JSON
--> starting at object with constructor 'ClientRequest'
| property 'res' -> object with constructor 'IncomingMessage'
--- property 'req' closes the circle

Control via the VeSync app with same credentials is working correctly.

Expected behavior

Device is controlled.

Logs

[10/30/2023, 8:22:09 PM] [Levoit Air Purifiers] Failed to send command setSwitch to Levoit 300S Error: Converting circular structure to JSON
--> starting at object with constructor 'ClientRequest'
| property 'res' -> object with constructor 'IncomingMessage'
--- property 'req' closes the circle
[10/30/2023, 8:22:24 PM] [Levoit Air Purifiers] Failed to send command setPurifierMode to Levoit 300S Error: Converting circular structure to JSON
--> starting at object with constructor 'ClientRequest'
| property 'res' -> object with constructor 'IncomingMessage'
--- property 'req' closes the circle

Plugin Config

    {
        "name": "Levoit Air Purifiers",
        "email": "<removed>",
        "password": "<removed>",
        "platform": "LevoitAirPurifiers"
    }

Plugin Version

2.0.0

Homebridge Version

1.6.1

Node.js Version

20.1.0

NPM Version

9.6.4

Operating System

MacOS Ventura 13.4.1

iOS 17

Describe The Bug

My purifiers will not communicate with the home app on iOS 17. Anyone else?

Also, still hoping for support for the vital 200s 🤞

Expected behavior

None

Logs

None

Plugin Config

None

Plugin Version

Latest

Homebridge Version

Latest

Node.js Version

Latedt

NPM Version

Latest

Operating System

Mac

"This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! "

Describe The Bug

[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] 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/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] 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.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://git.io/JtMGR for more info.

Expected behavior

Not getting messages above

Logs

[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] 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/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] 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.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://git.io/JtMGR for more info.
[12/27/2021, 10:00:01 AM] [homebridge-levoit-air-purifier] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://git.io/JtMGR for more info.

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "[email protected]",
"password": "----------",
"platform": "LevoitAirPurifiers"
}

Plugin Version

1.1.6

Homebridge Version

1.3.8

Node.js Version

16.13.1

NPM Version

8.3.0

Operating System

Raspbian GNU/Linux Stretch (9)

Levoit 300S

Describe The Bug

Hi,
sorry for my terrible English,
I updated node.js to version 18 .After upgrading to version 18, the levoit plugin stopped working only on Homekit App.Can you tell me why?My Levoit model is 300S

Expected behavior

Homekit app show me the purifier how Not connected

Logs

03/05/2023, 18:54:00] [Levoit Air Purifiers] Initializing LevoitAirPurifiers platform...
[03/05/2023, 18:54:00] [Levoit Air Purifiers] Loading accessory from cache: Purificatore d’aria
[03/05/2023, 18:54:01] [Levoit Air Purifiers] Connecting to the servers...
[03/05/2023, 18:47:49] [Levoit Air Purifiers] Discovering devices...

Plugin Config

{
"name": "Levoit Air Purifiers",
"email": "xxxxxxx",
"password": "xxxxxx",
"experimentalFeatures": [
"DeviceDisplay"
],
"platform": "LevoitAirPurifiers"

Plugin Version

version 1.30

Homebridge Version

4.50.2

Node.js Version

v18.16.0

NPM Version

\

Operating System

mac OS

Support for latest Core 300 firmware (LAP-C302S-WUSB)

Describe The Bug

Seems there was a firmware update that added a new device type to the 300 family, namely the 302S device type. I noticed in the code only 300S and 301S are supported. I can push a PR that adds in support.

Expected behavior

support for device type 302S

Logs

{}

Plugin Config

{}

Plugin Version

1.2.1

Homebridge Version

1.6.0

Node.js Version

18.13.0

NPM Version

8.19.3

Operating System

Ubuntu Focal Fossa (20.04.5 LTS)

Purifiers stuck "Turning on..." / "Turning off..." in Home app until refresh (300S)

Describe The Bug

Tapping the purifier accessory tile in the Home app gets the tile stuck in the "Turning on..." state (or "Turning off...") until I kill the home app and reopen it or the Home app decides to refresh the state of all accessories. The purifier itself turns on quickly, but the state never updates. The logs show that the SEND COMMAND runs with no errors and the GET DEVICE INFO command runs several minutes later (when I force refresh the app). Is there any way to get it to run GET DEVICE INFO after setting the purifier switch on/off?

Expected behavior

Tapping the purifier tile in the Home app will send the "on/off" command and the Levoit plugin will periodically (within reason to not hit API limits) check the state of the accessory.

Logs

[1/23/2022, 6:36:46 PM] [Levoit Air Purifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Bonus room purifier with ({"enabled":true,"id":0})...
[1/23/2022, 6:39:36 PM] [Levoit Air Purifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...

Plugin Config

 {
            "name": "Levoit Air Purifiers",
            "email": "redacted",
            "password": "redacted",
            "platform": "LevoitAirPurifiers",
            "enableDebugMode": true
        }

Plugin Version

1.1.8

Homebridge Version

1.4.0

Node.js Version

16.13.2

NPM Version

8.1.2

Operating System

docker

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.