Open danieljohngomez opened 1 month ago
I tried adding a yaml config similar to https://github.com/make-all/tuya-local/pull/1830/files but did not work:
name: Indoor Invisible Lock
products:
- id: kpn4zaf7
name: Indoor Invisible Lock
primary_entity:
entity: lock
dps:
- id: 1
type: string
name: create_unlock_method
optional: true
- id: 2
type: string
name: delete_unlock_method
optional: true
- id: 3
type: string
name: modify_unlock_method
optional: true
- id: 6
type: string
name: bluetooth_unlock
optional: true
- id: 19
type: integer
name: unlock_ble
optional: true
persist: false
- id: 47
type: boolean
name: lock
optional: true
readonly: true
secondary_entities:
- entity: sensor
class: battery
category: diagnostic
dps:
- id: 9
type: integer
name: sensor
unit: "%"
class: measurement
- entity: sensor
name: Alert
class: enum
category: diagnostic
dps:
- id: 21
type: string
name: sensor
optional: true
persist: false
mapping:
- dps_val: null
value: ok
- dps_val: wrong_finger
value: wrong_finger
- dps_val: wrong_password
value: wrong_password
- dps_val: low_battery
value: low_battery
- entity: binary_sensor
class: battery
category: diagnostic
dps:
- id: 21
type: string
name: sensor
mapping:
- dps_val: low_battery
value: true
- value: false
- entity: select
name: Language
icon: "mdi:translate"
category: config
dps:
- id: 28
type: string
name: option
mapping:
- dps_val: chinese_simplified
value: 中文
- dps_val: english
value: English
- entity: number
name: Beep volume
category: config
icon: "mdi:volume-high"
dps:
- id: 31
type: string
name: value
unit: "%"
range:
min: 0
max: 100
mapping:
- dps_val: mute
step: 33
value: 0
- dps_val: low
step: 33
value: 33
- dps_val: normal
step: 33
value: 66
- dps_val: high
step: 33
value: 100
Log Message
This is using protocol 3.4. Other protocols do not work. Integration shows
Sorry, there is no support for this device.
after configuringInformation about DPS mappings
Query Things Data Model:
Using https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html:
No access to Query
Product ID
kpn4zaf7
Information about how the device functions