Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slow response / no response any more #113

Open
tomdh76 opened this issue Nov 11, 2024 · 2 comments
Open

slow response / no response any more #113

tomdh76 opened this issue Nov 11, 2024 · 2 comments

Comments

@tomdh76
Copy link

tomdh76 commented Nov 11, 2024

Lately I have an issue with this plugin in that controls from node red are not working reliably.

In the logs I see these errors:

  1. [homebridge-jablotron] This plugin slows down Homebridge. The read handler for the characteristic 'Security System Target State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
  2. [homebridge-jablotron] This plugin slows down Homebridge. The read handler for the characteristic 'Security System Current State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
    3)TypeError: Cannot read properties of undefined (reading 'service_type')
    at /var/lib/homebridge/node_modules/homebridge-jablotron/lib/jablotron.js:95:63
    at /var/lib/homebridge/node_modules/homebridge-jablotron/lib/jablotron.js:31:13
    at ClientRequest. (/var/lib/homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:106:17)
    at Object.onceWrapper (node:events:634:26)
    at ClientRequest.emit (node:events:519:28)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:709:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at TLSSocket.socketOnData (node:_http_client:551:22)
    at TLSSocket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)

Any suggestions?

@fdegier
Copy link
Owner

fdegier commented Nov 12, 2024

Can you elaborate what you mean with controls from node red?

Jablotron is not the best API, I see loads of network errors from their server, might be just that. Based on the information you provided, I have no leads on what's happening.

@tomdh76
Copy link
Author

tomdh76 commented Nov 12, 2024

I use in node red 'homebridge control through node-red-contrib-homebridge-automation : hb-control.
When I use things like set SecuritySystemTargetState it works sometimes but I also have errors like: "AxiosError: timeout of 7000ms exceeded"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants