Skip to content

Instantly share code, notes, and snippets.

@nickolay
Created February 10, 2023 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickolay/cf171d77777bf4f4e0b5bca115c57ff4 to your computer and use it in GitHub Desktop.
Save nickolay/cf171d77777bf4f4e0b5bca115c57ff4 to your computer and use it in GitHub Desktop.
$ esphome run clock.yaml
INFO Reading configuration clock.yaml...
WARNING The selected Arduino framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.
WARNING The selected Arduino framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.
INFO Generating C++ source...
INFO Compiling app...
Processing lilygo (board: esp32-s3-devkitc-1; framework: arduino; platform: platformio/espressif32 @ 5.1.1)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch3
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch3
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- WiFi @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- Update @ 2.0.0
|-- Wire @ 2.0.0
|-- LilyGoEPD47 @ 0.3.0+sha.deae2d2
Compiling .pioenvs/lilygo/src/main.cpp.o
<command-line>: warning: "ARDUINO_RUNNING_CORE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "ARDUINO_EVENT_RUNNING_CORE" redefined
<command-line>: note: this is the location of the previous definition
Linking .pioenvs/lilygo/firmware.elf
RAM: [= ] 12.5% (used 41120 bytes from 327680 bytes)
Flash: [==== ] 43.9% (used 806053 bytes from 1835008 bytes)
Building .pioenvs/lilygo/firmware.bin
Creating esp32s3 image...
Successfully created esp32s3 image.
esp32_create_combined_bin([".pioenvs/lilygo/firmware.bin"], [".pioenvs/lilygo/firmware.elf"])
Flash params set to 0x023f
Wrote 0xd4e30 bytes to file [...]/.pioenvs/lilygo/firmware-factory.bin, ready to flash to offset 0x0
=============================================================================== [SUCCESS] Took 11.14 seconds ===============================================================================
INFO Successfully compiled program.
Found multiple options, please choose one:
[1] /dev/cu.usbmodem14201 (USB JTAG/serial debug unit)
[2] Over The Air (lilygo.local)
(number): 1
esptool.py v3.3.1
Serial port /dev/cu.usbmodem14201
Connecting....
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:ff:f3:cc
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash will be erased from 0x00010000 to 0x000d4fff...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Compressed 806448 bytes to 502987...
Wrote 806448 bytes (502987 compressed) at 0x00010000 in 9.5 seconds (effective 676.1 kbit/s)...
Hash of data verified.
Flash params set to 0x024f
Compressed 14896 bytes to 10242...
Wrote 14896 bytes (10242 compressed) at 0x00000000 in 0.3 seconds (effective 390.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 144...
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.1 seconds (effective 474.8 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 662.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
INFO Successfully uploaded program.
INFO Starting log output from /dev/cu.usbmodem14201 with baud rate 115200
[20:47:57]Saved PC:0x40378b41
WARNING Decoded 0x40378b41: esp_spiram_init_cache at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_hw_support/port/esp32s3/spiram.c:99
[20:47:57]SPIWP:0xee
[20:47:57]mode:DIO, clock div:1
[20:47:57]load:0x3fcd0108,len:0x43c
[20:47:57]load:0x403b6000,len:0xbd0
[20:47:57]load:0x403ba000,len:0x29c8
[20:47:57]SHA-256 comparison failed:
[20:47:57]Calculated: 27beaa143e4753b6cdeed5b388d3ebbf4c921ce01156fd10673139a323a25557
[20:47:57]Expected: 6eb14ec480aff4f05e39378c41406102ac163573741e63b6cfd73509ef44e3bd
[20:47:57]Attempting to boot anyway...
[20:47:57]entry 0x403b61d8
[20:47:57][ 191][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
[20:47:57][I][logger:243]: Log initialized
[20:47:57][C][ota:465]: There have been 5 suspected unsuccessful boot attempts.
[20:47:57][D][esp32.preferences:113]: Saving 1 preferences to flash...
[20:47:57][V][esp32.preferences:125]: sync: key: 233825507, len: 4
[20:47:57][D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[20:47:57][I][app:029]: Running through setup()...
[20:47:57][V][app:030]: Sorting components by setup priority...
[20:47:57][D][binary_sensor:034]: 'Button 1': Sending initial state OFF
[20:47:57][V][t574:015]: Initialize called
[20:47:57][V][t574:032]: Initialize complete
[20:47:57][C][wifi:037]: Setting up WiFi...
[20:47:57][V][esp32.preferences:058]: nvs_get_blob('2918247961'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[20:47:57][V][wifi_esp32:039]: Enabling STA.
[20:47:57][ 234][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 0 - WIFI_READY
[20:47:57][V][wifi_esp32:445]: Event: WiFi ready
[20:47:57][ 316][V][WiFiGeneric.cpp:283] _arduino_event_cb(): STA Started
[20:47:57][ 317][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 2 - STA_START
[20:47:57][V][wifi_esp32:460]: Event: WiFi STA start
[20:47:57][I][wifi:255]: WiFi Connecting to '[...]'...
[20:47:57][V][wifi:257]: Connection Params:
[20:47:57][V][wifi:258]: SSID: '[...]'
[20:47:57][V][wifi:263]: BSSID: Not Set
[20:47:57][V][wifi:281]: Password: '[...]'
[20:47:57][V][wifi:288]: Channel: Not Set
[20:47:57][V][wifi:295]: Using DHCP IP
[20:47:57][V][wifi:297]: Hidden: NO
[20:47:58][V][t574:074]: Display called
[20:48:00][ 3115][V][WiFiGeneric.cpp:295] _arduino_event_cb(): STA Connected: SSID: [...], BSSID: [...], Channel: 10, Auth: WPA2_PSK
[20:48:00][ 3117][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 4 - STA_CONNECTED
[20:48:00][V][wifi_esp32:478]: Event: Connected ssid='[...]' bssid=[...] channel=10, authmode=WPA2 PSK
[20:48:00][ 3485][V][WiFiGeneric.cpp:305] _arduino_event_cb(): STA Got New IP:192.168.2.101
[20:48:00][ 3486][D][WiFiGeneric.cpp:852] _eventCallback(): Arduino Event: 7 - STA_GOT_IP
[20:48:00][ 3489][D][WiFiGeneric.cpp:914] _eventCallback(): STA IP: 192.168.2.101, MASK: 255.255.255.0, GW: 192.168.2.1
[20:48:00][V][wifi_esp32:537]: Event: Got IP static_ip=192.168.2.101 gateway=192.168.2.1
[20:48:01][V][t574:082]: Display finished (full) (2507ms)
[20:48:01][V][component:199]: Component t547.display took a long time for an operation (3.30 s).
[20:48:01][V][component:200]: Components should block for at most 20-30ms.
[20:48:01][I][wifi:516]: WiFi Connected!
[20:48:01][C][wifi:360]: Local MAC: 7C:DF:A1:FF:F3:CC
[20:48:01][C][wifi:361]: SSID: '[...]'
[20:48:01][C][wifi:362]: IP Address: 192.168.2.101
[20:48:01][C][wifi:364]: BSSID: [...]
[20:48:01][C][wifi:365]: Hostname: 'lilygo'
[20:48:01][C][wifi:367]: Signal strength: -48 dB ▂▄▆█
[20:48:01][C][wifi:371]: Channel: 10
[20:48:01][C][wifi:372]: Subnet: 255.255.255.0
[20:48:01][C][wifi:373]: Gateway: 192.168.2.1
[20:48:01][C][wifi:374]: DNS1: 192.168.2.1
[20:48:01][C][wifi:375]: DNS2: 0.0.0.0
[20:48:01][D][wifi:525]: Disabling AP...
[20:48:01][C][ota:089]: Over-The-Air Updates:
[20:48:01][C][ota:090]: Address: lilygo.local:3232
[20:48:01][C][ota:093]: Using Password.
[20:48:01][W][ota:099]: Last Boot was an unhandled reset, will proceed to safe mode in 5 restarts
[20:48:01][C][api:025]: Setting up Home Assistant API server...
[20:48:01][I][app:062]: setup() finished successfully!
[20:48:01][I][app:102]: ESPHome version 2022.10.2 compiled on Feb 10 2023, 20:47:31
[20:48:01][C][wifi:502]: WiFi:
[20:48:01][C][wifi:360]: Local MAC: 7C:DF:A1:FF:F3:CC
[20:48:01][C][wifi:361]: SSID: '[...]'
[20:48:01][C][wifi:362]: IP Address: 192.168.2.101
[20:48:01][C][wifi:364]: BSSID: [...]
[20:48:01][C][wifi:365]: Hostname: 'lilygo'
[20:48:01][C][wifi:367]: Signal strength: -48 dB ▂▄▆█
[20:48:01][C][wifi:371]: Channel: 10
[20:48:01][C][wifi:372]: Subnet: 255.255.255.0
[20:48:01][C][wifi:373]: Gateway: 192.168.2.1
[20:48:01][C][wifi:374]: DNS1: 192.168.2.1
[20:48:01][C][wifi:375]: DNS2: 0.0.0.0
[20:48:01][C][logger:275]: Logger:
[20:48:01][C][logger:276]: Level: VERBOSE
[20:48:01][C][logger:277]: Log Baud Rate: 115200
[20:48:01][C][logger:278]: Hardware UART: UART0
[20:48:01][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Button 1'
[20:48:01][C][gpio.binary_sensor:016]: Pin: GPIO21
[20:48:01][C][homeassistant.time:010]: Home Assistant Time:
[20:48:01][C][homeassistant.time:011]: Timezone: '[...]'
[20:48:01][C][t574:053]: T547
[20:48:01][C][t574:053]: Rotations: 0 °
[20:48:01][C][t574:053]: Dimensions: 960px x 540px
[20:48:01][C][t574:054]: Update Interval: 60.0s
[20:48:01][C][mdns:100]: mDNS:
[20:48:01][C][mdns:101]: Hostname: lilygo
[20:48:01][V][mdns:102]: Services:
[20:48:01][V][mdns:104]: - _esphomelib, _tcp, 6053
[20:48:01][V][mdns:106]: TXT: version = 2022.10.2
[20:48:01][V][mdns:106]: TXT: mac = 7cdfa1fff3cc
[20:48:01][V][mdns:106]: TXT: platform = ESP32
[20:48:01][V][mdns:106]: TXT: board = esp32-s3-devkitc-1
[20:48:01][V][mdns:106]: TXT: network = wifi
[20:48:01][C][ota:089]: Over-The-Air Updates:
[20:48:01][C][ota:090]: Address: lilygo.local:3232
[20:48:01][C][ota:093]: Using Password.
[20:48:01][W][ota:099]: Last Boot was an unhandled reset, will proceed to safe mode in 5 restarts
[20:48:01][C][api:138]: API Server:
[20:48:01][C][api:139]: Address: lilygo.local:6053
[20:48:01][C][api:143]: Using noise encryption: NO
[20:48:02][D][api:102]: Accepted ::FFFF:192.168.2.69
[20:48:02][V][api.connection:899]: Hello from client: 'Home Assistant 2022.11.2 (::FFFF:192.168.2.69)' | API Version 1.7
[20:48:03][D][api.connection:917]: Home Assistant 2022.11.2 (::FFFF:192.168.2.69): Connected successfully
[20:48:04][D][time:042]: Synchronized time: 2023-02-10 20:48:03
[20:48:12][D][binary_sensor:036]: 'Button 1': Sending state ON
[20:48:12][D][main:059]: PhysButton Pressed
[20:48:13][D][binary_sensor:036]: 'Button 1': Sending state OFF
[20:48:56][V][t574:074]: Display called
[20:48:58][V][t574:082]: Display finished (full) (1869ms)
[20:48:58][V][component:199]: Component t547.display took a long time for an operation (2.66 s).
[20:48:58][V][component:200]: Components should block for at most 20-30ms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment