zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[Feature request]: possibility to ignore incoming messages from MQTT like "z2m: Entity 'xxxxxxxxxxx' is unknown"

Open nstefy opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe

Hi, it will be nice to have the possibility to ignore incoming messages from MQTT like "z2m: Entity 'xxxxxxxxxxx' is unknown"

i have the following configuration:

Running 2x Zigbee2MQTT (1 ember, 1 zStack) that runs in Proxmox 2x LXC VM (1 vm for each) with lan connection to SLZB-MR4U with same settings for MQTT server for easy coding in OH (moving one device - that may have problem/closer watch/testing - from one network to another without the need to modify things in OH)

Coordinator SLZB OS Current firmware version: v3.0.8

Zigbee2MQTT version 2.6.3 commit: 5797b56

EFR32MG26 Your current firmware revision: 20240602

EmberZNet Coordinator revision .......... 8.0.2 [GA] Frontend version .......... 0.9.21 zigbee-herdsman-converters version .......... 25.59.0 zigbee-herdsman version .......... 6.3.2

CC2674P10 Your current firmware revision: 20250325

ZStack3x0 Coordinator revision .......... 20250325 Frontend version .......... 0.9.21 zigbee-herdsman-converters version .......... 25.59.0 zigbee-herdsman version .......... 6.3.2

Describe the solution you'd like

Have lot of incoming MQTT messages that are reported de z2m like "z2m: Entity 'xxxxxxxxxxx' is unknown" on one z2m log when OH send command to a device on the other network

it will be nice to have option / possibility to ignore them on demand for a cleaner log

Describe alternatives you've considered

Can't see one for above configuration

Additional context

when running 2 z2m networks it will help having a cleaner log on testing / closer device monitoring without the need for additional coding

nstefy avatar Nov 06 '25 09:11 nstefy

@nstefy remove the external source of these requests in mqtt and the messages will disappear. Something external is writing to a non-existent MQTT topic.

mrmaximas avatar Nov 06 '25 10:11 mrmaximas

@nstefy remove the external source of these requests in mqtt and the messages will disappear. Something external is writing to a non-existent MQTT topic.

can't do that, please read more careful request

there are 2 zigbee networks with the same MQTT setting one has the device, one doesn't

so when command is send from MQTT to zigbee device the network that don't have device write in log "z2m: Entity 'xxxxxxxxxxx' is unknown"

the other network that has the device works perfect and the device receive command

nstefy avatar Nov 06 '25 10:11 nstefy

As you use the exact same settings (so the same mqtt topic as well), this behavior is correct. You need to assign a different topic for each Z2M instance.

chris-1243 avatar Nov 07 '25 09:11 chris-1243

As you use the exact same settings (so the same mqtt topic as well), this behavior is correct. You need to assign a different topic for each Z2M instance.

I know that's a normal behavior. It's a feature request NOT a problem.

Please stay on topic of request

nstefy avatar Nov 08 '25 14:11 nstefy

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jan 08 '26 00:01 github-actions[bot]