# OH3 how best to delete an add-on and all related things and items?

**URL:** <https://community.openhab.org/t/oh3-how-best-to-delete-an-add-on-and-all-related-things-and-items/113255>\
**Category:** Migration\
**Tags:** binding, openhab3\
**Created:** [January 6, 2021, 10:13pm UTC](https://community.openhab.org/t/oh3-how-best-to-delete-an-add-on-and-all-related-things-and-items/113255 "2021-01-06T22:13:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [January 7, 2021, 3:01pm UTC](https://community.openhab.org/t/oh3-how-best-to-delete-an-add-on-and-all-related-things-and-items/113255/5 "2021-01-07T15:01:28Z")

</div>

> [@idkpmiller](#):
>
> With the idea that snapshots will allow me to return to a place is there an easy way to ‘factory default’ OH3 so I can sttart again, armed with my current learnings?

Assuming it’s apt installed, I think `apt purge openhab` will delete everything. Then apt install it again and you’ll be back to a brand new install.

> [@idkpmiller](#):
>
> MQTT1.x to MQTT 3.x

There are several tutorials about MQTT including one of the examples in the Getting Started Tutorial: [Adding Things - Advanced | openHAB](https://www.openhab.org/docs/tutorial/things_advanced.html). Here’s a link to a forum tutorial that explicitly addresses migration: [Migrating MQTT1 items to MQTT2.4 items](https://community.openhab.org/t/migrating-mqtt1-items-to-mqtt2-4-items/60502) though it’s old and written for 2.5 so it shows PaperUI instead of MainUI.

And please ask for help where needed.

3 and 4 I can’t help with.

5 doesn’t require you to do anything. The binding’s functionality has become a part of the core and the way to configure it is identical to the 1.x binding.

1. WOL has moved to the Network Binding.

2. There is a new HTTP binding. Once you migrate your MQTT it shouldn’t be too hard to migrate your HTTP stuff as well.

3. Should just need to remove the Items and references to those Items, or more likely simply don’t migrate that stuff over to OH 3.

4. This isn’t a separate step. This should be done one by one for each binding so as not to overwhelm yourself with work and changes all at once.

---

_[View the full topic](https://community.openhab.org/t/oh3-how-best-to-delete-an-add-on-and-all-related-things-and-items/113255)._
