Hey champ,
-
Firstly if you are using a modern Apple Mac and you connect the cable with the board, it will ask you if you want to connect the device.. possible mentioning something like usb serial … you will need to say yes to that.
-
Secondly if you are using the wrong browser you wont get any love out of esphome
-
You can try connecting the board to the system running home assistant (eg, if you have a PI plug it directly into the pi, you will see a new serial port appear in the hardware list in HA)
-
I often tell folks to grab the Arduino IDE and try connecting to the board and flashing a BLINK using your cable… this will confirm your cable is fine. You will also see the serial is working there.
-
sometimes you need to hold down the BOOT button while going through that FLASH stage… (if thats the case you need to hold down the BOOT button while plugging in power, and keep it held down till you are actually connected and flashing)
now lets talk basic ESPHOME…
select the “+new device” then press “new device setup” then enter a single word like ‘donkey’ or something… click next.. select your device from the ist of devices… now this is where things are interesting because… in esphome dev (updated about a week ago) I see no esp32-c5 which means you will be using esp32 or esp32-c6 (but you will only get 2.4 and no 5ghz)…
NOW CLICK SKIP!
This means… DO NOT INSTALL and dont worry about that encryption key.. you are learning… we want an easier job not a harder one at the moment, once you have a solid system and install, you can add encryption keys… click skip
now you will have a ‘device’ that is offline in your esphome list…
click edit on that device…
we will delete the encryption key…
scroll down to the OTA section….
IMPORTANT - DELETE the password for OTA…
next up you want to add the line
web_server:
at the very bottom under captive portal
you can TRY this install…
it might work for an esp32-c5 … but probably not… this is because they havent added support for the c5 yet… you can however switch back to adrino and build in there, there are a LOT of really good examples inbuilt…
in adrino ide you will need to add the espressif repo and select your board first, then the examples will populate for you
to do this you add the line
https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json
to your boards manager (Arduino IDE → settings → additional bards manager URLs:
put in their esp32 packages… and now you can select the board (tools menu) as ESP32C5 DEV MODULE and it will populate with examples in the file menu
have fun…