Sensor reading in HA History doesn't match ESP32's serial log

My greenhouse ESP32-S3 is on a deep_sleep cycle of 3 minutes awake (to take 3 readings) then 30 minutes asleep. I am monitoring the battery voltage using a INA3221 so that I can take actions as the battery voltage gets low … but the first battery voltage reading in each cycle is usually low.

In this case the HA History shows the last battery voltage reading of 3.63V at 10:36:22AM and previous at 10:04:44AM.

However the ESP32 USB log (below) shows the ESP32 waking at 2025-12-16 10:36:19.954, and I can see only one Battery Voltage sensor reading being taken at 2025-12-16 10:36:23.610 - with value 3.18400, which is used to shut down the ESP32.

Why do these not match up ? I can understand the clocks on the three computers not being perfectly aligned … but how to explain the difference between 3.6 and 3.184 ???

ESP-ROM:esp32s3-20210327
[2025-12-16 10:36:19.954] Build:Mar 27 2021
[2025-12-16 10:36:19.956] rst:0x5 (DSLEEP),boot:0x8 (SPI_FAST_FLASH_BOOT)
[2025-12-16 10:36:19.960] SPIWP:0xee
[2025-12-16 10:36:19.961] mode:DIO, clock div:1
[2025-12-16 10:36:19.963] load:0x3fce2820,len:0x158c
[2025-12-16 10:36:19.965] load:0x403c8700,len:0xd24
[2025-12-16 10:36:19.968] load:0x403cb700,len:0x2f34
[2025-12-16 10:36:19.970] entry 0x403c891c
[2025-12-16 10:36:19.972] I (24) boot: ESP-IDF 5.5.1 2nd stage bootloader
[2025-12-16 10:36:19.976] I (24) boot: compile time Dec  6 2025 18:09:20
[2025-12-16 10:36:19.981] I (25) boot: Multicore bootloader
[2025-12-16 10:36:19.984] I (25) boot: chip revision: v0.2
[2025-12-16 10:36:19.987] I (27) boot: efuse block revision: v1.3
[2025-12-16 10:36:19.990] I (31) boot.esp32s3: Boot SPI Speed : 80MHz
[2025-12-16 10:36:19.994] I (35) boot.esp32s3: SPI Mode       : DIO
[2025-12-16 10:36:19.998] I (39) boot.esp32s3: SPI Flash Size : 16MB
[2025-12-16 10:36:20.002] I (43) boot: Enabling RNG early entropy source...
[2025-12-16 10:36:20.006] I (47) boot: Partition Table:
[2025-12-16 10:36:20.009] I (50) boot: ## Label            Usage          Type ST Offset   Length
[2025-12-16 10:36:20.015] I (56) boot:  0 otadata          OTA data         01 00 00009000 00002000
[2025-12-16 10:36:20.022] I (62) boot:  1 phy_init         RF data          01 01 0000b000 00001000
[2025-12-16 10:36:20.028] I (69) boot:  2 app0             OTA app          00 10 00010000 007c0000
[2025-12-16 10:36:20.035] I (75) boot:  3 app1             OTA app          00 11 007d0000 007c0000
[2025-12-16 10:36:20.041] I (82) boot:  4 nvs              WiFi data        01 02 00f90000 0006d000
[2025-12-16 10:36:20.048] I (89) boot: End of partition table
[2025-12-16 10:36:20.051] I (92) esp_image: segment 0: paddr=007d0020 vaddr=3c0c0020 size=2b964h (178532) map
[2025-12-16 10:36:20.079] I (131) esp_image: segment 1: paddr=007fb98c vaddr=3fc9d100 size=0468ch ( 18060) load
[2025-12-16 10:36:20.086] I (135) esp_image: segment 2: paddr=00800020 vaddr=42000020 size=bf96ch (784748) map
[2025-12-16 10:36:20.221] I (273) esp_image: segment 3: paddr=008bf994 vaddr=3fca178c size=007c0h (  1984) load
[2025-12-16 10:36:20.229] I (274) esp_image: segment 4: paddr=008c015c vaddr=40374000 size=190b4h (102580) load
[2025-12-16 10:36:20.247] I (299) esp_image: segment 5: paddr=008d9218 vaddr=50000000 size=00020h (    32) 
[2025-12-16 10:36:20.254] I (300) esp_image: segment 6: paddr=008d9240 vaddr=600fe000 size=00060h (    96) 
[2025-12-16 10:36:20.262] I (312) boot: Loaded app from partition at offset 0x7d0000
[2025-12-16 10:36:20.267] I (313) boot: Disabling RNG early entropy source...
[2025-12-16 10:36:20.765] [I][logger:121]: Log initialized
[2025-12-16 10:36:20.770] [C][safe_mode:084]: Unsuccessful boot attempts: 0
[2025-12-16 10:36:20.809] [D][esp32.preferences:149]: Writing 1 items: 0 cached, 1 written, 0 failed
[2025-12-16 10:36:20.816] [I][app:073]: Running through setup()
[2025-12-16 10:36:20.820] [I][i2c.idf:191]: Performing bus recovery
[2025-12-16 10:36:20.851] [C][component:173]: Setup i2c took 36ms
[2025-12-16 10:36:20.855] [C][component:173]: Setup preferences took 0ms
[2025-12-16 10:36:20.861] [D][esp-idf:000]: E (278) i2c.master: I2C hardware NACK detected
[2025-12-16 10:36:20.867] [D][esp-idf:000]: E (279) i2c.master: I2C transaction unexpected nack detected
[2025-12-16 10:36:20.875] [D][esp-idf:000]: E (279) i2c.master: s_i2c_synchronous_transaction(945): I2C transaction failed
[2025-12-16 10:36:20.884] [D][esp-idf:000]: E (281) i2c.master: i2c_master_execute_defined_operations(1401): I2C transaction failed
[2025-12-16 10:36:20.894] [D][esp-idf:000]: E (292) i2c.master: I2C hardware NACK detected
[2025-12-16 10:36:20.901] [D][esp-idf:000]: E (292) i2c.master: I2C transaction unexpected nack detected
[2025-12-16 10:36:20.909] [D][esp-idf:000]: E (302) i2c.master: s_i2c_synchronous_transaction(945): I2C transaction failed
[2025-12-16 10:36:20.918] [D][esp-idf:000]: E (312) i2c.master: i2c_master_execute_defined_operations(1401): I2C transaction failed
[2025-12-16 10:36:20.928] [E][one_wire:023]: 1-wire bus is held low
[2025-12-16 10:36:20.933] [C][component:173]: Setup ds2484.one_wire took 54ms
[2025-12-16 10:36:20.938] [C][component:173]: Setup esphome.coroutine took 0ms
[2025-12-16 10:36:20.944] [C][component:173]: Setup esp32_rmt_led_strip.light took 1ms
[2025-12-16 10:36:20.950] [C][component:173]: Setup template.sensor took 0ms
[2025-12-16 10:36:20.956] [C][component:173]: Setup uptime.sensor took 0ms
[2025-12-16 10:36:20.961] [C][component:173]: Setup template.text_sensor took 0ms
[2025-12-16 10:36:20.967] [D][number:035]: 'awake_timer': Sending state 0.000000
[2025-12-16 10:36:20.972] [C][component:173]: Setup template.number took 10ms
[2025-12-16 10:36:20.978] [D][switch:026]: 'status_LED' Turning OFF.
[2025-12-16 10:36:20.983] [D][switch:065]: 'status_LED': Sending state OFF
[2025-12-16 10:36:20.988] [D][switch:026]: 'status_LED' Turning OFF.
...
[2025-12-16 10:36:21.032] [C][component:173]: Setup gpio.switch took 20ms
[2025-12-16 10:36:21.037] [C][component:173]: Setup esphome.coroutine took 0ms
[2025-12-16 10:36:21.042] [C][component:173]: Setup script took 0ms
[2025-12-16 10:36:21.047] [C][component:173]: Setup globals took 3ms
[2025-12-16 10:36:21.052] [C][component:173]: Setup globals took 2ms
[2025-12-16 10:36:21.056] [C][component:173]: Setup template.switch took 0ms
[2025-12-16 10:36:21.062] [C][component:173]: Setup template.switch took 0ms
[2025-12-16 10:36:21.067] [D][light:091]: 'RGB LED' Setting:
[2025-12-16 10:36:21.071] [D][light:097]:   Color mode: RGB
[2025-12-16 10:36:21.075] [C][component:173]: Setup light took 10ms
[2025-12-16 10:36:21.080] [D][template.switch:045]:   Restored state ON
[2025-12-16 10:36:21.084] [D][switch:022]: 'USB-IN Latching Relay' Turning ON.
[2025-12-16 10:36:21.090] [D][switch:022]: 'usb_in_on' Turning ON.
[2025-12-16 10:36:21.095] [D][switch:065]: 'usb_in_on': Sending state ON
[2025-12-16 10:36:21.100] [C][component:173]: Setup template.switch took 10ms
[2025-12-16 10:36:21.106] [D][template.switch:045]:   Restored state OFF
[2025-12-16 10:36:21.146] [C][component:173]: Setup esphome.coroutine took 0ms
[2025-12-16 10:36:21.152] [C][component:173]: Setup psram took 0ms
[2025-12-16 10:36:21.156] [C][component:173]: Setup restart.button took 0ms
[2025-12-16 10:36:21.161] [D][esp-idf:000]: E (558) i2c.master: I2C hardware NACK detected
[2025-12-16 10:36:21.168] [D][esp-idf:000]: E (568) i2c.master: I2C transaction unexpected nack detected
[2025-12-16 10:36:21.176] [D][esp-idf:000]: E (578) i2c.master: s_i2c_synchronous_transaction(945): I2C transaction failed
[2025-12-16 10:36:21.185] [D][esp-idf:000]: E (578) i2c.master: i2c_master_execute_defined_operations(1401): I2C transaction failed
[2025-12-16 10:36:21.195] [E][one_wire:023]: 1-wire bus is held low
[2025-12-16 10:36:21.200] [W][dallas.temp.sensor:066]: 'DS2484 temperature' - reading scratch pad failed bus reset
[2025-12-16 10:36:21.209] [W][component:307]: dallas_temp.sensor set Warning flag: bus reset failed
[2025-12-16 10:36:21.216] [C][component:173]: Setup dallas_temp.sensor took 62ms
[2025-12-16 10:36:21.222] [C][component:173]: Setup sht3xd.sensor took 3ms
[2025-12-16 10:36:21.227] [C][component:173]: Setup am2320.sensor took 5ms
[2025-12-16 10:36:21.232] [C][component:173]: Setup adc.sensor took 1ms
[2025-12-16 10:36:21.237] [C][component:173]: Setup bh1750.sensor took 1ms
[2025-12-16 10:36:21.242] [C][component:173]: Setup ina3221.sensor took 3ms
[2025-12-16 10:36:21.248] [D][text_sensor:087]: 'ESPHome Version': Sending state '2025.11.5 Dec 14 2025, 17:34:51'
[2025-12-16 10:36:21.256] [C][component:173]: Setup version.text_sensor took 1ms
[2025-12-16 10:36:21.262] [C][component:173]: Setup homeassistant.time took 0ms
[2025-12-16 10:36:21.268] [D][binary_sensor:049]: 'Status': OFF
[2025-12-16 10:36:21.272] [C][component:173]: Setup status.binary_sensor took 0ms
[2025-12-16 10:36:21.278] [C][component:173]: Setup script took 0ms
[2025-12-16 10:36:21.282] [C][pulse_counter:071]:     PCNT Unit Number: 0
[2025-12-16 10:36:21.287] [C][pulse_counter:072]:     PCNT Channel Number: 0
[2025-12-16 10:36:21.293] [C][pulse_counter:118]:     Filter Value: 13us (val=1023)
[2025-12-16 10:36:21.299] [C][component:173]: Setup pulse_counter.sensor took 21ms
[2025-12-16 10:36:21.305] [C][component:173]: Setup esphome.coroutine took 0ms
[2025-12-16 10:36:21.310] [C][component:173]: Setup web_server_base took 0ms
[2025-12-16 10:36:21.316] [C][component:173]: Setup captive_portal took 0ms
[2025-12-16 10:36:21.341] [C][wifi:344]: Starting
[2025-12-16 10:36:21.344]   Local MAC: 98:3D:AE:EB:24:F4
[2025-12-16 10:36:21.389] [D][wifi:1621]: Loaded fast_connect settings
[2025-12-16 10:36:21.394] [I][wifi:384]: Starting fast_connect (saved) 'dagoba'
[2025-12-16 10:36:21.400] [I][wifi:707]: Connecting to 'dagoba' (64:66:B3:ED:08:C4) (priority 0, attempt 1/1 in phase INITIAL_CONNECT)...
[2025-12-16 10:36:21.412] [C][component:173]: Setup wifi took 97ms
[2025-12-16 10:36:21.416] [C][component:173]: Setup web_server took 2ms
[2025-12-16 10:36:21.421] [C][component:173]: Setup esphome.ota took 1ms
[2025-12-16 10:36:21.426] [C][component:173]: Setup safe_mode took 0ms
[2025-12-16 10:36:21.431] [C][component:173]: Setup web_server.ota took 0ms
[2025-12-16 10:36:21.437] [W][component:298]: api set Warning flag: unspecified
[2025-12-16 10:36:21.442] [C][component:173]: Setup api took 11ms
[2025-12-16 10:36:21.447] [C][component:173]: Setup wifi_signal.sensor took 0ms
[2025-12-16 10:36:21.452] [C][component:173]: Setup wifi_info.text_sensor took 0ms
[2025-12-16 10:36:21.458] [C][component:173]: Setup mdns took 1ms
[2025-12-16 10:36:21.463] [C][component:173]: Setup homeassistant.switch took 0ms
[2025-12-16 10:36:21.468] [C][component:173]: Setup homeassistant.switch took 0ms
[2025-12-16 10:36:21.474] [C][component:173]: Setup homeassistant.text_sensor took 0ms
[2025-12-16 10:36:21.480] [D][deep_sleep:022]: Not scheduling; no run duration configured
[2025-12-16 10:36:21.487] [C][component:173]: Setup deep_sleep took 10ms
[2025-12-16 10:36:21.492] [D][main:646]:  
[2025-12-16 10:36:21.494] [D][main:649]: ########### ON_BOOT pause 2s pause ##########
[2025-12-16 10:36:21.501] [D][switch:022]: 'status_LED' Turning ON.
[2025-12-16 10:36:21.505] [D][switch:065]: 'status_LED': Sending state ON
[2025-12-16 10:36:21.510] [D][light:091]: 'RGB LED' Setting:
[2025-12-16 10:36:21.514] [D][light:104]:   State: ON
[2025-12-16 10:36:21.518] [D][light:079]:   Brightness: 80%
[2025-12-16 10:36:21.522] [D][light:115]:   Red: 0%, Green: 100%, Blue: 0%
[2025-12-16 10:36:21.527] [C][component:173]: Setup esphome.coroutine took 41ms
[2025-12-16 10:36:21.533] [C][component:173]: Setup esphome.coroutine took 0ms
[2025-12-16 10:36:21.538] [I][app:120]: setup() finished successfully!
[2025-12-16 10:36:21.543] [D][switch:026]: 'usb_in_on' Turning OFF.
[2025-12-16 10:36:21.548] [D][switch:065]: 'usb_in_on': Sending state OFF
[2025-12-16 10:36:21.553] [D][switch:065]: 'USB-IN Latching Relay': Sending state ON
[2025-12-16 10:36:21.559] [W][component:307]: wifi set Warning flag: associating to network
[2025-12-16 10:36:21.565] [I][app:190]: ESPHome version 2025.11.5 compiled on Dec 14 2025, 17:34:51
[2025-12-16 10:36:21.573] [C][logger:261]: Logger:
[2025-12-16 10:36:21.576]   Max Level: DEBUG
[2025-12-16 10:36:21.577]   Initial Level: DEBUG
[2025-12-16 10:36:21.580] [C][logger:267]:   Log Baud Rate: 115200
[2025-12-16 10:36:21.584]   Hardware UART: UART0
[2025-12-16 10:36:21.586] [C][logger:274]:   Task Log Buffer Size: 768
[2025-12-16 10:36:21.591] [I][wifi:1079]: Connected
[2025-12-16 10:36:21.594] [C][wifi:827]:   Local MAC: 98:3D:AE:EB:24:F4
[2025-12-16 10:36:21.599] [C][wifi:834]:   IP Address: 192.168.1.124
[2025-12-16 10:36:21.604] [C][wifi:838]:   SSID: 'dagoba'
[2025-12-16 10:36:21.608]   BSSID: 64:66:B3:ED:08:C4
[2025-12-16 10:36:21.611]   Hostname: 'greenhouse'
[2025-12-16 10:36:21.613]   Signal strength: -57 dB ▂▄▆█
[2025-12-16 10:36:21.618]   Channel: 13
[2025-12-16 10:36:21.619]   Subnet: 255.255.255.0
[2025-12-16 10:36:21.621]   Gateway: 192.168.1.1
[2025-12-16 10:36:21.623]   DNS1: 0.0.0.0
[2025-12-16 10:36:21.625]   DNS2: 0.0.0.0
[2025-12-16 10:36:21.626] [D][wifi:1103]: Disabling AP
[2025-12-16 10:36:21.630] [C][i2c.idf:081]: I2C Bus:
[2025-12-16 10:36:21.633] [C][i2c.idf:082]:   SDA Pin: GPIO14
[2025-12-16 10:36:21.637]   SCL Pin: GPIO13
[2025-12-16 10:36:21.639]   Frequency: 50000 Hz
[2025-12-16 10:36:21.641] [C][i2c.idf:092]:   Recovery: bus successfully recovered
[2025-12-16 10:36:21.647] [C][i2c.idf:102]: Results from bus scan:
[2025-12-16 10:36:21.651] [C][i2c.idf:108]: Found device at address 0x23
[2025-12-16 10:36:21.656] [C][i2c.idf:108]: Found device at address 0x40
[2025-12-16 10:36:21.661] [C][i2c.idf:108]: Found device at address 0x44
[2025-12-16 10:36:21.666] [D][text_sensor:087]: 'Wifi Connected BSSID': Sending state '64:66:B3:ED:08:C4'
[2025-12-16 10:36:21.674] [D][text_sensor:087]: 'WLAN node': Sending state 'Study'
[2025-12-16 10:36:21.680] [D][sensor:133]: 'Wifi channel': Sending state 13.00000  with 1 decimals of accuracy
[2025-12-16 10:36:21.688] [I][TEST:035]: #####     >>>>>>>>>>> WIFI CONNECT
[2025-12-16 10:36:21.694] [W][component:337]: wifi cleared Warning flag
[2025-12-16 10:36:21.699] [C][ds2484.onewire:013]: 1-wire bus:
[2025-12-16 10:36:21.703] [W][ds2484.onewire:082]:   Found no devices!
[2025-12-16 10:36:21.708] [C][esp32_rmt_led_strip:268]: ESP32 RMT LED Strip:
[2025-12-16 10:36:21.713]   Pin: 48
[2025-12-16 10:36:21.714] [C][esp32_rmt_led_strip:272]:   RMT Symbols: 192
[2025-12-16 10:36:21.719] [C][esp32_rmt_led_strip:297]:   RGB Order: GRB
[2025-12-16 10:36:21.724]   Max refresh rate: 0
[2025-12-16 10:36:21.726]   Number of LEDs: 1
[2025-12-16 10:36:21.728] [C][template.sensor:017]: Template Sensor 'Wifi channel'
[2025-12-16 10:36:21.733]   State Class: ''
[2025-12-16 10:36:21.735]   Unit of Measurement: ''
[2025-12-16 10:36:21.737]   Accuracy Decimals: 1
[2025-12-16 10:36:21.740] [C][template.sensor:363]:   Update Interval: 60.0s
[2025-12-16 10:36:21.745] [C][uptime.sensor:017]: Uptime Sensor 'Uptime'
[2025-12-16 10:36:21.750]   State Class: 'total_increasing'
[2025-12-16 10:36:21.753]   Unit of Measurement: 's'
[2025-12-16 10:36:21.755]   Accuracy Decimals: 0
[2025-12-16 10:36:21.757] [C][uptime.sensor:027]:   Device Class: 'duration'
[2025-12-16 10:36:21.763] [C][uptime.sensor:031]:   Icon: 'mdi:timer-outline'
[2025-12-16 10:36:21.768] [C][uptime.sensor:033]:   Type: Seconds
[2025-12-16 10:36:21.773] [C][template.text_sensor:016]: Template Sensor 'WLAN node'
[2025-12-16 10:36:21.779] [C][template.number:017]: Template Number 'awake_timer'
[2025-12-16 10:36:21.784] [C][template.number:050]:   Optimistic: YES
[2025-12-16 10:36:21.789] [C][template.number:363]:   Update Interval: 60.0s
[2025-12-16 10:36:21.795] [C][switch.gpio:092]: GPIO Switch 'status_LED'
[2025-12-16 10:36:21.799]   Restore Mode: always OFF
[2025-12-16 10:36:21.802] [C][switch.gpio:029]:   Pin: GPIO42
[2025-12-16 10:36:21.806] [C][switch.gpio:092]: GPIO Switch 'usb_in_on'
[2025-12-16 10:36:21.811]   Restore Mode: always OFF
[2025-12-16 10:36:21.813] [C][switch.gpio:029]:   Pin: GPIO4
[2025-12-16 10:36:21.817] [C][switch.gpio:092]: GPIO Switch 'usb_in_off'
[2025-12-16 10:36:21.822]   Restore Mode: always OFF
[2025-12-16 10:36:21.825] [C][switch.gpio:029]:   Pin: GPIO5
[2025-12-16 10:36:21.857] [C][light:089]: Light 'RGB LED'
[2025-12-16 10:36:21.861] [C][light:092]:   Default Transition Length: 0.0s
[2025-12-16 10:36:21.866]   Gamma Correct: 2.80
[2025-12-16 10:36:21.870] [C][template.switch:092]: Template Switch 'USB-IN Latching Relay'
[2025-12-16 10:36:21.876]   Restore Mode: restore defaults to OFF
[2025-12-16 10:36:21.880] [C][template.switch:056]:   Optimistic: NO
[2025-12-16 10:36:21.884] [C][template.switch:092]: Template Switch 'Low Battery'
[2025-12-16 10:36:21.890]   Restore Mode: always OFF
[2025-12-16 10:36:21.893] [C][template.switch:056]:   Optimistic: YES
[2025-12-16 10:36:21.897] [C][template.switch:092]: Template Switch 'Is misting'
[2025-12-16 10:36:21.903]   Restore Mode: always OFF
[2025-12-16 10:36:21.905] [C][template.switch:056]:   Optimistic: YES
[2025-12-16 10:36:21.910] [C][psram:016]: PSRAM:
[2025-12-16 10:36:21.913] [C][psram:019]:   Available: YES
[2025-12-16 10:36:21.917] [C][psram:021]:   Size: 8192 KB
[2025-12-16 10:36:21.921] [C][restart.button:015]: Restart Button 'Restart Button'
[2025-12-16 10:36:21.927] [C][restart.button:018]:   Icon: 'mdi:restart'
[2025-12-16 10:36:21.932] [C][dallas.temp.sensor:029]: Dallas Temperature Sensor:
[2025-12-16 10:36:21.937] [C][dallas.temp.sensor:034]:   Address: 0x4f00000de030ce28 (DS18B20)
[2025-12-16 10:36:21.944] [C][dallas.temp.sensor:035]:   Resolution: 12 bits
[2025-12-16 10:36:21.950] [C][dallas.temp.sensor:363]:   Update Interval: 120.0s
[2025-12-16 10:36:21.955] [C][sht3xd:048]: SHT3xD:
[2025-12-16 10:36:21.959] [D][sht3xd:063]:   Serial Number: 0x2171234F
[2025-12-16 10:36:21.963] [D][sht3xd:064]:   Heater Enabled: false
[2025-12-16 10:36:21.968] [C][sht3xd:066]:   Address: 0x44
[2025-12-16 10:36:21.972] [C][sht3xd:363]:   Update Interval: 60.0s
[2025-12-16 10:36:21.976] [C][sht3xd:017]:   Temperature 'SHT30 Temperature'
[2025-12-16 10:36:21.981]     State Class: 'measurement'
[2025-12-16 10:36:21.984]     Unit of Measurement: '°C'
[2025-12-16 10:36:21.987]     Accuracy Decimals: 1
[2025-12-16 10:36:21.989] [C][sht3xd:027]:     Device Class: 'temperature'
[2025-12-16 10:36:21.995] [C][sht3xd:017]:   Humidity 'SHT30 Humidity'
[2025-12-16 10:36:21.999]     State Class: 'measurement'
[2025-12-16 10:36:22.002]     Unit of Measurement: '%'
[2025-12-16 10:36:22.004]     Accuracy Decimals: 1
[2025-12-16 10:36:22.007] [C][sht3xd:027]:     Device Class: 'humidity'
[2025-12-16 10:36:22.012] [D][am2320:046]: AM2320:
[2025-12-16 10:36:22.015] [C][am2320:047]:   Address: 0x5C
[2025-12-16 10:36:22.019] [C][am2320:017]:   Temperature 'AM2320 Temperature'
[2025-12-16 10:36:22.024]     State Class: 'measurement'
[2025-12-16 10:36:22.026]     Unit of Measurement: '°C'
[2025-12-16 10:36:22.029]     Accuracy Decimals: 1
[2025-12-16 10:36:22.032] [C][am2320:027]:     Device Class: 'temperature'
[2025-12-16 10:36:22.037] [C][am2320:017]:   Humidity 'AM2320 Humidity'
[2025-12-16 10:36:22.042]     State Class: 'measurement'
[2025-12-16 10:36:22.044]     Unit of Measurement: '%'
[2025-12-16 10:36:22.047]     Accuracy Decimals: 1
[2025-12-16 10:36:22.049] [C][am2320:027]:     Device Class: 'humidity'
[2025-12-16 10:36:22.054] [C][adc.esp32:017]: ADC Sensor 'Battery temp'
[2025-12-16 10:36:22.059]   State Class: 'measurement'
[2025-12-16 10:36:22.061]   Unit of Measurement: 'V'
[2025-12-16 10:36:22.064]   Accuracy Decimals: 2
[2025-12-16 10:36:22.066] [C][adc.esp32:027]:   Device Class: 'voltage'
[2025-12-16 10:36:22.071] [C][adc.esp32:122]:   Pin: GPIO6
[2025-12-16 10:36:22.075] [C][adc.esp32:123]:   Channel:       5
[2025-12-16 10:36:22.079]   Unit:          ADC1
[2025-12-16 10:36:22.081]   Attenuation:   0 dB
[2025-12-16 10:36:22.083]   Samples:       1
[2025-12-16 10:36:22.084]   Sampling mode: average
[2025-12-16 10:36:22.087] [C][adc.esp32:133]:   Setup Status:
[2025-12-16 10:36:22.090]     Handle Init:  OK
[2025-12-16 10:36:22.092]     Config:       OK
[2025-12-16 10:36:22.094]     Calibration:  OK
[2025-12-16 10:36:22.096]     Overall Init: OK
[2025-12-16 10:36:22.098] [C][adc.esp32:363]:   Update Interval: 60.0s
[2025-12-16 10:36:22.103] [C][bh1750.sensor:017]: BH1750 'BH1750 Illuminance'
[2025-12-16 10:36:22.108]   State Class: 'measurement'
[2025-12-16 10:36:22.111]   Unit of Measurement: 'lx'
[2025-12-16 10:36:22.113]   Accuracy Decimals: 1
[2025-12-16 10:36:22.115] [C][bh1750.sensor:027]:   Device Class: 'illuminance'
[2025-12-16 10:36:22.121] [C][bh1750.sensor:118]:   Address: 0x23
[2025-12-16 10:36:22.125] [C][bh1750.sensor:363]:   Update Interval: 60.0s
[2025-12-16 10:36:22.131] [C][ina3221:059]: INA3221:
[2025-12-16 10:36:22.134] [C][ina3221:060]:   Address: 0x40
[2025-12-16 10:36:22.138] [C][ina3221:363]:   Update Interval: 60.0s
[2025-12-16 10:36:22.143] [C][ina3221:017]:   Bus Voltage #1 'USB-in Voltage'
[2025-12-16 10:36:22.148]     State Class: 'measurement'
[2025-12-16 10:36:22.150]     Unit of Measurement: 'V'
[2025-12-16 10:36:22.153]     Accuracy Decimals: 2
[2025-12-16 10:36:22.155] [C][ina3221:027]:     Device Class: 'voltage'
[2025-12-16 10:36:22.160] [C][ina3221:017]:   Current #1 'USB-in Current'
[2025-12-16 10:36:22.165]     State Class: 'measurement'
[2025-12-16 10:36:22.168]     Unit of Measurement: 'A'
[2025-12-16 10:36:22.170]     Accuracy Decimals: 2
[2025-12-16 10:36:22.173] [C][ina3221:027]:     Device Class: 'current'
[2025-12-16 10:36:22.178] [C][ina3221:017]:   Bus Voltage #2 'Solar Voltage'
[2025-12-16 10:36:22.183]     State Class: 'measurement'
[2025-12-16 10:36:22.186]     Unit of Measurement: 'V'
[2025-12-16 10:36:22.188]     Accuracy Decimals: 2
[2025-12-16 10:36:22.191] [C][ina3221:027]:     Device Class: 'voltage'
[2025-12-16 10:36:22.196] [C][ina3221:017]:   Current #2 'Solar Current'
[2025-12-16 10:36:22.200]     State Class: 'measurement'
[2025-12-16 10:36:22.203]     Unit of Measurement: 'A'
[2025-12-16 10:36:22.205]     Accuracy Decimals: 2
[2025-12-16 10:36:22.208] [C][ina3221:027]:     Device Class: 'current'
[2025-12-16 10:36:22.213] [C][ina3221:017]:   Bus Voltage #3 'Battery Voltage'
[2025-12-16 10:36:22.218]     State Class: 'measurement'
[2025-12-16 10:36:22.221]     Unit of Measurement: 'V'
[2025-12-16 10:36:22.223]     Accuracy Decimals: 2
[2025-12-16 10:36:22.226] [C][ina3221:027]:     Device Class: 'voltage'
[2025-12-16 10:36:22.231] [C][ina3221:017]:   Current #3 'Battery Current'
[2025-12-16 10:36:22.236]     State Class: 'measurement'
[2025-12-16 10:36:22.238]     Unit of Measurement: 'A'
[2025-12-16 10:36:22.241]     Accuracy Decimals: 2
[2025-12-16 10:36:22.243] [C][ina3221:027]:     Device Class: 'current'
[2025-12-16 10:36:22.248] [C][version.text_sensor:016]: Version Text Sensor 'ESPHome Version'
[2025-12-16 10:36:22.255] [C][version.text_sensor:023]:   Icon: 'mdi:new-box'
[2025-12-16 10:36:22.261] [D][bh1750.sensor:158]: 'BH1750 Illuminance': Illuminance=293.5lx
[2025-12-16 10:36:22.267] [D][sensor:133]: 'BH1750 Illuminance': Sending state 293.49899 lx with 1 decimals of accuracy
[2025-12-16 10:36:22.276] [C][homeassistant.time:010]: Home Assistant Time
[2025-12-16 10:36:22.282] [C][time:029]: Timezone: 'AEST-10AEDT,M10.1.0,M4.1.0/3'
[2025-12-16 10:36:22.287] [C][status:018]: Status Binary Sensor 'Status'
[2025-12-16 10:36:22.292] [C][status:021]:   Device Class: 'connectivity'
[2025-12-16 10:36:22.336] [C][captive_portal:122]: Captive Portal:
[2025-12-16 10:36:22.345] [C][wifi:1062]: WiFi:
[2025-12-16 10:36:22.347]   Connected: YES
[2025-12-16 10:36:22.349] [C][wifi:827]:   Local MAC: 98:3D:AE:EB:24:F4
[2025-12-16 10:36:22.354] [C][wifi:834]:   IP Address: 192.168.1.124
[2025-12-16 10:36:22.358] [C][wifi:838]:   SSID: 'dagoba'
[2025-12-16 10:36:22.362]   BSSID: 64:66:B3:ED:08:C4
[2025-12-16 10:36:22.366]   Hostname: 'greenhouse'
[2025-12-16 10:36:22.368]   Signal strength: -57 dB ▂▄▆█
[2025-12-16 10:36:22.373]   Channel: 13
[2025-12-16 10:36:22.374]   Subnet: 255.255.255.0
[2025-12-16 10:36:22.376]   Gateway: 192.168.1.1
[2025-12-16 10:36:22.378]   DNS1: 0.0.0.0
[2025-12-16 10:36:22.379]   DNS2: 0.0.0.0
[2025-12-16 10:36:22.381] [C][web_server:326]: Web Server:
[2025-12-16 10:36:22.385]   Address: 192.168.1.124:80
[2025-12-16 10:36:22.387] [C][esphome.ota:093]: Over-The-Air updates:
[2025-12-16 10:36:22.392]   Address: 192.168.1.124:3232
[2025-12-16 10:36:22.394]   Version: 2
[2025-12-16 10:36:22.396] [C][safe_mode:018]: Safe Mode:
[2025-12-16 10:36:22.399]   Successful after: 60s
[2025-12-16 10:36:22.401]   Invoke after: 10 attempts
[2025-12-16 10:36:22.404]   Duration: 300s
[2025-12-16 10:36:22.405] [C][web_server.ota:241]: Web Server OTA
[2025-12-16 10:36:22.410] [D][sensor:133]: 'Battery temp': Sending state 2.33310 V with 2 decimals of accuracy
[2025-12-16 10:36:22.418] [C][api:223]: Server:
[2025-12-16 10:36:22.421]   Address: 192.168.1.124:6053
[2025-12-16 10:36:22.423]   Listen backlog: 4
[2025-12-16 10:36:22.425]   Max connections: 8
[2025-12-16 10:36:22.427] [C][api:230]:   Noise encryption: YES
[2025-12-16 10:36:22.431] [C][wifi_signal.sensor:017]: WiFi Signal 'WiFi Signal dB'
[2025-12-16 10:36:22.437]   State Class: 'measurement'
[2025-12-16 10:36:22.440]   Unit of Measurement: 'dBm'
[2025-12-16 10:36:22.442]   Accuracy Decimals: 0
[2025-12-16 10:36:22.445] [C][wifi_signal.sensor:027]:   Device Class: 'signal_strength'
[2025-12-16 10:36:22.451] [C][wifi_info:016]: BSSID 'Wifi Connected BSSID'
[2025-12-16 10:36:22.456] [C][mdns:177]: mDNS:
[2025-12-16 10:36:22.459]   Hostname: greenhouse
[2025-12-16 10:36:22.513] [C][deep_sleep:027]: Deep sleep:
[2025-12-16 10:36:22.517] [C][deep_sleep:068]:   Wakeup Pin: GPIO17
[2025-12-16 10:36:22.757] [D][api:161]: Accept 192.168.1.97
[2025-12-16 10:36:22.762] [W][component:337]: api cleared Warning flag
[2025-12-16 10:36:22.766] [D][binary_sensor:049]: 'Status': ON
[2025-12-16 10:36:22.811] [D][api.connection:1386]: Home Assistant 2025.12.2 (192.168.1.97) connected
[2025-12-16 10:36:22.818] [D][main:110]: #####     >>>>>>>>>>  API Client 'Home Assistant 2025.12.2' connected with IP 192.168.1.97
[2025-12-16 10:36:22.828] [D][time:068]: Synchronized time: 2025-12-16 10:36:22
[2025-12-16 10:36:22.891] [D][homeassistant.switch:023]: 'input_boolean.greenhouse_stay_awake': Got state OFF
[2025-12-16 10:36:22.899] [D][switch:065]: 'Stay awake toggle': Sending state OFF
[2025-12-16 10:36:22.905] [D][main:229]: **********  stay_awake  switch turned OFF ! *****  stay_awake=false, allow deep_sleep 
[2025-12-16 10:36:22.915] [D][homeassistant.switch:023]: 'input_boolean.greenhouse_stay_awake': Got state OFF
[2025-12-16 10:36:22.923] [D][switch:065]: 'Debug mode toggle': Sending state OFF
[2025-12-16 10:36:22.929] [D][main:356]: **********  debug_mode  switch turned OFF ! *****  debug_mode=false 
[2025-12-16 10:36:22.937] [D][homeassistant.switch:023]: 'input_boolean.greenhouse_stay_awake': Got state OFF
[2025-12-16 10:36:22.945] [D][homeassistant.switch:023]: 'input_boolean.greenhouse_stay_awake': Got state OFF
[2025-12-16 10:36:22.954] [D][homeassistant.text_sensor:017]: 'input_select.greenhouse_minutes_asleep': Got state '30'
[2025-12-16 10:36:22.963] [D][main:275]: **********  greenhouse_minutes_asleep  on_raw_value  ****  was minutes_asleep=,  new x=30, global_sleep_duration=1800000
[2025-12-16 10:36:22.975] [D][text_sensor:087]: 'minutes_asleep': Sending state '30'
[2025-12-16 10:36:23.508] [D][main:663]:  
[2025-12-16 10:36:23.511] [D][main:666]: ########### ON_BOOT continues ###########
[2025-12-16 10:36:23.520] [D][on_boot:664]: >>>>>> on_boot: stay awake  awake_timer=3.000000, is_misting.state=false 
[2025-12-16 10:36:23.525] [D][:669]: category 4 = wakeup from deep_sleep.   reason: sleep timer 
[2025-12-16 10:36:23.532] [D][main:391]:    >>>>>> battery status  usb_in_relay_state=true, usb_relay=true, is_low_battery=false 
[2025-12-16 10:36:23.542] [D][switch:022]: 'USB-IN Latching Relay' Turning ON.
[2025-12-16 10:36:23.548] [D][switch:022]: 'usb_in_on' Turning ON.
[2025-12-16 10:36:23.552] [D][switch:065]: 'usb_in_on': Sending state ON
[2025-12-16 10:36:23.557] [D][light:091]: 'RGB LED' Setting:
[2025-12-16 10:36:23.561] [D][light:104]:   State: OFF
[2025-12-16 10:36:23.565] [D][light:142]:   Transition length: 20.0s
[2025-12-16 10:36:23.569] [D][main:690]: ##### on_boot -100 finished
[2025-12-16 10:36:23.574] [D][main:693]:  
[2025-12-16 10:36:23.576] [D][sensor:133]: 'USB-in Voltage': Sending state 0.00000 V with 2 decimals of accuracy
[2025-12-16 10:36:23.585] [D][sensor:133]: 'USB-in Current': Sending state 0.00000 A with 2 decimals of accuracy
[2025-12-16 10:36:23.593] [D][sensor:133]: 'Solar Voltage': Sending state 3.94400 V with 2 decimals of accuracy
[2025-12-16 10:36:23.602] [D][sensor:133]: 'Solar Current': Sending state 0.00640 A with 2 decimals of accuracy
[2025-12-16 10:36:23.610] [D][sensor:133]: 'Battery Voltage': Sending state 3.18400 V with 2 decimals of accuracy
[2025-12-16 10:36:23.619] [D][main:887]: called check_battery_voltage
[2025-12-16 10:36:23.624] [D][main:444]: ##### battery is <3.2v (3.18v) LOW BATTERY - SHUTTING DOWN #####
[2025-12-16 10:36:23.631] [D][switch:022]: 'Low Battery' Turning ON.
[2025-12-16 10:36:23.636] [D][switch:065]: 'Low Battery': Sending state ON
[2025-12-16 10:36:23.641] [I][deep_sleep:061]: Beginning sleep
[2025-12-16 10:36:23.646] [I][deep_sleep:063]: Sleeping for 10800000000us
[2025-12-16 10:36:23.667] [D][esp32.preferences:149]: Writing 2 items: 1 cached, 1 written, 0 failed
[2025-12-16 10:36:23.674] [D][main:701]: ##### on_shutdown -100 start
[2025-12-16 10:36:23.679] [D][display_current_values:699]:   ********** stay_awake=false, minutes_asleep=30, global_sleep_duration=30 minutes, awake_timer=3.000000 
[2025-12-16 10:36:23.692] [D][main:703]:    >>>>>> states   usb_in_relay_state=true, usb_relay=true, is_low_battery=true, awake_timer=3.000000, is_misting=false 
[2025-12-16 10:36:23.705] [D][switch:026]: 'status_LED' Turning OFF.
[2025-12-16 10:36:23.709] [D][switch:065]: 'status_LED': Sending state OFF
[2025-12-16 10:36:23.715] [D][main:707]: ##### on_shutdown -100 finished. 
[2025-12-16 10:36:23.746] [D][main:715]: ##### on_shutdown 600 finished
[2025-12-16 10:36:23.751] [D][main:723]: ##### on_shutdown 900 finished
[2025-12-16 10:36:23.756] [D][main:115]: #####     >>>>>>>>>> API client disconnected!```

