Skip to content

Invalid humidity range for LUH-O451S-WUS (Oasismist) #296

@EnochPrime

Description

@EnochPrime

The module VeSyncHumid200300S used to support LUH-O451S-WUS allows for setting a humidity target between 30-80%, however this model only supports a range on 40-80%.

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

  {
  "traceId": "1739414988",
  "code": 0,
  "msg": "request success",
  "module": null,
  "stacktrace": null,
  "result": {
    "traceId": "1739414988",
    "code": 11003000,
    "result": {
      "msg": "target humidity is out of range"
    }
  }
} 
 
True

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions