nicoduj / homebridge-harmony

Harmony websocket plugin for homebridge
The Unlicense
215 stars 23 forks source link

[BUG] #367

Closed Seexelas closed 3 years ago

Seexelas commented 3 years ago

Describe the bug ¨Homebridge is sometime slow to respond, I got this error in the logs :

[6/17/2021, 9:18:11 AM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info. [6/17/2021, 9:18:17 AM] [homebridge-harmony] 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.

To Reproduce None

Expected behavior My devices become not responsive during a time

Screenshots If applicable, add screenshots to help explain your problem.

IOS (please complete the following information):

Logs [6/17/2021, 9:18:11 AM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info. [6/17/2021, 9:18:17 AM] [homebridge-harmony] 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.

Config "name": "Galaxy - Harmony", "hubIP": "192.168.1.249", "hubName": "Galaxy - Harmony", "mainActivity": "Apple TV", "DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000, "HUB_CONNECT_TIMEOUT": 10000, "HUB_SEND_TIMEOUT": 30000, "showTurnOffActivity": "true", "linkVolumeControlToTV": true, "platform": "HarmonyHubWebSocket"

Additional context Synology Docker DSM7 Node JS : 14.17.1 Nmp : 6.14.13

Thanks for the help

Seexelas commented 3 years ago

New error : 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.

nicoduj commented 3 years ago

Hi,

don't post the same error each times it happens :) . This error is has it said due to a slow response from your hub whil the plugin requests its state.

You first have some things to try :

Your timeout is set to 30s, so, if the buh is slow to respond, indeed it will generate such warnings in homebridge.

Seexelas commented 3 years ago

Hi,

Sorry for the double post, and thanks for the response.

I have found my issue. It seems that I have an issue with my Apple TV doing the HUB. I turned off the two Apple TV's from doing the HUB, and let my HomePod do the job.

So far, it's working great. I let a day or two and close this topic.

Thanks, take care.