『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 773|回复: 1

[经验分享] 易微联 zigbee 接涂鸦网关,配置pir 改为 True

[复制链接]

5

主题

35

帖子

138

积分

注册会员

Rank: 2

积分
138
金钱
103
HASS币
0
发表于 2023-8-23 17:24:18 | 显示全部楼层 |阅读模式
易微联 zigbee 接涂鸦网关,配置
注意状态不是RIP, 是用的 True

{  "result": {    "properties": [      {        "code": "PIR",        "custom_name": "",        "dp_id": 101,        "time": 1692782384555,        "value": true      },      {        "code": "battery",        "custom_name": "",        "dp_id": 103,        "time": 1692771917402,        "value": 100      }    ]  },  "success": true,
和查询的规格不一样{  "result": {    "category": "pir",    "status": [      {        "code": "pir",        "name": "pir 检测",        "type": "Enum",        "values": "{\"range\":[\"pir\",\"none\"]}"      },      {        "code": "battery",        "name": "电池电量",        "type": "Integer",        "values": "{\"unit\":\"\",\"min\":0,\"max\":500,\"scale\":0,\"step\":1}"      }    ]  },  "success": true,

localtuya:
  - parent_gateway: ebf66xxx
    device_id: 00xxxxx
    friendly_name: 人体运动传感器
    entities:
      - platform: binary_sensor
        friendly_name: 人体运动传感器
        id: 101
        device_class: motion
        state_on: "True"
        state_off: "false"
      - platform: sensor
        friendly_name: Sensor Battery
        id: 103
        device_class: battery
        unit_of_measurement: "%"



回复

使用道具 举报

5

主题

35

帖子

138

积分

注册会员

Rank: 2

积分
138
金钱
103
HASS币
0
 楼主| 发表于 2023-8-23 20:58:55 | 显示全部楼层
可能两家的标准不一样吧

                               
登录/注册后可看大图
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-8 21:33 , Processed in 0.145539 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表