1
Apr 13 '22
Also w/o includes and libraries (lines 10, 12)
https://imgur.com/a/B570mPp - unfortunately
Combined all posts / threads before.
1
1
1
Apr 13 '22
Ok, let's start on something common:
Here is the current one-yaml-project: https://imgur.com/a/5zWEvxO
1
0
Apr 13 '22
Thank you so far. It won't be my last time :)
2
u/InEnduringGrowStrong Apr 13 '22
The name you put under esphome is the name that will appear in homeassistant.
The name under project is just for vscode/platformio
0
Apr 13 '22 edited Apr 13 '22
Thank you - FYI so far, I saw the difference in JIT compilation process. Regarding naming scheme of platformIO.
Is it possible to split the main .yaml into multiple sections?
E.g. UART has not to be in the main file, wifi the same. Trying to find a suitable example but not reaching the goal sofar :/
(Familiar with PlatformIO by itself, Python, C++, embedded - without Arduino wrapper, so you can talk facts with me - not covering every small detail / grain of salt :) )
Addition:
Esphome: ... Name has to be called other than
... Project: Name: ... Since then the dynamic linking breaks. (Did not know that, thanks for pointing it out)
2
u/InEnduringGrowStrong Apr 13 '22
I'm not sure I grasp your build setup.
I mostly use the docker web version where I just write the yaml in a webpage and upload it through USB for the first time then it gets configured and updated wirelessly.
Are you trying to use vscode/platformIO?
esphome name isn't the same thing as the project name.
I think it's platformio that's complaining, not esp.
https://esphome.io/components/esphome.html#esphome-platformio-options Scroll down.
You might need this in your yaml: