shelly-homekit icon indicating copy to clipboard operation
shelly-homekit copied to clipboard

Shelly RGBW2 crash and boot loop after changing settings quickly

Open stosch opened this issue 1 year ago • 14 comments

So this is my first Shelly and I got it to control a cct led stripe via HomeKit.

Setting it up was easy enough but as soon as I change the values a few times in a short amount of time it crashes and is stuck in a bootloop. Sometimes it recovers itself, sometimes it turns it’s own wifi on and has to be reconnected to my home network.

As I am writing this it is again stuck in a bootloop since 5 minutes. No way to access it. It just flashes the LED Strip on and off again after a few seconds. It does not matter if I change the values in HomeKit, via Siri or on the web interface. If I am too fast it will just bootloop. If I can help let me know.

stosch avatar Jun 16 '23 21:06 stosch

The bootlooping continued for around half an hour. I could not get it to show up anywhere so I cut the power and went to bed. Today I tried it without leds attached but it still bootlooped until it reset itself.

the same thing happened yesterday in a bootloop session with LEDs attached so this detaching them might not be a factor. The power supply is a Meanwell pwm 60/24 (without pwm enabled) and the led strip maybe draws 20W at max (probably closer to 15W).

stosch avatar Jun 17 '23 13:06 stosch

+1 ... I've set initial state to off so device is not rebooting forever and it just crashes the shelly and starts over

joshuacake avatar Jun 29 '23 18:06 joshuacake

I have the same issue. :-(

adamek333 avatar Jul 01 '23 19:07 adamek333

Same issue, after changing the device type to color before flashing, the Shelly is no longer reachable via ping on the previous IP address and broadcasts its own AP.

bkleef avatar Sep 22 '23 06:09 bkleef

@stosc @joshuacake @adamek333 have you been able to successfully install an older version and if so which one?

bkleef avatar Sep 22 '23 06:09 bkleef

No, no older version. After hours of rebooting I was able to reach and reset it but that did not help. What helped was setting the initial state to off like @joshuacake suggested. It just crashes and restarts without a bootloop.

stosch avatar Sep 22 '23 13:09 stosch

I am also having the same issue. Is there an older version of the firmware that doesn’t have this issue? It has made mongoose unusable on my Shelly rgbw2. I reverted to stock and use homebridge but it doesn’t expose RGB+W.

kpoineal avatar Oct 19 '23 14:10 kpoineal

Same issue here. Any plans for an update?

TineTurk avatar Mar 28 '24 03:03 TineTurk

Same issue here. Shelly RGBW2 running 2.11.2

bbrinkerhoff avatar May 09 '24 17:05 bbrinkerhoff

I had this issue too. But I moved to HAA Homekit firmware and my RGBW2 works very stable without any crash. https://github.com/RavenSystem/mgostoHAA

lucassite120 avatar May 09 '24 19:05 lucassite120

I had this issue too. But I moved to HAA Homekit firmware and my RGBW2 works very stable without any crash. https://github.com/RavenSystem/mgostoHAA

Thank you for this. I was unable to have any luck with the OTA install. I believe it may be due to the main '.bin' file being named 'rgbw2.bin' vs 'rgbw2-color.bin'. Changing this and the 'manifest.json' to reflect this didn't get me much farther.

I ended up just manually flashing the HAA firmware directly over USB-Serial and was able to find success with that method. I've gotten it setup and working and it has been much more responsive and stable so far.

bbrinkerhoff avatar May 15 '24 19:05 bbrinkerhoff

Good afternoon, @timoschilling has this been sorted out in the pre-released beta versions? Thank you

vrpt2022 avatar May 26 '24 21:05 vrpt2022

There is a commit from Timon that should fix crashes at 100% PWM duty cycle. Apart from that I do not know, because I cannot reproduce this effect on my RGBW2

markirb avatar May 28 '24 18:05 markirb

I had the same problem. The new beta has fixed the problem for me https://github.com/mongoose-os-apps/shelly-homekit/tree/2.12.0-beta5

Grufbert avatar Jun 24 '24 19:06 Grufbert