Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: webdjoe/pyvesync

Tags

3.4.1

Toggle 3.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Add LEH-S602S-WUS model alternate (#496)

Thank you for the lib allowing us to manage our levoit devices in home
assistant !

The levoit 6000s I received in Canada wasn't working when using the test
script as it wasn't matching current mapping list. I updated it and
re-ran the test script and can now see the informations:

```
Caller: VeSyncSuperior6000S.call_bypassv2_api [devices.vesynchumidifier]
API CALL to endpoint: /cloud/v2/deviceManaged/bypassV2
Host: smartapi.vesync.com
Full URL: https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2
Response Status: 200
Method: POST
---------------Request-----------------
Request Headers: 
 {
  "Content-Type": "application/json; charset=UTF-8",
  "User-Agent": "okhttp/3.12.1"
}
Request Body: 
 {
  "acceptLanguage": "en",
  "accountID": "##_REDACTED_##",
  "appVersion": "5.6.60",
  "cid": "##_REDACTED_##",
  "configModule": "VS_WFON_AHM_LEH-S602S-WUS_US",
  "debugMode": false,
  "method": "bypassV2",
  "phoneBrand": "pyvesync",
  "phoneOS": "Android",
  "traceId": "1767886110",
  "timeZone": "America/New_York",
  "token": "##_REDACTED_##",
  "userCountryCode": "CA",
  "deviceId": "vsaq2a123d34875ac14f97a24f06c8c3",
  "configModel": "VS_WFON_AHM_LEH-S602S-WUS_US",
  "payload": {
    "data": {},
    "method": "getHumidifierStatus",
    "source": "APP"
  }
}
---------------Response-----------------
Response Headers: 
 {
  "Date": "Thu, 08 Jan 2026 15:28:31 GMT",
  "Content-Type": "application/json;charset=UTF-8",
  "Transfer-Encoding": "chunked",
  "Connection": "keep-alive",
  "Content-Encoding": "gzip"
}
Response Body: 
 {
  "traceId": "1767886110",
  "code": 0,
  "msg": "request success",
  "module": null,
  "stacktrace": null,
  "result": {
    "traceId": "1767886110",
    "code": 0,
    "result": {
      "powerSwitch": 1,
      "humidity": 50,
      "targetHumidity": 50,
      "virtualLevel": 9,
      "mistLevel": 3,
      "workMode": "humidity",
      "waterLacksState": 0,
      "waterTankLifted": 0,
      "autoStopSwitch": 1,
      "autoStopState": 1,
      "screenSwitch": 1,
      "screenState": 1,
      "scheduleCount": 0,
      "timerRemain": 0,
      "errorCode": 0,
      "totalWorkTime": 57360,
      "autoPreference": 1,
      "childLockSwitch": 0,
      "filterLifePercent": 100,
      "temperature": 629,
      "maxLevelNotify": 0,
      "waterShortageDryingSwitch": 1,
      "humidityPreference": 1,
      "dryingMode": {
        "dryingLevel": 2,
        "autoDryingSwitch": 1,
        "dryingState": 2,
        "dryingRemain": 7200
      },
      "isSupportSensor": 1,
      "sensorContent": {
        "sensorStatus": "noDevices"
      },
      "lastDryingCompletedTime": 1767816954,
      "afterDryLastHumidityTime": 1767833536
    }
  }
}
2026-01-08 10:28:31 - DEBUG - pyvesync.devices.vesynchumidifier - Superior 6000S for LEH-S602S-WUS API from get_details returned code: 0, message: Success
Random await finished
Device list pulled successfully.
2026-01-08 10:28:32 - DEBUG - pyvesync.vesync - Closing session, exiting context manager
2026-01-08 10:28:32 - DEBUG - pyvesync.vesync - Closing session, exiting context manager
```

---------

Co-authored-by: Joe Trabulsy <[email protected]>

3.4.0

Toggle 3.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: WHOGPLUG power switch #476 (#494)

3.3.3

Toggle 3.3.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge branch 'master' into dev

3.3.2

Toggle 3.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge branch 'master' into dev

3.2.2

Toggle 3.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: pre-commit autoupdate (#447)

<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.3 →
v0.14.4](astral-sh/ruff-pre-commit@v0.14.3...v0.14.4)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

3.2.1

Toggle 3.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add pedestal fan, auto release, device fixes (#442)

Number of bug fixes and device features, including:
- Fix greensun outlet
- Fix 6000s display state
- Remove 131s child lock
- Add Pedestal Fan
- Add doc github actions and auto release

3.1.4

Toggle 3.1.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Multiple models outlet support and logging logic (#425)

- Fix Core purifiers data model bug
- Fix ESW03-USA and ESW01-USA device support
- Documentation and Usage Improvements
- Added contributing documentation with details on device captures
- Clean up logging logic for the library to not change the loggers.
Debug logging must now be enabled outside of the library.
- Fix smart tower fan levels
- Removed duplicate mode for 6000s
- Fix support for WHOPLUG and BSDOG01/02 outlets

3.1.2

Toggle 3.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Token re-authentication and night light model bug (#409)

* fix: data types

* Fix tests

* Add re-authentication logic for expired tokens

* Add Tests

---------

Co-authored-by: cdnninja <[email protected]>

3.1.1

Toggle 3.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #406 from webdjoe/dev

fix: Version Bump

3.1.0

Toggle 3.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #383 from webdjoe/dev

chore: Fix pre-commit configuration