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

Add support for Domoticz MQTT integration #3359

Merged
merged 17 commits into from
Dec 1, 2024
Merged

Conversation

gneluka
Copy link
Contributor

@gneluka gneluka commented Oct 27, 2024

Adding basic support for Domoticz MQTT integration.
Changes:

  • Added field for configuring "Domoticz In" topic under MQTT section of config page
  • Added "Parameter per number sequence" select and "Domoticz Counter Idx" field under MQTT section of config page
  • Updated javascript functions as needed to support these new fields: read, write and update parameters.
  • Updated ClassFlowMQTT to publish to the configured "Domoticz In" topic using the correct payload format for Domoticz counters.
  • Minor changes and updates to interface_mqtt and server_mqtt to support the added functionality.

@gneluka
Copy link
Contributor Author

gneluka commented Nov 6, 2024

Hi @caco3, I have made the corrections per your comments. Let me know if there's anything else needed from my side so that this PR can be merged.

Thanks

@caco3 caco3 marked this pull request as draft December 1, 2024 22:13
@caco3
Copy link
Collaborator

caco3 commented Dec 1, 2024

I finally had a look on it.
The UI misses the default values:
grafik
(I am not sure how to add them, need to find out first).

@caco3
Copy link
Collaborator

caco3 commented Dec 1, 2024

Thanks for your PR!
I added some minor changes. I did not really test it as I do not have Domoticz.
I will merge it. Please test and check it all works as needed.

@caco3 caco3 marked this pull request as ready for review December 1, 2024 23:06
@caco3 caco3 merged commit 08baf18 into jomjol:main Dec 1, 2024
6 checks passed
@gneluka
Copy link
Contributor Author

gneluka commented Dec 2, 2024

Thanks for your PR! I added some minor changes. I did not really test it as I do not have Domoticz. I will merge it. Please test and check it all works as needed.

Thanks so much. And thank you for the amazing work you have done on this project.

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

Successfully merging this pull request may close these issues.

2 participants