Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send friendly name instead of IEEE address when a device leave the network #7725

Closed
rindlerblabla opened this issue Jun 7, 2021 · 1 comment
Labels
problem Something isn't working

Comments

@rindlerblabla
Copy link

rindlerblabla commented Jun 7, 2021

What happened

Just eight seconds after Z2M received a power state from Innr sp120 it left the network. Don't know why, really. However, the json that was posted included the message

info  2021-06-06 02:16:10: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"ieee_address":"0x00158d0003288af0"},"type":"device_leave"}'
info  2021-06-06 02:16:10: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"left_network","meta":{"friendly_name":"0x00158d0003288af0"},"type":"device_removed"}'

Have now set up an automation in HA which listens to bridge/log events with payload left_network (I think, hehe), but the device name being posted is not the friendly_name but the IEEE address.

What did you expect to happen

That the friendly_name would include the friendly_name, not the IEEE address. Then it would be easier to understand what device really left the network.

Debug info

Zigbee2MQTT version 1.19.0-dev commit: 9f02eb3
Coordinator type zStack3x0
Coordinator revision 20210120
Frontend version 0.4.16

@rindlerblabla rindlerblabla added the problem Something isn't working label Jun 7, 2021
Koenkk added a commit to Koenkk/zigbee2mqtt.io that referenced this issue Jun 8, 2021
@Koenkk
Copy link
Owner

Koenkk commented Jun 8, 2021

Implemented.

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html)

@Koenkk Koenkk closed this as completed Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants