esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
294 stars 38 forks source link

after the update, the am 43 components stopped working #3779

Open belenkiy-lab opened 2 years ago

belenkiy-lab commented 2 years ago

The problem

After updating to ESPHome version 2022.10.2 from 2022.6.2, the am43 component stopped working.

Which version of ESPHome has the issue?

2022.10.2

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2022.10.5

What platform are you using?

ESP32

Board

nodemcu

Component causing the issue

am43

Example YAML snippet

esphome:
  name: curtain-bedroom
  platform: ESP32
  board: nodemcu-32s

wifi:
  ssid: "SSID"
  password: "PASSWORD"

   ap:
    ssid: "Curtain bedroom Fallback Hotspot"
    password: "PASWORD"

captive_portal:

logger:

api:
  password: "00000000"

ota:
  password: "00000000"

web_server:
  port: 80

esp32_ble_tracker:

ble_client:
  - mac_address: 02:27:89:39:A4:85
    id: bedroom_curtain_ble_client_left
  - mac_address: 02:6D:78:1E:CF:CC
    id: bedroom_curtain_ble_client_right

cover:
  - platform: am43
    name: "Bedroom Curtain Left Cover"
    id: bedroom_curtain_left_cover
    ble_client_id: bedroom_curtain_ble_client_left
  - platform: am43
    name: "Bedroom Curtain Right Cover"
    id: bedroom_curtain_right_cover
    ble_client_id: bedroom_curtain_ble_client_right

sensor:
  - platform: am43
    ble_client_id: bedroom_curtain_ble_client_left
    battery_level:
      name: "Bedroom Curtain Left battery"
    illuminance:
      name: "Bedroom Curtain Left light"
    update_interval: 80s
  - platform: am43
    ble_client_id: bedroom_curtain_ble_client_right
    illuminance:
      name: "Bedroom Curtain Right light"
    battery_level:
      name: "Bedroom Curtain Right battery"
    update_interval: 80s
  - platform: uptime
    name: "Bedroom Curtain Controler Uptime Sensor"
    id: uptime_bedroom_curtain_controler

switch:
  - platform: restart
    name: "Bedroom Curtain Controler Device Restart"
    id: restart_beddroom_curtain_controler
  - platform: ble_client
    name: "Bedroom Curtain Left connection"
    ble_client_id: bedroom_curtain_ble_client_left
    id: bedroom_curtain_connection_lift_on
  - platform: ble_client
    name: "Bedroom Curtain Right connection"
    ble_client_id: bedroom_curtain_ble_client_right
    id: bedroom_curtain_connection_right_on

Anything in the logs that might be useful for us?

