Open r100gs opened 2 years ago
I have similar issue with BME280. From OS console it's working (esphome logs ....). When I will try to connect to Web interface from ESPHome dashboard then it's not accessible and OS console log stop responding for a while with these messages ...
[13:24:33][D][text_sensor:067]: 'xxxx homeassistant current time': Sending state '2022-02-18 13:24:32' INFO esphome.address.local: Error while reading incoming messages: Error while reading data: [WinError 64] The specified network name is no longer available INFO Disconnected from ESPHome API for esphome.address.local WARNING Disconnected from API INFO esphome.address.local: Ping Failed: Error while reading data: [WinError 64] The specified network name is no longer available INFO Successfully connected to esphome.address.local [13:25:22][D][sensor:124]: 'xxxx BME280 temperature': Sending state 5.17000 °C with 1 decimals of accuracy
or with these messages ...
[13:52:16][D][text_sensor:067]: 'xxxx sntp current time': Sending state '2022-02-18 13:52:15' INFO esphome.address.local: Ping timed out! ERROR Exception in callback _ProactorBasePipeTransport._call_connection_lost(None) handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)> Traceback (most recent call last): File "C:\Python310\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Python310\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost self._sock.shutdown(socket.SHUT_RDWR) OSError: [WinError 10038] An operation was attempted on something that is not a socket INFO Disconnected from ESPHome API for esphome.address.local WARNING Disconnected from API WARNING Can't connect to ESPHome API for esphome.address.local: Error connecting to ('xx.xx.xx.xx', 6053): [WinError 121] The semaphore timeout period has expired INFO Trying to reconnect to esphome.address.local in the background INFO Successfully connected to esphome.address.local [13:53:40][D][api:102]: Accepted xx.xx.xx.xx [13:53:40][D][api.connection:826]: Home Assistant 2022.2.8 (xx.xx.xx.xx): Connected successfully
Related issue: https://github.com/esphome/issues/issues/3083 Seems the BME680 causes this problem.
I have the same problem. If I add one entity to esp32 the integration works when I add the second one it loses the integration, but it stays online and I can upload it. I have already replaced the board and the problem persists. I have other EPS32 running normally but it seems that since the last update something is wrong
I have the same problem. My esphome device (ESP32) worked for a very long time perfectly. I was able to update via OTA and add functionality. Now since some of the last changes in my YAML file, all of a sudden the problem described in this thread appeared. The device is shown as "online" in the esphome dashboard and I can also still send firmware updates via OTA. But all of a sudden I can not connect to the device any more for logging - neither via esphome dashboard nor via esphome cli. And also the device does not send data to Home Assistant any more.
Any idea how to solve this? Could this have something to do with the amount of functionality added so that at a certain point, if one does have too many entities in the YAML file, it does not work any more?
EDIT: OK regarding my situation, I was able to solve the problem. Getting physical access to the device for USB logging was complicated, that's why just copied my YAML file to another test device which I plugged into my computer via USB and was able to identify that the device got stuck in a reboot loop. After commenting out one entity after another I was able to identify that the problem was a new text sensor that I had recently added which had only an ID and that seems to have caused the issue. After commenting out that text sensor and flashing the firmware again, the problem was gone, also on the actual device which I wanted to solve the problem for.
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.
Is there no update on this issue?
I am getting this constantly.
There hasn’t been a time I’ve tried to check logging on my ESP8266’s where I haven’t gotten this same message. Shows as online and can view device under web server but still unsure if it’s actually online/working as I haven’t added sensors to them yet.
I'm having the same issue on a brand new ESP32 steup. Been struggling, it connects and I can flash but it will not bring in any sensors including text sensors. When I updated it is not prompting me with no route to host and will not flash OTA. Despite it showing as online and up to date with esphome.
I flashed it via download and a flashing tool. Once it flashed the log started and updates rolled. I then had to force integrate it and wait a few minutes and it started showing entities.
Been troubleshooting [Errno 111] as well.
Ping works to the WiFi IP, although with high response times. Also booting takes a long time before it responds to ping over the WiFi. It likely reboots a few times, but is hard to see because I cannot do serial logging since I need the UART pins for other things.
In all cases this was resolved by adding a capacitor of sufficient capacity close to the ESP8266/ESP01. 680uF or more seems to do it in my case. E.g. for the ESP01 modules there is a capacitor of 1000uF on the programming dingle to alleviate the current surges. You could also use a (better) power supply.
After providing this buffer for peak currents, the ESPs boot fast and ESPHome is able to connect as well without problems.
@Foamier can you link some pictures i like to give this a try. I have a few esp32’s that are doing the same thing.
im also having the same problem. has anyone figured out how to resolve this? it was working a few days ago. now i can see my sensors. and the results, but i cannot access the web interface at all
The problem
Device is schown online in esphome, but I cannot connect wirless for logging. It has been working fine until I updated it today with esphome 2022.2.2 and 2022.2.3
Which version of ESPHome has the issue?
2022.2.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2022.2.3
What platform are you using?
ESP8266
Board
wemos d1 mini
Component causing the issue
bme680??
Example YAML snippet
Anything in the logs that might be useful for us?
INFO Reading configuration /config/esphome/dachschlazitemp2.yaml... INFO Detected timezone 'Europe/Berlin' INFO Starting log output from dachschlazitemp2.local using esphome API WARNING Can't connect to ESPHome API for dachschlazitemp2.local: Error connecting to ('192.168.88.90', 6053): [Errno 111] Connect call failed ('192.168.88.90', 6053) INFO Trying to reconnect to dachschlazitemp2.local in the background
Additional information
No response