Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid humidity mode for LUH-O451S-WUS (Oasismist) #295

Open
EnochPrime opened this issue Feb 13, 2025 · 1 comment · May be fixed by #297
Open

Invalid humidity mode for LUH-O451S-WUS (Oasismist) #295

EnochPrime opened this issue Feb 13, 2025 · 1 comment · May be fixed by #297

Comments

@EnochPrime
Copy link

The humidity mode humidity defined for the LUH-O451S-WUS is invalid.

>>> manager.fans[0].set_humidity_mode('humidity')
2025-02-12 21:42:10,698 - DEBUG - =======call_api=============================
2025-02-12 21:42:10,698 - DEBUG - [post] calling '/cloud/v2/deviceManaged/bypassV2' api
2025-02-12 21:42:10,698 - DEBUG - API call URL: 
  https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2
2025-02-12 21:42:10,698 - DEBUG - API call headers: 
  {
  "Content-Type": "application/json; charset=UTF-8",
  "User-Agent": "okhttp/3.12.1"
}
2025-02-12 21:42:10,698 - DEBUG - API call json: 
  {
  "timeZone": "America/New_York",
  "acceptLanguage": "en",
  "accountID": "##_REDACTED_##",
  "token": "##_REDACTED_##",
  "appVersion": "2.8.6",
  "phoneBrand": "SM N9005",
  "phoneOS": "Android",
  "traceId": "1739414530",
  "method": "bypassV2",
  "debugMode": false,
  "deviceRegion": "US",
  "cid": "##_REDACTED_##",
  "configModule": "WFON_AHM_LUH-A451S-WUS_US",
  "payload": {
    "method": "setHumidityMode",
    "source": "APP",
    "data": {
      "mode": "humidity"
    }
  }
}
2025-02-12 21:42:11,067 - DEBUG - API response: 

  {
  "traceId": "1739414530",
  "code": 0,
  "msg": "request success",
  "module": null,
  "stacktrace": null,
  "result": {
    "traceId": "1739414530",
    "code": 11000000,
    "result": {
      "msg": "Mode value invaild!"
    }
  }
} 
 
True
@EnochPrime EnochPrime changed the title Levoit Oasismist invalid mode Invalid humidity mode for LUH-O451S-WUS (Oasismist) Feb 13, 2025
@EnochPrime
Copy link
Author

Looks like this has come full circle. The mode auto came from #257 and it was suggested to remove humidity which came from #147 which I authored... At the time I was using the customvesync HA integration and don't recall if I tested directly with the python library.

I think we can just remove it now since it shows up as an option when using the core VeSync integration for HA with the recent humidifier support.

@EnochPrime EnochPrime linked a pull request Feb 13, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant