- 积分
- 140
- 金钱
- 105
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
注册会员
- 积分
- 140
- 金钱
- 105
- HASS币
- 0
|
易微联 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: "%"
|
|