You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have the following snippet in my config (which I use to enable connecting to MQTT over TLS on my other ESPHome devices):
esp32:
board: esp32dev
framework:
type: esp-idf
compilation fails with the following:
Compiling .pioenvs/john-deere-gdo/src/esphome/components/ratgdo/dry_contact.o
In file included from src/esphome/components/ratgdo/dry_contact.cpp:2:
src/esphome/components/ratgdo/dry_contact.h:3:10: fatal error: SoftwareSerial.h: No such file or directory
************************************************************************
* Looking for SoftwareSerial.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:SoftwareSerial.h"
* Web > https://registry.platformio.org/search?q=header:SoftwareSerial.h
*
************************************************************************
#include "SoftwareSerial.h" // Using espsoftwareserial https://github.com/plerup/espsoftwareserial
^~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/john-deere-gdo/src/esphome/components/ratgdo/dry_contact.o] Error 1
src/esphome/components/ratgdo/cover/ratgdo_cover.cpp: In member function 'void esphome::ratgdo::RATGDOCover::on_door_state(esphome::ratgdo::DoorState, float)':
src/esphome/components/ratgdo/cover/ratgdo_cover.cpp:52:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
this->position = position;
~~~~~~~~~~~~~~~^~~~~~~~~~
src/esphome/components/ratgdo/cover/ratgdo_cover.cpp:53:9: note: here
case DoorState::UNKNOWN:
^~~~
The text was updated successfully, but these errors were encountered:
I was able to get it to compile (for ESP32/esp-idf/secplus2) with ccutrer@778b6c9, but communication with the GDO failed, so I just reverted to Arduino framework without TLS on these devices for now.
When I have the following snippet in my config (which I use to enable connecting to MQTT over TLS on my other ESPHome devices):
compilation fails with the following:
The text was updated successfully, but these errors were encountered: