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

Feature request: sending device information via mqtt #1236

Closed
directman66 opened this issue Mar 11, 2019 · 3 comments
Closed

Feature request: sending device information via mqtt #1236

directman66 opened this issue Mar 11, 2019 · 3 comments

Comments

@directman66
Copy link

directman66 commented Mar 11, 2019

I integrate your project into the smart home management system majordomo https://mjdm.ru/ (https://github.com/directman66/majordomo-zigbee2mqtt/ ). Link to russian community https://mjdm.ru/forum/viewtopic.php?f=5&t=6011. When integrating via mashing, I will encounter the need to parse a database file. I need the database.db database file to get the modelId, which is missing in the message on the server. Is it possible to make the information from the database duplicated in the messages to the server?

I would like to receive in the message mqtt the following data: type":"Router","ieeeAddr":"0x00158d00022bc3ab","nwkAddr":42799,"manufName":"LUMI","powerSource":"DC Source","modelId":"lumi.ctrl_neutral2" etc

This information can be published for example when you start the service once.

@directman66 directman66 changed the title sending device information via mqtt Feature request: sending device information via mqtt Mar 11, 2019
@Koenkk
Copy link
Owner

Koenkk commented Mar 11, 2019

This can be achieved by sending an empty payload to zigbee2mqtt/bridge/config/devices (see https://www.zigbee2mqtt.io/information/mqtt_topics_and_message_structure.html#zigbee2mqttbridgelog)

@directman66
Copy link
Author

Thanks, all the data on the main received at home. It turns out in the answer there is no information about the IEEE address of the coordinator. Is there another request for this?

@Koenkk
Copy link
Owner

Koenkk commented Mar 14, 2019

Implemented!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants