vlebourl / custom_vesync

Custom VeSync component for Home Assistant
96 stars 60 forks source link

Add support for LV600S Smart Hybrid Ultrasonic Humidifier.. #86

Closed zwizard closed 1 year ago

zwizard commented 1 year ago

Home Assistant log

Logs ``` Copy/paste any log here, between the starting and ending backticks. The first log line must start with "Found the following devices:". ```

Additional information

Would like to turn on sleep mode. It's not just the night light.

Diagnostics

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.2.5",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "America/Chicago",
    "os_name": "Linux",
    "os_version": "5.15.90",
    "supervisor": "2023.01.1",
    "host_os": "Home Assistant OS 9.5",
    "docker_version": "20.10.22",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "hyperhdr": {
      "version": "0.0.6",
      "requirements": [
        "hyperhdr-py==0.0.3"
      ]
    },
    "vesync": {
      "version": "0.2.5",
      "requirements": [
        "pyvesync==2.1.1"
      ]
    },
    "spotcast": {
      "version": "v3.6.30",
      "requirements": []
    },
    "hacs": {
      "version": "1.30.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "vesync",
    "name": "VeSync",
    "documentation": "https://www.home-assistant.io/integrations/vesync",
    "codeowners": [
      "@markperdue",
      "@webdjoe",
      "@thegardenmonkey",
      "@vlebourl"
    ],
    "requirements": [
      "pyvesync==2.1.1"
    ],
    "config_flow": true,
    "iot_class": "cloud_polling",
    "version": "0.2.5",
    "issue_tracker": "https://github.com/vlebourl/custom_vesync",
    "dhcp": [
      {
        "hostname": "levoit-*",
        "macaddress": "*"
      }
    ],
    "is_built_in": false
  },
  "data": {
    "humidifier": [
      {
        "device_name": "Humidifier ",
        "device_image": "https://image.vesync.com/defaultImages/deviceDefaultImages/wfon_ahm_luh-a602s-wus_us_240.png",
        "cid": "**REDACTED**",
        "connection_status": "online",
        "connection_type": "WiFi+BTOnboarding+BTNotify",
        "device_type": "LUH-A602S-WUS",
        "type": "wifi-air",
        "uuid": "**REDACTED**",
        "config_module": "WFON_AHM_LUH-A602S-WUS_US",
        "mac_id": "**REDACTED**",
        "mode": null,
        "speed": null,
        "extension": null,
        "current_firm_version": null,
        "sub_device_no": null,
        "config": {
          "auto_target_humidity": 65,
          "display": true,
          "automatic_stop": true
        },
        "device_status": "on",
        "enabled": false,
        "config_dict": {
          "module": "VeSyncHumid200300S",
          "models": [
            "LUH-A602S-WUSR",
            "LUH-A602S-WUS",
            "LUH-A602S-WEUR",
            "LUH-A602S-WEU",
            "LUH-A602S-WJP"
          ],
          "features": [
            "warm_mist",
            "nightlight"
          ],
          "mist_modes": [
            "humidity",
            "sleep",
            "manual"
          ],
          "mist_levels": [
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8,
            9
          ],
          "warm_mist_levels": [
            0,
            1,
            2,
            3
          ]
        },
        "mist_levels": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "mist_modes": [
          "humidity",
          "sleep",
          "manual"
        ],
        "features": [
          "warm_mist",
          "nightlight"
        ],
        "warm_mist_levels": [
          0,
          1,
          2,
          3
        ],
        "warm_mist_feature": true,
        "night_light": true,
        "details": {
          "humidity": 42,
          "mist_virtual_level": 9,
          "mist_level": 3,
          "mode": "humidity",
          "water_lacks": false,
          "humidity_high": false,
          "water_tank_lifted": false,
          "display": false,
          "automatic_stop_reach_target": true,
          "night_light_brightness": 0,
          "warm_mist_level": 0,
          "warm_mist_enabled": false
        },
        "_api_modes": [
          "getHumidifierStatus",
          "setAutomaticStop",
          "setSwitch",
          "setNightLightBrightness",
          "setVirtualLevel",
          "setTargetHumidity",
          "setHumidityMode",
          "setDisplay",
          "setLevel"
        ]
      }
    ]
  }
}
vlebourl commented 1 year ago

Hi, Thanks for your interest. Could you please add your device's diagnostics. Cheers

V.

zwizard commented 1 year ago

config_entry-vesync-417f63e03fb89fd458cac40879266148.json.txt

vlebourl commented 1 year ago

Thanks, Your device should already be supported. Without more information I can't figure out why it's not. Could you activate debug logs (see here) and report any relevant message? Cheers

zwizard commented 1 year ago

I can do some things. Like turn it on and off but I can activate it's "sleep" mode which turns off the display and adjusts the mist level for quieter operation.

On Mon, Feb 27, 2023 at 4:52 AM Vincent Le Bourlot @.***> wrote:

Thanks, Your device should already be supported. Without more information I can't figure out why it's not. Could you activate debug logs (see here https://github.com/vlebourl/custom_vesync#enable-debug-logging) and report any relevant message? Cheers

— Reply to this email directly, view it on GitHub https://github.com/vlebourl/custom_vesync/issues/86#issuecomment-1446106566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZBKTKT2IY5USWQHPFI7PDWZSBQHANCNFSM6AAAAAAVBHX324 . You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 1 year ago

'There hasn't been any activity on this issue recently. Is this issue still present? Please make sure to update to the latest Home Assistant version and version of this integration to see if that solves the issue. Let us know if that works for you by adding a comment 👍. This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.'

vlebourl commented 1 year ago

keep open

zwizard commented 1 year ago

Yes I always stay up to date on the latest version. I am still in the same situation. I can turn the unit on and off but cannot put it in night time mode.

On Wed, Mar 8, 2023 at 1:18 AM Vincent Le Bourlot @.***> wrote:

keep open

— Reply to this email directly, view it on GitHub https://github.com/vlebourl/custom_vesync/issues/86#issuecomment-1459650111, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZBKTK3WLZJJDB5WL3MLELW3AXERANCNFSM6AAAAAAVBHX324 . You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 1 year ago

'There hasn't been any activity on this issue recently. Is this issue still present? Please make sure to update to the latest Home Assistant version and version of this integration to see if that solves the issue. Let us know if that works for you by adding a comment 👍. This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.'

vlebourl commented 1 year ago

I'm sorry, I don't have any time to work on this at the momen... feel free to submit a PR, i'll try to have a look!