
A paired device is known in three places:
To remove a device completely, it must be removed from all three.
Removing a device deletes its widgets, and with them their history. If you are replacing a device by a new one and want to keep the history, use Replace a device instead.
When you delete the last Domoticz widget of a device, the plugin:
The Domoticz log shows Device <name> with IEEE: <ieee> fully removed from the system. and Request device <name> -> <ieee> to be removed from coordinator.
When the device actually leaves, the log shows:
<name> (d009/00158d0002722c67) sent a Leave indication and will be outside of the network. LQI: 0
Deleting only some of the widgets doesn’t remove the device. See Managing the widgets of a device.
A router listens to the network all the time, so it normally receives the Leave request and leaves. If you don’t see the Leave indication, follow the procedure for end devices.
An end device sleeps most of the time and only wakes up to send its data. It usually never receives the Leave request the plugin sends, so it doesn’t leave the network by itself: you have to reset it by hand.
If the device is not reset, it stays in the network and keeps sending its data to the coordinator, and it can come back in the plugin later.
If the device still appears in Management > Device Management (for example a device whose widgets were deleted while the plugin was stopped, or whose pairing never completed), click the trash icon in the Del. column and confirm. The trash icon only appears for a device that has no working widget in Domoticz. See WebUI Management.