INFO Reading configuration /config/esphome/Curtain-kitchen.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing curtain-kitchen (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
--------------------------------------------------------------------------------
Platform Manager: Installing platformio/espressif32 @ 3.5.0
INFO Installing platformio/espressif32 @ 3.5.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Platform Manager: espressif32@3.5.0 has been installed!
INFO espressif32@3.5.0 has been installed!
Tool Manager: Installing platformio/toolchain-xtensa32 @ ~2.50200.0
INFO Installing platformio/toolchain-xtensa32 @ ~2.50200.0
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: toolchain-xtensa32@2.50200.97 has been installed!
INFO toolchain-xtensa32@2.50200.97 has been installed!
Tool Manager: Installing platformio/framework-arduinoespressif32 @ ~3.10006.0
INFO Installing platformio/framework-arduinoespressif32 @ ~3.10006.0
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: framework-arduinoespressif32@3.10006.210326 has been installed!
INFO framework-arduinoespressif32@3.10006.210326 has been installed!
Tool Manager: Installing platformio/tool-esptoolpy @ ~1.30100.0
INFO Installing platformio/tool-esptoolpy @ ~1.30100.0
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%
Tool Manager: tool-esptoolpy@1.30100.210531 has been installed!
INFO tool-esptoolpy@1.30100.210531 has been installed!
Library Manager: Installing esphome/AsyncTCP-esphome @ 1.2.2
INFO Installing esphome/AsyncTCP-esphome @ 1.2.2
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Library Manager: AsyncTCP-esphome@1.2.2 has been installed!
INFO AsyncTCP-esphome@1.2.2 has been installed!
Library Manager: Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
INFO Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Library Manager: ESPAsyncWebServer-esphome@2.1.0 has been installed!
INFO ESPAsyncWebServer-esphome@2.1.0 has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing ottowinter/ESPAsyncTCP-esphome
INFO Installing ottowinter/ESPAsyncTCP-esphome
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Library Manager: ESPAsyncTCP-esphome@1.2.3 has been installed!
INFO ESPAsyncTCP-esphome@1.2.3 has been installed!
Library Manager: Installing Hash
INFO Installing Hash
Library Manager: Installing ESP8266WiFi
INFO Installing ESP8266WiFi
Library Manager: Installing bblanchon/ArduinoJson @ 6.18.5
INFO Installing bblanchon/ArduinoJson @ 6.18.5
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Library Manager: ArduinoJson@6.18.5 has been installed!
INFO ArduinoJson@6.18.5 has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40300.0
INFO Installing platformio/tool-scons @ ~4.40300.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: tool-scons@4.40300.220725 has been installed!
INFO tool-scons@4.40300.220725 has been installed!
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- AsyncTCP-esphome @ 1.2.2
|-- WiFi @ 1.0
|-- FS @ 1.0
|-- Update @ 1.0
|-- ESPAsyncWebServer-esphome @ 2.1.0
|   |-- AsyncTCP-esphome @ 1.2.2
|-- DNSServer @ 1.1.0
|-- ESPmDNS @ 1.0
|-- ArduinoJson @ 6.18.5
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/am43/am43.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/am43/am43_base.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/am43/cover/am43_cover.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/api/api_connection.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/api/api_frame_helper.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/api/api_pb2.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/api/api_pb2_service.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/api/api_server.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/api/list_entities.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/api/proto.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/api/subscribe_state.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/api/user_services.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/ble_client/automation.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/ble_client/ble_client.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/ble_client/switch/ble_switch.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/captive_portal/captive_portal.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/cover/cover.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/esp32/core.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/esp32/gpio_arduino.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/esp32/gpio_idf.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/esp32/preferences.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/esp32_ble_client/ble_characteristic.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/esp32_ble_client/ble_client_base.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/esp32_ble_client/ble_service.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/esp32_ble_tracker/esp32_ble_tracker.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/json/json_util.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/logger/logger.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/md5/md5.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/mdns/mdns_component.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/mdns/mdns_esp32_arduino.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/mdns/mdns_esp_idf.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/network/util.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/ota/ota_component.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/restart/switch/restart_switch.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/sensor/automation.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/sensor/filter.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/sensor/sensor.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/socket/bsd_sockets_impl.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/socket/socket.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/switch/automation.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/switch/switch.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/uptime/uptime_sensor.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/web_server/list_entities.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/web_server/web_server.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/web_server_base/web_server_base.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/wifi/wifi_component.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/components/wifi/wifi_component_esp_idf.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/application.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/color.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/component.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/component_iterator.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/controller.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/entity_base.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/helpers.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/log.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/scheduler.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/esphome/core/util.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/src/main.cpp.o
Generating partitions /data/curtain-kitchen/.pioenvs/curtain-kitchen/partitions.bin
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib0ab/AsyncTCP-esphome/AsyncTCP.cpp.o
Archiving /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib0ab/libAsyncTCP-esphome.a
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/ETH.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/WiFi.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/WiFiAP.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/WiFiClient.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/WiFiGeneric.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/WiFiMulti.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/WiFiSTA.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/WiFiScan.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/WiFiServer.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/WiFi/WiFiUdp.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib01c/FS/FS.cpp.o
Archiving /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib64d/libWiFi.a
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib01c/FS/vfs_api.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/libbc6/Update/HttpsOTAUpdate.cpp.o
Archiving /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib01c/libFS.a
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/libbc6/Update/Updater.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib85d/ESPAsyncWebServer-esphome/AsyncEventSource.cpp.o
Archiving /data/curtain-kitchen/.pioenvs/curtain-kitchen/libbc6/libUpdate.a
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib85d/ESPAsyncWebServer-esphome/AsyncWebSocket.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib85d/ESPAsyncWebServer-esphome/WebAuthentication.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib85d/ESPAsyncWebServer-esphome/WebHandlers.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib85d/ESPAsyncWebServer-esphome/WebRequest.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib85d/ESPAsyncWebServer-esphome/WebResponses.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib85d/ESPAsyncWebServer-esphome/WebServer.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib333/DNSServer/DNSServer.cpp.o
Archiving /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib85d/libESPAsyncWebServer-esphome.a
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib915/ESPmDNS/ESPmDNS.cpp.o
Archiving /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib333/libDNSServer.a
Archiving /data/curtain-kitchen/.pioenvs/curtain-kitchen/libFrameworkArduinoVariant.a
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/Esp.cpp.o
Archiving /data/curtain-kitchen/.pioenvs/curtain-kitchen/lib915/libESPmDNS.a
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/HardwareSerial.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/IPAddress.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/IPv6Address.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/MD5Builder.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/Print.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/Stream.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/StreamString.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/WMath.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/WString.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/base64.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/cbuf.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-adc.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-bt.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-cpu.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-dac.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-gpio.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-i2c.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-ledc.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-log.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-matrix.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-misc.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-psram.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-rmt.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-sigmadelta.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-spi.c.o
/data/cache/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c: In function 'spiTransferBytesNL':
/data/cache/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:922:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
                 uint8_t * last_out8 = &result[c_longs-1];
                                       ^
/data/cache/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
                 uint8_t * last_data8 = &last_data;
                                        ^
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-time.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-timer.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-touch.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/esp32-hal-uart.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/libb64/cdecode.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/libb64/cencode.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/main.cpp.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/stdlib_noniso.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/wiring_pulse.c.o
Compiling /data/curtain-kitchen/.pioenvs/curtain-kitchen/FrameworkArduino/wiring_shift.c.o
Archiving /data/curtain-kitchen/.pioenvs/curtain-kitchen/libFrameworkArduino.a
Linking /data/curtain-kitchen/.pioenvs/curtain-kitchen/firmware.elf
RAM:   [==        ]  16.4% (used 53724 bytes from 327680 bytes)
Flash: [========= ]  85.8% (used 1575206 bytes from 1835008 bytes)
Building /data/curtain-kitchen/.pioenvs/curtain-kitchen/firmware.bin
esp32_create_combined_bin(["/data/curtain-kitchen/.pioenvs/curtain-kitchen/firmware.bin"], ["/data/curtain-kitchen/.pioenvs/curtain-kitchen/firmware.elf"])
Wrote 0x190990 bytes to file /data/curtain-kitchen/.pioenvs/curtain-kitchen/firmware-factory.bin, ready to flash to offset 0x0
======================== [SUCCESS] Took 103.82 seconds ========================

********************************************************************************
We found 96.19MB of unnecessary PlatformIO system data (temporary files, unnecessary packages, etc.).
Use `pio system prune --dry-run` to list them or `pio system prune` to save disk space.
INFO Successfully compiled program.
INFO Resolving IP address of curtain-kitchen.local
INFO  -> 192.168.80.198
INFO Uploading /data/curtain-kitchen/.pioenvs/curtain-kitchen/firmware.bin (1575312 bytes)
Uploading: [============================================================] 100% Done...

INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from curtain-kitchen.local using esphome API
WARNING Can't connect to ESPHome API for curtain-kitchen.local: Error resolving IP address: [Errno -5] No address associated with hostname
INFO Trying to reconnect to curtain-kitchen.local in the background
INFO Successfully connected to curtain-kitchen.local
[11:16:22][I][app:102]: ESPHome version 2022.10.2 compiled on Nov 12 2022, 11:15:00
[11:16:22][C][wifi:502]: WiFi:
[11:16:22][C][wifi:360]:   Local MAC: 3C:71:BF:4C:A4:48
[11:16:22][C][wifi:361]:   SSID: 'Belenkiy'[redacted]
[11:16:22][C][wifi:362]:   IP Address: 192.168.80.198
[11:16:22][C][wifi:364]:   BSSID: 50:FF:20:62:8C:30[redacted]
[11:16:22][C][logger:275]: Logger:
[11:16:22][C][logger:276]:   Level: DEBUG
[11:16:22][C][logger:277]:   Log Baud Rate: 115200
[11:16:22][C][logger:278]:   Hardware UART: UART0
[11:16:22][C][uptime.sensor:031]: Uptime Sensor 'Kitchen Curtain Controler Uptime Sensor'
[11:16:22][C][uptime.sensor:031]:   State Class: 'total_increasing'
[11:16:22][C][uptime.sensor:031]:   Unit of Measurement: 's'
[11:16:22][C][uptime.sensor:031]:   Icon: 'mdi:timer-outline'
[11:16:22][C][am43_cover:014]: AM43 Cover 'Kitchen Curtain Left Cover'
[11:16:22][C][am43_cover:015]:   Device Pin: 8888
[11:16:22][C][am43_cover:016]:   Invert Position: 0
[11:16:22][C][am43_cover:014]: AM43 Cover 'Kitchen Curtain Right Cover'
[11:16:22][C][am43_cover:015]:   Device Pin: 8888
[11:16:22][C][am43_cover:016]:   Invert Position: 0
[11:16:22][C][am43:013]: AM43
[11:16:23][C][am43:014]:  Battery 'Kitchen Curtain Left battery'
[11:16:23][C][am43:015]:  Illuminance 'Kitchen Curtain Left light'
[11:16:23][C][am43:015]:    State Class: ''
[11:16:23][C][am43:015]:    Unit of Measurement: '%'
[11:16:23][C][am43:015]:    Accuracy Decimals: 0
[11:16:23][C][am43:015]:    Icon: 'mdi:brightness-5'
[11:16:23][C][am43:013]: AM43
[11:16:23][C][am43:014]:  Battery 'Kitchen Curtain Right battery'
[11:16:23][C][am43:014]:    Device Class: 'battery'
[11:16:23][C][am43:014]:    State Class: ''
[11:16:23][C][am43:015]:    Unit of Measurement: '%'
[11:16:23][C][restart:022]: Restart Switch 'Kitchen Curtain Controler Device Restart'
[11:16:23][C][restart:022]:   Icon: 'mdi:restart'
[11:16:23][C][ble_switch:035]: BLE Client Switch 'Kitchen Curtain Left connection'
[11:16:23][C][ble_switch:035]:   Icon: 'mdi:bluetooth'
[11:16:23][C][ble_switch:035]: BLE Client Switch 'Kitchen Curtain Right connection'
[11:16:23][C][ble_switch:035]:   Icon: 'mdi:bluetooth'
[11:16:23][D][esp32_ble_tracker:809]: Found device 59:83:CA:FF:6D:30 RSSI=-93
[11:16:23][D][esp32_ble_tracker:830]:   Address Type: RANDOM
[11:16:23][C][esp32_ble_tracker:793]: BLE Tracker:
[11:16:23][C][esp32_ble_tracker:794]:   Scan Duration: 300 s
[11:16:23][C][esp32_ble_tracker:795]:   Scan Interval: 320.0 ms
[11:16:23][C][esp32_ble_tracker:796]:   Scan Window: 30.0 ms
[11:16:23][C][esp32_ble_tracker:797]:   Scan Type: ACTIVE
[11:16:23][C][esp32_ble_tracker:798]:   Continuous Scanning: True
[11:16:23][C][ble_client:027]: BLE Client:
[11:16:23][C][ble_client:028]:   Address: 02:31:6c:30:2d:5a
[11:16:23][C][ble_client:027]: BLE Client:
[11:16:23][C][ble_client:028]:   Address: 02:e1:a9:7a:0b:96
[11:16:23][C][captive_portal:088]: Captive Portal:
[11:16:23][C][web_server:125]: Web Server:
[11:16:23][C][web_server:126]:   Address: curtain-kitchen.local:80
[11:16:23][C][mdns:100]: mDNS:
[11:16:23][C][mdns:101]:   Hostname: curtain-kitchen
[11:16:23][C][ota:089]: Over-The-Air Updates:
[11:16:23][C][ota:090]:   Address: curtain-kitchen.local:3232
[11:16:23][C][ota:093]:   Using Password.
[11:16:23][C][api:138]: API Server:
[11:16:23][C][api:139]:   Address: curtain-kitchen.local:6053
[11:16:23][C][api:143]:   Using noise encryption: NO
[11:16:28][D][esp32_ble_client:036]: Found device at MAC address [02:31:6C:30:2D:5A]
[11:16:28][I][esp32_ble_client:058]: Attempting BLE connection to 02:31:6c:30:2d:5a
[11:16:29][D][esp32_ble_client:099]: [02:31:6c:30:2d:5a] Unexpected conn_id in CONNECT_EVT: param conn=1, open conn=0
[11:16:29][D][esp32_ble_client:099]: [02:e1:a9:7a:0b:96] Unexpected conn_id in CONNECT_EVT: param conn=1, open conn=0
[11:16:30][I][esp32_ble_client:142]: Service UUID: 0x1801
[11:16:30][I][esp32_ble_client:143]:   start_handle: 0x1  end_handle: 0x4
[11:16:30][I][esp32_ble_client.service:057]:  characteristic 0x2A05, handle 0x3, properties 0x20
[11:16:30][I][esp32_ble_client:142]: Service UUID: 0x1800
[11:16:30][I][esp32_ble_client:143]:   start_handle: 0x5  end_handle: 0xb
[11:16:30][I][esp32_ble_client:143]:   start_handle: 0xc  end_handle: 0x11
[11:16:30][I][esp32_ble_client.service:057]:  characteristic 0xFE51, handle 0xe, properties 0x16
[11:16:30][I][esp32_ble_client.service:057]:  characteristic 0xFE52, handle 0x11, properties 0x8
INFO curtain-kitchen.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO curtain-kitchen.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for curtain-kitchen.local
WARNING Disconnected from API
INFO Successfully connected to curtain-kitchen.local
[11:16:38][I][am43_cover:124]: [Kitchen Curtain Left Cover] AM43 pin accepted.
[11:16:38][D][api.connection:917]: Home Assistant 2022.10.5 (::FFFF:C0A8:50AF): Connected successfully
[11:16:38][D][cover:170]: 'Kitchen Curtain Left Cover' - Publishing:
[11:16:38][D][cover:173]:   Position: 11%
[11:16:38][D][cover:186]:   Current Operation: IDLE
[11:16:38][D][sensor:127]: 'Kitchen Curtain Left light': Sending state 11.11111 % with 0 decimals of accuracy
[11:16:39][D][esp32_ble_tracker:809]: Found device C4:F3:12:53:21:43 RSSI=-73
[11:16:39][D][esp32_ble_tracker:830]:   Address Type: PUBLIC
[11:16:39][D][esp32_ble_tracker:832]:   Name: 'Anova'
[11:16:39][D][esp32_ble_tracker:834]:   TX Power: 2
[11:16:40][D][esp32_ble_tracker:809]: Found device C4:7C:8D:62:AF:3C RSSI=-69
[11:16:40][D][esp32_ble_tracker:830]:   Address Type: PUBLIC
[11:16:40][D][esp32_ble_tracker:832]:   Name: 'Flower care'
[11:16:45][D][esp32_ble_client:036]: Found device at MAC address [02:E1:A9:7A:0B:96]
[11:16:45][I][esp32_ble_client:058]: Attempting BLE connection to 02:e1:a9:7a:0b:96
[11:16:46][D][esp32_ble_client:099]: [02:31:6c:30:2d:5a] Unexpected conn_id in CONNECT_EVT: param conn=1, open conn=0
[11:16:46][D][esp32_ble_client:099]: [02:e1:a9:7a:0b:96] Unexpected conn_id in CONNECT_EVT: param conn=1, open conn=0
[11:16:47][E][am43_cover:089]: [Kitchen Curtain Left Cover] No control service found at device, not an AM43..?
[11:16:47][E][am43:049]: [02:31:6c:30:2d:5a] No control service found at device, not an AM43..?
[11:16:47][I][esp32_ble_client:142]: Service UUID: 0x1801
[11:16:47][I][esp32_ble_client:143]:   start_handle: 0x1  end_handle: 0x4
[11:16:47][I][esp32_ble_client.service:057]:  characteristic 0x2A05, handle 0x3, properties 0x20
[11:16:47][I][esp32_ble_client:142]: Service UUID: 0x1800
[11:16:47][I][esp32_ble_client:143]:   start_handle: 0x5  end_handle: 0xb
[11:16:47][I][esp32_ble_client.service:057]:  characteristic 0x2A00, handle 0x7, properties 0x4e
[11:16:47][I][esp32_ble_client.service:057]:  characteristic 0x2A01, handle 0x9, properties 0x4e
[11:16:47][I][esp32_ble_client.service:057]:  characteristic 0x2A04, handle 0xb, properties 0x2
[11:16:47][I][esp32_ble_client:142]: Service UUID: 0xFE50
INFO curtain-kitchen.local: Ping timed out!
INFO Disconnected from ESPHome API for curtain-kitchen.local
WARNING Disconnected from API
WARNING Can't connect to ESPHome API for curtain-kitchen.local: Error resolving IP address: [Errno -5] No address associated with hostname
INFO Trying to reconnect to curtain-kitchen.local in the background
INFO Successfully connected to curtain-kitchen.local
[11:17:10][W][api.connection:081]: Home Assistant 2022.10.5 (::FFFF:C0A8:50AF): Connection reset
[11:17:16][D][sensor:127]: 'Kitchen Curtain Controler Uptime Sensor': Sending state 44.75800 s with 0 decimals of accuracy

Additional information

No response

akrigator commented 2 years ago

Looks as a duplicate https://github.com/esphome/issues/issues/3776

akrigator commented 2 years ago

[alternative workaround] (https://github.com/alutov/ESP32-R4sGate-for-Redmond)

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.