Using this guide I soldered wires to my magichome controller but when I got to install ESPHome I got a compiling error. I’m on windows 10 using Python 3.8.5. Any help would be appreciated. Here is the error:
C:\Users\david>esphome esphome.txt run
e[32mINFO Reading configuration esphome.txt...e[0m
e[32mINFO Generating C++ source...e[0m
e[32mINFO Compiling app...e[0m
e[32mINFO Running: platformio run -d magichome_led_stripe[0m
Processing magichome_led_strip (board: esp01_1m; framework: arduino; platform: [email protected])
--------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp01_1m.html
PLATFORM: Espressif 8266 2.2.3 > Espressif Generic ESP8266 ESP-01 1M
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
PACKAGES:
- framework-arduinoespressif8266 2.20502.0 (2.5.2)
- tool-esptool 1.413.0 (4.13)
- tool-esptoolpy 1.20600.0 (2.6.0)
- toolchain-xtensa 2.100100.200706 (10.1.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Looking for Update library in registry
Warning! Library `{'name': 'Update', 'requirements': None}` has not been found in PlatformIO Registry.
You can ignore this message, if `{'name': 'Update', 'requirements': None}` is a built-in library (included in framework, SDK). E.g., SPI, Wire, etc.
Found 29 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <ESPAsyncTCP-esphome> 1.2.2
| |-- <ESP8266WiFi> 1.0
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
| |-- <ESP8266WiFi> 1.0
Building in release mode
Compiling .pioenvs\magichome_led_strip\src\esphome\components\api\api_connection.cpp.o
Compiling .pioenvs\magichome_led_strip\src\esphome\components\api\api_pb2.cpp.o
Compiling .pioenvs\magichome_led_strip\src\esphome\components\api\api_pb2_service.cpp.o
Compiling .pioenvs\magichome_led_strip\src\esphome\components\api\api_server.cpp.o
Compiling .pioenvs\magichome_led_strip\src\esphome\components\api\list_entities.cpp.o
Compiling .pioenvs\magichome_led_strip\src\esphome\components\api\proto.cpp.o
Compiling .pioenvs\magichome_led_strip\src\esphome\components\api\subscribe_state.cpp.o
Compiling .pioenvs\magichome_led_strip\src\esphome\components\api\user_services.cpp.o
In file included from src/esphome/core/component.h:5,
from src\esphome\components\api\proto.h:3,
from src\esphome\components\api\api_pb2.h:3,
from src\esphome\components\api\api_pb2.cpp:1:
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'
270 | using std::isinf;
| ^~~~~
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:271:12: error: 'isnan' has not been declared in 'std'
271 | using std::isnan;
| ^~~~~
In file included from src/esphome/core/component.h:5,
from src\esphome\components\api\proto.h:3,
from src\esphome\components\api\api_pb2.h:3,
from src\esphome\components\api\api_pb2_service.h:3,
from src\esphome\components\api\api_pb2_service.cpp:1:
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'
270 | using std::isinf;
| ^~~~~
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:271:12: error: 'isnan' has not been declared in 'std'
271 | using std::isnan;
| ^~~~~
In file included from src/esphome/core/component.h:5,
from src\esphome\components\api\api_connection.h:3,
from src\esphome\components\api\api_connection.cpp:1:
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'
270 | using std::isinf;
| ^~~~~
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:271:12: error: 'isnan' has not been declared in 'std'
271 | using std::isnan;
| ^~~~~
In file included from src/esphome/core/component.h:5,
from src\esphome\components\api\api_server.h:3,
from src\esphome\components\api\api_server.cpp:1:
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'
270 | using std::isinf;
| ^~~~~
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:271:12: error: 'isnan' has not been declared in 'std'
271 | using std::isnan;
| ^~~~~
In file included from src/esphome/core/component.h:5,
from src\esphome\components\api\list_entities.h:3,
from src\esphome\components\api\list_entities.cpp:1:
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'
270 | using std::isinf;
| ^~~~~
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:271:12: error: 'isnan' has not been declared in 'std'
271 | using std::isnan;
| ^~~~~
In file included from src/esphome/core/component.h:5,
from src\esphome\components\api\user_services.h:3,
from src\esphome\components\api\user_services.cpp:1:
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'
270 | using std::isinf;
| ^~~~~
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:271:12: error: 'isnan' has not been declared in 'std'
271 | using std::isnan;
| ^~~~~
In file included from src/esphome/core/component.h:5,
from src\esphome\components\api\proto.h:3,
from src\esphome\components\api\proto.cpp:1:
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'
270 | using std::isinf;
| ^~~~~
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:271:12: error: 'isnan' has not been declared in 'std'
271 | using std::isnan;
| ^~~~~
In file included from src/esphome/core/component.h:5,
from src\esphome\components\api\subscribe_state.h:3,
from src\esphome\components\api\subscribe_state.cpp:1:
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:270:12: error: 'isinf' has not been declared in 'std'
270 | using std::isinf;
| ^~~~~
C:\Users\david\.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:271:12: error: 'isnan' has not been declared in 'std'
271 | using std::isnan;
| ^~~~~
In file included from src\esphome\components\api\api_server.h:12,
from src\esphome\components\api\api_connection.h:7,
from src\esphome\components\api\api_connection.cpp:1:
src\esphome\components\api\homeassistant_service.h: In member function 'void esphome::api::HomeAssistantServiceCallAction<Ts>::play(Ts ...)':
src\esphome\components\api\homeassistant_service.h:54:18: warning: invalid use of incomplete type 'class esphome::api::APIServer'
54 | this->parent_->send_homeassistant_service_call(resp);
| ^~
In file included from src\esphome\components\api\api_server.h:9,
from src\esphome\components\api\api_connection.h:7,
from src\esphome\components\api\api_connection.cpp:1:
src\esphome\components\api\util.h:13:7: note: forward declaration of 'class esphome::api::APIServer'
13 | class APIServer;
| ^~~~~~~~~
In file included from src\esphome\components\api\api_server.h:12,
from src\esphome\components\api\api_server.cpp:1:
src\esphome\components\api\homeassistant_service.h: In member function 'void esphome::api::HomeAssistantServiceCallAction<Ts>::play(Ts ...)':
src\esphome\components\api\homeassistant_service.h:54:18: warning: invalid use of incomplete type 'class esphome::api::APIServer'
54 | this->parent_->send_homeassistant_service_call(resp);
| ^~
In file included from src\esphome\components\api\api_server.h:9,
from src\esphome\components\api\api_server.cpp:1:
src\esphome\components\api\util.h:13:7: note: forward declaration of 'class esphome::api::APIServer'
13 | class APIServer;
| ^~~~~~~~~
In file included from src\esphome\components\api\api_server.h:12,
from src\esphome\components\api\list_entities.h:52,
from src\esphome\components\api\list_entities.cpp:1:
src\esphome\components\api\homeassistant_service.h: In member function 'void esphome::api::HomeAssistantServiceCallAction<Ts>::play(Ts ...)':
src\esphome\components\api\homeassistant_service.h:54:18: warning: invalid use of incomplete type 'class esphome::api::APIServer'
54 | this->parent_->send_homeassistant_service_call(resp);
| ^~
In file included from src\esphome\components\api\list_entities.h:5,
from src\esphome\components\api\list_entities.cpp:1:
src\esphome\components\api\util.h:13:7: note: forward declaration of 'class esphome::api::APIServer'
13 | class APIServer;
| ^~~~~~~~~
In file included from src\esphome\components\api\api_server.h:12,
from src\esphome\components\api\subscribe_state.h:47,
from src\esphome\components\api\subscribe_state.cpp:1:
src\esphome\components\api\homeassistant_service.h: In member function 'void esphome::api::HomeAssistantServiceCallAction<Ts>::play(Ts ...)':
src\esphome\components\api\homeassistant_service.h:54:18: warning: invalid use of incomplete type 'class esphome::api::APIServer'
54 | this->parent_->send_homeassistant_service_call(resp);
| ^~
In file included from src\esphome\components\api\subscribe_state.h:6,
from src\esphome\components\api\subscribe_state.cpp:1:
src\esphome\components\api\util.h:13:7: note: forward declaration of 'class esphome::api::APIServer'
13 | class APIServer;
| ^~~~~~~~~
*** [.pioenvs\magichome_led_strip\src\esphome\components\api\api_pb2_service.cpp.o] Error 1
*** [.pioenvs\magichome_led_strip\src\esphome\components\api\proto.cpp.o] Error 1
*** [.pioenvs\magichome_led_strip\src\esphome\components\api\user_services.cpp.o] Error 1
*** [.pioenvs\magichome_led_strip\src\esphome\components\api\subscribe_state.cpp.o] Error 1
*** [.pioenvs\magichome_led_strip\src\esphome\components\api\list_entities.cpp.o] Error 1
*** [.pioenvs\magichome_led_strip\src\esphome\components\api\api_pb2.cpp.o] Error 1
*** [.pioenvs\magichome_led_strip\src\esphome\components\api\api_connection.cpp.o] Error 1
*** [.pioenvs\magichome_led_strip\src\esphome\components\api\api_server.cpp.o] Error 1
====================================== [FAILED] Took 8.61 seconds ======================================
TIA