homebridge-shelly-ng icon indicating copy to clipboard operation
homebridge-shelly-ng copied to clipboard

shelly plus2pm in shutter mode loses homekit connection

Open aschmidt74 opened this issue 2 years ago • 15 comments

hej alex!

  • only after a clean restart I can control my two shelly plus2pm shutters via homekit.
  • shortly therafter I see "No Response" in homekit, and "[Shelly NG] [Rollo Links] Failed to set target position: Invalid password" in homebridge.log (yes, I've gota authentication pwd set)
  • via the shelly app I see a correct position; and can control them at all times.

Howto debug and resolve this?!

aschmidt74 avatar Jul 19 '22 20:07 aschmidt74

Try running homebridge in debug mode to see if you get any more info in the logs.

Have you tried disabling authentication?

alexryd avatar Aug 09 '22 15:08 alexryd

Yeeees, authentication plays a key role! Turned it off in one device and this one stays responsive.

You know already where to look at, or need more Info.log?

aschmidt74 avatar Aug 10 '22 02:08 aschmidt74

without auth the devices stay operational in homekit, yet the actual position is displayed incorrectly.

it's either permanently Opening..., or No Response, or some random value - however any SET command moves to the desired position. The displayed value in the web-UI seems consistent with the value on an apple device though.

aschmidt74 avatar Aug 15 '22 15:08 aschmidt74

Interesting. What firmware version are you using? Have you tried the 0.11.0 beta?

alexryd avatar Aug 23 '22 08:08 alexryd

I've got two side by side, one running v0.11.0-beta3 the other v0.10.3 which for this issue makes no difference. however I've left both open, w/o auth now, and it worked ever since in homekit.

I notice the same unresponsive behaviour in two shelly-plus1PM running ß3 disabled the authentication there as well.

but obviously this should not be a permanent solution.

aschmidt74 avatar Aug 23 '22 14:08 aschmidt74

I'm running in a very simliar issue. It works great with Shelly Plus 1 PM and Pro 1 PM. But after ca half a day. Each Device responds with [8/24/2022, 7:42:45 AM] [Shelly NG] [Flur2] Failed to set switch: Invalid password [8/24/2022, 7:42:45 AM] [Shelly NG] [Flur1] Failed to set switch: Invalid password [8/24/2022, 7:42:45 AM] [Shelly NG] [Flur3] Failed to set switch: Invalid password [8/24/2022, 9:50:14 AM] [Shelly NG] [Flur2] Failed to set switch: Invalid password [8/24/2022, 9:50:14 AM] [Shelly NG] [Flur1] Failed to set switch: Invalid password [8/24/2022, 9:50:14 AM] [Shelly NG] [Flur3] Failed to set switch: Invalid password [8/24/2022, 9:50:22 AM] [Shelly NG] [Waschmaschine] Failed to set switch: Invalid password

norbekaiser avatar Aug 24 '22 09:08 norbekaiser

I have the same problem. Especially when I move the shutter manually with the button, homekit shows always "opening". Is there any solution?

Cusi99 avatar Sep 09 '22 09:09 Cusi99

same issue … i think the main problem is the loss of the current position, although it is shown correctly in the app or web interface

ak904 avatar Sep 13 '22 19:09 ak904

same issue … i think the main problem is the loss of the current position, although it is shown correctly in the app or web interface

Yes that's true... I think it is the same issue as #24

Cusi99 avatar Sep 16 '22 09:09 Cusi99

Same here with Shelly Plus 2 PM

Stefan-Koegeler avatar Jan 12 '23 07:01 Stefan-Koegeler

same here with actual one no responding device (one of 5 shellyplus2pm every time the same device) after a few hours running himebridge.

Also at all devices the async position or command "opening" "closing" I can see

KaeseToBa avatar May 17 '23 19:05 KaeseToBa

hej Alex! Are you still maintaining this package, and is the handling of devices with authentication an open issue? tnx & /hdb!

aschmidt74 avatar May 18 '23 23:05 aschmidt74

https://github.com/alexryd/node-shellies-ng/pull/3 should fix this.

wagnerand avatar Jun 02 '23 15:06 wagnerand

hej Alex, please merge the above!

aschmidt74 avatar Jun 08 '23 19:06 aschmidt74

A better title for this issue should be: shelly ng devices (in any more) lose homekit connection when device auth is turned on

cbrunnkvist avatar Feb 18 '24 06:02 cbrunnkvist