Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Read handlers not responding / plugin slowing down Homebridge #4

Closed
LittleBeast12 opened this issue Jan 25, 2022 · 3 comments · Fixed by #96
Closed

Read handlers not responding / plugin slowing down Homebridge #4

LittleBeast12 opened this issue Jan 25, 2022 · 3 comments · Fixed by #96
Assignees
Labels
bug Something isn't working released

Comments

@LittleBeast12
Copy link

Got the plugin setup using my login. On initial and following restarts of Homebrige the plugin manages to display the accessories in the Home app but they immediately begin displaying "not responding" error messages.

Logs state that "read handlers were slow to respond," then that "read handlers didn't respond at all"

Have tried restarting and reinstalling with no luck on a fix.

To Reproduce:

  1. Install using the Homebridge UI (no 2FA or Unit specified)
  2. Restart Homebridge UI
  3. Log displays errors and cannot control devices

Logs:

[25/01/2022, 09:12:42] [homebridge-smartrent] Restarting Process...
[25/01/2022, 09:12:42] [homebridge-smartrent] Launched child bridge with PID 31743
[25/01/2022, 09:12:43] Registering platform 'homebridge-smartrent.SmartRent'
[25/01/2022, 09:12:43] [homebridge-smartrent] Loaded homebridge-smartrent v1.0.2 child bridge successfully
[25/01/2022, 09:12:43] Loaded 5 cached accessories from cachedAccessories.0E936C2E1CBD.
[25/01/2022, 09:12:43] [homebridge-smartrent] Loading accessory from cache: Kitchen Sink - Leak Sensor
[25/01/2022, 09:12:43] [homebridge-smartrent] Loading accessory from cache: Water Heater - Leak Sensor
[25/01/2022, 09:12:43] [homebridge-smartrent] Loading accessory from cache: Front Door - Lock
[25/01/2022, 09:12:43] [homebridge-smartrent] Loading accessory from cache: Kitchen island
[25/01/2022, 09:12:43] [homebridge-smartrent] Loading accessory from cache: Kitchen Track lights
[25/01/2022, 09:12:43] Homebridge v1.3.9 (HAP v0.9.8) (homebridge-smartrent) is running on port 51922.
[25/01/2022, 09:12:43] [homebridge-smartrent] Found 1 rooms
[25/01/2022, 09:12:43] [homebridge-smartrent] Found 6 devices
[25/01/2022, 09:12:43] [homebridge-smartrent] Restoring existing accessory from cache: Kitchen Sink - Leak Sensor
[25/01/2022, 09:12:43] [homebridge-smartrent] Restoring existing accessory from cache: Water Heater - Leak Sensor
[25/01/2022, 09:12:43] [homebridge-smartrent] Restoring existing accessory from cache: Front Door - Lock
[25/01/2022, 09:12:43] [homebridge-smartrent] Restoring existing accessory from cache: Kitchen island
[25/01/2022, 09:12:43] [homebridge-smartrent] Unknown device type: thermostat
[25/01/2022, 09:12:43] [homebridge-smartrent] Restoring existing accessory from cache: Kitchen Track lights
[25/01/2022, 09:12:47] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Leak Detected' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:47] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Leak Detected' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:47] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:47] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Target State' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:47] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:47] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:53] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Leak Detected' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:53] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Leak Detected' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:53] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:53] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Target State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:53] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:12:53] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:26] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Leak Detected' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:26] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Leak Detected' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:26] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:26] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Target State' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:26] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:26] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:32] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Leak Detected' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:32] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Leak Detected' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:32] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:32] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Target State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:32] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[25/01/2022, 09:13:32] [homebridge-smartrent] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.

Plugin Config:

"email": "[email protected]",
"password": "xxxxxxxxxxx",
"platform": "SmartRent",
"_bridge": {
"username": "xx:xx:xx:xx:xx:xx",
"port": 51922

Environment:

  • Plugin Version: v.1.0.2
  • Homebridge Version: 1.4.0
  • Node.js Version: 16.13.2
  • NPM Version: 8.1.2
  • Operating System: Raspbian
@LittleBeast12 LittleBeast12 added the bug Something isn't working label Jan 25, 2022
@DJNajee
Copy link

DJNajee commented Jan 25, 2022

Seeing same issue. MBP 15 inch. Late 2017.

@scjensen01
Copy link

Same issue here... running Homebridge on a Raspberry Pi. HomeBridge 1.4.0 with the 1.0.2 version of the plugin.

mvzink added a commit to mvzink/homebridge-smartrent that referenced this issue Jun 6, 2022
Fixes Burry#4: Read handlers not responding / plugin slowing down Homebridge. (Also fixes Burry#5, a dupe.)
@Burry Burry closed this as completed in #96 Aug 12, 2022
Burry pushed a commit that referenced this issue Aug 12, 2022
Fixes #4: Read handlers not responding / plugin slowing down Homebridge. (Also fixes #5, a dupe.)
github-actions bot pushed a commit that referenced this issue Aug 12, 2022
## [1.0.3](v1.0.2...v1.0.3) (2022-08-12)

### Bug Fixes

* use Promise-based event listener registration ([#96](#96)) ([d23dbf7](d23dbf7)), closes [#4](#4) [#5](#5)
@github-actions
Copy link

🎉 This issue has been resolved in version 1.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants