Need help with accidentally removed Shelly1( ESPHome flashed )

Hello smart community. I flashed Shelly1 with esphome and use for Garage Door Opener. Yesterday I accidentally delete this device from ESP Home UI page, but I can see and operate this device in Home Assistant normally. How can I re-add this device to ESPHome ? Thank you in advanced


Restore from backup?

Since the esphome addon is only used for flashing (and if you didn’t added/changed anything recently), it is save just to restore it.

If you did make changes, just download the backup, and open it to see the files

I tried this option yesterday as soon as I realized what I did, but still can't see this devices in ESPHome for some reason

Thank you for quick respond. This is what I did


and no changes in ESPHome UI

Not sure, tried recompiling it? (just choose ‘download binary’)

1 Like

I don't have a .bin file

If you deleted it from device builder app, then you removed the corresponding yaml from the config folder. I would try to decrypt the backup on a separate drive (if you have it encrypted - there is a tool but if you download it from HA it is also decrypted I think). Then unpack the backup on a separate computer, locate the configuration folder and get the yaml. You can then place the yaml back without disturbing any other config.

3 Likes

Thank you, Edwin_D. Will try.

Thank you for your solution. It's back. And I can see it and update it.

1 Like

That is why I mentioned to recompile it...If you choose for ' download' , it will just compile, but not actually re-flash it :wink:

Hey...that's is what I said too :thinking:

Glad you got it to work though :wink: