ptz0n / homebridge-securitas-direct

https://www.npmjs.com/package/homebridge-securitas-direct
MIT License
7 stars 3 forks source link

Possible issue - Slowing down Homebridge #9

Open adamoxley opened 3 years ago

adamoxley commented 3 years ago

Currently getting this output in Homebridge since installing the plugin. Also happens when the plugin is setup as a child bridge.

[9/18/2021, 11:37:10 AM] [securitas-direct] Launched child bridge with PID 90926
[9/18/2021, 11:37:10 AM] Registering platform 'homebridge-securitas-direct.securitas-direct'
[9/18/2021, 11:37:10 AM] [securitas-direct] Loaded homebridge-securitas-direct v0.2.0 child bridge successfully
[9/18/2021, 11:37:10 AM] Loaded 0 cached accessories from cachedAccessories.0E4D05DAEEC7.
[9/18/2021, 11:37:11 AM] Initializing platform accessory 'Alarm'...
Preparing Advertiser for 'securitas-direct AF92' using bonjour-hap backend!
Starting to advertise 'securitas-direct AF92' using bonjour-hap backend!
[9/18/2021, 11:37:11 AM] Homebridge v1.3.4 (securitas-direct) is running on port 55803.
[9/18/2021, 11:37:12 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:37:12 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:37:14 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:37:14 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:37:15 AM] [homebridge-securitas-direct] This plugin slows down Homebridge. The read handler for the characteristic 'Security System Current State' was slow to respond! See https://git.io/JtMGR for more info.
[9/18/2021, 11:37:15 AM] [homebridge-securitas-direct] This plugin slows down Homebridge. The read handler for the characteristic 'Security System Target State' was slow to respond! See https://git.io/JtMGR for more info.
[9/18/2021, 11:37:21 AM] [homebridge-securitas-direct] This plugin slows down Homebridge. The read handler for the characteristic 'Security System Current State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[9/18/2021, 11:37:21 AM] [homebridge-securitas-direct] This plugin slows down Homebridge. The read handler for the characteristic 'Security System Target State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[9/18/2021, 11:37:23 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:37:23 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:37:24 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:37:24 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:37:27 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:37:27 AM] [securitas-direct] info Alarm: Getting current alarm state.

Not sure what this means however 😄 Plugin works well sometimes, other times the status gets confused and displays itself as the previous status (e.g Off -> Night -> Off) will turn the alarm off, but will continue to display "Night" in the Home app.

If any logs are needed I can provide those, just not sure what would be needed. Thanks!

Edit:

Since moving to a child bridge the plugin seems to not work at all, and I get "No Response" in Home app when the alarm state is attempted to be set;

[9/18/2021, 11:32:36 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:32:36 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:32:55 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:32:55 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:32:57 AM] [securitas-direct] info Alarm: Setting target alarm state to: 2
[9/18/2021, 11:32:58 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:33:02 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:33:02 AM] [securitas-direct] info Alarm: Getting current alarm state.
[9/18/2021, 11:33:11 AM] [securitas-direct] info Alarm: Getting current alarm state.