alexryd / homebridge-shelly

Homebridge plugin for Shelly devices
MIT License
300 stars 45 forks source link

Shelly 2.5 status stuck #444

Open ChopNorris opened 1 year ago

ChopNorris commented 1 year ago

Hello everyone,

I've just installed HomeBridge through Docker Compose on a OrangePi3 with ARMbian. I'm using multiple Shelly 2.5 to control my curtains and blinds, so I'm using the Shelly plugin ( @tritter/homebridge-shelly v0.20.0). I've got it set up as an independent child bridge.

The controls are working nice, but in the Home App they stay as "Closing" without never reaching the "Closed"status. I. On the other hand, when I opend them they go straight to "Open" without ever going through "opening". On the web GUI of HomeBridge the ones that are stuck appears as open and in a lighter grey. I'll leave some photos, sorry they are in spanish: [https://imgur.com/a/JFwZ3eV]. [https://imgur.com/a/tmxEHbs] I've seen this is a not an uncommon error, but did not find any solution. Any advice?

Thanks in advance!

1onar commented 1 year ago

Same here

ChopNorris commented 1 year ago

Same here

I have not been able to sort it out so far. In addition I added a few Dimmer 2 and I'm having some problems too. Were you able to fix something?

1onar commented 1 year ago

Same here

I have not been able to sort it out so far. In addition I added a few Dimmer 2 and I'm having some problems too. Were you able to fix something?

Yeah but it was a Firewall Issue of my NAS. Open and close commands got through. But somehow another port to my iot Network needed to be opened to see the „working Status“.

ChopNorris commented 1 year ago

Same here

I have not been able to sort it out so far. In addition I added a few Dimmer 2 and I'm having some problems too. Were you able to fix something?

Yeah but it was a Firewall Issue of my NAS. Open and close commands got through. But somehow another port to my iot Network needed to be opened to see the „working Status“.

That is nice! Could you elaborate a bit more on how did you solve it? I'm now an expert in network tinkering by any means.

Thanks!

1onar commented 1 year ago

Same here

I have not been able to sort it out so far. In addition I added a few Dimmer 2 and I'm having some problems too. Were you able to fix something?

Yeah but it was a Firewall Issue of my NAS. Open and close commands got through. But somehow another port to my iot Network needed to be opened to see the „working Status“.

That is nice! Could you elaborate a bit more on how did you solve it? I'm now an expert in network tinkering by any means.

Thanks!

Sure! I got a „IoT“ Subnet: 192.XXX.10.XXX and a default Network with my NAS: 192.XXX.1.XXX

It was allowed for my default network to communicate with IoT Subnet and the IoT only to communicate back. I also blocked all traffic to my Synology NAS (Firewall) and only whitelisted some things. But i had forgotten to whitelist the IoT Subnet 192.XXX.10.XXX.

When my Homebridge sent an open/close command it got through and my HomeKit did know its closed. But the feedbacked for example „it‘s moving“ was missing.

I hope you get what i mean. I am no network expert at all ^^

ChopNorris commented 1 year ago

Same here

I have not been able to sort it out so far. In addition I added a few Dimmer 2 and I'm having some problems too. Were you able to fix something?

Yeah but it was a Firewall Issue of my NAS. Open and close commands got through. But somehow another port to my iot Network needed to be opened to see the „working Status“.

That is nice! Could you elaborate a bit more on how did you solve it? I'm now an expert in network tinkering by any means. Thanks!

Sure! I got a „IoT“ Subnet: 192.XXX.10.XXX and a default Network with my NAS: 192.XXX.1.XXX

It was allowed for my default network to communicate with IoT Subnet and the IoT only to communicate back. I also blocked all traffic to my Synology NAS (Firewall) and only whitelisted some things. But i had forgotten to whitelist the IoT Subnet 192.XXX.10.XXX.

When my Homebridge sent an open/close command it got through and my HomeKit did know its closed. But the feedbacked for example „it‘s moving“ was missing.

I hope you get what i mean. I am no network expert at all ^^

Hello again, I've trying to replicate what you said during this last weeks but I'm not even getting exactly why is happening. I've got homebridge on an OranPi using ArmBian with docker. I connect to said Orange Pi using 192.XXX.1.XXX, but I don't know which one is the IoT subnet you are refering to. I have not made any changes in any of the firewalls.

Any advice? Thanks again