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

Devices dont't report Information correctly, or very slowly #172

Open
mjiines opened this issue Oct 16, 2023 · 2 comments
Open

Devices dont't report Information correctly, or very slowly #172

mjiines opened this issue Oct 16, 2023 · 2 comments
Labels
bug Something isn't working no-issue-activity wontfix This will not be worked on

Comments

@mjiines
Copy link

mjiines commented Oct 16, 2023

The problem

Since around two weeks my air purifier doesn't show its actual speed, or other settings correctly. Its just 25% for days on end. Even though i turn it on and off manually. This not only interferes with my automations that have this as conditions, but also makes it hard to figure out if it is actually running or not. (Have to open Vesync App on Phone when on to go).

The Device does respond to commands though. It just displays incorrectly and reverts back to 25% no matter what was just set.

Also, i have a Humidifier. (That was added to pyvesync recently) which is "a little slow" in updating the values it displays. Unlike the Purifier however, its values are actually true and update "when slowly". Some Buttons don't seem to work at all however, like Mode Switch (Auto/Manual).

This seems rather strange, i don't know if this is a HA problem or this caused by this integration, because when i send commands to the devices manually from the Command Line with pyvesync (and fetch info) it seems to be working.

Also i don't know if this could be caused by some tinkering with pyveync. (I forked it and added that as a Dependency to custom_vesync (When i tried adding my humidifier, which was adopted in the main pyvesync later)), but that should be solved when i update the repo right?.

Maybe there is some easy explanation for this, but so far i didn't find a solution.

What version of this integration has the issue?

v1.2.0

What version of Home Assistant Core has the issue?

2023.10.3

Diagnostics

Diagnostics
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.10.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.5",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.1.56",
    "supervisor": "2023.10.0",
    "host_os": "Home Assistant OS 11.0",
    "docker_version": "24.0.6",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "vesync": {
      "version": "1.1.0",
      "requirements": [
        "pyvesync==2.1.10"
      ]
    }
  },
  "integration_manifest": {
    "domain": "vesync",
    "name": "VeSync",
    "codeowners": [
      "@markperdue",
      "@webdjoe",
      "@thegardenmonkey",
      "@vlebourl"
    ],
    "config_flow": true,
    "dhcp": [
      {
        "hostname": "levoit-*",
        "macaddress": "*"
      }
    ],
    "documentation": "https://www.home-assistant.io/integrations/vesync",
    "iot_class": "cloud_polling",
    "issue_tracker": "https://github.com/vlebourl/custom_vesync",
    "requirements": [
      "pyvesync==2.1.10"
    ],
    "version": "1.1.0",
    "is_built_in": false
  },
  "data": {
    "humidifier": [
      {
        "device_name": "OASISMIST",
        "device_image": "https://image.vesync.com/defaultImages/deviceDefaultImages/wfon_ahm_luh-a451s-weu_eu_240.png",
        "cid": "**REDACTED**",
        "connection_status": "online",
        "connection_type": "WiFi+BTOnboarding+BTNotify",
        "device_type": "LUH-O451S-WEU",
        "type": "wifi-air",
        "uuid": "**REDACTED**",
        "config_module": "WFON_AHM_LUH-A451S-WEU_EU",
        "mac_id": "**REDACTED**",
        "mode": null,
        "speed": null,
        "extension": null,
        "current_firm_version": null,
        "device_region": "EU",
        "pid": null,
        "sub_device_no": null,
        "config": {
          "auto_target_humidity": 60,
          "display": false,
          "automatic_stop": true
        },
        "device_status": "on",
        "enabled": true,
        "config_dict": {
          "module": "VeSyncHumid200300S",
          "models": [
            "LUH-O451S-WUS",
            "LUH-O451S-WEU"
          ],
          "features": [
            "warm_mist"
          ],
          "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"
        ],
        "warm_mist_levels": [
          0,
          1,
          2,
          3
        ],
        "warm_mist_feature": true,
        "night_light": false,
        "details": {
          "humidity": 59,
          "mist_virtual_level": 1,
          "mist_level": 1,
          "mode": "auto",
          "water_lacks": false,
          "humidity_high": false,
          "water_tank_lifted": false,
          "display": false,
          "automatic_stop_reach_target": true,
          "warm_mist_level": 0,
          "warm_mist_enabled": false
        },
        "_api_modes": [
          "getHumidifierStatus",
          "setAutomaticStop",
          "setSwitch",
          "setNightLightBrightness",
          "setVirtualLevel",
          "setTargetHumidity",
          "setHumidityMode",
          "setDisplay",
          "setLevel"
        ]
      }
    ],
    "fans": [
      {
        "device_name": "Core400s",
        "device_image": "https://image.vesync.com/defaultImages/deviceDefaultImages/wifibtonboardingnotify_airpurifier_core400s_eu_240.png",
        "cid": "**REDACTED**",
        "connection_status": "online",
        "connection_type": "WiFi+BTOnboarding+BTNotify",
        "device_type": "Core400S",
        "type": "wifi-air",
        "uuid": "**REDACTED**",
        "config_module": "WiFiBTOnboardingNotify_AirPurifier_Core400S_EU",
        "mac_id": "**REDACTED**",
        "mode": "manual",
        "speed": 1,
        "extension": {
          "airQuality": -1,
          "airQualityLevel": 1,
          "mode": "manual",
          "fanSpeedLevel": "1"
        },
        "current_firm_version": null,
        "device_region": "EU",
        "pid": null,
        "sub_device_no": null,
        "config": {
          "display": true,
          "display_forever": true
        },
        "device_status": "on",
        "enabled": true,
        "config_dict": {
          "module": "VeSyncAirBypass",
          "models": [
            "Core400S",
            "LAP-C401S-WJP",
            "LAP-C401S-WUSR",
            "LAP-C401S-WAAA"
          ],
          "modes": [
            "sleep",
            "off",
            "auto",
            "manual"
          ],
          "features": [
            "air_quality"
          ],
          "levels": [
            1,
            2,
            3,
            4
          ]
        },
        "features": [
          "air_quality"
        ],
        "modes": [
          "sleep",
          "off",
          "auto",
          "manual"
        ],
        "air_quality_feature": true,
        "details": {
          "filter_life": 49,
          "mode": "manual",
          "level": 0,
          "display": true,
          "child_lock": false,
          "night_light": "off",
          "air_quality": 1,
          "display_forever": false,
          "air_quality_value": 3
        },
        "timer": null
      }
    ]
  }
}

Home Assistant log

Logs

Additional information

The Version Number in the manifest.json doesn't increment correctly after v1.1.0. So while it reads v1.1.0 it is actually v.1.2.0.

Tried on v1.0.2 - v1.2.0, HA Version 2023.09.X - 2023.10.3

@mjiines mjiines added the bug Something isn't working label Oct 16, 2023
@vlebourl vlebourl added the wontfix This will not be worked on label Oct 18, 2023
@vlebourl
Copy link
Owner

Unfortunately, I no longer have time to maintain this repo. I am therefore looking for someone to take it over before archiving it.

Copy link
Contributor

'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.'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working no-issue-activity wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants