Can't remove device from database

Hi! :slight_smile:

I am struggling to remove a device that I no longer have from the database. I appears in my network map:

image

When I publish the name of the device to zigbee2mqtt/bridge/config/remove or even zigbee2mqtt/bridge/config/force_remove the log says:

Cannot remove, device ‘0x000d6ffffeda0cb3’ does not exist

Any ideas? :slight_smile:

Found the solution myself :slight_smile: I had “accidentally” removed the device from the configuration.yaml file. I re-added the device to the file, and then I was able to force_remove it.

Hello Bubber,

I’am new to zigbee2mqtt.
I run zigbee2mqtt on rasberry pi 3b+ with domoticz and i also want to remove a device from zigbee2mqtt.
Can you tell me how/what/where i need to do to run the commands
zigbee2mqtt/bridge/config/remove or
zigbee2mqtt/bridge/config/force_remove

I have been looking an searching a long time now, but can’t find it.

Thnz in advance,
René

Use a mqtt client. Any mqtt client will do. Mqtt explorer and mqtt fx are both good, but more exist.

I have mosquitto running as a client on a raspberrypi 3B+.
But i don’t know the syntax to do the communication.

I found the solution !

On the raspberry Pi i ran the following command to remove the device.

mosquitto_pub -t “zigbee2mqtt/bridge/config/force_remove” -m “Device01”

1 Like