Inconsistent device functions ESPHome

Hopefully someone has experienced a problem similar to mine. I am currently running Hassio in a on an Ubuntu 18.04 on a Proxmox virtual Machine. Not sure if all that matters but figured I mention it.
I have built and programed 2 devices. Both are sensor nodes. Each of these will cycle between online> Not responding > offline > back to “online” again every 3-5 mins. Below is the a copy of a log output…
If it matter one of the devices is running an Esp-07 and the other is a wemos d1.

INFO Reading configuration…
INFO Starting log output from 192.168.0.90 using esphomelib API
INFO Connecting to 192.168.0.90:6053 (192.168.0.90)
WARNING Couldn’t connect to API (Timeout while waiting for message response!). Trying to reconnect in 1 seconds
WARNING Couldn’t connect to API (Already connected!). Trying to reconnect in 2 seconds
WARNING Couldn’t connect to API (Already connected!). Trying to reconnect in 4 seconds
WARNING Disconnected from API.
INFO Connecting to 192.168.0.90:6053 (192.168.0.90)

Any Ideas and or suggestions is greatly appreciated.

Are you using the deep sleep component?

What is your wifi RSSI?

No I am not using the deep sleep feature. And the senors are right next to the router. Unfortunately I can not get the RSSI info.

Add the wifi sensor component.

I can get one to update, the other fails.

I could only get one to update with the RSSI component. Here is the output: [sensor.mr_bath_wifi_signal_sensor -72

That’s ok, not great but ok.

Are you using static ip addresses?

I had a lot of trouble with OTA updates until I set static IP addresses for my ESPs.

Yes, I read prior to using ESPhome that static was best. So yes I have static on both devices.

Have you tried a wired connection to the device that is not responding?

As in use a USB cable to up connect to HA?

Yes, try that.

USb is not an option for me as my HA is hosted on a virtural machine with no usb ports.

For the hell of it I installed Hassio on a Raspberry pi 3+ , copied my config folder over, but the problem continues.

If you can’t connect via USB that points to a hardware problem with the device.

same problem on 2 different computers?? Completely different computers? I dont think that would be likely.

Err what? If there is a hardware problem with the ESP then it won’t work trying to connect to any computer.

You can download the .bin file from ESPhome and then use any PC to load it onto the ESP. See the process here.

Yes this was the only way i was able to get the software onto the ESP-07 and Wemos D1. However, as mentioned above, the issues is the inconsistent functioning of said devices. Coming online and offline. The ESP-07 is the only one not letting me update OTA.

This issues is now fixed. I noticed there was an update to ESPHomeYaml 1.10 to EPSHome 1.11 after upgrading and updating OTA the Wemos D1 device all is working well. The ESP-07 will still not update OTA.

I see that you were able to upgrade ESPHomeyaml…I can’t seem to get it to upgrade (I’m not a developer)

Running ESPHomeyaml ver. 1.10.1 on Rasp.Pi 3 B+ With Home Assistant on Hassio 2.11. Need to upgrade ESPHomeyaml to ver. 1.12.0… Per instructions on WEB page… https://esphomelib.com/……(I ASSUME I enter the command directly in hassio> ???) With keyboard and monitor, directly logged onto Rasp Pi hassio> …tried…. pip2 install -U esphome, Got “ERROR Unknown COMMAND “pip2”…….(Not a developer so I don’t know docker) On the Rasp Pi, tried .‘docker pull esphome/esphome:latest Got “ERROR Unknown COMMAND “docker” Any suggestions would be appreciated.

PS: I am able to update OTA but NOT when the ESP8266 is first flashed with Tasmota.(and enter SSID + password in ‘Terminal’)…In the node configuration, I have to: ENETR the MANUAL IP Address of the newly flashed device (without this step, ESPHome could NEVER find the device):
wifi:
ssid: ‘myssid’
password: ‘mypassword’
manual_ip:
static_ip: 192.168.y.xxx
gateway: 192.168.y.zzz
subnet: 255.255.255.01.
Save/Validate
Compile (on the 3 dots to the right of the node name in ESPHome Dashboard), 'Download Binary (when compiled), 2.Copy the downloaded .bin file to a folder that’s easy for me to get at. 3.Open my browser and go to the IP address of the newly flashed ESP8266 device, go to the URL (browser), select ‘Firmware Upgrade’ 'Brows for file (.bin in my desktop folder), Start upgrade.
On the ESPHome Dashboard, I CHECK TO MAKE SURE that the GREEN dot is on, in front of my new node…
Then, to check, I click “SHOW LOGS”…if all is OK, a stream of data, in white, then purple, then green…stepping through each line of programming in the node and confirming connection to the API node then Home Assistant.
From that point on, I can upload OTA…Hope this helps