Heyo !
My setup is an ESP32 with an ENS160, connected to a RPI 4B with HA OS.
Every seems to go well until it loops infinitly… I’v seen a similar issue but it was a power input issue and I’m at a stable 3V.
YAML
Secrets were modified
esphome:
name: civiaq
friendly_name: CIVIAQ
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "slk4g6s55f5s5d5f48f8sr8g8dv8sd8fd7fb7xc7v7t="
ota:
password: "12345678912345678912345678912345"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
i2c:
sda: GPIO21
scl: GPIO22
scan: true
id: bus_a
sensor:
- platform: ens160
eco2:
name: "ENS160 eCO2"
tvoc:
name: "ENS160 Total Volatile Organic Compounds"
aqi:
name: "ENS160 Air Quality Index"
update_interval: 10s
address: 0x53
Logs
Initial setup
INFO ESPHome 2024.4.2
INFO Reading configuration /config/esphome/civiaq.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing civiaq (board: esp32dev; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 2.1.3
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- noise-c @ 0.1.4
|-- Wire @ 2.0.0
Compiling .pioenvs/civiaq/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/captive_portal/captive_portal.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/ens160/ens160.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/esp32/core.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/esp32/gpio.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/esp32/preferences.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/i2c/i2c.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/i2c/i2c_bus_arduino.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/i2c/i2c_bus_esp_idf.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/logger/logger.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/logger/logger_esp32.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/logger/logger_esp8266.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/logger/logger_host.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/logger/logger_libretiny.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/logger/logger_rp2040.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/md5/md5.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/mdns/mdns_esp32.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/mdns/mdns_host.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/mdns/mdns_libretiny.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/mdns/mdns_rp2040.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/network/util.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/ota/ota_backend_arduino_libretiny.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/ota/ota_component.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/sensor/automation.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/sensor/filter.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/sensor/sensor.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/socket/bsd_sockets_impl.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/socket/lwip_sockets_impl.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/socket/socket.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/web_server_base/web_server_base.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/wifi/wifi_component.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/wifi/wifi_component_esp_idf.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/wifi/wifi_component_libretiny.cpp.o
Compiling .pioenvs/civiaq/src/esphome/components/wifi/wifi_component_pico_w.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/application.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/color.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/component.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/component_iterator.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/controller.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/entity_base.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/helpers.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/log.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/ring_buffer.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/scheduler.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/string_ref.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/time.cpp.o
Compiling .pioenvs/civiaq/src/esphome/core/util.cpp.o
Compiling .pioenvs/civiaq/src/main.cpp.o
Building .pioenvs/civiaq/bootloader.bin
Creating esp32 image...
Successfully created esp32 image.
Generating partitions .pioenvs/civiaq/partitions.bin
Compiling .pioenvs/civiaq/libaf8/AsyncTCP-esphome/AsyncTCP.cpp.o
Compiling .pioenvs/civiaq/lib64d/WiFi/WiFi.cpp.o
Compiling .pioenvs/civiaq/lib64d/WiFi/WiFiAP.cpp.o
Compiling .pioenvs/civiaq/lib64d/WiFi/WiFiClient.cpp.o
Compiling .pioenvs/civiaq/lib64d/WiFi/WiFiGeneric.cpp.o
Archiving .pioenvs/civiaq/libaf8/libAsyncTCP-esphome.a
Compiling .pioenvs/civiaq/lib64d/WiFi/WiFiMulti.cpp.o
Compiling .pioenvs/civiaq/lib64d/WiFi/WiFiSTA.cpp.o
Compiling .pioenvs/civiaq/lib64d/WiFi/WiFiScan.cpp.o
Compiling .pioenvs/civiaq/lib64d/WiFi/WiFiServer.cpp.o
Compiling .pioenvs/civiaq/lib64d/WiFi/WiFiUdp.cpp.o
Compiling .pioenvs/civiaq/lib01c/FS/FS.cpp.o
Compiling .pioenvs/civiaq/lib01c/FS/vfs_api.cpp.o
Compiling .pioenvs/civiaq/libbc6/Update/HttpsOTAUpdate.cpp.o
Archiving .pioenvs/civiaq/lib64d/libWiFi.a
Compiling .pioenvs/civiaq/libbc6/Update/Updater.cpp.o
Compiling .pioenvs/civiaq/libe62/ESPAsyncWebServer-esphome/AsyncEventSource.cpp.o
Compiling .pioenvs/civiaq/libe62/ESPAsyncWebServer-esphome/AsyncWebSocket.cpp.o
Archiving .pioenvs/civiaq/lib01c/libFS.a
Compiling .pioenvs/civiaq/libe62/ESPAsyncWebServer-esphome/WebAuthentication.cpp.o
Archiving .pioenvs/civiaq/libbc6/libUpdate.a
Compiling .pioenvs/civiaq/libe62/ESPAsyncWebServer-esphome/WebHandlers.cpp.o
Compiling .pioenvs/civiaq/libe62/ESPAsyncWebServer-esphome/WebRequest.cpp.o
Compiling .pioenvs/civiaq/libe62/ESPAsyncWebServer-esphome/WebResponses.cpp.o
Compiling .pioenvs/civiaq/libe62/ESPAsyncWebServer-esphome/WebServer.cpp.o
Compiling .pioenvs/civiaq/lib333/DNSServer/DNSServer.cpp.o
Archiving .pioenvs/civiaq/lib333/libDNSServer.a
Compiling .pioenvs/civiaq/lib915/ESPmDNS/ESPmDNS.cpp.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_core/ed25519/core_ed25519.c.o
Archiving .pioenvs/civiaq/libe62/libESPAsyncWebServer-esphome.a
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_core/ed25519/core_ristretto255.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_hash/crypto_hash.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_hash/sha256/hash_sha256.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_onetimeauth/crypto_onetimeauth.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_scalarmult/crypto_scalarmult.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_stream/chacha20/ref/chacha20_ref.c.o
Archiving .pioenvs/civiaq/lib915/libESPmDNS.a
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_stream/chacha20/stream_chacha20.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_stream/crypto_stream.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/crypto_verify/sodium/verify.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/sodium/codecs.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/sodium/core.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/sodium/runtime.c.o
Compiling .pioenvs/civiaq/lib3b8/libsodium/sodium/utils.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/openssl/cipher-aesgcm.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/ref/cipher-aesgcm.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/ref/cipher-chachapoly.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/ref/dh-curve25519.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/ref/hash-blake2b.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/ref/hash-blake2s.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/ref/hash-sha256.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/sodium/cipher-aesgcm.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/sodium/cipher-chachapoly.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/sodium/dh-curve25519.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/sodium/hash-blake2b.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/backend/sodium/hash-sha256.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/aes/rijndael-alg-fst.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/blake2/blake2b.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/blake2/blake2s.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/chacha/chacha.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/donna/curve25519-donna-c64.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/donna/curve25519-donna.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/donna/poly1305-donna.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/sha2/sha256.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/sha2/sha512.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/crypto/x25519/x25519.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/cipherstate.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/dhstate.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/errors.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/handshakestate.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/hashstate.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/internal.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/names.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/patterns.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/rand_os.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/rand_sodium.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/randstate.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/signstate.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/symmetricstate.c.o
Compiling .pioenvs/civiaq/lib324/noise-c/protocol/util.c.o
Compiling .pioenvs/civiaq/lib4fc/Wire/Wire.cpp.o
Archiving .pioenvs/civiaq/lib324/libnoise-c.a
Compiling .pioenvs/civiaq/FrameworkArduino/Esp.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/FirmwareMSC.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/FunctionalInterrupt.cpp.o
Archiving .pioenvs/civiaq/lib4fc/libWire.a
Compiling .pioenvs/civiaq/FrameworkArduino/HWCDC.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/HardwareSerial.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/IPAddress.cpp.o
Archiving .pioenvs/civiaq/lib3b8/libsodium.a
Compiling .pioenvs/civiaq/FrameworkArduino/IPv6Address.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/MD5Builder.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/Print.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/Stream.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/StreamString.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/Tone.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/USB.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/USBCDC.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/USBMSC.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/WMath.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/WString.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/base64.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/cbuf.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-adc.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-bt.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-cpu.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-dac.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-gpio.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-i2c-slave.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-i2c.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-ledc.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-matrix.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-misc.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-psram.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-rgb-led.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-rmt.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-sigmadelta.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-spi.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-time.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-timer.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-tinyusb.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-touch.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/esp32-hal-uart.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/firmware_msc_fat.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/libb64/cdecode.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/libb64/cencode.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/main.cpp.o
Compiling .pioenvs/civiaq/FrameworkArduino/stdlib_noniso.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/wiring_pulse.c.o
Compiling .pioenvs/civiaq/FrameworkArduino/wiring_shift.c.o
Archiving .pioenvs/civiaq/libFrameworkArduino.a
Linking .pioenvs/civiaq/firmware.elf
RAM: [= ] 12.5% (used 40992 bytes from 327680 bytes)
Flash: [===== ] 50.9% (used 934165 bytes from 1835008 bytes)
Building .pioenvs/civiaq/firmware.bin
Creating esp32 image...
Successfully created esp32 image.
esp32_create_combined_bin([".pioenvs/civiaq/firmware.bin"], [".pioenvs/civiaq/firmware.elf"])
Wrote 0xf57a0 bytes to file /data/build/civiaq/.pioenvs/civiaq/firmware-factory.bin, ready to flash to offset 0x0
======================== [SUCCESS] Took 133.87 seconds ========================
INFO Successfully compiled program.
esptool.py v4.7.0
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:dc:c3:9e:5e:44
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00010000 to 0x000f5fff...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Compressed 939936 bytes to 621917...
Wrote 939936 bytes (621917 compressed) at 0x00010000 in 15.8 seconds (effective 475.7 kbit/s)...
Hash of data verified.
Compressed 17440 bytes to 12128...
Wrote 17440 bytes (12128 compressed) at 0x00001000 in 0.7 seconds (effective 209.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 144...
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.1 seconds (effective 326.5 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 445.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyUSB0 with baud rate 115200
[13:35:30][I][logger:158]: Log initialized
[13:35:30][C][ota:483]: There have been 1 suspected unsuccessful boot attempts.
[13:35:30][D][esp32.preferences:114]: Saving 1 preferences to flash...
[13:35:30][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:35:30][I][app:029]: Running through setup()...
[13:35:30][I][i2c.arduino:218]: Performing I2C bus recovery
[13:35:30][C][ens160:052]: Setting up ENS160...
[13:35:30][C][wifi:038]: Setting up WiFi...
[13:35:30][C][wifi:051]: Starting WiFi...
[13:35:30][C][wifi:052]: Local MAC: 24:DC:C3:9E:5E:44
[13:35:30][D][wifi:462]: Starting scan...
[13:35:30][D][ens160:172]: ENS160 readings unavailable - Normal Operation but readings not ready
[13:35:30][W][component:157]: Component wifi set Warning flag: unspecified
[13:35:34][I][ens160:179]: ENS160 readings unavailable - 1 hour startup required after first power on
[13:35:36][D][wifi:477]: Found networks:
[13:35:36][I][wifi:521]: - 'WIFI' [redacted]▂▄▆█
[13:35:36][D][wifi:522]: Channel: 11
[13:35:36][D][wifi:523]: RSSI: -65 dB
[13:35:36][I][wifi:521]: - 'WIFI' [redacted]▂▄▆█
[13:35:36][D][wifi:522]: Channel: 1
[13:35:36][D][wifi:523]: RSSI: -70 dB
[13:35:36][I][wifi:521]: - 'WIFI' [redacted]▂▄▆█
[13:35:36][D][wifi:522]: Channel: 1
[13:35:36][D][wifi:523]: RSSI: -75 dB
[13:35:36][I][wifi:521]: - 'WIFI' [redacted]▂▄▆█
[13:35:36][D][wifi:522]: Channel: 1
[13:35:36][D][wifi:523]: RSSI: -81 dB
[13:35:36][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:35:36][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:35:36][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:35:36][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:35:36][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:35:36][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:35:36][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:35:36][I][wifi:303]: WiFi Connecting to 'WIFI'...
[13:35:37][I][wifi:597]: WiFi Connected!
[13:35:37][C][wifi:408]: Local MAC: 24:DC:C3:9E:5E:44
[13:35:37][C][wifi:413]: SSID: [redacted]
[13:35:37][C][wifi:416]: IP Address: 10.254.4.13
[13:35:37][C][wifi:420]: BSSID: [redacted]
[13:35:37][C][wifi:421]: Hostname: 'civiaq'
[13:35:37][C][wifi:423]: Signal strength: -66 dB ▂▄▆█
[13:35:37][C][wifi:427]: Channel: 11
[13:35:37][C][wifi:428]: Subnet: 255.255.252.0
[13:35:37][C][wifi:429]: Gateway: 10.254.7.254
[13:35:37][C][wifi:430]: DNS1: 10.85.12.6
[13:35:37][C][wifi:431]: DNS2: 10.85.12.3
[13:35:37][D][wifi:606]: Disabling AP...
[13:35:37][C][ota:096]: Over-The-Air Updates:
[13:35:37][C][ota:097]: Address: civiaq.local:3232
[13:35:37][C][ota:100]: Using Password.
[13:35:37][C][ota:103]: OTA version: 2.
[13:35:37][C][api:025]: Setting up Home Assistant API server...
[13:35:37][I][app:062]: setup() finished successfully!
[13:35:37][W][component:170]: Component wifi cleared Warning flag
[13:35:37][W][component:157]: Component api set Warning flag: unspecified
[13:35:37][I][app:100]: ESPHome version 2024.4.2 compiled on May 15 2024, 13:33:52
[13:35:37][C][wifi:580]: WiFi:
[13:35:37][C][wifi:408]: Local MAC: 24:DC:C3:9E:5E:44
[13:35:37][C][wifi:413]: SSID: [redacted]
[13:35:37][C][wifi:416]: IP Address: 10.254.4.13
[13:35:37][C][wifi:420]: BSSID: [redacted]
[13:35:37][C][wifi:421]: Hostname: 'civiaq'
[13:35:37][C][wifi:423]: Signal strength: -64 dB ▂▄▆█
[13:35:37][C][wifi:427]: Channel: 11
[13:35:37][C][wifi:428]: Subnet: 255.255.252.0
[13:35:37][C][wifi:429]: Gateway: 10.254.7.254
[13:35:37][C][wifi:430]: DNS1: 10.85.12.6
[13:35:37][C][wifi:431]: DNS2: 10.85.12.3
[13:35:37][C][logger:166]: Logger:
[13:35:37][C][logger:167]: Level: DEBUG
[13:35:37][C][logger:169]: Log Baud Rate: 115200
[13:35:37][C][logger:170]: Hardware UART: UART0
[13:35:37][C][i2c.arduino:071]: I2C Bus:
[13:35:37][C][i2c.arduino:072]: SDA Pin: GPIO21
[13:35:37][C][i2c.arduino:073]: SCL Pin: GPIO22
[13:35:37][C][i2c.arduino:074]: Frequency: 50000 Hz
[13:35:37][C][i2c.arduino:086]: Recovery: bus successfully recovered
[13:35:37][I][i2c.arduino:096]: Results from i2c bus scan:
[13:35:37][I][i2c.arduino:102]: Found i2c device at address 0x53
[13:35:37][C][ens160:278]: ENS160:
[13:35:37][D][ens160:300]: Setup successful
[13:35:37][I][ens160:304]: Firmware Version: 5.4.6
[13:35:37][C][ens160:306]: Address: 0x53
[13:35:37][C][ens160:307]: Update Interval: 5.0s
[13:35:37][C][ens160:308]: CO2 Sensor: 'ENS160 eCO2'
[13:35:37][C][ens160:308]: Device Class: 'carbon_dioxide'
[13:35:37][C][ens160:308]: State Class: 'measurement'
[13:35:37][C][ens160:308]: Unit of Measurement: 'ppm'
[13:35:37][C][ens160:308]: Accuracy Decimals: 0
[13:35:37][C][ens160:308]: Icon: 'mdi:molecule-co2'
[13:35:37][C][ens160:309]: TVOC Sensor: 'ENS160 Total Volatile Organic Compounds'
[13:35:37][C][ens160:309]: Device Class: 'volatile_organic_compounds_parts'
[13:35:37][C][ens160:309]: State Class: 'measurement'
[13:35:37][C][ens160:309]: Unit of Measurement: 'ppb'
[13:35:37][C][ens160:309]: Accuracy Decimals: 0
[13:35:37][C][ens160:309]: Icon: 'mdi:radiator'
[13:35:37][C][ens160:310]: AQI Sensor: 'ENS160 Air Quality Index'
[13:35:37][C][ens160:310]: Device Class: 'aqi'
[13:35:37][C][ens160:310]: State Class: 'measurement'
[13:35:37][C][ens160:310]: Unit of Measurement: ''
[13:35:37][C][ens160:310]: Accuracy Decimals: 0
[13:35:37][C][ens160:310]: Icon: 'mdi:chemical-weapon'
[13:35:37][C][ens160:316]: Compensation: Not configured
[13:35:37][C][captive_portal:088]: Captive Portal:
[13:35:37][C][mdns:115]: mDNS:
[13:35:37][C][mdns:116]: Hostname: civiaq
[13:35:37][C][ota:096]: Over-The-Air Updates:
[13:35:37][C][ota:097]: Address: civiaq.local:3232
[13:35:37][C][ota:100]: Using Password.
[13:35:37][C][ota:103]: OTA version: 2.
[13:35:37][C][api:139]: API Server:
[13:35:37][C][api:140]: Address: civiaq.local:6053
[13:35:37][C][api:142]: Using noise encryption: YES
[13:40:30][I][ota:117]: Boot seems successful, resetting boot loop counter.
[13:40:30][D][esp32.preferences:114]: Saving 1 preferences to flash...
[13:40:30][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:50:37][E][api:128]: No client connected to API. Rebooting...
[13:50:37][I][app:125]: Forcing a reboot...
[13:50:37][W][wifi_esp32:482]: Event: Disconnected ssid='WIFI' bssid=[redacted] reason='Association Leave'
[13:50:37]ets Jul 29 2019 12:21:46
[13:50:37]
[13:50:37]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[13:50:37]configsip: 0, SPIWP:0xee
[13:50:37]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:50:37]mode:DIO, clock div:2
[13:50:37]load:0x3fff0030,len:1184
[13:50:37]load:0x40078000,len:13132
[13:50:37]load:0x40080400,len:3036
[13:50:37]entry 0x400805e4
[13:50:38][I][logger:158]: Log initialized
[13:50:38][C][ota:483]: There have been 0 suspected unsuccessful boot attempts.
[13:50:38][D][esp32.preferences:114]: Saving 1 preferences to flash...
[13:50:38][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:50:38][I][app:029]: Running through setup()...
[13:50:38][I][i2c.arduino:218]: Performing I2C bus recovery
[13:50:38][C][ens160:052]: Setting up ENS160...
[13:50:38][C][wifi:038]: Setting up WiFi...
[13:50:38][C][wifi:051]: Starting WiFi...
[13:50:38][C][wifi:052]: Local MAC: 24:DC:C3:9E:5E:44
[13:50:38][D][wifi:462]: Starting scan...
[13:50:38][D][ens160:172]: ENS160 readings unavailable - Normal Operation but readings not ready
[13:50:38][W][component:157]: Component wifi set Warning flag: unspecified
[13:50:42][I][ens160:179]: ENS160 readings unavailable - 1 hour startup required after first power on
[13:50:44][D][wifi:477]: Found networks:
[13:50:44][I][wifi:521]: - 'WIFI' [redacted]▂▄▆█
[13:50:44][D][wifi:522]: Channel: 11
[13:50:44][D][wifi:523]: RSSI: -64 dB
[13:50:44][I][wifi:521]: - 'WIFI' [redacted]▂▄▆█
[13:50:44][D][wifi:522]: Channel: 1
[13:50:44][D][wifi:523]: RSSI: -69 dB
[13:50:44][I][wifi:521]: - 'WIFI' [redacted]▂▄▆█
[13:50:44][D][wifi:522]: Channel: 1
[13:50:44][D][wifi:523]: RSSI: -74 dB
[13:50:44][I][wifi:521]: - 'WIFI' [redacted]▂▄▆█
[13:50:44][D][wifi:522]: Channel: 1
[13:50:44][D][wifi:523]: RSSI: -78 dB
[13:50:44][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:50:44][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:50:44][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:50:44][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:50:44][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:50:44][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:50:44][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:50:44][D][wifi:526]: - [redacted] [redacted]▂▄▆█
[13:50:44][I][wifi:303]: WiFi Connecting to 'WIFI'...
[13:50:45][I][wifi:597]: WiFi Connected!
[13:50:45][C][wifi:408]: Local MAC: 24:DC:C3:9E:5E:44
[13:50:45][C][wifi:413]: SSID: [redacted]
[13:50:45][C][wifi:416]: IP Address: 10.254.4.13
[13:50:45][C][wifi:420]: BSSID: [redacted]
[13:50:45][C][wifi:421]: Hostname: 'civiaq'
[13:50:45][C][wifi:423]: Signal strength: -64 dB ▂▄▆█
[13:50:45][C][wifi:427]: Channel: 11
[13:50:45][C][wifi:428]: Subnet: 255.255.252.0
[13:50:45][C][wifi:429]: Gateway: 10.254.7.254
[13:50:45][C][wifi:430]: DNS1: 10.85.12.6
[13:50:45][C][wifi:431]: DNS2: 10.85.12.3
[13:50:45][D][wifi:606]: Disabling AP...
[13:50:45][C][ota:096]: Over-The-Air Updates:
[13:50:45][C][ota:097]: Address: civiaq.local:3232
[13:50:45][C][ota:100]: Using Password.
[13:50:45][C][ota:103]: OTA version: 2.
[13:50:45][C][api:025]: Setting up Home Assistant API server...
[13:50:45][I][app:062]: setup() finished successfully!
[13:50:45][W][component:170]: Component wifi cleared Warning flag
[13:50:45][W][component:157]: Component api set Warning flag: unspecified
[13:50:45][I][app:100]: ESPHome version 2024.4.2 compiled on May 15 2024, 13:33:52
[13:50:45][C][wifi:580]: WiFi:
[13:50:45][C][wifi:408]: Local MAC: 24:DC:C3:9E:5E:44
[13:50:45][C][wifi:413]: SSID: [redacted]
[13:50:45][C][wifi:416]: IP Address: 10.254.4.13
[13:50:45][C][wifi:420]: BSSID: [redacted]
[13:50:45][C][wifi:421]: Hostname: 'civiaq'
[13:50:45][C][wifi:423]: Signal strength: -67 dB ▂▄▆█
[13:50:45][C][wifi:427]: Channel: 11
[13:50:45][C][wifi:428]: Subnet: 255.255.252.0
[13:50:45][C][wifi:429]: Gateway: 10.254.7.254
[13:50:45][C][wifi:430]: DNS1: 10.85.12.6
[13:50:45][C][wifi:431]: DNS2: 10.85.12.3
[13:50:45][C][logger:166]: Logger:
[13:50:45][C][logger:167]: Level: DEBUG
[13:50:45][C][logger:169]: Log Baud Rate: 115200
[13:50:45][C][logger:170]: Hardware UART: UART0
[13:50:45][C][i2c.arduino:071]: I2C Bus:
[13:50:45][C][i2c.arduino:072]: SDA Pin: GPIO21
[13:50:45][C][i2c.arduino:073]: SCL Pin: GPIO22
[13:50:45][C][i2c.arduino:074]: Frequency: 50000 Hz
[13:50:45][C][i2c.arduino:086]: Recovery: bus successfully recovered
[13:50:45][I][i2c.arduino:096]: Results from i2c bus scan:
[13:50:45][I][i2c.arduino:102]: Found i2c device at address 0x53
[13:50:45][C][ens160:278]: ENS160:
[13:50:45][D][ens160:300]: Setup successful
[13:50:45][I][ens160:304]: Firmware Version: 5.4.6
[13:50:45][C][ens160:306]: Address: 0x53
[13:50:45][C][ens160:307]: Update Interval: 5.0s
[13:50:45][C][ens160:308]: CO2 Sensor: 'ENS160 eCO2'
[13:50:45][C][ens160:308]: Device Class: 'carbon_dioxide'
[13:50:45][C][ens160:308]: State Class: 'measurement'
[13:50:45][C][ens160:308]: Unit of Measurement: 'ppm'
[13:50:45][C][ens160:308]: Accuracy Decimals: 0
[13:50:45][C][ens160:308]: Icon: 'mdi:molecule-co2'
[13:50:45][C][ens160:309]: TVOC Sensor: 'ENS160 Total Volatile Organic Compounds'
[13:50:45][C][ens160:309]: Device Class: 'volatile_organic_compounds_parts'
[13:50:45][C][ens160:309]: State Class: 'measurement'
[13:50:45][C][ens160:309]: Unit of Measurement: 'ppb'
[13:50:45][C][ens160:309]: Accuracy Decimals: 0
[13:50:45][C][ens160:309]: Icon: 'mdi:radiator'
[13:50:45][C][ens160:310]: AQI Sensor: 'ENS160 Air Quality Index'
[13:50:45][C][ens160:310]: Device Class: 'aqi'
[13:50:45][C][ens160:310]: State Class: 'measurement'
[13:50:45][C][ens160:310]: Unit of Measurement: ''
[13:50:45][C][ens160:310]: Accuracy Decimals: 0
[13:50:45][C][ens160:310]: Icon: 'mdi:chemical-weapon'
[13:50:45][C][ens160:316]: Compensation: Not configured
[13:50:45][C][captive_portal:088]: Captive Portal:
[13:50:45][C][mdns:115]: mDNS:
[13:50:45][C][mdns:116]: Hostname: civiaq
[13:50:45][C][ota:096]: Over-The-Air Updates:
[13:50:45][C][ota:097]: Address: civiaq.local:3232
[13:50:45][C][ota:100]: Using Password.
[13:50:45][C][ota:103]: OTA version: 2.
[13:50:45][C][api:139]: API Server:
[13:50:45][C][api:140]: Address: civiaq.local:6053
[13:50:45][C][api:142]: Using noise encryption: YES
Flags
[13:2-:23][VV][i2c.arduino:176]: 0x53 TX 20
[13:26:23][VV][i2c.arduino:148]: 0x53 RX 8B
[13:26:23][V][ens160:157]: Status: ENS160 STATAS bit 0x1
[13:26:23][V][ens160:159]: Status: ENS160 STATER bit 0x0
[13:26:23][V][ens160:160]: Status: ENS160 VALIDITY FLAG 0x02
[13:26:23][V][ens160:162]: Status: ENS160 NEWDAT bit 0x1
[13:26:23][V][ens160:164]: Status: ENS160 NEWGPR bit 0x1