Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't make the sensor part works on my h3, looking for some help #23

Open
sebPomme opened this issue Nov 28, 2024 · 0 comments
Open

Can't make the sensor part works on my h3, looking for some help #23

sebPomme opened this issue Nov 28, 2024 · 0 comments

Comments

@sebPomme
Copy link

Everything works fine on my mih3 except the sensor part !

Whenever I enable any of this airquality_sensor or humidity_sensor or temperature_sensor or filterlife_sensor.

sensor:
  - platform: custom
    lambda: |-
      auto c = static_cast<MiPurifier *>(mipurifier);
      return {
        c->airquality_sensor,
        c->humidity_sensor,
        c->temperature_sensor,
        c->filterlife_sensor,
      };
    sensors:
      - name: "Air quality (PM2.5)"
        unit_of_measurement: "µg/m³"
        device_class: pm25
        state_class: "measurement"
      - name: "Humidity"
        unit_of_measurement: "%"
        device_class: humidity
        state_class: "measurement"
      - name: "Temperature"
        unit_of_measurement: "°C"
        device_class: temperature
        accuracy_decimals: 1
        state_class: "measurement"
      - name: "Filter remaining"
        unit_of_measurement: "%"
        icon: mdi:air-filter

My flashed mipurifier bootloop until SAFE MODE IS ACTIVE.
I use this version https://github.com/jaromeyer/mipurifier-esphome/blob/ee76881f33db2b83e20d4e08cc46fb7d93f69ca5/mipurifier.h of mipurifier.h

Here is my esphome configuration
substitutions:
  device_name: mipurifier

esphome:
  name: ${device_name}
  comment: for Xiaomi Mi Air Purifier 3H (and similar models using the same protocol)
  includes:
    - mipurifier.h

# Required configuration for the weird single core ESP-WROOM-32D module
esp32:
  board: esp32doit-devkit-v1
  framework:
    type: esp-idf
    sdkconfig_options:
      CONFIG_FREERTOS_UNICORE: y
    advanced:
      ignore_efuse_mac_crc: true

logger:
  level: VERY_VERBOSE

<<: !include common/base.yaml

packages:
  buttons_common: !include common/button/main.yaml
  sensors_common: !include common/sensor/main.yaml

# Initialize the serial connection to the STM32 microcontroller
uart:
  id: uart_bus
  tx_pin: GPIO17
  rx_pin: GPIO16
  baud_rate: 115200


# Initialize our custom component
custom_component:
  - lambda: |-
      auto mipurifier = new MiPurifier(id(uart_bus));
      App.register_component(mipurifier);
      return {mipurifier};
    components:
      - id: mipurifier

# Main component for controlling the purifier
fan:
  - platform: template
    name: "Power"
    id: XiaomiPurifierFan
    speed_count: 15
    preset_modes:
      - "auto"
      - "night"
      - "low"
      - "medium"
      - "high"
      - "manual"
    on_turn_on:
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          c->turn_on();
    on_turn_off:
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          c->turn_off();
    on_preset_set:
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          if (!id(XiaomiPurifierFan).state) {
            c->set_mode(x);
            c->turn_off();
          } else {
            c->set_mode(x);
          }
    on_speed_set:
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          c->set_manualspeed((int)x-1);
      - delay: 1s
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          c->set_mode("manual");

# Config settings
switch:
  - platform: template
    name: "Beeper"
    id: beeper_switch
    icon: mdi:volume-high
    entity_category: config
    turn_on_action:
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          c->enable_beeper();
    turn_off_action:
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          c->disable_beeper();
  - platform: template
    name: "Lock"
    id: lock_switch
    icon: mdi:lock
    entity_category: config
    turn_on_action:
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          c->lock();
    turn_off_action:
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          c->unlock();

# Select components for mode & brightness
select:
  - platform: template
    name: "Display Brightness"
    id: brightness_select
    icon: mdi:brightness-6
    entity_category: config
    options:
      - "off"
      - "low"
      - "high"
    set_action:
      - lambda: |-
          auto c = static_cast<MiPurifier *>(mipurifier);
          c->set_brightness(x);

# Expose measured environmental values, and remaining filter life
## FAIL whenever I enable any of the next sensor
sensor:
  - platform: custom
    lambda: |-
      auto c = static_cast<MiPurifier *>(mipurifier);
      return {
        c->airquality_sensor,
        c->humidity_sensor,
        c->temperature_sensor,
        c->filterlife_sensor,
      };
    sensors:
      - name: "Air quality (PM2.5)"
        unit_of_measurement: "µg/m³"
        device_class: pm25
        state_class: "measurement"
      - name: "Humidity"
        unit_of_measurement: "%"
        device_class: humidity
        state_class: "measurement"
      - name: "Temperature"
        unit_of_measurement: "°C"
        device_class: temperature
        accuracy_decimals: 1
        state_class: "measurement"
      - name: "Filter remaining"
        unit_of_measurement: "%"
        icon: mdi:air-filter
You can find a stack trace here.
[23:03:23]Backtrace: 0x400ec6c1:0x3ffbd000 0x400edebf:0x3ffbd030 0x400dc96f:0x3ffbd190
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x400ec6c1: std::_Function_handler<std::vector<esphome::sensor::Sensor*, std::allocator<esphome::sensor::Sensor*> > (), setup()::{lambda()#1}>::_M_invoke(std::_Any_data const&) at /home/pomme/utils/try/code/esp-home/.esphome/build/mipurifier/mipurifier.yaml:133
 (inlined by) _M_invoke at /home/pomme/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/std_function.h:283
WARNING Decoded 0x400edebf: std::function<std::vector<esphome::sensor::Sensor*, std::allocator<esphome::sensor::Sensor*> > ()>::operator()() const at /home/pomme/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/std_function.h:687
 (inlined by) esphome::custom::CustomSensorConstructor::CustomSensorConstructor(std::function<std::vector<esphome::sensor::Sensor*, std::allocator<esphome::sensor::Sensor*> > ()> const&) at /home/pomme/utils/try/code/esp-home/.esphome/build/mipurifier/src/esphome/components/custom/sensor/custom_sensor.h:13
 (inlined by) setup() at /home/pomme/utils/try/code/esp-home/.esphome/build/mipurifier/mipurifier.yaml:140
WARNING Decoded 0x400dc96f: esphome::loop_task(void*) at /home/pomme/utils/try/code/esp-home/.esphome/build/mipurifier/src/esphome/components/esp32/core.cpp:67
[23:03:23]
[23:03:23]
[23:03:23]
[23:03:23]
[23:03:23]ELF file SHA256: 551e7b59d215aae2
[23:03:23]
[23:03:23]Rebooting...
[23:03:23]ets Jun  8 2016 00:22:57
[23:03:23]
[23:03:23]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[23:03:23]configsip: 0, SPIWP:0xee
[23:03:23]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[23:03:23]mode:DIO, clock div:2
[23:03:23]load:0x3fff0030,len:6644
[23:03:23]load:0x40078000,len:15056
[23:03:23]ho 0 tail 12 room 4
[23:03:23]load:0x40080400,len:3628
[23:03:23]entry 0x40080668
[23:03:23]I (29) boot: ESP-IDF 4.4.8 2nd stage bootloader
[23:03:23]I (29) boot: compile time 20:19:12
[23:03:23]W (29) boot: Unicore bootloader
[23:03:23]I (32) boot: chip revision: v1.0
[23:03:23]I (36) boot.esp32: SPI Speed      : 40MHz
[23:03:23]I (40) boot.esp32: SPI Mode       : DIO
[23:03:23]I (45) boot.esp32: SPI Flash Size : 4MB
[23:03:23]I (49) boot: Enabling RNG early entropy source...
[23:03:23]I (55) boot: Partition Table:
[23:03:23]I (58) boot: ## Label            Usage          Type ST Offset   Length
[23:03:23]I (66) boot:  0 otadata          OTA data         01 00 00009000 00002000
[23:03:23]I (73) boot:  1 phy_init         RF data          01 01 0000b000 00001000
[23:03:23]I (81) boot:  2 app0             OTA app          00 10 00010000 001c0000
[23:03:23]I (88) boot:  3 app1             OTA app          00 11 001d0000 001c0000
[23:03:23]I (96) boot:  4 nvs              WiFi data        01 02 00390000 0006d000
[23:03:23]I (103) boot: End of partition table
[23:03:23]I (107) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2714ch (160076) map
[23:03:23]I (174) esp_image: segment 1: paddr=00037174 vaddr=3ffb0000 size=02ae8h ( 10984) load
[23:03:23]I (178) esp_image: segment 2: paddr=00039c64 vaddr=40080000 size=063b4h ( 25524) load
[23:03:23]I (190) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=9fdach (654764) map
[23:03:23]I (427) esp_image: segment 4: paddr=000dfdd4 vaddr=400863b4 size=0d8fch ( 55548) load
[23:03:23]I (460) boot: Loaded app from partition at offset 0x10000
[23:03:23]I (460) boot: Disabling RNG early entropy source...
[23:03:23]I (471) cpu_start: Unicore app
[23:03:23]I (472) cpu_start: Pro cpu up.
[23:03:23]I (472) cpu_start: Single core mode
[23:03:23]I (483) cpu_start: Pro cpu start user code
[23:03:23]I (484) cpu_start: cpu freq: 160000000
[23:03:23]I (484) cpu_start: Application information:
[23:03:23]I (488) cpu_start: Project name:     mipurifier
[23:03:23]I (493) cpu_start: App version:      2024.10.2
[23:03:23]I (499) cpu_start: Compile time:     Nov 27 2024 23:01:47
[23:03:23]I (505) cpu_start: ELF file SHA256:  551e7b59d215aae2...
[23:03:23]I (511) cpu_start: ESP-IDF:          4.4.8
[23:03:23]I (515) cpu_start: Min chip rev:     v0.0
[23:03:23]I (520) cpu_start: Max chip rev:     v3.99
[23:03:23]I (525) cpu_start: Chip rev:         v1.0
[23:03:23]I (530) heap_init: Initializing. RAM available for dynamic allocation:
[23:03:23]I (537) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[23:03:23]I (543) heap_init: At 3FFB6A90 len 00029570 (165 KiB): DRAM
[23:03:23]I (549) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[23:03:23]I (556) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[23:03:23]I (562) heap_init: At 40093CB0 len 0000C350 (48 KiB): IRAM
[23:03:23]I (568) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[23:03:23]I (575) spi_flash: detected chip: generic
[23:03:23]I (579) spi_flash: flash io: dio
[23:03:23]I (584) cpu_start: Starting scheduler on PRO CPU.
[23:03:23][I][logger:156]: Log initialized
[23:03:23][VV][esp32.preferences:071]: nvs_get_blob: key: 233825507, len: 4
[23:03:23][C][safe_mode:079]: There have been 9 suspected unsuccessful boot attempts
[23:03:23][VV][esp32.preferences:040]: s_pending_save: key: 233825507, len: 4
[23:03:23][D][esp32.preferences:114]: Saving 1 preferences to flash...
[23:03:23][VV][esp32.preferences:123]: CheGuru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
[23:03:23]
[23:03:23]Core  0 register dump:
[23:03:23]PC      : 0x400ec6c4  PS      : 0x00060530  A0      : 0x800edec2  A1      : 0x3ffbd000
WARNING Decoded 0x400ec6c4: std::_Function_handler<std::vector<esphome::sensor::Sensor*, std::allocator<esphome::sensor::Sensor*> > (), setup()::{lambda()#1}>::_M_invoke(std::_Any_data const&) at /home/pomme/utils/try/code/esp-home/.esphome/build/mipurifier/mipurifier.yaml:139
 (inlined by) _M_invoke at /home/pomme/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/std_function.h:283
[23:03:23]A2      : 0x3ffbd0d0  A3      : 0x3ffb2ce0  A4      : 0x00000070  A5      : 0x3ffb827c
[23:03:23]A6      : 0x3ffbdff0  A7      : 0x00000007  A8      : 0x00000000  A9      : 0x3ffbcff0
[23:03:23]A10     : 0x00000010  A11     : 0x3ffbd040  A12     : 0x00000000  A13     : 0x0000ff00
[23:03:23]A14     : 0x00ff0000  A15     : 0xff000000  SAR     : 0x00000019  EXCCAUSE: 0x0000001c
[23:03:23]EXCVADDR: 0x000000c0  LBEG    : 0x4000c349  LEND    : 0x4000c36b  LCOUNT  : 0xffffffff
[23:03:23]
[23:03:23]
[23:03:23]Backtrace: 0x400ec6c1:0x3ffbd000 0x400edebf:0x3ffbd030 0x400dc96f:0x3ffbd190
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x400ec6c1: std::_Function_handler<std::vector<esphome::sensor::Sensor*, std::allocator<esphome::sensor::Sensor*> > (), setup()::{lambda()#1}>::_M_invoke(std::_Any_data const&) at /home/pomme/utils/try/code/esp-home/.esphome/build/mipurifier/mipurifier.yaml:133
 (inlined by) _M_invoke at /home/pomme/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/std_function.h:283
WARNING Decoded 0x400edebf: std::function<std::vector<esphome::sensor::Sensor*, std::allocator<esphome::sensor::Sensor*> > ()>::operator()() const at /home/pomme/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/std_function.h:687
 (inlined by) esphome::custom::CustomSensorConstructor::CustomSensorConstructor(std::function<std::vector<esphome::sensor::Sensor*, std::allocator<esphome::sensor::Sensor*> > ()> const&) at /home/pomme/utils/try/code/esp-home/.esphome/build/mipurifier/src/esphome/components/custom/sensor/custom_sensor.h:13
 (inlined by) setup() at /home/pomme/utils/try/code/esp-home/.esphome/build/mipurifier/mipurifier.yaml:140
WARNING Decoded 0x400dc96f: esphome::loop_task(void*) at /home/pomme/utils/try/code/esp-home/.esphome/build/mipurifier/src/esphome/components/esp32/core.cpp:67
[23:03:24]
[23:03:24]
[23:03:24]
[23:03:24]
[23:03:24]ELF file SHA256: 551e7b59d215aae2
[23:03:24]
[23:03:24]Rebooting...
[23:03:24]ets Jun  8 2016 00:22:57
[23:03:24]
[23:03:24]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[23:03:24]configsip: 0, SPIWP:0xee
[23:03:24]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[23:03:24]mode:DIO, clock div:2
[23:03:24]load:0x3fff0030,len:6644
[23:03:24]load:0x40078000,len:15056
[23:03:24]ho 0 tail 12 room 4
[23:03:24]load:0x40080400,len:3628
[23:03:24]entry 0x40080668
[23:03:24]I (29) boot: ESP-IDF 4.4.8 2nd stage bootloader
[23:03:24]I (29) boot: compile time 20:19:12
[23:03:24]W (29) boot: Unicore bootloader
[23:03:24]I (32) boot: chip revision: v1.0
[23:03:24]I (36) boot.esp32: SPI Speed      : 40MHz
[23:03:24]I (40) boot.esp32: SPI Mode       : DIO
[23:03:24]I (45) boot.esp32: SPI Flash Size : 4MB
[23:03:24]I (49) boot: Enabling RNG early entropy source...
[23:03:24]I (55) boot: Partition Table:
[23:03:24]I (58) boot: ## Label            Usage          Type ST Offset   Length
[23:03:24]I (66) boot:  0 otadata          OTA data         01 00 00009000 00002000
[23:03:24]I (73) boot:  1 phy_init         RF data          01 01 0000b000 00001000
[23:03:24]I (81) boot:  2 app0             OTA app          00 10 00010000 001c0000
[23:03:24]I (88) boot:  3 app1             OTA app          00 11 001d0000 001c0000
[23:03:24]I (96) boot:  4 nvs              WiFi data        01 02 00390000 0006d000
[23:03:24]I (103) boot: End of partition table
[23:03:24]I (107) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2714ch (160076) map
[23:03:24]I (174) esp_image: segment 1: paddr=00037174 vaddr=3ffb0000 size=02ae8h ( 10984) load
[23:03:24]I (178) esp_image: segment 2: paddr=00039c64 vaddr=40080000 size=063b4h ( 25524) load
[23:03:24]I (190) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=9fdach (654764) map
[23:03:24]I (427) esp_image: segment 4: paddr=000dfdd4 vaddr=400863b4 size=0d8fch ( 55548) load
[23:03:24]I (460) boot: Loaded app from partition at offset 0x10000
[23:03:24]I (460) boot: Disabling RNG early entropy source...
[23:03:24]I (471) cpu_start: Unicore app
[23:03:24]I (472) cpu_start: Pro cpu up.
[23:03:24]I (472) cpu_start: Single core mode
[23:03:24]I (483) cpu_start: Pro cpu start user code
[23:03:24]I (484) cpu_start: cpu freq: 160000000
[23:03:24]I (484) cpu_start: Application information:
[23:03:24]I (488) cpu_start: Project name:     mipurifier
[23:03:24]I (493) cpu_start: App version:      2024.10.2
[23:03:24]I (499) cpu_start: Compile time:     Nov 27 2024 23:01:47
[23:03:24]I (505) cpu_start: ELF file SHA256:  551e7b59d215aae2...
[23:03:24]I (511) cpu_start: ESP-IDF:          4.4.8
[23:03:24]I (515) cpu_start: Min chip rev:     v0.0
[23:03:24]I (520) cpu_start: Max chip rev:     v3.99
[23:03:24]I (525) cpu_start: Chip rev:         v1.0
[23:03:24]I (530) heap_init: Initializing. RAM available for dynamic allocation:
[23:03:24]I (537) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[23:03:24]I (543) heap_init: At 3FFB6A90 len 00029570 (165 KiB): DRAM
[23:03:24]I (549) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[23:03:24]I (556) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[23:03:24]I (562) heap_init: At 40093CB0 len 0000C350 (48 KiB): IRAM
[23:03:24]I (568) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[23:03:24]I (575) spi_flash: detected chip: generic
[23:03:24]I (579) spi_flash: flash io: dio
[23:03:24]I (584) cpu_start: Starting scheduler on PRO CPU.
[23:03:24][I][logger:156]: Log initialized
[23:03:24][VV][esp32.preferences:071]: nvs_get_blob: key: 233825507, len: 4
[23:03:24][C][safe_mode:079]: There have been 10 suspected unsuccessful boot attempts
[23:03:24][VV][esp32.preferences:040]: s_pending_save: key: 233825507, len: 4
[23:03:24][D][esp32.preferences:114]: Saving 1 preferences to flash...
[23:03:24][VV][esp32.preferences:123]: Checking if NVS data 233825507 has changed
[23:03:24][V][esp32.preferences:126]: sync: key: 233825507, len: 4
[23:03:24][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[23:03:24][E][safe_mode:086]: Boot loop detected. Proceeding to safe mode
[23:03:24][E][component:164]: Component safe_mode set Error flag: unspecified
[23:03:24][VV][scheduler:032]: set_timeout(name='', timeout=300000)
[23:03:24][I][app:029]: Running through setup()...
[23:03:24][V][app:030]: Sorting components by setup priority...
[23:03:24][C][wifi:048]: Setting up WiFi...
[23:03:24][VV][esp-idf:000]: E (1472) system_api: Base MAC address from BLK3 of EFUSE version error, version = 105
[23:03:24]
[23:03:24][VV][esp-idf:000]: I (1478) wifi:
[23:03:24][VV][esp-idf:000]: wifi driver task: 3ffc1d28, prio:23, stack:6656, core=0
[23:03:24][VV][esp-idf:000]:
[23:03:24]
[23:03:25][VV][esp-idf:000][wifi]: I (1495) system_api: Base MAC address is not set
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1495) system_api: read default base MAC address from EFUSE
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: E (1499) system_api: Base MAC address from BLK0 of EFUSE CRC error, efuse_crc = 0x3e; calc_crc = 0xac
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: W (1519) system_api: Ignore MAC CRC error
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1522) wifi:
[23:03:25][VV][esp-idf:000][wifi]: wifi firmware version: ff661c3
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1550) wifi:
[23:03:25][VV][esp-idf:000][wifi]: wifi certification version: v7.0
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1560) wifi:
[23:03:25][VV][esp-idf:000][wifi]: config NVS flash: enabled
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1581) wifi:
[23:03:25][VV][esp-idf:000][wifi]: config nano formating: disabled
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1591) wifi:
[23:03:25][VV][esp-idf:000][wifi]: Init data frame dynamic rx buffer num: 32
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1612) wifi:
[23:03:25][VV][esp-idf:000][wifi]: Init static rx mgmt buffer num: 5
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1632) wifi:
[23:03:25][VV][esp-idf:000][wifi]: Init management short buffer num: 32
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1642) wifi:
[23:03:25][VV][esp-idf:000][wifi]: Init dynamic tx buffer num: 32
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1663) wifi:
[23:03:25][VV][esp-idf:000][wifi]: Init static rx buffer size: 1600
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1683) wifi:
[23:03:25][VV][esp-idf:000][wifi]: Init static rx buffer num: 10
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1704) wifi:
[23:03:25][VV][esp-idf:000][wifi]: Init dynamic rx buffer num: 32
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000]: I (1715) wifi_init: rx ba win: 6
[23:03:25]
[23:03:25][VV][esp-idf:000]: I (1724) wifi_init: tcpip mbox: 32
[23:03:25]
[23:03:25][VV][esp-idf:000]: I (1734) wifi_init: udp mbox: 6
[23:03:25]
[23:03:25][VV][esp-idf:000]: I (1735) wifi_init: tcp mbox: 6
[23:03:25]
[23:03:25][VV][esp-idf:000]: I (1745) wifi_init: tcp tx win: 5760
[23:03:25]
[23:03:25][VV][esp-idf:000]: I (1755) wifi_init: tcp rx win: 5760
[23:03:25]
[23:03:25][VV][esp-idf:000]: I (1755) wifi_init: tcp mss: 1440
[23:03:25]
[23:03:25][VV][esp-idf:000]: I (1765) wifi_init: WiFi IRAM OP enabled
[23:03:25]
[23:03:25][VV][esp-idf:000]: I (1775) wifi_init: WiFi RX IRAM OP enabled
[23:03:25]
[23:03:25][C][wifi:061]: Starting WiFi...
[23:03:25][VV][esp-idf:000]: E (1786) system_api: Base MAC address from BLK3 of EFUSE version error, version = 105
[23:03:25]
[23:03:25][C][wifi:062]:   Local MAC: 38:B9:16:40:10:22
[23:03:25][V][esp32.preferences:059]: nvs_get_blob('184858036'): ESP_ERR_NVS_NOT_FOUND - the key might not be set yet
[23:03:25][V][wifi_esp32:222]: Enabling STA.
[23:03:25][VV][esp-idf:000][wifi]: I (1817) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1880) wifi:
[23:03:25][VV][esp-idf:000][wifi]: mode : sta (58:b6:23:f2:cc:a9)
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1882) wifi:
[23:03:25][VV][esp-idf:000][wifi]: enable tsf
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]: I (1887) wifi:
[23:03:25][VV][esp-idf:000][wifi]: Set ps type: 1
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][D][wifi:482]: Starting scan...
[23:03:25][V][wifi_esp32:660]: Event: WiFi STA start
[23:03:25][VV][esp-idf:000][wifi]: I (1917) wifi:
[23:03:25][VV][esp-idf:000][wifi]: Set ps type: 1
[23:03:25]
[23:03:25][VV][esp-idf:000][wifi]:
[23:03:25]
[23:03:25][W][component:157]: Component wifi set Warning flag: scanning for networks
[23:03:28][V][wifi_esp32:733]: Event: WiFi Scan Done status=0 number=14 scan_id=128
[23:03:28][D][wifi:497]: Found networks:
[23:03:28][I][wifi:541]: - 'heheheeeey' (8C:97:EA:DC:AC:FF) ▂▄▆█
[23:03:28][D][wifi:542]:     Channel: 11
[23:03:28][D][wifi:543]:     RSSI: -40 dB
[23:03:28][I][wifi:541]: - 'heheheeeey' (DC:00:B0:DC:AE:FF) ▂▄▆█
[23:03:28][D][wifi:542]:     Channel: 11
[23:03:28][D][wifi:543]:     RSSI: -46 dB
[23:03:28][D][wifi:546]: - '' (8E:97:EA:DC:AC:FF) ▂▄▆█
[23:03:28][D][wifi:546]: - 'cachMachine_4A82' (00:22:6C:66:4A:82) ▂▄▆█
[23:03:28][D][wifi:546]: - '' (DE:00:B0:DC:AE:FF) ▂▄▆█
[23:03:28][D][wifi:546]: - 'DIRECT-3A-HP Ink Tank Wireless' (5C:60:BA:1E:B7:3B) ▂▄▆█
[23:03:28][D][wifi:546]: - 'Bbox-BC5AD669' (B0:B2:8F:A9:4C:80) ▂▄▆█
[23:03:28][D][wifi:546]: - 'SFR_53DF' (C8:70:23:91:A4:73) ▂▄▆█
[23:03:28][D][wifi:546]: - 'SFR_53DF' (6C:38:A1:8C:53:E0) ▂▄▆█
[23:03:28][D][wifi:546]: - 'Bbox-6A276CA9' (62:B1:B5:D9:16:F5) ▂▄▆█
[23:03:28][I][wifi:313]: WiFi Connecting to 'heheheeeey'...
[23:03:28][V][wifi:315]: Connection Params:
[23:03:28][V][wifi:316]:   SSID: 'heheheeeey'
[23:03:28][V][wifi:319]:   BSSID: 8C:97:EA:DC:AC:FF
[23:03:28][V][wifi:349]:   Password: 'deadmau5 - Strobe on youtube'
[23:03:28][V][wifi:354]:   Channel: 11
[23:03:28][V][wifi:363]:   Using DHCP IP
[23:03:28][V][wifi:365]:   Hidden: NO
[23:03:28][VV][esp-idf:000][wifi]: I (4881) wifi:
[23:03:28][VV][esp-idf:000][wifi]: new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
[23:03:28][VV][esp-idf:000][wifi]:
[23:03:28]
[23:03:28][VV][esp-idf:000][wifi]: I (5093) wifi:
[23:03:28][VV][esp-idf:000][wifi]: state: init -> auth (b0)
[23:03:28][VV][esp-idf:000][wifi]:
[23:03:28]
[23:03:28][VV][esp-idf:000][wifi]: I (5098) wifi:
[23:03:28][VV][esp-idf:000][wifi]: state: auth -> assoc (0)
[23:03:28][VV][esp-idf:000][wifi]:
[23:03:28]
[23:03:28][VV][esp-idf:000][wifi]: I (5105) wifi:
[23:03:28][VV][esp-idf:000][wifi]: state: assoc -> run (10)
[23:03:28][VV][esp-idf:000][wifi]:
[23:03:28]
[23:03:28][VV][esp-idf:000][wifi]: I (5129) wifi:
[23:03:28][VV][esp-idf:000][wifi]: connected with heheheeeey, aid = 7, channel 11, BW20, bssid = 8c:97:ea:dc:ac:ff
[23:03:28][VV][esp-idf:000][wifi]:
[23:03:28]
[23:03:28][VV][esp-idf:000][wifi]: I (5140) wifi:
[23:03:28][VV][esp-idf:000][wifi]: security: WPA2-PSK, phy: bgn, rssi: -40
[23:03:28][VV][esp-idf:000][wifi]:
[23:03:28]
[23:03:28][VV][esp-idf:000][wifi]: I (5160) wifi:
[23:03:28][VV][esp-idf:000][wifi]: pm start, type: 1
[23:03:28]
[23:03:28][VV][esp-idf:000][wifi]:
[23:03:28]
[23:03:28][VV][esp-idf:000][wifi]: I (5171) wifi:
[23:03:28][VV][esp-idf:000][wifi]: AP's beacon interval = 122880 us, DTIM period = 2
[23:03:28][VV][esp-idf:000][wifi]:
[23:03:28]
[23:03:28][VV][esp-idf:000][wifi]: I (5254) wifi:
[23:03:28][VV][esp-idf:000][wifi]: <ba-add>idx:0 (ifx:0, 8c:97:ea:dc:AC:FF), tid:0, ssn:1, winSize:64
[23:03:28][VV][esp-idf:000][wifi]:
[23:03:28]
[23:03:31][VV][esp-idf:000][sys_evt]: I (8201) esp_netif_handlers: sta ip: 10.69.69.120, mask: 255.255.255.0, gw: 10.69.69.254
[23:03:31]
[23:03:31][V][wifi_esp32:717]: Event: Got IP static_ip=10.69.69.120 gateway=10.69.69.254
[23:03:31][I][wifi:617]: WiFi Connected!
[23:03:31][VV][esp-idf:000]: E (8204) system_api: Base MAC address from BLK3 of EFUSE version error, version = 105
[23:03:31]
[23:03:31][C][wifi:428]:   Local MAC: 8C:97:EA:DC:AC:FF
[23:03:31][C][wifi:433]:   SSID: 'heheheeeey'
[23:03:31][C][wifi:436]:   IP Address: 10.69.69.120
[23:03:31][C][wifi:440]:   BSSID: 8C:97:EA:DC:AC:FF
[23:03:31][C][wifi:441]:   Hostname: 'mipurifier'
[23:03:31][C][wifi:443]:   Signal strength: -42 dB ▂▄▆█
[23:03:31][V][wifi:445]:   Priority: 0.0
[23:03:31][C][wifi:447]:   Channel: 11
[23:03:31][C][wifi:448]:   Subnet: 255.255.255.0
[23:03:31][C][wifi:449]:   Gateway: 10.69.69.254
[23:03:31][C][wifi:450]:   DNS1: 10.69.69.58
[23:03:31][C][wifi:451]:   DNS2: 10.69.69.254
[23:03:31][D][wifi:626]: Disabling AP...
[23:03:31][I][app:062]: setup() finished successfully!
[23:03:31][W][safe_mode:099]: SAFE MODE IS ACTIVE
[23:03:31][W][component:170]: Component wifi cleared Warning flag
[23:03:31][I][app:100]: ESPHome version 2024.10.2 compiled on Nov 27 2024, 23:01:47
[23:03:31][C][wifi:600]: WiFi:
[23:03:31][VV][esp-idf:000]: E (8295) system_api: Base MAC address from BLK3 of EFUSE version error, version = 105
[23:03:31]
[23:03:31][C][wifi:428]:   Local MAC: 8C:97:EA:DC:AC:FF
[23:03:31][C][wifi:433]:   SSID: 'heheheeeey'
[23:03:31][C][wifi:436]:   IP Address: 10.69.69.120
[23:03:31][C][wifi:440]:   BSSID: 8C:97:EA:DC:AC:FF
[23:03:31][C][wifi:441]:   Hostname: 'mipurifier'
[23:03:31][C][wifi:443]:   Signal strength: -42 dB ▂▄▆█
[23:03:31][V][wifi:445]:   Priority: 0.0
[23:03:31][C][wifi:447]:   Channel: 11
[23:03:31][C][wifi:448]:   Subnet: 255.255.255.0
[23:03:31][C][wifi:449]:   Gateway: 10.69.69.254
[23:03:31][C][wifi:450]:   DNS1: 10.69.69.58
[23:03:31][C][wifi:451]:   DNS2: 10.69.69.254
[23:03:31][C][logger:185]: Logger:
[23:03:31][C][logger:186]:   Level: VERY_VERBOSE
[23:03:31][C][logger:188]:   Log Baud Rate: 115200
[23:03:31][C][logger:189]:   Hardware UART: UART0
[23:03:31][C][captive_portal:089]: Captive Portal:
[23:03:31][C][mdns:116]: mDNS:
[23:03:31][C][mdns:117]:   Hostname: mipurifier
[23:03:31][V][mdns:118]:   Services:
[23:03:31][V][mdns:120]:   - _http, _tcp, 80
[23:03:31][C][esphome.ota:073]: Over-The-Air updates:
[23:03:31][C][esphome.ota:074]:   Address: mipurifier.local:3232
[23:03:31][C][esphome.ota:075]:   Version: 2
[23:03:31][C][esphome.ota:078]:   Password configured
[23:03:31][C][safe_mode:018]: Safe Mode:
[23:03:31][C][safe_mode:020]:   Boot considered successful after 60 seconds
[23:03:31][C][safe_mode:021]:   Invoke after 10 boot attempts
[23:03:31][C][safe_mode:023]:   Remain in safe mode for 300 seconds
[23:03:31][W][safe_mode:031]: SAFE MODE IS ACTIVE

I don't event know where to look, do someone have an idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant