pschroeder89 / homebridge-levoit-humidifiers

Levoit Humidifiers Plugin for Apple HomeKit via Homebridge
Apache License 2.0
70 stars 9 forks source link

Can't see OasisMist 600S #67

Closed edlucky1 closed 4 months ago

edlucky1 commented 7 months ago

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

To Reproduce:

Expected behavior: Expected accessories to appear after setup.

Logs:


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

Plugin Config:

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

Screenshots:

Environment:

pschroeder89 commented 7 months ago

Added support for the KUS model in 1.12.2. Let me know if it works for you, thanks!

edlucky1 commented 7 months ago

Appreciate the quick response, but getting a new error...

[1/17/2024, 10:58:34 PM] [Levoit Humidifiers] [DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"US","isOwner":true,"authKey":null,"deviceName":"Bedroom","deviceImg":"https://image.vesync.com/defaultImages/LV_450S_Series/img_lv450_6l_black_240.png","cid":"removed","deviceStatus":"on","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LUH-O601S-KUS","type":"wifi-air","uuid":"removed","configModule":"VS_WFON_AHM_LUH-O601S-KUS_US","macID":"removed","mode":null,"speed":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Jan 17, 2024 1:33:11 AM","subDeviceList":null,"extension":null,"deviceProp":null}]
[1/17/2024, 10:58:34 PM] [Levoit Humidifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[1/17/2024, 10:58:34 PM] [Levoit Humidifiers] [DEBUG]: [DEVICE INFO] {"traceId":"1705550314046","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1705550314046","code":0,"result":{"enabled":true,"mist_virtual_level":9,"mist_level":3,"mode":"auto","water_lacks":false,"water_tank_lifted":false,"humidity":34,"humidity_high":false,"display":true,"warm_enabled":true,"warm_level":2,"automatic_stop_reach_target":false,"configuration":{"auto_target_humidity":50,"display":true,"automatic_stop":true},"extension":{"schedule_count":0,"timer_remain":0}}}}
[1/17/2024, 10:58:34 PM] [Levoit Humidifiers] Adding new accessory: Bedroom
[Bedroom@Humidifier@Target Humidifier-Dehumidifier State] characteristic value 0 is not contained in valid values array
[Bedroom@Humidifier@Current Humidifier-Dehumidifier State] characteristic value 0 is not contained in valid values array
[1/17/2024, 10:58:34 PM] [Levoit Humidifiers] Error for device: Bedroom:removed | characteristic prop validValues cannot be empty array
pschroeder89 commented 7 months ago

Can you try setting values from HomeKit? Sometimes, the values are empty on first load. If you see errors after setting values, I'll take a deeper look

edlucky1 commented 7 months ago

No accessories appear to apply values to. Nothing in the homebridge UI or HomeKit app. I assumed that error kept them from loading?

pschroeder89 commented 7 months ago

Ok I think I found the issue, please try 1.12.3

edlucky1 commented 7 months ago

Accessories are now visible!

Not sure if they are responding as intended. Will provide better feedback on that tomorrow.

edlucky1 commented 7 months ago

The only accessory that works consistently is the humidity sensor and warm mist fan. This is input in HomeKit.

Mist fan, sleep mode switch and display switch have been unresponsive. I have other accessories disabled as I don't believe this model has them.

Input directly at the humidifier for all accessories is not updated in HomeKit.

I would be happy to assist with further testing or logs to help resolve.

pschroeder89 commented 7 months ago

If you could upload logs of using each accessory, that would be great. Do you know how this model (KUS) differs from the WUS model?

Also, changes made in VeSync won't update immediately in HomeKit. Try reopening the accessory to cause it to trigger the updateInfo call.

pschroeder89 commented 6 months ago

@edlucky1 any additional details on this?

edlucky1 commented 5 months ago

Sorry for the delay on this....

I am not aware of the differences between KUS and WUS.

I captured a few logs for review. I can try to get better notes this weekend if nothing stands out.

[2/22/2024, 8:42:18 PM] [Levoit Humidifiers] Setting Power to true
[2/22/2024, 8:42:18 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Bedroom with ({"powerSwitch":1,"id":0})...
[2/22/2024, 8:42:18 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setSwitch to Bedroom with ({"powerSwitch":1,"id":0})! Response: {"traceId":"1708652538450","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652538450","code":11000000}}
[2/22/2024, 8:42:20 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:20 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:20 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652540274","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652540274","code":11000000}}
[2/22/2024, 8:42:20 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:20 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:20 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652540512","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652540512","code":11000000}}
[2/22/2024, 8:42:21 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:21 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:21 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652541086","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652541086","code":11000000}}
[2/22/2024, 8:42:21 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:21 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:21 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652541341","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652541341","code":11000000}}
[2/22/2024, 8:42:21 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:21 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652541846","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652541846","code":11000000}}
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652542108","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652542108","code":11000000}}
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652542365","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652542365","code":11000000}}
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652542629","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652542629","code":11000000}}
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:22 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:23 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652542913","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652542913","code":11000000}}
[2/22/2024, 8:42:23 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:23 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:23 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652543148","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652543148","code":11000000}}
[2/22/2024, 8:42:23 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[2/22/2024, 8:42:23 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})...
[2/22/2024, 8:42:23 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":40,"id":0})! Response: {"traceId":"1708652543400","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652543400","code":11000000}}
[2/22/2024, 8:42:30 PM] [Levoit Humidifiers] Setting Target Humidity to 41
[2/22/2024, 8:42:30 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":41,"id":0})...
[2/22/2024, 8:42:30 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":41,"id":0})! Response: {"traceId":"1708652550407","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652550407","code":11000000}}
[2/22/2024, 8:42:30 PM] [Levoit Humidifiers] Setting Target Humidity to 67
[2/22/2024, 8:42:30 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":67,"id":0})...
[2/22/2024, 8:42:30 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":67,"id":0})! Response: {"traceId":"1708652550661","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652550661","code":11000000}}
[2/22/2024, 8:42:30 PM] [Levoit Humidifiers] Setting Target Humidity to 73
[2/22/2024, 8:42:30 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":73,"id":0})...
[2/22/2024, 8:42:31 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":73,"id":0})! Response: {"traceId":"1708652550927","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652550927","code":11000000}}
[2/22/2024, 8:42:32 PM] [Levoit Humidifiers] Setting Target Humidity to 77
[2/22/2024, 8:42:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":77,"id":0})...
[2/22/2024, 8:42:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":77,"id":0})! Response: {"traceId":"1708652552491","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652552491","code":11000000}}
[2/22/2024, 8:42:32 PM] [Levoit Humidifiers] Setting Target Humidity to 80
[2/22/2024, 8:42:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"targetHumidity":80,"id":0})...
[2/22/2024, 8:42:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"targetHumidity":80,"id":0})! Response: {"traceId":"1708652552720","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652552720","code":11000000}}
[2/22/2024, 8:42:38 PM] [Levoit Humidifiers] Setting Warm Level to 0
[2/22/2024, 8:42:38 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})...
[2/22/2024, 8:42:38 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})! Response: {"traceId":"1708652558502","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652558502","code":0}}
[2/22/2024, 8:42:38 PM] [Levoit Humidifiers] Setting Warm Level to 0
[2/22/2024, 8:42:38 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})...
[2/22/2024, 8:42:39 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})! Response: {"traceId":"1708652558980","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652558980","code":0}}
[2/22/2024, 8:42:40 PM] [Levoit Humidifiers] Setting Warm Level to 0
[2/22/2024, 8:42:40 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})...
[2/22/2024, 8:42:41 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})! Response: {"traceId":"1708652560820","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652560820","code":0}}
[2/22/2024, 8:42:41 PM] [Levoit Humidifiers] Setting Warm Level to 0
[2/22/2024, 8:42:41 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})...
[2/22/2024, 8:42:41 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})! Response: {"traceId":"1708652561301","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652561301","code":0}}
[2/22/2024, 8:42:42 PM] [Levoit Humidifiers] Setting Warm Level to 0
[2/22/2024, 8:42:42 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})...
[2/22/2024, 8:42:42 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})! Response: {"traceId":"1708652562464","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652562464","code":0}}
[2/22/2024, 8:42:42 PM] [Levoit Humidifiers] Setting Warm Level to 0
[2/22/2024, 8:42:42 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})...
[2/22/2024, 8:42:43 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})! Response: {"traceId":"1708652562949","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652562949","code":0}}
[2/22/2024, 8:42:44 PM] [Levoit Humidifiers] Setting Warm Level to 0
[2/22/2024, 8:42:44 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})...
[2/22/2024, 8:42:44 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})! Response: {"traceId":"1708652564214","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652564214","code":0}}
[2/22/2024, 8:42:44 PM] [Levoit Humidifiers] Setting Warm Level to 3
[2/22/2024, 8:42:44 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":3,"type":"warm","id":0})...
[2/22/2024, 8:42:45 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":3,"type":"warm","id":0})! Response: {"traceId":"1708652564718","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652564718","code":0}}
[2/22/2024, 8:42:45 PM] [Levoit Humidifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[2/22/2024, 8:42:45 PM] [Levoit Humidifiers] [DEBUG]: [DEVICE INFO] {"traceId":"1708652565129","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652565129","code":0,"result":{"enabled":true,"mist_virtual_level":9,"mist_level":3,"mode":"auto","water_lacks":false,"water_tank_lifted":false,"humidity":34,"humidity_high":false,"display":true,"warm_enabled":true,"warm_level":3,"automatic_stop_reach_target":false,"configuration":{"auto_target_humidity":50,"display":true,"automatic_stop":true},"extension":{"schedule_count":0,"timer_remain":0}}}}
[2/22/2024, 8:42:45 PM] [Levoit Humidifiers] Setting Warm Level to 2
[2/22/2024, 8:42:45 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":2,"type":"warm","id":0})...
[2/22/2024, 8:42:45 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":2,"type":"warm","id":0})! Response: {"traceId":"1708652565291","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652565291","code":0}}
[2/22/2024, 8:42:51 PM] [Levoit Humidifiers] Setting Warm Level to 2
[2/22/2024, 8:42:51 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":2,"type":"warm","id":0})...
[2/22/2024, 8:42:51 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":2,"type":"warm","id":0})! Response: {"traceId":"1708652571229","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652571229","code":0}}
[2/22/2024, 8:42:51 PM] [Levoit Humidifiers] Setting Warm Level to 3
[2/22/2024, 8:42:51 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":3,"type":"warm","id":0})...
[2/22/2024, 8:42:51 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":3,"type":"warm","id":0})! Response: {"traceId":"1708652571696","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652571696","code":0}}
[2/22/2024, 8:43:00 PM] [Levoit Humidifiers] Setting Power to false
[2/22/2024, 8:43:00 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Bedroom with ({"powerSwitch":0,"id":0})...
[2/22/2024, 8:43:00 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setSwitch to Bedroom with ({"powerSwitch":0,"id":0})! Response: {"traceId":"1708652580631","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652580631","code":11000000}}
[2/22/2024, 8:43:00 PM] [Levoit Humidifiers] Setting Mist Level to 1
[2/22/2024, 8:43:00 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":1,"levelType":"mist","id":0})...
[2/22/2024, 8:43:00 PM] [Levoit Humidifiers] Setting Power to true
[2/22/2024, 8:43:01 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":1,"levelType":"mist","id":0})! Response: {"traceId":"1708652580879","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652580879","code":11000000}}
[2/22/2024, 8:43:01 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Bedroom with ({"powerSwitch":1,"id":0})...
[2/22/2024, 8:43:01 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setSwitch to Bedroom with ({"powerSwitch":1,"id":0})! Response: {"traceId":"1708652581026","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652581026","code":11000000}}
[2/22/2024, 8:43:01 PM] [Levoit Humidifiers] Setting Mist Level to 2
[2/22/2024, 8:43:01 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":2,"levelType":"mist","id":0})...
[2/22/2024, 8:43:01 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":2,"levelType":"mist","id":0})! Response: {"traceId":"1708652581214","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652581214","code":11000000}}
[2/22/2024, 8:43:03 PM] [Levoit Humidifiers] Setting Mist Level to 2
[2/22/2024, 8:43:03 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":2,"levelType":"mist","id":0})...
[2/22/2024, 8:43:03 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":2,"levelType":"mist","id":0})! Response: {"traceId":"1708652583073","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652583073","code":11000000}}
[2/22/2024, 8:43:03 PM] [Levoit Humidifiers] Setting Mist Level to 3
[2/22/2024, 8:43:03 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":3,"levelType":"mist","id":0})...
[2/22/2024, 8:43:03 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":3,"levelType":"mist","id":0})! Response: {"traceId":"1708652583323","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652583323","code":11000000}}
[2/22/2024, 8:43:04 PM] [Levoit Humidifiers] Setting Mist Level to 3
[2/22/2024, 8:43:04 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":3,"levelType":"mist","id":0})...
[2/22/2024, 8:43:04 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":3,"levelType":"mist","id":0})! Response: {"traceId":"1708652584281","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652584281","code":11000000}}
[2/22/2024, 8:43:04 PM] [Levoit Humidifiers] Setting Mist Level to 4
[2/22/2024, 8:43:04 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":4,"levelType":"mist","id":0})...
[2/22/2024, 8:43:04 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":4,"levelType":"mist","id":0})! Response: {"traceId":"1708652584524","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652584524","code":11000000}}
[2/22/2024, 8:43:04 PM] [Levoit Humidifiers] Setting Mist Level to 5
[2/22/2024, 8:43:04 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":5,"levelType":"mist","id":0})...
[2/22/2024, 8:43:05 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":5,"levelType":"mist","id":0})! Response: {"traceId":"1708652584781","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652584781","code":11000000}}
[2/22/2024, 8:43:05 PM] [Levoit Humidifiers] Setting Mist Level to 5
[2/22/2024, 8:43:05 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":5,"levelType":"mist","id":0})...
[2/22/2024, 8:43:05 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":5,"levelType":"mist","id":0})! Response: {"traceId":"1708652585426","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652585426","code":11000000}}
[2/22/2024, 8:43:05 PM] [Levoit Humidifiers] Setting Mist Level to 7
[2/22/2024, 8:43:05 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":7,"levelType":"mist","id":0})...
[2/22/2024, 8:43:05 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":7,"levelType":"mist","id":0})! Response: {"traceId":"1708652585669","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652585669","code":11000000}}
[2/22/2024, 8:43:06 PM] [Levoit Humidifiers] Setting Mist Level to 7
[2/22/2024, 8:43:06 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":7,"levelType":"mist","id":0})...
[2/22/2024, 8:43:07 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":7,"levelType":"mist","id":0})! Response: {"traceId":"1708652586918","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652586918","code":11000000}}
[2/22/2024, 8:43:07 PM] [Levoit Humidifiers] Setting Mist Level to 9
[2/22/2024, 8:43:07 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":9,"levelType":"mist","id":0})...
[2/22/2024, 8:43:07 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":9,"levelType":"mist","id":0})! Response: {"traceId":"1708652587236","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652587236","code":11000000}}
[2/22/2024, 8:43:13 PM] [Levoit Humidifiers] Setting Display to true
[2/22/2024, 8:43:13 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setDisplay to Bedroom with ({"screenSwitch":1,"id":0})...
[2/22/2024, 8:43:13 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setDisplay to Bedroom with ({"screenSwitch":1,"id":0})! Response: {"traceId":"1708652593291","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652593291","code":11000000}}
[2/22/2024, 8:43:21 PM] [Levoit Humidifiers] Changing Mode to sleep
[2/22/2024, 8:43:21 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setHumidityMode to Bedroom with ({"workMode":"sleep"})...
[2/22/2024, 8:43:21 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setHumidityMode to Bedroom with ({"workMode":"sleep"})! Response: {"traceId":"1708652601066","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652601066","code":11000000}}
[2/22/2024, 8:43:28 PM] [Levoit Humidifiers] Changing Mode to humidity
[2/22/2024, 8:43:28 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setHumidityMode to Bedroom with ({"workMode":"humidity"})...
[2/22/2024, 8:43:29 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setHumidityMode to Bedroom with ({"workMode":"humidity"})! Response: {"traceId":"1708652608999","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652608999","code":11000000}}
[2/22/2024, 8:43:30 PM] [Levoit Humidifiers] Setting Display to false
[2/22/2024, 8:43:30 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setDisplay to Bedroom with ({"screenSwitch":0,"id":0})...
[2/22/2024, 8:43:30 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setDisplay to Bedroom with ({"screenSwitch":0,"id":0})! Response: {"traceId":"1708652610288","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652610288","code":11000000}}
[2/22/2024, 8:43:31 PM] [Levoit Humidifiers] Setting Mist Level to 9
[2/22/2024, 8:43:31 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":9,"levelType":"mist","id":0})...
[2/22/2024, 8:43:31 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":9,"levelType":"mist","id":0})! Response: {"traceId":"1708652611595","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652611595","code":11000000}}
[2/22/2024, 8:43:31 PM] [Levoit Humidifiers] Setting Mist Level to 4
[2/22/2024, 8:43:31 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":4,"levelType":"mist","id":0})...
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":4,"levelType":"mist","id":0})! Response: {"traceId":"1708652611848","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652611848","code":11000000}}
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] Setting Mist Level to 1
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":1,"levelType":"mist","id":0})...
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":1,"levelType":"mist","id":0})! Response: {"traceId":"1708652612092","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652612092","code":11000000}}
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] Setting Mist Level to 1
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"virtualLevel":1,"levelType":"mist","id":0})...
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"virtualLevel":1,"levelType":"mist","id":0})! Response: {"traceId":"1708652612532","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652612532","code":11000000}}
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] Setting Power to false
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Bedroom with ({"powerSwitch":0,"id":0})...
[2/22/2024, 8:43:32 PM] [Levoit Humidifiers] Setting Power to false
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setSwitch to Bedroom with ({"powerSwitch":0,"id":0})! Response: {"traceId":"1708652612800","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652612800","code":11000000}}
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Bedroom with ({"powerSwitch":0,"id":0})...
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setSwitch to Bedroom with ({"powerSwitch":0,"id":0})! Response: {"traceId":"1708652614103","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652614103","code":11000000}}
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] Setting Warm Level to 3
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":3,"type":"warm","id":0})...
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":3,"type":"warm","id":0})! Response: {"traceId":"1708652614291","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652614291","code":0}}
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] Setting Warm Level to 1
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":1,"type":"warm","id":0})...
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":1,"type":"warm","id":0})! Response: {"traceId":"1708652614522","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652614522","code":0}}
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] Setting Warm Level to 0
[2/22/2024, 8:43:34 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})...
[2/22/2024, 8:43:35 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLevel to Bedroom with ({"level":0,"type":"warm","id":0})! Response: {"traceId":"1708652614981","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652614981","code":0}}
[2/22/2024, 8:43:35 PM] [Levoit Humidifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[2/22/2024, 8:43:35 PM] [Levoit Humidifiers] [DEBUG]: [DEVICE INFO] {"traceId":"1708652615203","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652615203","code":0,"result":{"enabled":true,"mist_virtual_level":9,"mist_level":3,"mode":"auto","water_lacks":false,"water_tank_lifted":false,"humidity":35,"humidity_high":false,"display":true,"warm_enabled":false,"warm_level":0,"automatic_stop_reach_target":false,"configuration":{"auto_target_humidity":50,"display":true,"automatic_stop":true},"extension":{"schedule_count":0,"timer_remain":0}}}}
[2/22/2024, 8:43:37 PM] [Levoit Humidifiers] Setting Power to false
[2/22/2024, 8:43:37 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Bedroom with ({"powerSwitch":0,"id":0})...
[2/22/2024, 8:43:37 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setSwitch to Bedroom with ({"powerSwitch":0,"id":0})! Response: {"traceId":"1708652617310","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1708652617310","code":11000000}}
pschroeder89 commented 5 months ago

Let me know if homebridge-levoit-humidifiers@1.14.0-dev1 works better for you

edlucky1 commented 5 months ago

Quick run through and this version seems much better. A few possible quirks that I'll get some logs on, but overall major improvement.

edlucky1 commented 5 months ago

Findings from dev version:

Humidity Level

Slider worked as intended, setting humidity level between 40-80%. Repo states any values outside of this range will set to closest value in range, this was the observed behavior.

Slider input does not change manual/auto/sleep mode.

[3/10/2024, 2:51:38 PM] [Levoit Humidifiers] Setting Target Humidity to 40
[3/10/2024, 2:51:38 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setTargetHumidity to Bedroom with ({"target_humidity":40,"id":0})...
[3/10/2024, 2:51:38 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setTargetHumidity to Bedroom with ({"target_humidity":40,"id":0})! Response: {"traceId":"","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"","code":0}}

Humidify/Off

Input turns unit on/off. Lag when unit changed using app, but eventually updates per your instructions above. Input does not change manual/auto/sleep mode.

[3/10/2024, 2:51:21 PM] [Levoit Humidifiers] Setting Power to true
[3/10/2024, 2:51:21 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setSwitch to Bedroom with ({"enabled":true,"id":0})...
[3/10/2024, 2:51:22 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setSwitch to Bedroom with ({"enabled":true,"id":0})! Response: {"traceId":"","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"","code":0}}

Mist Level

Does not change unit to manual mode and cannot change level while on auto mode. Will need to try again in manual mode.

[3/10/2024, 2:54:36 PM] [Levoit Humidifiers] Setting Mist Level to 2
[3/10/2024, 2:54:36 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setVirtualLevel to Bedroom with ({"level":2,"type":"mist","id":0})...
[3/10/2024, 2:54:36 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setVirtualLevel to Bedroom with ({"level":2,"type":"mist","id":0})! Response: {"traceId":"","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"","code":11022000,"result":{"msg":"Humidifier auto mode,can not adjust mist level"}}}

Warm Mist Level

Worked as expected.

Sleep Mode

Sets unit to sleep mode, but does not set unit to auto mode.

[3/10/2024, 2:56:27 PM] [Levoit Humidifiers] Changing Mode to sleep
[3/10/2024, 2:56:27 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setHumidityMode to Bedroom with ({"mode":"sleep"})...
[3/10/2024, 2:56:27 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setHumidityMode to Bedroom with ({"mode":"sleep"})! Response: {"traceId":"","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"","code":0}}

[3/10/2024, 2:56:49 PM] [Levoit Humidifiers] Changing Mode to autoPro
[3/10/2024, 2:56:49 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setHumidityMode to Bedroom with ({"mode":"autoPro"})...
[3/10/2024, 2:56:50 PM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setHumidityMode to Bedroom with ({"mode":"autoPro"})! Response: {"traceId":"","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"","code":11000000,"result":{"msg":"Mode value invaild!"}}}

Display Mode

Toggles display as expected.

pschroeder89 commented 5 months ago

Thanks for the detailed logs! I found the main culprit for most of those issues, and it's been published as 1.14.0-dev2. As for cool mist mode not switching to manual, does this model support changing the mist while in auto mode?

With other models that support Warm Mode, they support changing the mist levels while being in auto mode, so I intentionally don't switch "warm mode models" to Manual when the Cool Mist slider is changed. If that's different for this model, I can update it.

edlucky1 commented 4 months ago

This version has been working great!

This model does not support mist level while in auto.

I recommend closing this issue when it gets pulled into the main branch.

Thank you!

edlucky1 commented 4 months ago

Is the mist fan optional? I was thinking about turning it off, but still shows in Home App with this option unchecked:

image

Or is it because this is a Dev branch that may have some quirks?

pschroeder89 commented 4 months ago

I think you might need to clear cached devices in Homebridge. If that doesn’t work, I’ll investigate

Sent from my iPhone

On Mon, Apr 8, 2024 at 7:55 PM edlucky1 @.***> wrote:

Is the mist fan optional? I was thinking about turning it off, but still shows in Home App with this option unchecked:

image.png (view on web) https://github.com/pschroeder89/homebridge-levoit-humidifiers/assets/76714493/ebcc2a53-1d2a-45a9-87ee-0a489ea333b1

Or is it because this is a Dev branch that may have some quirks?

— Reply to this email directly, view it on GitHub https://github.com/pschroeder89/homebridge-levoit-humidifiers/issues/67#issuecomment-2043947813, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSDKRCGHT6WN3PIHHOTLVLY4M373AVCNFSM6AAAAABB55GCCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTHE2DOOBRGM . You are receiving this because you modified the open/close state.Message ID: <pschroeder89/homebridge-levoit-humidifiers/issues/67/2043947813@ github.com>

edlucky1 commented 4 months ago

Clearing cache for that accessory didn't work.

pschroeder89 commented 4 months ago

Interesting. Can you post your config (hide your credentials, please)? And also try rebooting Homebridge?

The logic is: If the mist accessory is set to true in the config, it will show in the UI, otherwise it should be removed from the UI. I can't see why it wouldn't be working as expected.

I'll be back to my computer on Thursday. If we haven't resolved it by then, I might ask you to share your humidifier in the VeSync app to my account so I can debug further, if you'd be ok with that.

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

It feels like the system is fighting itself. I see 3 device from Room view, when I click on Humidifier it goes to 4 devices (showing the mist level).

Pic 1: image

Pic 2: image

Pic 3: image

pschroeder89 commented 4 months ago

Definitely seems like a Homebridge cache issue then. Maybe delete the humidifier bridge and re-add it?

edlucky1 commented 4 months ago

I have removed cached accessory, restarted homebridge, stopped and started my homebridge instance, removed the bridge and re-added it. No luck, still doing the same as above.

pschroeder89 commented 4 months ago

Ok found the bug that was causing the mist accessory not to be removed. It should work in 1.14.0 (tested it myself a few times). I also added logic to change to Manual mode when selecting a Mist level during Sleep mode (this is the behavior for non-warm mode models). Closing this ticket, but please re-open if these things don't work in the latest version.

edlucky1 commented 4 months ago

Everything is working well, thanks! 👍🏻