Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Dual 200S humidifier nightlight does not seem to be working #81

Closed
Valdorama opened this issue Jan 30, 2023 · 9 comments · Fixed by #82
Closed

Dual 200S humidifier nightlight does not seem to be working #81

Valdorama opened this issue Jan 30, 2023 · 9 comments · Fixed by #82
Labels
bug Something isn't working

Comments

@Valdorama
Copy link

The problem

I recently purchased the Dual 200S humidifier and after registering it with the VeSync app on my phone, it is correctly picked up by the integration after restarting HA. Various entities are created for it and the basic controls (on/off) appear to be working.

A light entity is also created for the nightlight but it doesn't seem to work. The status is unknown:

image

Turning it on or off does not seem to work. I enabled debug logging for the integration but don't see anything in the logs.

What version of this integration has the issue?

2.5.0

What version of Home Assistant Core has the issue?

2023.1.7

Diagnostics

Diagnostics
{
        "device_name": "Kids Humidifier",
        "device_image": "https://image.vesync.com/defaultImages/deviceDefaultImages/wfon_ahm_luh-d301s-wusr_us_240.png",
        "cid": "**REDACTED**",
        "connection_status": "online",
        "connection_type": "WiFi+BTOnboarding+BTNotify",
        "device_type": "LUH-D301S-WUSR",
        "type": "wifi-air",
        "uuid": "**REDACTED**",
        "config_module": "WFON_AHM_LUH-D301S-WUSR_US",
        "mac_id": "**REDACTED**",
        "mode": null,
        "speed": null,
        "extension": null,
        "current_firm_version": null,
        "sub_device_no": null,
        "config": {
          "auto_target_humidity": 45,
          "display": true,
          "automatic_stop": true
        },
        "device_status": "off",
        "enabled": false,
        "config_dict": {
          "module": "VeSyncHumid200300S",
          "models": [
            "Dual200S",
            "LUH-D301S-WUSR",
            "LUH-D301S-WJP",
            "LUH-D301S-WEU"
          ],
          "features": [],
          "mist_modes": [
            "auto",
            "manual"
          ],
          "mist_levels": [
            1,
            2
          ]
        },
        "mist_levels": [
          1,
          2
        ],
        "mist_modes": [
          "auto",
          "manual"
        ],
        "features": [],
        "warm_mist_feature": false,
        "warm_mist_levels": [],
        "night_light": false,
        "details": {
          "humidity": 47,
          "mist_virtual_level": 1,
          "mist_level": 1,
          "mode": "manual",
          "water_lacks": true,
          "humidity_high": false,
          "water_tank_lifted": false,
          "display": false,
          "automatic_stop_reach_target": false
        },
        "_api_modes": [
          "getHumidifierStatus",
          "setAutomaticStop",
          "setSwitch",
          "setNightLightBrightness",
          "setVirtualLevel",
          "setTargetHumidity",
          "setHumidityMode",
          "setDisplay",
          "setLevel"
        ]
      }

Home Assistant log

Logs
Copy/paste any log here, between the starting and ending backticks.

Additional information

No response

@Valdorama Valdorama added the bug Something isn't working label Jan 30, 2023
@vlebourl
Copy link
Owner

vlebourl commented Feb 1, 2023

Hi,
Thanks for your report. The diagnostics show "night_light": false which means to my understanding that night light is not supported. I improved the code to prevent such an entity to appear if the underlying functionality isn't supported.
This will be soon pushed to a new version. In the meantime, you can deactivate the entity to prevent it from appearing in your HA.
Cheers

@Valdorama
Copy link
Author

Thanks for looking into this. Sorry for commenting on a closed issue - I see that the PyVesync project seems to have support for the night light (brightness). On the Dual200S model the night light is actually colour-changing so it could be perfect as a full colour-capable light entity. Would I need to raise an issue on that project to hopefully add full support for the night light?

@vlebourl
Copy link
Owner

vlebourl commented Feb 2, 2023

On the Dual200S model the night light is actually colour-changing

Strange! I have a Dual 200S at home as well, but no night light here... can you post a screenshot of the vesync app with the night light?
Cheers

@vlebourl
Copy link
Owner

vlebourl commented Feb 2, 2023

mine is actually a LUH-D301S-WEU rather than LUH-D301S-WUSR. Maybe they have differences?

@Valdorama
Copy link
Author

Yeah it could be a very new feature. The product page had no mention of it when I ordered it so it was a total surprise. Here's the screenshot:

Screenshot_20230202-084141

@vlebourl
Copy link
Owner

vlebourl commented Feb 2, 2023

nice ! how do you access it? sliding up from the main screen?

@vlebourl
Copy link
Owner

vlebourl commented Feb 2, 2023

I can try to add the color mode. But I would need access to your device to test it all as mine doesn't have it. If you don't mind sharing it, can you send an invite at vlebourl+vesync -at- gmail.com, and let me know when it's possible to fiddle with it.
I'm not gonna be able to have a look before next wednesday though.
Cheers

@Valdorama
Copy link
Author

It's on the main page for the humidifier, directly underneath the big circle that shows the current humidity level.

@Valdorama
Copy link
Author

Sure I can do that. Let me know next week when you're free and I can share the device.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants