Skip to content

"DDP" effect on light entity causes boot loop if light is set to any type of RESTORE_DEFAULT_ON/OFF. #25

Description

@Teri928

In the DDP custom component I believe I've found a boot loop where ESPhome tries to restore the light including the DDP effect, and causes a crash. The component tries to start immediately on the light restore attempt, probably before other networking components. The following is from the log of the ESP i recovered from this boot loop. The light had the DDP effect selected on power loss.

[18:28:13][C][component:164]: Setup script took 0ms
[18:28:13][C][component:164]: Setup script took 0ms
[18:28:13][C][component:164]: Setup script took 0ms
[18:28:13][C][component:164]: Setup script took 0ms
[18:28:13][D][ddp:048]: Starting UDP listening for DDP.
[18:28:13]
[18:28:13]assert failed: xQueueSemaphoreTake queue.c:1709 (( pxQueue ))
[18:28:13]
[18:28:13]
[18:28:13]Backtrace: 0x400837b0:0x3ffb1660 0x4008ddc5:0x3ffb1680 0x400940d9:0x3ffb16a0 0x4008e54e:0x3ffb17e0 0x40140612:0x3ffb1820 0x4012e8c6:0x3ffb1840 0x40140ccf:0x3ffb1860 0x40140d2d:0x3ffb1880 0x4012d6d6:0x3ffb18d0 0x400d4a09:0x3ffb18f0 0x400d4bb0:0x3ffb1950 0x400e5b52:0x3ffb1990 0x400e5ffa:0x3ffb19d0 0x400e5fb5:0x3ffb19f0 0x400e5fc2:0x3ffb1a10 0x401b8add:0x3ffb1a30 0x400ebfb1:0x3ffb1a50 0x400eb740:0x3ffb1a70 0x400ec17c:0x3ffb1ae0 0x400ec1f6:0x3ffb1b90 0x401b9829:0x3ffb1bb0 0x400fd0c1:0x3ffb1bd0 0x400fcccd:0x3ffb1bf0 0x4010fe42:0x3ffb1c30 0x40117ecb:0x3ffb2270 0x4008ea22:0x3ffb2290
[18:28:13]
[18:28:13]
[18:28:13]
[18:28:13]
[18:28:13]ELF file SHA256: cdb28c722
[18:28:13]
[18:28:13]E (793) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
[18:28:13]E (801) esp_core_dump_elf: Elf write init failed!
[18:28:13]E (805) esp_core_dump_common: Core dump write failed with error=-1
[18:28:13]Rebooting...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions