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

Request support for Zigbee Water leak sensor - onenuo 898wz #1912

Closed
dimasibs92 opened this issue May 12, 2024 · 1 comment
Closed

Request support for Zigbee Water leak sensor - onenuo 898wz #1912

dimasibs92 opened this issue May 12, 2024 · 1 comment

Comments

@dimasibs92
Copy link

dimasibs92 commented May 12, 2024

Log Message

2024-05-12 21:57:44.540 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches pir_sensor with quality of 100%. DPS: {"updated_at": 1715525857.8740737, "1": "normal", "4": 100}
2024-05-12 21:57:44.540 WARNING (MainThread) [custom_components.tuya_local.config_flow] Report this to https://github.com/make-all/tuya-local/issues/

Information about DPS mappings

{
  "result": {
    "model": "{\"modelId\":\"000003e0m2\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":1,\"accessMode\":\"ro\",\"code\":\"watersensor_state\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-a_water\",\"attribute\":\"768\",\"trigger\":\"direct\"},\"name\":\"水浸检测状态\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"alarm\",\"normal\"]}},
{\"abilityId\":4,\"accessMode\":\"ro\",\"code\":\"battery_percentage\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_battery\",\"attribute\":\"640\",\"trigger\":\"direct\"},\"name\":\"电池电量\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"%\"}}]}]}"
  },
  "success": true,
  "t": 1715532551530,
  "tid": "8ec5fdfe107f11efa19236780218d147"
}

Product ID

"product_name": "Water leak sensor",
"product_id": "upgcbody"

Information about how the device functions

https://zigbee.blakadder.com/Tuya_WL-898WZ.html

After reboot zigbee gateway while adding this device dps "1" is not shown. But when status on device is changed to "alarm" or "normal" dps "1" is available in log while adding.

@dimasibs92 dimasibs92 added the new device Unsupported device label May 12, 2024
@dimasibs92
Copy link
Author

dimasibs92 commented May 12, 2024

YAML file for this device works correctly on this release

name: Water leak sensor
products:
  - id: upgcbody
    name: Zigbee Waterleak
primary_entity:
    entity: binary_sensor
    class: moisture
    dps:
      - id: 1
        type: string
        name: sensor
        optional: true
        persist: false
        mapping:
        - dps_val: "alarm"
          value: on
        - dps_val: "normal"
          value: off
          default: true
        - dps_val: null
          value: off
secondary_entities:
    - entity: sensor
      class: battery
      category: diagnostic
      dps:
        - id: 4
          type: integer
          name: sensor
          unit: "%"
          optional: true

@make-all make-all added the full_info All info needed was provided label May 12, 2024
make-all added a commit that referenced this issue Jun 23, 2024
@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release and removed full_info All info needed was provided labels Jun 23, 2024
@make-all make-all removed new device Unsupported device awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release labels Jul 15, 2024
timlaing pushed a commit to timlaing/tuya-local that referenced this issue Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants