---
title: Delete Device(s) from DeviceHub for One Litmus Edge
slug: solutions/delete-devices-from-devicehub-for-one-litmus-edge
docTags: 
createdAt: 2025-08-13T12:21:16.394Z
---

To delete Device(s) with Litmus Excel Add-ins, you should be familiar with how Devices work in [DeviceHub](docId:55lxgtILWfsyGkxzrdFoD) on Litmus Edge as well as the consequences.

# Before You Begin

- You have installed the Litmus Excel Add-ins extension. See [Install Litmus Excel Add-ins](docId\:GZDhBJ1xZZNDDThYOCuuu) for details.
- You have prepared a [Tool file.](docId\:cLsF07WLI-66k4Rs-xuiH)&#x20;
- Devices have been [added](docId\:ot0c1ugAyykjZmqiYbh8j) to DeviceHub.

# Initial Preparation

Open a new Device Management Tool File in Excel.

If prompted, *Enable Content&#x20;*&#x74;o allow the code to run.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/jzotppmZSPdRS7VZpFPvg_image.png" size="80" width="600" height="150" position="center" showCaption="false"}

Make sure the the tool is set to One LE for the **Connect To** option.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/QetYSKLGQHfvmjN-sRrIX_image.png" size="70" width="402" height="199" position="center" showCaption="false"}

# Delete Device(s)

## Import Devices

Import the Device Settings for devices defined on Litmus Edge using the [Import Device(s) Wizard](docId\:l0Cy8AmrA80RNY4X_PT3k).

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/gQSGCLWorGt5gGjUDkH06_image.png" size="70" width="560" height="218" position="center" showCaption="false"}

Users can set a filter to reduce the number of devices shown as selection to the user.

- **Search Option**: Select what type of filter is to be used
- **Device Name Mask**: Set the filter to be applied. Will be ignored if **Search Option** is set to *ALL*
- The wizard will show what filter will be applied.

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/AhrQFAJN5UvNzs_PWyhJo_image.png?format=webp" size="80" width="886" height="802" position="center" showCaption="false"}

- Press the **Search** button to pull the filtered List of devices from Litmus Edge.

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/D7wkR0ArLRUb71k7ttNIs_image.png?format=webp" size="80" width="886" height="802" position="center" showCaption="false"}

- The user will be shown the filtered List of devices matching their filter.

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/UoDLYqrre0Q4UdjdQvkAL_image.png?format=webp" size="80" width="896" height="797" position="center" showCaption="false"}

- Select the Devices to import and press the **Import** button.&#x20;

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/6hFdp6gBHD20lR56BWGch_image.png?format=webp" size="80" width="891" height="799" position="center" showCaption="false"}

:::hint{type="info"}
**Notes**:

Users can choose between:

- Pres&#x73;**&#x20;New Search** to set another filter and search again if the list doesn't show the devices the user wanted to import
- Select **All&#x20;**&#x44;evices using the Checkbox in the Header Row.
- Select a **Group** of Devices by selecting their respective Check Box
- Select one **Device&#x20;**&#x62;y selecting the respective Check Box
- Select **No&#x20;**&#x44;evice and close the Wizard pressing the **Close** button instead.
:::

- The selected device(s) with their settings are imported into the sheet.&#x20;
  Once finished, the user can either.
  - perform another search using the **New Search** button
  - finish the import using the **Close** button

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/HYEXll4J8Yt__6Ntp44p0_image.png?format=webp" size="80" width="1599" height="811" position="center" showCaption="false"}

- The **Action** for each imported device is set to **M** for modify.

![](https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/gh0Et8bbNh4LetqfIw6OL_image.png?format=webp)

## Mark Devices for deletion

Change the **Action** to **D** for the Device(s) you want to delete on Litmus Edge.

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/kzUnwiJbVQ6k2P00sl5K8_image.png?format=webp" size="80" width="692" height="377" position="center" showCaption="false"}

:::hint{type="info"}
**Notes**:

*Set the&#x20;****Action&#x20;****to&#x20;****I****&#x20;for ignore for devices in the sheet you do not want to process.*
:::

## Executing Actions

If the tool also includes devices with either the **Action A** or **M**, it is **Recommended** but not mandatory to verify the configuration first without executing the Action by pressing the **Verify Only** button.

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/NoZnE9s3b-TULIhExGKXD_image.png?format=webp" size="60" width="421" height="196" darkWidth="800" darkHeight="372" position="center" showCaption="false"}

This will check that all required Device Settings are provided and logically correct. And provide any finding to the user.
Example: Below the user did select to have Meta Data but did not provide any.

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/IbkluRSCyQqbWtQ36BDJr_image.png?format=webp" size="80" width="689" height="556" darkWidth="800" darkHeight="645" position="center" showCaption="false"}

:::hint{type="warning"}
**Important:&#x20;**&#x54;he tool can not verify if all provided device settings are factually correct. For example it can not verify that the network address  provided for the PLC is the correct IP address.
:::

The Device(s) can be deleted from Litmus Edge by pressing the **Verify + Execute** button.

::Image[]{src="https://images.archbee.com/SSUUxKZUk9bFTEPNn_6Zo/5UXZJMKPU69JV2UFYFUI__image.png?format=webp" size="60" width="394" height="215" position="center" showCaption="false"}

This will check that all required Device Settings are provided and logically correct. And provide any finding to the user.
If no issues have been identified, the tool will verify that the user wants to execute **ALL** the actions from the **Action** Column:

1. **A**: Add Device(s)
2. **M**: Modify Device(s)
3. **D**: Delete Device(s)
4. **I**: Ignore Device(s) -> do nothing

To perform all actions, press the **Yes** button.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/SaeUZnW6hlpNP3uExkEGr_image.png" size="80" width="726" height="389" position="center" showCaption="false"}

The Tool will perform ALL Actions row by row. When finished, a result Summary is shown. Close the Result Summary by pressing the **X** close button.

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/gOwA9Il_BDnb4ymO_ZnPL_image.png)

The tool will ask if the user wants to re-compare the Device(s) against Litmus Edge.
To re-compare, press the **Yes&#x20;**&#x62;utton.
To not re-compare, press the **No** button.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/VQRPOvyUKCOX_soNIGsej_image.png" size="70" width="409" height="163" position="center" showCaption="false"}

If the User selected to press the **Yes&#x20;**&#x62;utton from aboves messagebox, the tool will pull all the device settings from Litmus Edge again including the DeviceID and also change the **Action&#x20;**&#x74;o **M** for each Device with a DeviceID or **A&#x20;**&#x66;or devices with no DeviceID. Devices with an **Action&#x20;**&#x6F;f **I&#x20;**&#x77;ill not be updated.&#x20;

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/yQZs0miNsuQkfwnjhxS0z_image.png)



