diyhue / diyHue

Main diyHue software repo
https://diyhue.org/
Other
1.52k stars 274 forks source link

ESP crashing and other questions #945

Open ToracX opened 8 months ago

ToracX commented 8 months ago

Issue does not already exist?

I have searched and found no existing issue

Select Environment

Docker

Home Assistant related?

Yes

Description

My ESP's randomly crash sometime and going into some bootloop mode. Blinking blue LED. Checking the serial montior I get this error code.

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3584, room 16 tail 0 chksum 0xb0 csum 0xb0 v2843a5ac ~ld

When Im trying to add gradient lights to a new entertainment room hue app doesnt find any lights to add?

Also, I am using WS2811 ledstrip which have RBG instead of RGB. So using the diyHue Flash tool I wont get good colors. Now I am flashing myself using the .ino files chaging some lines of code manually. But these seem to be older and missing some features?

Would be great to have the option to flash a ESP using the web flash tool with WS2811 / RBG firmware.

And aslo, what is the difference between "gradient-lightstrip V4" and "ws2812_gradient v4".

Errorlog:

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3584, room 16 tail 0 chksum 0xb0 csum 0xb0 v2843a5ac ~ld

Steps to reproduce

Not found a way to reproduce yet.

Please enter your operating system details here

Hass RPi 3B

What DiyHue version(branch) are you using?

master (latest)

mariusmotea commented 8 months ago

Ensure you flash it with some SPIFFS storage. Also may enter in bootloop if the PS cannot sustain the load of the leds...

ToracX commented 8 months ago

SPIFFS

Its on a different powersupply. How do I flash with SPIFFS? Is it possible to use the online web flasher with ws2811?

mariusmotea commented 8 months ago

There is an option in Arduino to have SPIFFS storage before you upload the firmware. I think the web based flasher create a small SPIFFS storage

ToracX commented 8 months ago

There is an option in Arduino to have SPIFFS storage before you upload the firmware. I think the web based flasher create a small SPIFFS storage

Then can you make a version for WS2811 in the web based flasher? Tried various ways of flasing my esp but all options are 3 years old and not working anymore.