Closed dcgrove closed 3 days ago
What are you using to power the device. Looks like the OLED is not responding and possibly being underpowered. When the device is powered by the 12v vent supply does the screen power on?
The error i notice is i2c bus error which has to do with the OLED.
The two middle pins on the OLED were not soldered. A little dab of solder fixed it right up.
So sorry about that. Ill step up my game.
No worries, it was an easy fix.
Hello, I just attempted to flash my second device using the stock yaml file included below and am showing these errors in the logs after booting up. I have tried refreshing via USB and OTA with no success. Any ideas?
`esphome: name: left-vent friendly_name: Left Vent
esp32: board: esp32-c3-devkitm-1 framework: type: arduino
Enable logging
logger:
Enable Home Assistant API
api: encryption: key: "*****"
ota:
wifi: ssid: !secret wifi_ssid password: !secret wifi_password
Enable fallback hotspot (captive portaal) in case wifi connection fails
ap: ssid: "Left-Vent Fallback Hotspot" password: "Ud9NoeR7PvVU"
captive_portal:
i2c: sda: GPIO6 scl: GPIO7 scan: True
globals:
button:
number:
sensor:
platform: ntc sensor: temp_resistance_reading calibration:
Inversed for PTC
- 10.0kOhm -> 28.88°C
- 10.86kOhm -> 23.55°C
- 13kOhm -> 16.94°C
- 17kOhm -> 9.44°C
name: "AC Infinity Temperature" id: temp_sensor unit_of_measurement: "°C" accuracy_decimals: 2 icon: "mdi:thermometer"
platform: resistance id: temp_resistance_reading sensor: adc_sensor configuration: DOWNSTREAM resistor: 10kOhm
platform: adc pin: GPIO4 id: adc_sensor attenuation: 12db
output:
power_supply: fan_speed
display:
Celcius
lambda: |-
it.printf(1, 0, id(myfont), "Airtap T-Series");
it.printf(0, 14, id(myfont), "Temp: %.1f°C", id(temp_sensor).state);
it.printf(0, 28, id(myfont), "Fan Speed: %d", id(fan_speed));
Fahrenheit
lambda: |- it.printf(1, 0, id(myfont), "Airtap T-Series"); float temp_f = (id(temp_sensor).state * 9.0 / 5.0) + 32.0; it.printf(0, 14, id(myfont), "Temp: %.1f°F", temp_f); it.printf(0, 28, id(myfont), "Fan Speed: %d", id(fan_speed));
You will need to download the font file available online and place it in the same directory as your configuration file
https://font.download/font/arial
font:
binary_sensor:
platform: gpio pin: GPIO10 name: "Mode Button" on_press: then:
platform: gpio pin: GPIO20 name: "Up Button" on_press: then:
platform: gpio pin: GPIO8 name: "Down Button" on_press: then:
platform: gpio pin: GPIO9 name: "Toggle Button" on_press: then:
light:
interval:
`[11:06:58][I][logger:171]: Log initialized [11:06:58][C][safe_mod[I][logger:171]: Log initialized [11:06:58][C][safe_mode:079]: There have been 8 suspected unsuccessful boot attempts [11:06:58][D][esp32.preferences:114]: Saving 1 preferences to flash... [11:07:00][D][esp32.preferences:143]: Saving 1 prefereE (5237) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: [11:07:00]E (5237) task_wdt: - loopTask (CPU 0) [11:07:00]E (5237) task_wdt: Tasks currently running: [11:07:00]E (5237) task_wdt: CPU 0: IDLE [11:07:00]E (5237) task_wdt: Aborting. [11:07:00]ESP-ROM:esp32c3-api1-20210207 [11:07:00]Build:Feb 7 2021 [11:07:00]rst:0x3 (RTC_SW_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT) [11:07:00]Saved PC:0x403825fa [11:07:00]SPIWP:0xee [11:07:00]mode:DIO, clock div:1 [11:07:00]load:0x3fcd6100,len:0x438 [11:07:00]load:0x403ce000,len:0x918 [11:07:00]load:0x403d0000,len:0x24e4 [11:07:00]entry 0x403ce000 [11:07:00][I][logger:171]: Log initialized [11:07:00][C][safe_mode:079]: There have been 9 suspected unsuccessful boot attempts [11:07:00][D][esp32.preferences:114]: Saving 1 preferences to flash... [11:07:00][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed [11:07:00][I][app:029]: Running through setup()... [11:07:00][I][i2c.arduino:218]: Performing I2C bus recovery [11:07:00][E][i2c.arduino:291]: Recovery failed: SDA is held LOW after clock pulse cycle [11:07:05]E (5226) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: [11:07:05]E (5226) task_wdt: - loopTask (CPU 0) [11:07:05]E (5226) task_wdt: Tasks currently running: [11:07:05]E (5226) task_wdt: CPU 0: IDLE [11:07:05]E (5226) task_wdt: Aborting. [11:07:06]ESP-ROM:esp32c3-api1-20210207 [11:07:06]Build:Feb 7 2021 [11:07:06]rst:0x3 (RTC_SW_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT) [11:07:06]Saved PC:0x403825fa [11:07:06]SPIWP:0xee [11:07:06]mode:DIO, clock div:1 [11:07:06]load:0x3fcd6100,len:0x438 [11:07:06]load:0x403ce000,len:0x918 [11:07:06]load:0x403d0000,len:0x24e4 [11:07:06]entry 0x403ce000 [11:07:06][I][logger:171]: Log initialized [11:07:06][C][safe_mode:079]: There have been 10 suspected unsuccessful boot attempts [11:07:06][D][esp32.preferences:114]: Saving 1 preferences to flash... [11:07:06][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed [11:07:06][E][safe_mode:086]: Boot loop detected. Proceeding to safe mode [11:07:06][E][component:164]: Component safe_mode set Error flag: unspecified [11:07:06][I][app:029]: Running through setup()... [11:07:06][C][wifi:048]: Setting up WiFi... [11:07:06][C][wifi:061]: Starting WiFi... [11:07:06][C][wifi:062]: Local MAC: 24:EC:4A:C9:90:74 [11:07:06][D][wifi:482]: Starting scan... [11:07:06][W][component:157]: Component wifi set Warning flag: scanning for networks [11:07:08][D][wifi:497]: Found networks: [11:07:08][I][wifi:541]: - 'nest' (A6:05:D6:D7:34:C9) [redacted]▂▄▆█ [11:07:08][D][wifi:542]: Channel: 6 [11:07:08][D][wifi:543]: RSSI: -52 dB [11:07:08][I][wifi:541]: - 'nest' (A2:05:D6:5B:42:C6) [redacted]▂▄▆█ [11:07:08][D][wifi:542]: Channel: 1 [11:07:08][D][wifi:543]: RSSI: -67 dB [11:07:08][I][wifi:541]: - 'nest' (F2:63:DA:74:2D:3A) [redacted]▂▄▆█ [11:07:08][D][wifi:542]: Channel: 1 [11:07:08][D][wifi:543]: RSSI: -69 dB [11:07:08][D][wifi:546]: - 'prettyfly4awifi'[redacted] (9C:05:D6:D7:34:C9) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - 'daddyisawesome'[redacted] (AA:05:D6:D7:34:C9) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - ''[redacted] (AE:05:D6:D7:34:C9) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - 'prettyfly4awifi'[redacted] (9C:05:D6:5B:42:C6) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - 'daddyisawesome'[redacted] (A6:05:D6:5B:42:C6) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - ''[redacted] (AA:05:D6:5B:42:C6) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - 'daddyisawesome'[redacted] (EA:63:DA:74:2D:3A) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - 'test'[redacted] (E6:63:DA:74:2D:3A) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - 'prettyfly4awifi'[redacted] (EE:63:DA:74:2D:3A) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - ''[redacted] (E0:63:DA:74:2D:3A) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - ''[redacted] (FA:D2:AC:B2:1C:4F) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - 'CrawHome'[redacted] (FA:D2:AC:B2:1C:4C) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - ''[redacted] (FA:D2:AC:B2:1C:4A) [redacted]▂▄▆█ [11:07:08][D][wifi:546]: - ''[redacted] (FA:D2:AC:B2:1C:4D) [redacted]▂▄▆█ [11:07:08][I][wifi:313]: WiFi Connecting to 'nest'... [11:07:08][W][wifi_esp32:545][arduino_events]: Event: Disconnected ssid='nest' bssid=A6:05:D6:D7:34:C9[redacted] reason='Authentication Failed' [11:07:08][W][wifi:674]: WiFi Unknown connection status 0 [11:07:08][I][wifi:313]: WiFi Connecting to 'nest'... [11:07:09][W][wifi_esp32:545][arduino_events]: Event: Disconnected ssid='nest' bssid=A6:05:D6:D7:34:C9[redacted] reason='Auth Expired' [11:07:09][W][wifi:653]: Error while connecting to network. [11:07:09][D][wifi:697]: Retrying with hidden networks... [11:07:14][I][wifi:313]: WiFi Connecting to 'nest'... [11:07:17][I][wifi:617]: WiFi Connected! [11:07:17][C][wifi:428]: Local MAC: 24:EC:4A:C9:90:74 [11:07:17][C][wifi:433]: SSID: 'nest'[redacted] [11:07:17][C][wifi:436]: IP Address: 192.168.1.181 [11:07:17][C][wifi:440]: BSSID: A6:05:D6:D7:34:C9[redacted]
[11:07:17][C][wifi:443]: Signal strength: -50 dB ▂▄▆█ [11:07:17][C][wifi:447]: Channel: 6 [11:07:17][C][wifi:448]: Subnet: 255.255.255.0 [11:07:17][C][wifi:449]: Gateway: 192.168.1.1 [11:07:17][C][wifi:450]: DNS1: 192.168.1.36 [11:07:17][C][wifi:451]: DNS2: 192.168.1.148 [11:07:17][D][wifi:626]: Disabling AP... [11:07:17][I][app:062]: setup() finished successfully! [11:07:17][W][safe_mode:099]: SAFE MODE IS ACTIVE [11:07:17][W][component:170]: Component wifi cleared Warning flag [11:07:17][I][app:100]: ESPHome version 2024.11.2 compiled on Nov 28 2024, 11:04:47
[11:07:17][C][wifi:428]: Local MAC: 24:EC:4A:C9:90:74 [11:07:17][C][wifi:433]: SSID: 'nest'[redacted] [11:07:17][C][wifi:436]: IP Address: 192.168.1.181 [11:07:17][C][wifi:440]: BSSID: A6:05:D6:D7:34:C9[redacted]
[11:07:17][C][wifi:443]: Signal strength: -50 dB ▂▄▆█ [11:07:17][C][wifi:447]: Channel: 6 [11:07:17][C][wifi:448]: Subnet: 255.255.255.0 [11:07:17][C][wifi:449]: Gateway: 192.168.1.1 [11:07:17][C][wifi:450]: DNS1: 192.168.1.36 [11:07:17][C][wifi:451]: DNS2: 192.168.1.148
[11:07:17][C][logger:186]: Level: DEBUG [11:07:17][C][logger:188]: Log Baud Rate: 115200 [11:07:17][C][logger:189]: Hardware UART: USB_CDC [11:07:17][C][captive_portal:089]: Captive Portal:
[11:07:17][C][mdns:117]: Hostname: left-vent [11:07:17][C][esphome.ota:073]: Over-The-Air updates: [11:07:17][C][esphome.ota:074]: Address: left-vent.local:3232 [11:07:17][C][esphome.ota:075]: Version: 2 [11:07:17][C][esphome.ota:078]: Password configured [11:07:17][C][safe_mode:018]: Safe Mode: [11:07:17][C][safe_mode:020]: Boot considered successful after 60 seconds [11:07:17][C][safe_mode:021]: Invoke after 10 boot attempts [11:07:17][C][safe_mode:023]: Remain in safe mode for 300 seconds [11:07:17][W][safe_mode:031]: SAFE MODE IS ACTIVE `
logs.txt