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

emeter: publish key and values as topics of emeter #12

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

flavio-fernandes
Copy link
Owner

Values of emeter are also published individually.

Example:
/dehumidifier/switch/emeter :
/dehumidifier/switch/emeter/power : 3.14 <-- new
/dehumidifier/switch/emeter/voltage : 122.049119 <-- new
/dehumidifier/switch/emeter/current : 0.1256 <-- new
/dehumidifier/switch/emeter/total : 51.493 <-- new

Fixes: #10

Values of emeter are also published individually.

Example:
    /dehumidifier/switch/emeter : <EmeterStatus power=3.14 voltage=122.049119 current=0.1256 total=51.493>
    /dehumidifier/switch/emeter/power : 3.14          <-- new
    /dehumidifier/switch/emeter/voltage : 122.049119  <-- new
    /dehumidifier/switch/emeter/current : 0.1256      <-- new
    /dehumidifier/switch/emeter/total : 51.493        <-- new

Fixes: #10
Signed-off-by: Flavio Fernandes <flavio@flaviof.com>
@flavio-fernandes flavio-fernandes merged commit 9e608e0 into main Oct 21, 2023
@flavio-fernandes flavio-fernandes deleted the emeter-subtopics branch October 21, 2023 00:11
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.

emeter output is not usable
1 participant