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

Occasionally I have to restart my switcher plugin - error seen in the log #55

Open
idanhod-cyco opened this issue Jan 15, 2024 · 1 comment

Comments

@idanhod-cyco
Copy link

A bit about my setup:
I have about a dozen switcher switches. One for boiler and 6 windows blinds and 15 light switches.
They are all connected to my HB with switcher plugin that worked very well for me.

Sometimes, after a long break (night), the automations break. a sensor triggers the light, and the lights are not turning on. Reseting the HB is the solusion. I noticed seeing some logs about errors - it correlates with the failed switch triggered.

Log:
[1/15/2024, 10:03:45 AM] [Switcher Platform] Switcher Light_14C9 - Setting Light1 Power to ON
[1/15/2024, 10:03:46 AM] [Switcher Platform] ERROR for Switcher Light_14C9
[1/15/2024, 10:03:46 AM] [Switcher Platform] Error: login failed due to an error: read ECONNRESET
at Switcher._login3 (/usr/local/lib/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:802:27)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Switcher._run_general_command (/usr/local/lib/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:835:16)
[1/15/2024, 10:06:06 AM] [Switcher Platform] Switcher Light_16D1 - Setting Light2 Power to OFF
[1/15/2024, 10:06:06 AM] [Switcher Platform] Switcher Light_16D1 - Setting Light1 Power to OFF
[1/15/2024, 10:06:06 AM] [Switcher Platform] ERROR for Switcher Light_16D1
[1/15/2024, 10:06:06 AM] [Switcher Platform] Error: login failed due to an error: read ECONNRESET
at Switcher._login3 (/usr/local/lib/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:802:27)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Switcher._run_general_command (/usr/local/lib/node_modules/homebridge-switcher-platform/node_modules/switcher-js2/src/switcher.js:835:16)

@itaywol
Copy link

itaywol commented Dec 18, 2024

Having this issue also 😕

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