What happens if you wait a couple of seconds before shutting down? I would have thought a tenth of a second was enough to complete the update. - but maybe not.

That was my second thought … that the super low 3.184V sensor reading had simply not been sent to HA - but if so, where did the 3.6V reading on HA at almost the same time come from ? The timing coincided with initialising the INA3221 but there is no indication in the log that any values had been measured then.

Now that I’m looking closer, it seems that HA is receiving sensor reading values from INA3221 when it is being initialised as part of the ESPHome boot procedure, but not recorded in the log.
Eg:


Unfortunately you can’t see the individual data points, but they are:

entity_id state last_changed
sensor.greenhouse_battery_voltage 3.41599988937378 2025-12-17T22:42:00.000Z
sensor.greenhouse_battery_voltage unknown 2025-12-17T23:05:33.983Z
sensor.greenhouse_battery_voltage 3.57599997520447 2025-12-17T23:05:36.815Z
sensor.greenhouse_battery_voltage 3.58400011062622 2025-12-17T23:07:36.795Z
sensor.greenhouse_battery_voltage 3.57599997520447 2025-12-17T23:08:36.813Z
sensor.greenhouse_battery_voltage 3.43199992179871 2025-12-17T23:09:36.809Z

Looking at the same period, the ESP32’s serial log includes:

  • [2025-12-18 10:05:32] [C][ina3221:017]: Bus Voltage #3 ‘Battery Voltage’
  • [2025-12-18 10:05:36] [D][sensor:133]: ‘Battery Voltage’: Sending state 3.57600 V with 2 decimals of accuracy
  • [2025-12-18 10:06:36] [D][sensor:133]: ‘Battery Voltage’: Sending state 3.57600 V with 2 decimals of accuracy
  • [2025-12-18 10:07:36] [D][sensor:133]: ‘Battery Voltage’: Sending state 3.58400 V with 2 decimals of accuracy
  • [2025-12-18 10:08:36] [D][sensor:133]: ‘Battery Voltage’: Sending state 3.57600 V with 2 decimals of accuracy
  • [2025-12-18 10:09:36] [D][sensor:133]: ‘Battery Voltage’: Sending state 3.43200 V with 2 decimals of accuracy

