Closed 011V32 closed 5 months ago
It seems there is an issue sending the command at the BT level. Is the Nuki device close enough to the BT dongle? are there any wireless interferences?
I use an Olimex PoE ESP32 as Bluetooth Proxy which is approx. 1.5m away from the lock.
how is the BT signal strength? maybe there are some wireless interferences?
You can try to increase the timeout in hass_nuki_bt (unfortunately not user configurable at the moment, so you will have to change the code) or you can try to change the energy-saving mode in the nuki lock, and increase the BT scan interval of the lock.
another option is to add some retry mechanism, but i'm not sure if it should be in the integration or in the automation. what do you think?
The signal strength varies from -45 to -105:
I trie next week a longer cable for the BT Proxy so I get closer to the lock, but there are no real disturbanced in the near... I then report back. Thx so far.
@011V32 I think that -105 is a bit low, and can cause sporadic issues. I've noticed that when i have -90 and below I get a lot more connection issues than when it is above -70
Anyway, I've just released a new version (0.0.14) that improves the retry mechanism, so even if you have sporadic connection issues with the new version things should work a lot better.
Please let me know if the new version fixed your issue.
The issue is also with good condition. Atm i'm on holiday. I'll check it next week. Thx
With the version 0.0.14 I have no issues so far. 👍 Thx.
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1396 Downloaded Repositories | 11Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 12.3 -- | -- update_channel | stable supervisor_version | supervisor-2024.05.1 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 468.7 GB disk_used | 16.1 GB healthy | true supported | true board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | Samba share (12.3.1), File editor (5.8.0), RaspberryMatic CCU (3.75.7.20240420), Advanced SSH & Web Terminal (17.3.0), Mosquitto broker (6.4.0), VNC Viewer (1.6.0), ESPHome (2024.5.2)Dashboards
dashboards | 3 -- | -- resources | 0 views | 14 mode | storageRecorder
oldest_recorder_run | May 14, 2024 at 08:52 -- | -- current_recorder_run | May 21, 2024 at 21:56 estimated_db_size | 287.28 MiB database_engine | sqlite database_version | 3.44.2Solcast PV Forecast
can_reach_server | ok -- | -- used_requests | 6 rooftop_site_count | 1Spotify
api_endpoint_reachable | ok -- | --Checklist
Describe the issue
Error in the log. See Debug log.
Reproduction steps
I use HomeKit and have integrated this lock. At 7:30 it automatically locks the door if it is not locked.
Debug logs
Diagnostics dump
No response