Hey everyone,
after having a bit of a slow start with this, I have my first esp32 up and running and integrated into HA. The problem: I’m not sure how to clean up the “mess” I created by trying things out, without breaking things again.
Setup: HA running on a RP 3B+, the esp32 is a devkit v1 board (in case that makes a difference)
How I got to where I am now:
- I connected an ESP32 devkit board via USB to my laptop, opened esphome within HA, and “adopted” the board to have it displayed in the esphome dashboard.
- I started editing the yaml file, and as part of that changed the name of the device to “433mhz”.
- After compiling/uploading the file to the board (via esphome web, as my instance runs on http), the dashboard now showed 2 devices: a new one as “online”, under the “433mhz” name (but with he old/original yaml file name attached to it), and a “new” device ready to be adopted, which was the same board (same situation as described in Have the devices working with new names, but I am still seeing `Adopt` panels with the old names)
- As it didn’t keep me from adding new features to the board, I started to extend the logic and compiled/uploaded with the existing yaml file of the 433mhz-named device.
- as the PI is not the fastest or newest, it started to crash more often the bigger the logic in the yaml file got
- I installed esphome locally on my windows laptop, as the command line version
- I created a new project/file named 433hub.yaml from scratch via the wizard, copied over the logic from the esphome dashboard version of the device, connected the board, and flashed the new version without an issue. The new device (433hub, including all entities) shows up in HA and works fine:
BUT: 2 things are still “out of place”, or feel weird to say the least:
-
The integrations dashboard shows the old 433mhz name as part of the esphome tile:
How come it shows the name of ONE device as the header of the esphome tile? When I googled, I found this screenshot, where the individual devices get listed UNDER the esphome tile title:
https://www.home-assistant.io/images/blog/2021-05/integrations-dashboard.png -
When I go into the dashboard, it shows the device under the old name (433mhz), with the original yaml file from when I started in the first place, as offline:
Can I just delete the device from the esphome dashboard, and in the integrations dashboard rename the esphome tile from 433mhz to something generic?
In the end things work as they should, and I don’t NEED to clean things for functional reasons (I think?), as I will continue to code and compile/flash from my laptop command line, but I want to avoid to run into issues later when the whole system grew even further, and cleaning it up will be more tricky.
Anyone got any ideas? I hope I got this described halfway coherent…
Thanks a lot in advance! Cheers