-
Notifications
You must be signed in to change notification settings - Fork 21
Library does not load for espressif units #4
Comments
I get an error that includes the same part about the token (
Unfortunately, I'm not really sure what to do - hope the error message can help someone smarter than me with identifying the problem 👍 |
I have made a fork that just defines the hardware serial property so that we avoid this error, it is not a future proof solution in cases where we are not using the default serial pins. I have tested it with D1 mini and other esp boards. |
I notice that you are doing this with esphome, as myself. |
It seems as when it cannot find a hardware serial 0 or 1, the code brakes for imports in Platformio (which is what is used in the background by Esphome), as far as I can tell the error originates from here:
https://github.com/Apocrathia/Roomba/blob/c19391de107382cd27911c189167f11e9c2dffb4/Roomba.h#L389-L395
just importing the library breaks the code and produces this error:
The text was updated successfully, but these errors were encountered: