Closed mplinuxgeek closed 5 years ago
Could you post your wifi config please and the wifi scan results. You can blank out the ssids/bssids/passwords.
The configs were attached above, sorry if it wasn't clear enough: rgbw_gu10_02.yaml.txt bedroom_lamp.yaml.txt
Ah sorry didn't see that (only looked at the paste config section)
So you're not using any hidden network or similar. Let me guess: The warning you're seeing in the logs is "AP not found" right?
I think it may be related to this change: https://github.com/esphome/esphome-core/blob/dev/src/esphome/wifi_component.cpp#L603 (if you have set a password esphome will now only connect to non-open networks)
Do you know what authentication type your network uses? Is it WEP/WPA+WPA2/WPA2 and TKIP/CCMP?
No open or hidden networks, I use WPA/WPA2 mixed mode on a OpenWRT flashed router.
I'm not sure its related as it wasn't listing available networks during the scan, I've got a heap of spare ESP01's and a few spare Wemos, I'll flash a bunch with the same config as the globe to see if I can replicate the issue. I feel like it's deeper than a simple check for open networks.
I’ve got similar issues - one NodeMCU and two sonoff were working fine prior to the update but now all show as unavailable. At the same time HA would also show devices as unavailable but I can log in to each device’s web server fine. If I reboot either device it would briefly come up in ESP Home web interface as available but soon after gets unavailable again. I had no changes to my setup besides updating HA and ESP Home to latest versions.
@nnmalex No, that is a different issue - here the device is not connecting to the network in the first place.
@nnmalex No, that is a different issue - here the device is not connecting to the network in the first place.
Ah, OK, sorry. Will open new ticket.
I’ve got similar issues after update to 1.11.2 (2 x sonoff basic). The other 10 sonoffs basic are still on 1.12.1 and working.
when I remove logger: it connects again.
with logger: enabled the console output:
[15:22:39][I][wifi:167]: WiFi Connecting to 'I-Family'... [15:22:41][W][wifi:399]: Error while connecting to network. [15:22:41][W][wifi:429]: Restarting WiFi adapter... [15:22:41][I][wifi:167]: WiFi Connecting to 'I-Family'... [15:22:47][W][wifi:399]: Error while connecting to network. [15:22:47][W][wifi:429]: Restarting WiFi adapter...
@tdolder For that please see https://github.com/esphome/issues/issues/82
Continuing from #409 @OttoWinter So here is a weird one, I deleted almost all of the config
substitutions:
devicename: lounge_floor_light
upper_devicename: Lounge Floor Light
esphome:
name: ${devicename}
platform: ESP8266
board: esp01_1m
board_flash_mode: dout
wifi:
ssid: !secret wifi_name
password: !secret wifi_password
manual_ip:
static_ip: 10.18.1.100
gateway: !secret network_gateway
subnet: 255.255.255.0
logger:
api:
and it's working flashed 1.13.4, and all sensors are showing up in HA
sorry for all the edits
Not sure what was wrong, but after copying the example and changing the settings (SSID, Password, name) it is working, so I had something bad in my config
Closing due to inactivity
Operating environment/Installation (Hass.io/Docker/pip/etc.):
OS: Fedora 29 Python: 3.7 Install method: pip
ESP (ESP32/ESP8266, Board/Sonoff):
Affected component:
Unsure, both devices share most of the same components except MY9291 on the globe and Dallas on the Wemos.
I updated a bunch of devices from 1.10.1 to 1.11.2 last night and a couple of them experienced issues.
The attached configs are the devices in question:
Prior to updating both of these devices worked properly, after updating they both did 2 different things:
Problem-relevant YAML-configuration entries:
Traceback (if applicable):
Diagnosis steps of rgbw_gu10_02 using a USB-Serial adapter:
At this point I uninstalled 1.11.2 and installed 1.10.1, recompiled and reflashed bedroom_lamp which resolved the mqtt connectivity issues. To futher confirm I recompiled and reflashed rgbw_gu10_02 successfully.
I don't have any logs handy but I'm willing to upgrade to 1.11.2 again and test with the bedroom lamp (not the rgbw gu10 globe as I may not be able to recover it again without removing the flash chip) to gather anything you might need to diagnose this further.
I should also point out that I have 3 or 4 other devices that were upgraded to 1.11.2 and they didn't have connectivity issues.