Closed ChrisDes closed 3 weeks ago
What is an A1 PRO MAX?
Is like a gimdow a1 pro smart lock, but without brand Gimdow
I updated de custom_component folder and restart HA, but still showing me the previous device before. I don´t know if i´m doing something wrong. Thank you so much for your job
I could discover the new device changing some 'optionals', I don´t know if is a good idea. I changed functions name with the correct real function. But there is a bug, i can´t unlock the lock I can lock and manual lock and manual unlock.
name: Door lock
products:
- id: rlyxv7pe
name: Raykube A1 Pro Max
primary_entity:
entity: lock
dps:
- id: 1
type: string
optional: true
name: unlock_method_create
- id: 2
type: string
optional: true
name: unlock_method_delete
- id: 3
type: string
optional: true
name: unlock_method_modify
- id: 16
type: integer
optional: true
persist: false
name: unlock_key
- id: 19
type: integer
optional: true
persist: false
name: unlock_ble
- id: 20
type: string
optional: true
name: lock_record
- id: 46
type: boolean
optional: true
name: lock
- id: 47
type: boolean
optional: true
name: open
readonly: true
- id: 54
type: string
optional: true
name: sync_method
- id: 61
type: string
optional: true
name: remote_no_dp_key
- id: 62
type: integer
optional: true
persist: false
name: unlock_app
- id: 63
type: integer
optional: true
persist: false
name: unlock_voice
- id: 69
type: string
optional: true
name: record
- id: 70
type: string
optional: true
name: check_code_set
- id: 71
type: string
optional: true
name: ble_unlock_check
- id: 72
type: string
optional: true
name: unlock_record_check
- id: 73
type: string
optional: true
name: remote_pd_setkey_check
secondary_entities:
- entity: sensor
class: battery
category: diagnostic
dps:
- id: 9
type: string
name: sensor
unit: "%"
mapping:
- dps_val: high
value: 90
- dps_val: medium
value: 60
- dps_val: low
value: 30
- dps_val: poweroff
value: 0
- entity: event
name: Alert
dps:
- id: 21
type: string
name: event
optional: true
mapping:
- dps_val: low_battery
value: low_battery
- dps_val: power_off
value: power_off
- entity: switch
translation_key: keytone
category: config
dps:
- id: 31
type: string
optional: true
name: switch
mapping:
- dps_val: normal
value: true
- dps_val: mute
value: false
- entity: switch
name: Auto-lock
icon: "mdi:lock-clock"
category: config
dps:
- id: 33
type: boolean
optional: true
name: switch
- entity: number
name: Auto lock time
category: config
icon: "mdi:lock-clock"
dps:
- id: 36
type: integer
optional: true
name: value
unit: s
range:
min: 1
max: 1800
- entity: button
name: Sync clock
icon: "mdi:clock"
category: config
dps:
- id: 44
type: boolean
name: button
optional: true
- entity: select
name: Configuration
icon: "mdi:function"
category: config
dps:
- id: 68
type: string
optional: true
name: option
mapping:
- dps_val: function1
value: Recalibrate
- dps_val: function2
value: Unlock more
- dps_val: function3
value: Keep retracted
- dps_val: function4
value: Add force
- entity: switch
name: Change direction
category: config
dps:
- id: 78
type: boolean
optional: true
name: switch
Making things optional blindly does not help, as it will end up false matching too many other devices. It is better that you send the logs you are getting using the original config, so the minimal set of optional dps can be worked out.
I mean the same message you sent at the top with the original report (that one is 100% match, so there must be some variation in what the device is reporting each time).
Log message
DPS information
Product ID
rlyxv7pe
Product Name
A1 PRO MAX
Information about how the device functions
No response