Thanks for a great Add-on, I’m currently running Hass.io on a NUC, the add-on creates the file which can be validated but the NUC can’t find the Wemos D1 mini’s when they are attached, I’ve tried restarting the add-on and a number of different cables and minis both new and previously flashed. any hints on solving this
I had this issue last night with a ESP8266 I was trying to flash. Two cables later, same problem. Third cable worked though! And reliably, without restarting the add on.
with the hassio addon I get these errors when I try to compile.
Error loading shared library libstdc++.so.6: No such file or directory (needed by /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++)
Error loading shared library libgcc_s.so.1: No such file or directory (needed by /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++)
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_newchunk: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Unwind_Backtrace: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: obstack_free: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Unwind_GetIPInfo: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_begin: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Znwm: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_memory_used: symbol not found
*** [.pioenvs/test/lib908/FastLED/FastLED.cpp.o] Error 127
Error loading shared library libstdc++.so.6: No such file or directory (needed by /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++)
Error loading shared library libgcc_s.so.1: No such file or directory (needed by /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++)
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_newchunk: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Unwind_Backtrace: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: obstack_free: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Unwind_GetIPInfo: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_begin: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Znwm: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_memory_used: symbol not found
*** [.pioenvs/test/lib908/FastLED/bitswap.cpp.o] Error 127
Error loading shared library libstdc++.so.6: No such file or directory (needed by /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++)
Error loading shared library libgcc_s.so.1: No such file or directory (needed by /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++)
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_newchunk: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Unwind_Backtrace: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: obstack_free: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Unwind_GetIPInfo: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_begin: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Znwm: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_memory_used: symbol not found
*** [.pioenvs/test/lib908/FastLED/colorpalettes.cpp.o] Error 127
Error loading shared library libstdc++.so.6: No such file or directory (needed by /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++)
Error loading shared library libgcc_s.so.1: No such file or directory (needed by /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++)
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_newchunk: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Unwind_Backtrace: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: obstack_free: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Unwind_GetIPInfo: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_begin: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _Znwm: symbol not found
Error relocating /root/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++: _obstack_memory_used: symbol not found
*** [.pioenvs/test/lib908/FastLED/colorutils.cpp.o] Error 127
========================== [ERROR] Took 1.72 seconds ==========================
I used ESPHomeYAML in my latest youtube guide, check out the last ~6 minutes of the video for a full walkthrough of installing it and programming your first sensor: https://www.youtube.com/watch?v=xCQoOZNdaGY
Great job! It’s fantastic how it works directly on your PI with no extra PC, software, arduino, coding, etc. Thanks so much!.
Unfortunatelly, I’ve been working with my two sonoff basic trying to flash them with no success at the moment. I have HASSBIAN on a PI and I’ve checked/change all components: FTDI-USB chip, usb cable, sonoff basic, connection cables, etc. and no way. I can’t flash the firmware.
Once I’ve solved the last error message like @talondnb (host not found) , now I’ve set a fixed IP address and it goes to the next step, but It has stopped again with a new error message:
INFO [esphomeyaml.main] Successfully compiled program.
INFO [esphomeyaml.main] Uploading binary…
INFO [esphomeyaml.espota] Starting on 0.0.0.0:40600
INFO [esphomeyaml.espota] Upload size: 328512
INFO [esphomeyaml.espota] Sending invitation to 192.168.0.30
…
ERROR [esphomeyaml.espota] No response from the ESP
No, I can’t now:
pi@hassbian:~ $ ping 192.168.0.30
PING 192.168.0.30 (192.168.0.30) 56(84) bytes of data.
From 192.168.0.23 icmp_seq=1 Destination Host Unreachable
From 192.168.0.23 icmp_seq=2 Destination Host Unreachable
From 192.168.0.23 icmp_seq=3 Destination Host Unreachable
Diferent cables, sonoff ESP board. The only single point could be the FTDI USB adapter…
However, yesterday I got different results from ping, but never a normal response. It was an intermittent ping response. I think I have to buy another FTDI adapter, do you agree?
I see you have set a static IP. I am not sure why you would do this, but something to be careful of is that there isn’t another host getting 192.168.0.30 from your DHCP server. That might explain intermittent ping results.
Fing, an android app, is a good tool for checking what is on your network.
I’m not familiar with how the sonoff work, are they initially connected with FTDI, plugged into your hassbian then flashed that way?
And yes I agree with @nickrout in that you should also reserve the IP on your DHCP server or select an IP outside of the DHCP range so you don’t have conflicts.
I tried a static IP following Ottowinter suggestion and the error message of the Upload has changed.
OttoWinter: " Try using a static IP for the node, that should always work: WiFi Component — ESPHome"
I can set an IP lease reservation on my router, but to do that I need the MAC address and I don’t know how to get it from the Sonoff board. On the other hand, DHCP range is from 192.168.0.50 to 99, so the selected IP 192.168.0.30 is out of it and there is no conflict with any other host.
It’s a nightmare … 1 month trying to flash and no way. I started with Arduino on a Mac, problems with drivers, COM ports, compiling c code, etc… Then ESPhomlib appears and it was the perfect solution, but… Anyway I’ll keep going. Thanks!
Great work. Thanx for all the effort you put into this. I just wished it would work for me. Even after the update to 1.7 i’m still unable to upload to my ESP8266. Same errors as before. Any suggestions on how to fix this? Any help appreciated.