alexryd / homebridge-shelly-ng

Homebridge plugin for the next generation of Shelly devices
GNU General Public License v3.0
121 stars 44 forks source link

shelly plus2pm in shutter mode loses homekit connection #37

Open aschmidt74 opened 2 years ago

aschmidt74 commented 2 years ago

hej alex!

Howto debug and resolve this?!

alexryd commented 2 years ago

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

Have you tried disabling authentication?

aschmidt74 commented 2 years ago

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 commented 2 years ago

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.

alexryd commented 2 years ago

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

aschmidt74 commented 2 years ago

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.

norbekaiser commented 2 years ago

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

Cusi99 commented 1 year ago

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

ak904 commented 1 year ago

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

Cusi99 commented 1 year ago

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

Stefan-Koegeler commented 1 year ago

Same here with Shelly Plus 2 PM

KaeseToBa commented 1 year ago

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

aschmidt74 commented 1 year ago

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

wagnerand commented 1 year ago

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

aschmidt74 commented 1 year ago

hej Alex, please merge the above!

cbrunnkvist commented 6 months ago

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