I created a node at ESP home that was targeted for an ESP32. But I did not have an ESP32 available at the time. So I changed the config a little and started testing using an ESP8266 Node MCU device and ordered an ESP32.
Now that I received the ESP32 device, I ask myself the question, how can I revert the ESP8266 back to stock (i.e. remove the installed ESP home firmware) to than flash that firmware to my ESP32?
You can just flash over any software you like over usb, but unless you backup the firmware before you flashed it with Esphome you wont be able to return to what you had before flashing it.
Of course my old device (ESP8266) is disconnected as the new device (ESP32) gets its firmware flashed. I just thought in case I connect the ESP8266 again to flash another firmware onto it there will be a time where both nodes are online and I do not know how ESP home reacts to it. I just read that it is meant to handle one device per node.
When you are ready to flash it you should have no issues as I also had duplicate nodes when I first started. One issue I did have was it not finding the node for OTA updates so I gave it a manual IP and it’s worked ever since.
First you need to delete the test from the esphome integration on the configuration page. Then go to .storage
folder, find the esp file that has the setup from the test sketch and delete it. Then add the esp32.
If you don’t you’re likely to wind up with copies of your sensors ending in ‘_2
’. This may have been corrected but it was definitely the case a few months ago.