toverainc / willow

Open source, local, and self-hosted Amazon Echo/Google Home competitive Voice Assistant alternative
https://heywillow.io/
Apache License 2.0
2.6k stars 96 forks source link

Screen never times out #224

Open Takore2002 opened 1 year ago

Takore2002 commented 1 year ago

Whenever I plug the ESP Box Lite it responds to commands and displays what it should but then it just stays on the last thing it displayed. The screen never turns off or dims no matter how long I leave it.

I have re-flashed the box multiple times with the same results.

Takore2002 commented 1 year ago

Finally had a chance to pull the connection log and confirmed it is showing the LCD Timeout in the log. This is also on a fresh flash, I had even destroyed the environment and started from scratch this time, I just did as the previous flash was using Hi Lexin before I knew it was intended for Chinese users.

I (100) esp_image: segment 0: paddr=00010020 vaddr=3c140020 size=4a1f0h (303600) map
I (163) esp_image: segment 1: paddr=0005a218 vaddr=3fc9f6f0 size=05e00h ( 24064) load
I (169) esp_image: segment 2: paddr=00060020 vaddr=42000020 size=13425ch (1262172) map
I (396) esp_image: segment 3: paddr=00194284 vaddr=3fca54f0 size=00db4h (  3508) load
I (397) esp_image: segment 4: paddr=00195040 vaddr=40378000 size=176ech ( 95980) load
I (431) boot: Loaded app from partition at offset 0x10000
I (431) boot: Disabling RNG early entropy source...
I (442) opi psram: vendor id : 0x0d (AP)
I (443) opi psram: dev id    : 0x02 (generation 3)
I (443) opi psram: density   : 0x03 (64 Mbit)
I (446) opi psram: good-die  : 0x01 (Pass)
I (451) opi psram: Latency   : 0x01 (Fixed)
I (456) opi psram: VCC       : 0x01 (3V)
I (461) opi psram: SRF       : 0x01 (Fast Refresh)
I (466) opi psram: BurstType : 0x01 (Hybrid Wrap)
I (471) opi psram: BurstLen  : 0x01 (32 Byte)
I (476) opi psram: Readlatency  : 0x02 (10 cycles@Fixed)
I (482) opi psram: DriveStrength: 0x00 (1/1)
I (488) spiram: Found 64MBit SPI RAM device
I (492) spiram: SPI RAM mode: sram 80m
I (497) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (504) cpu_start: Pro cpu up.
I (507) cpu_start: Starting app cpu, entry point is 0x403796cc
I (0) cpu_start: App cpu up.
I (799) spiram: SPI SRAM memory test OK
I (809) cpu_start: Pro cpu start user code
I (809) cpu_start: cpu freq: 240000000
I (809) cpu_start: Application information:
I (811) cpu_start: Project name:     willow
I (816) cpu_start: App version:      1
I (821) cpu_start: Compile time:     Jul  4 2023 20:35:49
I (827) cpu_start: ELF file SHA256:  e41f9fd1daa59ba3...
I (833) cpu_start: ESP-IDF:          v4.4.4-448-gfd5e03b221-dirty
I (839) cpu_start: Min chip rev:     v0.0
I (844) cpu_start: Max chip rev:     v0.99
I (849) cpu_start: Chip rev:         v0.1
I (854) heap_init: Initializing. RAM available for dynamic allocation:
I (861) heap_init: At 3FCAB0C8 len 0003E648 (249 KiB): D/IRAM
I (867) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DIRAM
I (874) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM
I (880) spiram: Adding pool of 8192K of external SPI memory to heap allocator
I (889) spi_flash: detected chip: gd
I (893) spi_flash: flash io: dio
I (897) sleep: Configure to isolate all GPIO pins in sleep state
I (903) sleep: Enable automatic switching of GPIO sleep configuration
I (910) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (926) spiram: Reserving pool of 16K of internal memory for DMA/internal allocations
I (20:38:57.970) WILLOW: Starting up! Please wait...
I (20:39:00.652) WILLOW: initializing SNTP client
I (02:39:00.653) WILLOW: Using configured SNTP server 'pool.ntp.org'
I (02:39:00.680) WILLOW: audio_hal_ctrl_codec: ESP_OK
I (02:39:00.682) WILLOW: HASS URL: ****/api/components
I (02:39:00.706) WILLOW: HTTP status='200' content_length='3341'
I (02:39:00.710) WILLOW: Home Assistant has Assist Pipeline support
I (02:39:00.712) WILLOW: HASS URL: ws://****/api/websocket
I (02:39:00.729) WILLOW: WS event ID: 1
E (02:39:00.734) lcd_panel.io.i2c: panel_io_i2c_rx_buffer(128): i2c transaction failed
E (02:39:00.735) TT21100: esp_lcd_touch_tt21100_read_data(173): I2C read error!
E (02:39:00.740) TT21100: esp_lcd_touch_new_i2c_tt21100(103): TT21100 init failed
E (02:39:00.748) TT21100: Error (0xffffffff)! Touch controller TT21100 initialization failed!
E (02:39:00.757) WILLOW: failed to initialize touch screen: ESP_FAIL

----------------------------- ESP Audio Platform -----------------------------
|                                                                            |
|                       ESP_AUDIO-v1.7.2-20e6bd0-b92a149                     |
|                     Compile date: Nov 30 2022-07:50:12                     |
------------------------------------------------------------------------------
I (02:39:00.802) WILLOW: audio player initialized
I (02:39:00.805) WILLOW: periph_spiffs_is_mounted
E (02:39:01.309) I2S: register I2S object to platform failed
I (02:39:01.312) WILLOW: Using local multinet
MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (May  5 2023 20:32:52)
I (02:39:04.967) WILLOW: SNTP client synchronized time to 1688503144
Build fst from commands.
Quantized MultiNet6:rnnt_ctc_1.0, name:mn6_en, (May  5 2023 20:32:52)
Load 130 pre-defined speech commands.
Quantized MultiNet6 search method: 2, time out:2.0 s
I (02:39:05.899) WILLOW: app_main() - start_rec() finished
I (02:39:05.900) WILLOW: esp_netif_get_nr_of_ifs: 1
I (02:39:05.903) WILLOW: cmd_multinet[] size: 3699 bytes
I (02:39:05.908) WILLOW: MAC address: 
I (02:39:05.914) WILLOW: Startup complete! Waiting for wake word.
I (02:39:15.921) WILLOW: Wake LCD timeout, turning off LCD
stintel commented 1 year ago

I believe this should be fixed by 26996b88dcabc1a6eeac7a37c93e8aece3ba83c4 in the feature/was branch. You could wait until we merge it to master, alternatively you could try running WAS, but we have yet to finish the documentation for it.