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

Current position of roller shutter (Shelly2.5) stopped to synchronize + current status is wrong #147

Closed
jonalbr opened this issue Jul 16, 2020 · 21 comments
Labels
investigating Possible bug that needs investigation

Comments

@jonalbr
Copy link

jonalbr commented Jul 16, 2020

Hi,
I'm using a Shelly 2.5 to controll my roller shutter. Currently the Home App is displaying a false current state (Screenshot 1). The roller shutter is stopped, however the Home App still thinks it's moving ("opening"/"closing" instead of "open"/"closed" or "stop").

Further the current position is set to 30% (true position would be 100% in the screenshot 2 example). This is comlicated if used in Shortcuts for example or if you ask Siri. I provided a second screenshot for that (from the eve app as its easier to see). For comparison I provide a third screenshot from the Shelly app. I tried my best to solve this issue, however I couldn't find the cause for it, as it's always right in the Shelly app and using HomeKit it still acts as it should as long you don't use the "current position" data in any shortcuts.

I use the latest firmware and plugin.

Thanks!

IMG_8746
IMG_8750
IMG_8745

My JASON

    "platforms": [
    {
        "platform": "Shelly",
        "name": "Shelly",
        "username": "XXXXXX",
        "password": "XXXXXXX",
        "devices": {
            "id": "XXXXXXXXXXXXXXXXXXXXXX",
            "networkInterface": "XXXXXXXXXX"
        },
        "admin": {
            "enabled": true,
            "port": 8181
        },
        "plugin_map": {
            "plugin_name": "homebridge-shelly"
        }
    }
@Karo-X
Copy link

Karo-X commented Jul 16, 2020

It is really embarrassing that I have commented here so often that the plugin is not working properly, but in fact it was due to my "poorly" configured network. In my case it was the setting:
Broadcast and Multicast Handling
Convert IP Multicast to Unicast: Enabled
... and that's false!

It was already clear to me that the Shellys needed multicast, but unfortunately so far I didn't know how or where to set these settings in the AeroHive (my accesspoints) settings. Since my network broke down the days for inexplicable reasons (well, it was not that inexplicable - I had changed something some days ago), I had to examine every setting and that's where I found it.

So @jonas240 make sure that your network components don't filter or even drop the mutlicast.
(ansonsten Teile mir gerne mit welche Hardware du einsetzt und ich helfe dir gern.)

@jonalbr
Copy link
Author

jonalbr commented Jul 16, 2020

@Karo-X Hi thanks for the quick reply.

Ich habe in meiner Mietswohnung ein Speedport Smart 3 von der Telekom (leider). Ich habe da bisher nicht die Möglichkeit gefunden multicast zu aktivieren/deaktiveren. Weißt du da was zu?

@danny1605
Copy link

Hallo wie kann ich multicast unter einer Fritzbox 7590 aktivieren?

@Karo-X
Copy link

Karo-X commented Jul 17, 2020

@Karo-X
Copy link

Karo-X commented Jul 17, 2020

@jonas240 die Geräte sind auch im selben Netz? Nicht irgendwie in einem Gast-Netz, etc? Ist die HomeBridge auch per WLAN verbunden und auch dein Apple HomeKit (AppleTV oder Homepod)?

@jonalbr
Copy link
Author

jonalbr commented Jul 17, 2020

@danny1605 aktiviere "WLAN-Übertragung für Live TV optimieren".

@Karo-X Ja ist alles im selben Netzwerk und auch über WLAN angebunden. Ich habe mit der Telekom telefoniert. Es gibt zu Multicast keine Einstellung. Multicast sei immer an. Leider immer noch die Probleme. Dazu kommt: Ich habe eine LIFX Lampe gekauft. Diese kann ich nichtmal mit dem Netzwerk verbinden! Die benötigt auch Multicast. Ich habe mir jetzt als erste Lösung eine ältere FritzBox bei Ebay gekauft. Unter Umständen löst das ja schon die Probleme.

@Karo-X
Copy link

Karo-X commented Jul 17, 2020

@danny1605 aktiviere "WLAN-Übertragung für Live TV optimieren".

@Karo-X Ja ist alles im selben Netzwerk und auch über WLAN angebunden. Ich habe mit der Telekom telefoniert. Es gibt zu Multicast keine Einstellung. Multicast sei immer an. Leider immer noch die Probleme. Dazu kommt: Ich habe eine LIFX Lampe gekauft. Diese kann ich nichtmal mit dem Netzwerk verbinden! Die benötigt auch Multicast. Ich habe mir jetzt als erste Lösung eine ältere FritzBox bei Ebay gekauft. Unter Umständen löst das ja schon die Probleme.

Ja, also eigentlich blockt eine Fritzbox von Werk aus nichts - daher sollte es ohne Probleme Funktionieren.

@danny1605
Copy link

danny1605 commented Jul 17, 2020

@jonas240 die Geräte sind auch im selben Netz? Nicht irgendwie in einem Gast-Netz, etc? Ist die HomeBridge auch per WLAN verbunden und auch dein Apple HomeKit (AppleTV oder Homepod)?

Habe das ganze Netzwerk überprüft und alle Angesprochenen Punkte und konnte keinen Fehler finden. Der Shelly im type valve bleibt immer noch im starten modus. Gibt es vll eine andere Möglichkeit denn shelly in type irrigation zu setzen ?

@danny1605
Copy link

Habe das ganze jetzt über ioBroker mit dem Adapter yahka gelöst. Hier wird der status richtig angezeigt.

@xalex88
Copy link

xalex88 commented Jul 20, 2020 via email

@danny1605
Copy link

Hast du ein Screenshot von den Statusanzeigen? :)

Am 20.07.2020 um 07:55 schrieb danny1605 @.***>:  Habe das ganze jetzt über ioBroker mit dem Adapter yahka gelöst. Hier wird der status richtig angezeigt. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IMG_2108

@Karo-X
Copy link

Karo-X commented Jul 20, 2020

Klingt sehr nach einem nicht richtig installierten HomeBridge. Aber gut, wie dem auch sei. Hauptsache du hast eine Lösung gefunden.

@danny1605
Copy link

Klingt sehr nach einem nicht richtig installierten HomeBridge. Aber gut, wie dem auch sei. Hauptsache du hast eine Lösung gefunden.

Normal nutze ich Hoobs, ich habe hierfür auf meinem Proxmox einen neuen Container mit einer frischen Homebridge aufgesetzt und auch hier ging der Status nicht !!! Erst nach dem test mit ioBroker der auch als Container in Proxmox läuft ging der Status. also ich denke nicht das ich beim aufsetzen der Homebridge etwas falsch gemacht habe. Aber ich lasse mich gern eines besseren belehren. Ich weiß nur leider nicht wo ich noch suchen soll ?!

@jonalbr
Copy link
Author

jonalbr commented Jul 20, 2020

Kann ich auf dem Hoobs Image iOBroker zusätzlich laufen lassen. Oder muss ich dann Homebridge "manuell" installieren. Oder brauche ich einen separaten RaspPi?

@swingchampion
Copy link

swingchampion commented Jul 25, 2020

There is an API change in the latest Firmware (1.7.0). The plugin needs to be updated.

@kengura3
Copy link

I have TP Link Deco M5 and I had to turn off beamforming feature.

@alexryd
Copy link
Owner

alexryd commented Aug 1, 2020

@jonas240 Could you run homebridge with the -D flag and provide some log output from when you try to open and close your shutter?

@danny1605
Copy link

@jonas240 Could you run homebridge with the -D flag and provide some log output from when you try to open and close your shutter?

how exactly does it work? what commands do I have to use where?

@alexryd
Copy link
Owner

alexryd commented Aug 17, 2020

What environment are you running homebridge in? You need to start homebridge with $ homebridge -D, but how you do it depends on how you've setup homebridge.

The -D option enables debug mode, which makes this plugin output a lot more information about the data it receives and sends in the log.

@danny1605
Copy link

What environment are you running homebridge in? You need to start homebridge with $ homebridge -D, but how you do it depends on how you've setup homebridge.

The -D option enables debug mode, which makes this plugin output a lot more information about the data it receives and sends in the log.

I use Hoobs !

@alexryd
Copy link
Owner

alexryd commented Aug 17, 2020

@danny1605 In that case @BobbySlope can help you.

@alexryd alexryd added the investigating Possible bug that needs investigation label Sep 13, 2020
@jonalbr jonalbr closed this as completed Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating Possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

7 participants