- 积分
- 269
- 金钱
- 223
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 269
- 金钱
- 223
- HASS币
- 0
|
本帖最后由 xf_hfg 于 2021-1-12 08:19 编辑
新手一枚。刚开始接触NR,发现NR的自动化某些方面比HA的自动化方便多了,慢慢的把灯光自动化都转到NR里来了,就只剩下指纹锁。
我是NR里安装HA节点,指纹锁是通过HA的AlexxIT大神的小米网关插件接入的,鼓捣了好几天,始终不知道怎么像HA里那样接入指纹锁并根据开门状态(门外指纹解锁、密码解锁、室内开锁)等
执行后续的自动化。DEBUG信息如图:
action: door - action_id: 0, message: Door is open
- action_id: 1, message: Door is closed
- action_id: 2, message: Timeout is not closed
- action_id: 3, message: Knock on the door
- action_id: 4, message: Breaking the door
- action_id: 5, message: Door is stuck
action: lock - key_id - Key ID in short decimal format
- action_id: 0, message: Unlock outside the door
- action_id: 1, message: Lock
- action_id: 2, message: Turn on anti-lock
- action_id: 3, message: Turn off anti-lock
- action_id: 4, message: Unlock inside the door
- action_id: 5, message: Lock inside the door
- action_id: 6, message: Turn on child lock
- action_id: 7, message: Turn off child lock
- method_id: 0, method: bluetooth
- method_id: 1, method: password
- method_id: 2, method: biological
- method_id: 3, method: key
- method_id: 4, method: turntable
- method_id: 5, method: nfc
- method_id: 6, method: one-time password
- method_id: 7, method: two-step verification
- method_id: 8, method: coercion
- method_id: 10, method: manual
- method_id: 11, method: automatic
- key_id: 0xc0de0000, error: Frequent unlocking with incorrect password
- key_id: 0xc0de0001, error: Frequent unlocking with wrong fingerprints
- key_id: 0xc0de0002, error: Operation timeout (password input timeout)
- key_id: 0xc0de0003, error: Lock picking
- key_id: 0xc0de0004, error: Reset button is pressed
- key_id: 0xc0de0005, error: The wrong key is frequently unlocked
- key_id: 0xc0de0006, error: Foreign body in the keyhole
- key_id: 0xc0de0007, error: The key has not been taken out
- key_id: 0xc0de0008, error: Error NFC frequently unlocks
- key_id: 0xc0de0009, error: Timeout is not locked as required
- key_id: 0xc0de000a, error: Failure to unlock frequently in multiple ways
- key_id: 0xc0de000b, error: Unlocking the face frequently fails
- key_id: 0xc0de000c, error: Failure to unlock the vein frequently
- key_id: 0xc0de000d, error: Hijacking alarm
- key_id: 0xc0de000e, error: Unlock inside the door after arming
- key_id: 0xc0de000f, error: Palmprints frequently fail to unlock
- key_id: 0xc0de0010, error: The safe was moved
- key_id: 0xc0de1000, error: The battery level is less than 10%
- key_id: 0xc0de1001, error: The battery is less than 5%
- key_id: 0xc0de1002, error: The fingerprint sensor is abnormal
- key_id: 0xc0de1003, error: The accessory battery is low
- key_id: 0xc0de1004, error: Mechanical failure
不知道该用哪个节点获取上图中的,action: "lock" 、action_id: 0 、method_id: 2这些信息?
麻烦大神给个流程....谢谢!
|
|