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

Integration does not connect properly to MQTT topics #30

Open
balk77 opened this issue Jan 11, 2024 · 1 comment
Open

Integration does not connect properly to MQTT topics #30

balk77 opened this issue Jan 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working need more info Further information is requested

Comments

@balk77
Copy link
Contributor

balk77 commented Jan 11, 2024

Steps to reproduce

I have loaded the integration and it connects to the broker successfully. I have chosen to read the config from the IP of the device. Topics configured on the device are as follows:
buttonplus/wk1/button/2/label etc

What happened

Config is loaded to Home Assistant; labels as configured on device are visible in the integration.
Adjustments to labels are published to buttonplus/btn_45a424/button/2/label
Button presses in Home Assistant are not published

What was expected

Adjustments to labels are published to buttonplus/wk1/button/2/label
Button presses in Home Assistant are published to buttonplus/wk1/button/2/state

@koenhendriks
Copy link
Owner

Thanks for the detailed issue!

Am I to understand you manually set the topic in the button+ configuration to use the wk1 as the device id?

The integration adds the broker and the topics for you in the button+ configuration and uses these, and only these, to receive MQTT messages or publish new ones. The id is retrieved from the button+ config when the integration is loaded.

@koenhendriks koenhendriks self-assigned this Jan 14, 2024
@koenhendriks koenhendriks added bug Something isn't working need more info Further information is requested labels Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants