m4biz
(Cosimo )
1
After upgrading ESP Home to latest 2022.11.0 - 16th November 2022, this part of code stops working rightly. Any idea ? Thanks in advance:
ble_client:
- mac_address: 11:22:33:44:55:66
id: ESP32_BLE_Remote_test
on_connect:
then:
- lambda: |-
id(ESP32_text_sensor_name_test).publish_state("AWAKE");
on_disconnect:
then:
- lambda: |-
id(ESP32_text_sensor_name_test).publish_state("Deep Sleep");
What do the logs show you? Can you show it to us? Maybe need to increase the log level… 
m4biz
(Cosimo )
3
Hi orange-assistant, thanks for your reply.
Here the log:Processing: logs_lilygo-ttgo-poe-bt-proxy-5f7de4_logs.txt…
INFO Reading configuration /config/esphome/lilygo-ttgo-poe-bt-proxy-5f7de4.yaml...
INFO Updating https://github.com/esphome/bluetooth-proxies.git@main
INFO Starting log output from lilygo-ttgo-poe-bt-proxy-5f7de4.local using esphome API
INFO Successfully connected to lilygo-ttgo-poe-bt-proxy-5f7de4.local
[08:50:26][I][app:102]: ESPHome version 2022.11.1 compiled on Nov 20 2022, 16:38:31
[08:50:26][I][app:104]: Project esphome.bluetooth-proxy version 1.0
[08:50:26][C][logger:293]: Logger:
[08:50:26][C][logger:294]: Level: DEBUG
[08:50:26][C][logger:295]: Log Baud Rate: 115200
[08:50:26][C][logger:296]: Hardware UART: UART0
[08:50:26][C][switch.gpio:050]: GPIO Switch 'Stato pin 34 (ON-Off)'
[08:50:26][C][switch.gpio:050]: Icon: 'mdi:alarm-light'
[08:50:26][C][switch.gpio:051]: Pin: GPIO32
[08:50:26][C][switch.gpio:073]: Restore Mode: Restore (Defaults to OFF)
[08:50:26][C][template.text_sensor:021]: Template Sensor 'Stato ESP32 remote'
[08:50:26][C][template.text_sensor:021]: Icon: 'mdi:arrow-up-circle'
[08:50:26][C][template.text_sensor:021]: Template Sensor 'Stato ESP32 Lolin32 remote'
[08:50:26][C][template.text_sensor:021]: Icon: 'mdi:arrow-up-circle'
[08:50:26][C][output.switch:009]: Output Switch 'Momentary Switch LED BLU - Remote ESP32'
[08:50:26][C][output.switch:009]: Icon: 'mdi:power'
[08:50:26][C][bluetooth_proxy:051]: Bluetooth Proxy:
[08:50:26][C][bluetooth_proxy:052]: Active: YES
[08:50:26][C][safe_mode.button:022]: Safe Mode Button 'Safe Mode Boot'
[08:50:26][C][safe_mode.button:022]: Icon: 'mdi:restart-alert'
[08:50:26][C][ble_presence:011]: BLE Presence 'ESP32 BLE Presence Lolin 32'
[08:50:26][C][ble_presence:011]: BLE Presence 'ESP32 BLE Presence Remote'
[08:50:26][C][ble_binary_output:012]: BLE Binary Output:
[08:50:26][C][ble_binary_output:013]: MAC address : 34:94:54:25:26:2e
[08:50:26][C][ble_binary_output:014]: Service UUID : 4FAFC201-1FB5-459E-8FCC-C5C9C331914B
[08:50:26][C][ble_binary_output:015]: Characteristic UUID: BEB5483E-36E1-4688-B7F5-EA07361B26A8
[08:50:26][C][ble_binary_output:012]: BLE Binary Output:
[08:50:26][C][ble_binary_output:013]: MAC address : 34:94:54:25:26:2e
[08:50:26][C][ble_binary_output:014]: Service UUID : 4FAFC201-1FB5-459E-8FCC-C5C9C331914B
[08:50:26][C][ble_binary_output:015]: Characteristic UUID: CBA1D466-344C-4BE3-AB3F-189F80DD7518
[08:50:26][C][ble_rssi:011]: BLE RSSI Sensor 'BLE ESP32 remote RSSI value'
[08:50:26][C][ble_rssi:011]: Device Class: 'signal_strength'
[08:50:26][C][ble_rssi:011]: State Class: 'measurement'
[08:50:26][C][ble_rssi:011]: Unit of Measurement: 'dBm'
[08:50:26][C][ble_rssi:011]: Accuracy Decimals: 0
[08:50:26][C][ble_rssi:011]: BLE RSSI Sensor 'BLE ESP32 remote Lolin 32 RSSI value'
[08:50:26][C][ble_rssi:011]: Device Class: 'signal_strength'
[08:50:26][C][ble_rssi:011]: State Class: 'measurement'
[08:50:26][C][ble_rssi:011]: Unit of Measurement: 'dBm'
[08:50:26][C][ble_rssi:011]: Accuracy Decimals: 0
[08:50:26][W][ble_sensor:117]: [pin34 value] Cannot poll, not connected
[08:50:26][C][ble_sensor:017]: BLE Sensor 'pin34 value'
[08:50:26][C][ble_sensor:017]: State Class: ''
[08:50:26][C][ble_sensor:017]: Unit of Measurement: ''
[08:50:26][C][ble_sensor:017]: Accuracy Decimals: 0
[08:50:26][C][ble_sensor:018]: MAC address : 34:94:54:25:26:2e
[08:50:26][C][ble_sensor:019]: Service UUID : 4FAFC201-1FB5-459E-8FCC-C5C9C331914B
[08:50:26][C][ble_sensor:020]: Characteristic UUID: CBA1D466-344C-4BE3-AB3F-189F80DD7518
[08:50:26][C][ble_sensor:021]: Descriptor UUID : 00000000-0000-0000-0000-000000000000
[08:50:26][C][ble_sensor:022]: Notifications : NO
[08:50:26][C][ble_sensor:023]: Update Interval: 1.0s
[08:50:26][C][esp32_ble_tracker:793]: BLE Tracker:
[08:50:26][C][esp32_ble_tracker:794]: Scan Duration: 300 s
[08:50:26][C][esp32_ble_tracker:795]: Scan Interval: 1100.0 ms
[08:50:26][C][esp32_ble_tracker:796]: Scan Window: 1100.0 ms
[08:50:26][C][esp32_ble_tracker:797]: Scan Type: ACTIVE
[08:50:26][C][esp32_ble_tracker:798]: Continuous Scanning: True
[08:50:26][C][ble_client:027]: BLE Client:
[08:50:26][C][ble_client:028]: Address: 34:94:54:25:26:2e
[08:50:26][C][ble_client:027]: BLE Client:
[08:50:26][C][ble_client:028]: Address: c8:c9:a3:cf:14:6e
[08:50:26][C][ethernet:146]: Ethernet:
[08:50:26][C][ethernet:264]: IP Address: 192.168.1.20
[08:50:26][C][ethernet:265]: Hostname: 'lilygo-ttgo-poe-bt-proxy-5f7de4'
[08:50:26][C][ethernet:266]: Subnet: 255.255.255.0
[08:50:26][C][ethernet:267]: Gateway: 192.168.1.1
[08:50:26][C][ethernet:278]: DNS1: 192.168.1.1
[08:50:26][C][ethernet:279]: DNS2: 192.168.1.1
[08:50:26][C][ethernet:282]: MAC Address: 44:17:93:5F:7D:E7
[08:50:26][C][ethernet:283]: Is Full Duplex: YES
[08:50:26][C][ethernet:284]: Link Up: YES
[08:50:26][C][ethernet:285]: Link Speed: 100
[08:50:26][C][ethernet:149]: MDC Pin: 23
[08:50:26][C][ethernet:150]: MDIO Pin: 18
[08:50:27][C][ethernet:151]: Type: LAN8720
[08:50:27][C][mdns:103]: mDNS:
[08:50:27][C][mdns:104]: Hostname: lilygo-ttgo-poe-bt-proxy-5f7de4
[08:50:27][C][ota:093]: Over-The-Air Updates:
[08:50:27][C][ota:094]: Address: lilygo-ttgo-poe-bt-proxy-5f7de4.local:3232
[08:50:27][C][api:138]: API Server:
[08:50:27][C][api:139]: Address: lilygo-ttgo-poe-bt-proxy-5f7de4.local:6053
[08:50:27][C][api:143]: Using noise encryption: NO
Protoncek
(Pavel)
4
Maybe it can be related with THIS problem. My ESP constantly reboots with V2022.11.x.
m4biz
(Cosimo )
5
Today I’ll try all. Thanks for now