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

"TypeError: Cannot read property 'addListener' of undefined" #158

Closed
thorleifjacobsen opened this issue Sep 27, 2019 · 3 comments
Closed

Comments

@thorleifjacobsen
Copy link

Getting a bunch of these on my installation:

"TypeError: Cannot read property 'addListener' of undefined"

It says "No connection" not sure what this can be?

[{"id":"da7b55ae.f0d438","type":"api-call-service","z":"7c7b6b11.f709b4","name":"Turn On Hallway Light","server":"a9e29932.d988b8","version":1,"service_domain":"switch","service":"turn_on","entityId":"switch.hallway_light","data":"","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1980,"y":80,"wires":[[]]},{"id":"a9e29932.d988b8","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]

@zachowj
Copy link
Owner

zachowj commented Sep 27, 2019

When NR tried to set up one of the event nodes there was no connection to HA that caused the error to be thrown. This should be handled better.

@thorleifjacobsen
Copy link
Author

Does this have one connection for every node? It seems like they are reaching a limit on my house automation. Not working properly all the time. It worked with the old version (not websocket).

@zachowj
Copy link
Owner

zachowj commented Oct 2, 2019

There's only one WebSocket connection to HA no matter how many nodes you have placed on the workspace.

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