I have tried everything to be able to build a firmware for my new esp32s3 on my rpi4.
I was told on github that I had to reinstall the pi in a full 64bit version to be able to do it (Because of the cpu architecture)
but I really really dont want to go through all the hassle …
So can I in any way build the firmware on my x86 PC and then get the device into HA on my RPI?
koying
(Chris B)
November 9, 2022, 5:07pm
2
I assume Windows? Will be tricky but possible through docker.
That being said, esphome has arm32 images, so should work on a arm32 rpi4.
But it is not possible and honestly I dont know why I cant build the new esp32s3 but my old esp32dev is no problem.
You can see the error I’m getting here
I have tried ALOT of esphome version/platform_version combinations and also tried to add platform_packages:
esphome:
name: test
platformio_options:
platform_packages:
- espressif/toolchain-xtensa-esp32s3
esp32:
board: esp32-s3-devkitc-1
variant: ESP32S3
framework:
type: arduino
version: 2.0.3
platform_version: 5.1.1
I have also tried to login to the esphome docker and run the build manual with linux32 in front.
nickrout
(Nick Rout)
November 9, 2022, 10:36pm
4
1 Like
cvester
November 10, 2022, 8:45am
5
That was the first part of my question now I just need the second part answered
You might find this Discord thread useful.
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
cvester
November 10, 2022, 3:41pm
7
How do I get access to that discord ?
sachinss
(Sac)
November 10, 2022, 3:46pm
8
Not sure I fully understand your question. But I’ve been compiling ESPHome firmware on my Windows and uploading it to the esp device for a long time. Make sure you install python then do ‘pip install esphome’ to install esphome.
For the first time upload you’ll need a FTDI adapter to flash the firmware. I usually include the ‘ota:’ line in the yaml so that next time the firmware can be uploaded over wifi.
Hope this helps!
cvester
November 10, 2022, 4:54pm
9
But how do you then get the sensors into HA on another machine if you compile it on your windows ?
sachinss
(Sac)
November 10, 2022, 5:14pm
10
You go to Integrations → Add integration and select ESPHome. You enter the ip address or name of your ESP chip and you get access to all the sensors through HA.
cvester
November 10, 2022, 5:28pm
11
Ohhhhhh… Now i feel stupid
I will try to install esphome on my windows asap and test build .
It seems so easy to add the device via. integrations afterwards!
Thanks!
Mahko_Mahko
(Mahko Mahko)
November 11, 2022, 10:20am
12
Try this one.
It’s from the “join the community” link on the ESPHOME page.
If you then check the thread I linked in the earlier post after joining you’ll see there’s some more useful options and context (I think…).
Discord is really good for advanced ESPHOME topics and interactive support once you get used to the format…
1 Like