Hi there,
since the 2024.6 update my sensor installed in my bathroom won't connect to my Wifi router next door anymore. If I bring it closer (within 4m range) everything works smoothly.
Never had any issues bevore the update.
I tried two other identical boards to rule out any electrical malfunction: same result. I get a connection only if the sensor can "see" the access point.
I moved the sensor around in the house and tried next to other repeaters - always the same result. As long as I the sensor is very close (within 4m) to the access point, it works.
I also tried to provide the BSSID to the network configuration: no change in behaviour.
###### SUCCESSFUL LOG (about 3m away from router/repeater) ######
INFO ESPHome 2024.6.3
INFO Reading configuration /config/esphome/sensorscale.yaml...
INFO Starting log output from 192.168.XXX.XX using esphome API
INFO Successfully connected to sensorscale @ 192.168.XXX.XX in 0.066s
INFO Successful handshake with sensorscale @ 192.168.XXX.XX in 0.125s
[23:00:17][I][app:100]: ESPHome version 2024.6.3 compiled on Jun 26 2024, 22:12:05
[23:00:17][C][wifi:599]: WiFi:
[23:00:17][C][wifi:427]: Local MAC: XX:XX:XX:XX:XX:XX
[23:00:17][C][wifi:432]: SSID: 'XXX'[redacted]
[23:00:17][C][wifi:435]: IP Address: 192.168.XXX.XX
[23:00:17][C][wifi:439]: BSSID: XX:XX:XX:XX:XX:XX[redacted]
[23:00:17][C][wifi:440]: Hostname: 'sensorscale'
[23:00:17][C][wifi:442]: Signal strength: -43 dB ▂▄▆█
[23:00:17][C][wifi:446]: Channel: 6
[23:00:17][C][wifi:447]: Subnet: 255.255.255.0
[23:00:17][C][wifi:448]: Gateway: 192.168.XXX.XX
[23:00:17][C][wifi:449]: DNS1: 192.168.XXX.XX
[23:00:17][C][wifi:450]: DNS2: 0.0.0.0
[23:00:17][C][logger:185]: Logger:
[23:00:17][C][logger:186]: Level: DEBUG
[23:00:17][C][logger:188]: Log Baud Rate: 115200
[23:00:17][C][logger:189]: Hardware UART: UART0
[23:00:17][C][template.sensor:022]: Template Sensor 'Weight David'
[23:00:17][C][template.sensor:022]: State Class: ''
[23:00:17][C][template.sensor:022]: Unit of Measurement: 'kg'
[23:00:17][C][template.sensor:022]: Accuracy Decimals: 2
[23:00:17][C][template.sensor:022]: Icon: 'mdi:weight-kilogram'
[23:00:17][C][template.sensor:023]: Update Interval: 60.0s
[23:00:17][C][xiaomi_miscale:012]: Xiaomi Miscale
[23:00:17][C][xiaomi_miscale:013]: Weight 'Xiaomi Mi Scale Weight'
[23:00:17][C][xiaomi_miscale:013]: State Class: 'measurement'
[23:00:17][C][xiaomi_miscale:013]: Unit of Measurement: 'kg'
[23:00:17][C][xiaomi_miscale:013]: Accuracy Decimals: 2
[23:00:17][C][xiaomi_miscale:013]: Icon: 'mdi:scale-bathroom'
[23:00:17][C][esp32_ble:383]: ESP32 BLE:
[23:00:17][C][esp32_ble:385]: MAC address: XX:XX:XX:XX:XX:XX
[23:00:17][C][esp32_ble:386]: IO Capability: none
[23:00:17][C][esp32_ble_tracker:653]: BLE Tracker:
[23:00:17][C][esp32_ble_tracker:654]: Scan Duration: 300 s
[23:00:17][C][esp32_ble_tracker:655]: Scan Interval: 320.0 ms
[23:00:17][C][esp32_ble_tracker:656]: Scan Window: 30.0 ms
[23:00:17][C][esp32_ble_tracker:657]: Scan Type: ACTIVE
[23:00:17][C][esp32_ble_tracker:658]: Continuous Scanning: True
[23:00:17][C][captive_portal:088]: Captive Portal:
[23:00:17][C][mdns:115]: mDNS:
[23:00:17][C][mdns:116]: Hostname: sensorscale
[23:00:17][C][esphome.ota:073]: Over-The-Air updates:
[23:00:17][C][esphome.ota:074]: Address: sensorscale.local:3232
[23:00:17][C][esphome.ota:075]: Version: 2
[23:00:17][C][esphome.ota:078]: Password configured
[23:00:17][C][safe_mode:018]: Safe Mode:
[23:00:17][C][safe_mode:020]: Boot considered successful after 60 seconds
[23:00:17][C][safe_mode:021]: Invoke after 10 boot attempts
[23:00:17][C][safe_mode:023]: Remain in safe mode for 300 seconds
[23:00:17][C][api:139]: API Server:
[23:00:17][C][api:140]: Address: sensorscale.local:6053
[23:00:17][C][api:142]: Using noise encryption: YES
###### UNSUCCESSFUL LOG (in the room next to the one the router sits, doors open, no issues before 2024.6) ######
INFO ESPHome 2024.6.3
INFO Reading configuration /config/esphome/sensorscale.yaml...
INFO Starting log output from sensorscale.local using esphome API
WARNING Can't connect to ESPHome API for sensorscale.local: Error resolving IP address: [Errno -5] No address associated with hostname (APIConnectionError)
INFO Trying to connect to sensorscale.local in the background
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.
The problem
Hi there, since the 2024.6 update my sensor installed in my bathroom won't connect to my Wifi router next door anymore. If I bring it closer (within 4m range) everything works smoothly. Never had any issues bevore the update.
I tried two other identical boards to rule out any electrical malfunction: same result. I get a connection only if the sensor can "see" the access point.
I moved the sensor around in the house and tried next to other repeaters - always the same result. As long as I the sensor is very close (within 4m) to the access point, it works.
I also tried to provide the BSSID to the network configuration: no change in behaviour.
Which version of ESPHome has the issue?
2024.6
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.6.4
What platform are you using?
ESP32
Board
az-delivery-devkit-v4
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Hardware for the routers/repeaters is FritzBox