-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fixing state update correctly on homebridge #108
base: main
Are you sure you want to change the base?
Conversation
For me, this doesn't change anything apparently. It seems that target_pos is not updated correctly in the shellies-ng Cover component if it is opened/closed using a physical switch. I didn't investigate at all, but this could perhaps be a bug in the Shelly API itself. A quick and dirty fix that worked for me without changing anything in the library was updating the target position to the value of the current position in the currentPosChangeHandler. |
could anyone make this a easy installable package for n00bs like me? :) |
@MaxiHuHe04 How did you solve this? With a simple script running on the shelly? could you share it with us, please? |
You can install my fork (https://github.com/MaxiHuHe04/homebridge-shelly-ng) instead of the original package (uninstall that first) by typing in
in the Homebridge console. |
@MaxiHuHe04 does your fork support the same amount of devices as that one from cubi1337 homebridge-shelly-ds9? |
I would really appreciate if you two could work it out together <3 |
@apartmedia no, I just fixed a few issues and added the ability to use Shelly relays as door locks in HomeKit. |
I do not have physical switches connected, so I can‘t test it. |
Hey @MaxiHuHe04 can you please look at my issue at #134 ? Thanks! |
@ohad-e my PR should fix the problem regarding covers with directional physical switches. But I think you are having a different issue with your devices as there is no separate target value for switches. |
DS9 Version 1.5.4... - thx! |
I can confirm that 2pm with 1.5.4 cover status with wallswitches is updating state now correctly (although there is no "closing..." or "opening..." anymore while moving but i dont care about that!) Thank you very very much for keeping this alive @cubi1337 <3 <3 :) |
np ... but its @MaxiHuHe04 s Fix ;-) |
We don't have any updates on this repo since 2022, should we move on to another fork like BirknerAlex one ? |
either go with DS9-Fork or just install matterbridge (https://github.com/42wim/matterbridge) on your Homebridge-System. |
After several hours, there is a problem with the state of the covers. |
Fixes #61