Hmmm … but I see ESPHome 2025.12.0 is out, which supposedly fixed Wi-Fi, so best to update and try again.

ESP-ROM:esp32s3-20210327
[2025-12-18 10:05:30] Build:Mar 27 2021
[2025-12-18 10:05:30] rst:0x5 (DSLEEP),boot:0x8 (SPI_FAST_FLASH_BOOT)
[2025-12-18 10:05:30] SPIWP:0xee
[2025-12-18 10:05:30] mode:DIO, clock div:1
[2025-12-18 10:05:30] load:0x3fce2820,len:0x158c
[2025-12-18 10:05:30] load:0x403c8700,len:0xd24
[2025-12-18 10:05:30] load:0x403cb700,len:0x2f34
[2025-12-18 10:05:30] entry 0x403c891c
[2025-12-18 10:05:30] I (24) boot: ESP-IDF 5.5.1 2nd stage bootloader
[2025-12-18 10:05:30] I (24) boot: compile time Dec  6 2025 18:09:20
[2025-12-18 10:05:30] I (25) boot: Multicore bootloader
[2025-12-18 10:05:30] I (25) boot: chip revision: v0.2
[2025-12-18 10:05:30] I (27) boot: efuse block revision: v1.3
...
[2025-12-18 10:05:32] [C][component:173]: Setup bh1750.sensor took 1ms
[2025-12-18 10:05:32] [C][component:173]: Setup ina3221.sensor took 2ms
[2025-12-18 10:05:32] [D][text_sensor:087]: 'ESPHome Version': Sending state '2025.11.5 Dec 16 2025, 17:32:14'
[2025-12-18 10:05:32] [C][component:173]: Setup version.text_sensor took 8ms
[2025-12-18 10:05:32] [C][component:173]: Setup homeassistant.time took 0ms
[2025-12-18 10:05:32] [D][binary_sensor:049]: 'Status': OFF
[2025-12-18 10:05:32] [C][component:173]: Setup status.binary_sensor took 0ms
...
[2025-12-18 10:05:32] [C][component:173]: Setup esphome.coroutine took 0ms
[2025-12-18 10:05:32] [C][component:173]: Setup web_server_base took 0ms
[2025-12-18 10:05:32] [C][component:173]: Setup captive_portal took 0ms
[2025-12-18 10:05:32] [C][wifi:344]: Starting
[2025-12-18 10:05:32]   Local MAC: 98:3D:AE:EB:24:F4
[2025-12-18 10:05:32] [D][wifi:1621]: Loaded fast_connect settings
[2025-12-18 10:05:32] [I][wifi:384]: Starting fast_connect (saved) 'dagoba'
[2025-12-18 10:05:32] [I][wifi:707]: Connecting to 'dagoba' (64:66:B3:ED:08:C4) (priority 0, attempt 1/1 in phase INITIAL_CONNECT)...
[2025-12-18 10:05:32] [C][component:173]: Setup wifi took 97ms
[2025-12-18 10:05:32] [C][component:173]: Setup web_server took 2ms
[2025-12-18 10:05:32] [C][component:173]: Setup esphome.ota took 1ms
[2025-12-18 10:05:32] [C][component:173]: Setup safe_mode took 0ms
[2025-12-18 10:05:32] [C][component:173]: Setup web_server.ota took 0ms
[2025-12-18 10:05:32] [W][component:298]: api set Warning flag: unspecified
[2025-12-18 10:05:32] [C][component:173]: Setup api took 1ms
[2025-12-18 10:05:32] [C][component:173]: Setup wifi_signal.sensor took 0ms
[2025-12-18 10:05:32] [C][component:173]: Setup wifi_info.text_sensor took 0ms
[2025-12-18 10:05:32] [C][component:173]: Setup mdns took 1ms
[2025-12-18 10:05:32] [C][component:173]: Setup homeassistant.switch took 0ms
[2025-12-18 10:05:32] [C][component:173]: Setup homeassistant.switch took 0ms
[2025-12-18 10:05:32] [C][component:173]: Setup homeassistant.text_sensor took 0ms
[2025-12-18 10:05:32] [D][deep_sleep:022]: Not scheduling; no run duration configured
[2025-12-18 10:05:32] [C][component:173]: Setup deep_sleep took 10ms
[2025-12-18 10:05:32] [D][main:655]:  
[2025-12-18 10:05:32] [D][main:658]: ########### ON_BOOT pause 2s pause ##########
[2025-12-18 10:05:32] [D][switch:022]: 'status_LED' Turning ON.
[2025-12-18 10:05:32] [D][switch:065]: 'status_LED': Sending state ON
[2025-12-18 10:05:32] [D][light:091]: 'RGB LED' Setting:
[2025-12-18 10:05:32] [D][light:104]:   State: ON
[2025-12-18 10:05:32] [D][light:079]:   Brightness: 80%
[2025-12-18 10:05:32] [D][light:115]:   Red: 0%, Green: 100%, Blue: 0%
[2025-12-18 10:05:32] [C][component:173]: Setup esphome.coroutine took 41ms
[2025-12-18 10:05:32] [C][component:173]: Setup esphome.coroutine took 0ms
[2025-12-18 10:05:32] [I][app:120]: setup() finished successfully!
[2025-12-18 10:05:32] [D][switch:026]: 'usb_in_on' Turning OFF.
[2025-12-18 10:05:32] [D][switch:065]: 'usb_in_on': Sending state OFF
[2025-12-18 10:05:32] [D][switch:065]: 'USB-IN Latching Relay': Sending state ON
[2025-12-18 10:05:32] [W][component:307]: wifi set Warning flag: associating to network
[2025-12-18 10:05:32] [I][app:190]: ESPHome version 2025.11.5 compiled on Dec 16 2025, 17:32:14
[2025-12-18 10:05:32] [C][logger:261]: Logger:
[2025-12-18 10:05:32]   Max Level: DEBUG
[2025-12-18 10:05:32]   Initial Level: DEBUG
[2025-12-18 10:05:32] [C][logger:267]:   Log Baud Rate: 115200
[2025-12-18 10:05:32]   Hardware UART: UART0
[2025-12-18 10:05:32] [C][logger:274]:   Task Log Buffer Size: 768
[2025-12-18 10:05:32] [C][i2c.idf:081]: I2C Bus:
[2025-12-18 10:05:32] [C][i2c.idf:082]:   SDA Pin: GPIO14
[2025-12-18 10:05:32]   SCL Pin: GPIO13
[2025-12-18 10:05:32]   Frequency: 50000 Hz
[2025-12-18 10:05:32] [C][i2c.idf:092]:   Recovery: bus successfully recovered
[2025-12-18 10:05:32] [C][i2c.idf:102]: Results from bus scan:
[2025-12-18 10:05:32] [C][i2c.idf:108]: Found device at address 0x23
[2025-12-18 10:05:32] [C][i2c.idf:108]: Found device at address 0x40
[2025-12-18 10:05:32] [C][i2c.idf:108]: Found device at address 0x44
[2025-12-18 10:05:32] [I][wifi:1079]: Connected
[2025-12-18 10:05:32] [C][wifi:827]:   Local MAC: 98:3D:AE:EB:24:F4
[2025-12-18 10:05:32] [C][wifi:834]:   IP Address: 192.168.1.124
[2025-12-18 10:05:32] [C][wifi:838]:   SSID: 'dagoba'
[2025-12-18 10:05:32]   BSSID: 64:66:B3:ED:08:C4
[2025-12-18 10:05:32]   Hostname: 'greenhouse'
[2025-12-18 10:05:32]   Signal strength: -50 dB ▂▄▆█
[2025-12-18 10:05:32]   Channel: 13
[2025-12-18 10:05:32]   Subnet: 255.255.255.0
[2025-12-18 10:05:32]   Gateway: 192.168.1.1
[2025-12-18 10:05:32]   DNS1: 0.0.0.0
[2025-12-18 10:05:32]   DNS2: 0.0.0.0
[2025-12-18 10:05:32] [D][wifi:1103]: Disabling AP
[2025-12-18 10:05:32] [I][TEST:035]: #####     >>>>>>>>>>> WIFI CONNECT
[2025-12-18 10:05:32] [W][component:337]: wifi cleared Warning flag
[2025-12-18 10:05:32] [C][ds2484.onewire:013]: 1-wire bus:
[2025-12-18 10:05:32] [W][ds2484.onewire:082]:   Found no devices!
[2025-12-18 10:05:32] [C][esp32_rmt_led_strip:268]: ESP32 RMT LED Strip:
[2025-12-18 10:05:32]   Pin: 48
[2025-12-18 10:05:32] [C][esp32_rmt_led_strip:272]:   RMT Symbols: 192
[2025-12-18 10:05:32] [C][esp32_rmt_led_strip:297]:   RGB Order: GRB
[2025-12-18 10:05:32]   Max refresh rate: 0
[2025-12-18 10:05:32]   Number of LEDs: 1
[2025-12-18 10:05:32] [C][template.sensor:017]: Template Sensor 'Wifi channel'
[2025-12-18 10:05:32]   State Class: ''
[2025-12-18 10:05:32]   Unit of Measurement: ''
[2025-12-18 10:05:32]   Accuracy Decimals: 1
[2025-12-18 10:05:32] [C][template.sensor:363]:   Update Interval: 60.0s
[2025-12-18 10:05:32] [C][uptime.sensor:017]: Uptime Sensor 'Uptime'
[2025-12-18 10:05:32]   State Class: 'total_increasing'
[2025-12-18 10:05:32]   Unit of Measurement: 's'
[2025-12-18 10:05:32]   Accuracy Decimals: 0
[2025-12-18 10:05:32] [C][uptime.sensor:027]:   Device Class: 'duration'
...
[2025-12-18 10:05:32] [C][bh1750.sensor:363]:   Update Interval: 60.0s
[2025-12-18 10:05:32] [C][ina3221:059]: INA3221:
[2025-12-18 10:05:32] [C][ina3221:060]:   Address: 0x40
[2025-12-18 10:05:32] [C][ina3221:363]:   Update Interval: 60.0s
[2025-12-18 10:05:32] [C][ina3221:017]:   Bus Voltage #1 'USB-in Voltage'
[2025-12-18 10:05:32]     State Class: 'measurement'
[2025-12-18 10:05:32]     Unit of Measurement: 'V'
[2025-12-18 10:05:32]     Accuracy Decimals: 2
[2025-12-18 10:05:32] [C][ina3221:027]:     Device Class: 'voltage'
[2025-12-18 10:05:32] [C][ina3221:017]:   Current #1 'USB-in Current'
[2025-12-18 10:05:32]     State Class: 'measurement'
[2025-12-18 10:05:32]     Unit of Measurement: 'A'
[2025-12-18 10:05:32]     Accuracy Decimals: 2
[2025-12-18 10:05:32] [C][ina3221:027]:     Device Class: 'current'
[2025-12-18 10:05:32] [C][ina3221:017]:   Bus Voltage #2 'Solar Voltage'
[2025-12-18 10:05:32]     State Class: 'measurement'
[2025-12-18 10:05:32]     Unit of Measurement: 'V'
[2025-12-18 10:05:32]     Accuracy Decimals: 2
[2025-12-18 10:05:32] [C][ina3221:027]:     Device Class: 'voltage'
[2025-12-18 10:05:32] [C][ina3221:017]:   Current #2 'Solar Current'
[2025-12-18 10:05:32]     State Class: 'measurement'
[2025-12-18 10:05:32]     Unit of Measurement: 'A'
[2025-12-18 10:05:32]     Accuracy Decimals: 2
[2025-12-18 10:05:32] [C][ina3221:027]:     Device Class: 'current'
[2025-12-18 10:05:32] [C][ina3221:017]:   Bus Voltage #3 'Battery Voltage'
[2025-12-18 10:05:32]     State Class: 'measurement'
[2025-12-18 10:05:32]     Unit of Measurement: 'V'
[2025-12-18 10:05:32]     Accuracy Decimals: 2
[2025-12-18 10:05:32] [C][ina3221:027]:     Device Class: 'voltage'
[2025-12-18 10:05:33] [C][ina3221:017]:   Current #3 'Battery Current'
[2025-12-18 10:05:33]     State Class: 'measurement'
[2025-12-18 10:05:33]     Unit of Measurement: 'A'
[2025-12-18 10:05:33]     Accuracy Decimals: 2
[2025-12-18 10:05:33] [C][ina3221:027]:     Device Class: 'current'
[2025-12-18 10:05:33] [C][version.text_sensor:016]: Version Text Sensor 'ESPHome Version'
[2025-12-18 10:05:33] [C][version.text_sensor:023]:   Icon: 'mdi:new-box'
...
[2025-12-18 10:05:36] [W][component:337]: dallas_temp.sensor cleared Warning flag
[2025-12-18 10:05:36] [D][esp-idf:000]: E (4815) i2c.master: I2C hardware NACK detected
[2025-12-18 10:05:36] [D][esp-idf:000]: E (4816) i2c.master: I2C transaction unexpected nack detected
[2025-12-18 10:05:36] [D][esp-idf:000]: E (4819) i2c.master: s_i2c_synchronous_transaction(945): I2C transaction failed
[2025-12-18 10:05:36] [D][esp-idf:000]: E (4821) i2c.master: i2c_master_execute_defined_operations(1401): I2C transaction failed
[2025-12-18 10:05:36] [E][one_wire:023]: 1-wire bus is held low
[2025-12-18 10:05:36] [D][sensor:133]: 'USB-in Voltage': Sending state 0.00000 V with 2 decimals of accuracy
[2025-12-18 10:05:36] [D][sensor:133]: 'USB-in Current': Sending state 0.00000 A with 2 decimals of accuracy
[2025-12-18 10:05:36] [D][sensor:133]: 'Solar Voltage': Sending state 4.14400 V with 2 decimals of accuracy
[2025-12-18 10:05:36] [D][sensor:133]: 'Solar Current': Sending state 0.00640 A with 2 decimals of accuracy
[2025-12-18 10:05:36] [D][sensor:133]: 'Battery Voltage': Sending state 3.57600 V with 2 decimals of accuracy
[2025-12-18 10:05:36] [D][main:901]: called check_battery_voltage
[2025-12-18 10:05:36] [D][sensor:133]: 'Battery Current': Sending state 0.03560 A with 2 decimals of accuracy
[2025-12-18 10:05:36] [D][esp-idf:000]: E (5586) i2c.master: I2C hardware NACK detected
...
[2025-12-18 10:06:35] [D][sensor:133]: 'SHT30 Humidity': Sending state 64.40070 % with 1 decimals of accuracy
[2025-12-18 10:06:35] [D][esp-idf:000]: E (64108) i2c.master: I2C hardware NACK detected
[2025-12-18 10:06:35] [D][esp-idf:000]: E (64109) i2c.master: I2C transaction unexpected nack detected
[2025-12-18 10:06:35] [D][esp-idf:000]: E (64111) i2c.master: s_i2c_synchronous_transaction(945): I2C transaction failed
[2025-12-18 10:06:35] [D][esp-idf:000]: E (64113) i2c.master: i2c_master_execute_defined_operations(1401): I2C transaction failed
[2025-12-18 10:06:35] [D][am2320:029]: Got temperature=26.4°C humidity=62.0%
[2025-12-18 10:06:35] [D][sensor:133]: 'AM2320 Temperature': Sending state 25.70000 °C with 1 decimals of accuracy
[2025-12-18 10:06:35] [D][sensor:133]: 'AM2320 Humidity': Sending state 62.00000 % with 1 decimals of accuracy
[2025-12-18 10:06:36] [D][sensor:133]: 'USB-in Voltage': Sending state 0.00000 V with 2 decimals of accuracy
[2025-12-18 10:06:36] [D][sensor:133]: 'USB-in Current': Sending state 0.00000 A with 2 decimals of accuracy
[2025-12-18 10:06:36] [D][sensor:133]: 'Solar Voltage': Sending state 4.14400 V with 2 decimals of accuracy
[2025-12-18 10:06:36] [D][sensor:133]: 'Solar Current': Sending state 0.00520 A with 2 decimals of accuracy
[2025-12-18 10:06:36] [D][sensor:133]: 'Battery Voltage': Sending state 3.57600 V with 2 decimals of accuracy
[2025-12-18 10:06:36] [D][main:901]: called check_battery_voltage
[2025-12-18 10:06:36] [D][sensor:133]: 'Battery Current': Sending state 0.03240 A with 2 decimals of accuracy
[2025-12-18 10:07:32] [D][pulse_counter:188]: 'Rain Gauge': Retrieved counter: 0.00 pulses/min
[2025-12-18 10:07:33] [D][sensor:133]: 'Rain Gauge': Sending state 0.00000 pulses/min with 2 decimals of accuracy
...
[2025-12-18 10:08:35] [D][am2320:029]: Got temperature=26.5°C humidity=61.9%
[2025-12-18 10:08:35] [D][sensor:133]: 'AM2320 Temperature': Sending state 25.80000 °C with 1 decimals of accuracy
[2025-12-18 10:08:35] [D][sensor:133]: 'AM2320 Humidity': Sending state 61.90000 % with 1 decimals of accuracy
[2025-12-18 10:08:36] [D][sensor:133]: 'USB-in Voltage': Sending state 0.00000 V with 2 decimals of accuracy
[2025-12-18 10:08:36] [D][sensor:133]: 'USB-in Current': Sending state 0.00000 A with 2 decimals of accuracy
[2025-12-18 10:08:36] [D][sensor:133]: 'Solar Voltage': Sending state 4.12000 V with 2 decimals of accuracy
[2025-12-18 10:08:36] [D][sensor:133]: 'Solar Current': Sending state 0.00600 A with 2 decimals of accuracy
[2025-12-18 10:08:36] [D][sensor:133]: 'Battery Voltage': Sending state 3.57600 V with 2 decimals of accuracy
[2025-12-18 10:08:36] [D][main:901]: called check_battery_voltage
[2025-12-18 10:08:36] [D][sensor:133]: 'Battery Current': Sending state 0.10440 A with 2 decimals of accuracy
[2025-12-18 10:09:32] [D][pulse_counter:188]: 'Rain Gauge': Retrieved counter: 0.00 pulses/min
...
[2025-12-18 10:09:36] [W][component:337]: dallas_temp.sensor cleared Warning flag
[2025-12-18 10:09:36] [D][esp-idf:000]: E (244817) i2c.master: I2C hardware NACK detected
[2025-12-18 10:09:36] [D][esp-idf:000]: E (244818) i2c.master: I2C transaction unexpected nack detected
[2025-12-18 10:09:36] [D][esp-idf:000]: E (244820) i2c.master: s_i2c_synchronous_transaction(945): I2C transaction failed
[2025-12-18 10:09:36] [D][esp-idf:000]: E (244823) i2c.master: i2c_master_execute_defined_operations(1401): I2C transaction failed
[2025-12-18 10:09:36] [E][one_wire:023]: 1-wire bus is held low
[2025-12-18 10:09:36] [D][sensor:133]: 'USB-in Voltage': Sending state 0.00000 V with 2 decimals of accuracy
[2025-12-18 10:09:36] [D][sensor:133]: 'USB-in Current': Sending state 0.00000 A with 2 decimals of accuracy
[2025-12-18 10:09:36] [D][sensor:133]: 'Solar Voltage': Sending state 4.14400 V with 2 decimals of accuracy
[2025-12-18 10:09:36] [D][sensor:133]: 'Solar Current': Sending state 0.00640 A with 2 decimals of accuracy
[2025-12-18 10:09:36] [D][sensor:133]: 'Battery Voltage': Sending state 3.43200 V with 2 decimals of accuracy
[2025-12-18 10:09:36] [D][main:901]: called check_battery_voltage
[2025-12-18 10:09:36] [D][sensor:133]: 'Battery Current': Sending state 0.03800 A with 2 decimals of accuracy
[2025-12-18 10:09:36] [D][esp-idf:000]: E (245594) i2c.master: I2C hardware NACK detected
[2025-12-18 10:09:36] [D][esp-idf:000]: E (245595) i2c.master: I2C transaction unexpected nack detected
...
[2025-12-18 10:09:38] [I][deep_sleep:061]: Beginning sleep
[2025-12-18 10:09:38] [I][deep_sleep:063]: Sleeping for 1800000000us
[2025-12-18 10:09:38] [D][esp32.preferences:149]: Writing 1 items: 1 cached, 0 written, 0 failed
[2025-12-18 10:09:38] [D][main:710]: ##### on_shutdown -100 start
[2025-12-18 10:09:38] [D][display_current_values:708]:   ********** stay_awake=false, minutes_asleep=30, global_sleep_duration=30 min
utes, awake_timer=0.000000 
[2025-12-18 10:09:38] [D][main:712]:    >>>>>> states   usb_in_relay_state=true, usb_relay=true, is_low_battery=false, awake_timer=0.
000000, is_misting=false 
[2025-12-18 10:09:38] [D][switch:026]: 'status_LED' Turning OFF.
[2025-12-18 10:09:38] [D][switch:065]: 'status_LED': Sending state OFF
[2025-12-18 10:09:38] [D][main:716]: ##### on_shutdown -100 finished. 
[2025-12-18 10:09:38] [D][main:724]: ##### on_shutdown 600 finished
[2025-12-18 10:09:38] [D][main:732]: ##### on_shutdown 900 finished
[2025-12-18 10:09:38] [D][main:115]: #####     >>>>>>>>>> API client disconnected!