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

Use hierarchical topic names for lines, strings and tariffs #100

Merged
merged 1 commit into from
Mar 17, 2020

Conversation

andig
Copy link
Contributor

@andig andig commented Mar 17, 2020

Breaking Change: This PR provides better support for MQTT wildcards. Since MQTT has no other wildcard characters than # and +, this pr will convert mqtt topics like mbmd/sdm1-1/PowerL1 to mbmd/sdm1-1/Power/L1, same for inverter strings and tariffs.

Reason for this breaking change is that it will allow to listen for anything related to Power like mbmd/sdm1-1/Power, the lines like mbmd/sdm1-1/Power/# or any line or string data as mbmd/sdm1-1/#/#.

Potential further enhancement might be to duplicate this procedure for the Import/Export Active/Reactive components- please let me know if needed.

@andig andig added the enhancement New feature or request label Mar 17, 2020
@andig andig merged commit e55a182 into volkszaehler:master Mar 17, 2020
@andig andig deleted the mqtt branch March 17, 2020 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant