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.
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