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

Expose energy usage for outlets/switches #190

Merged
merged 5 commits into from
Jan 1, 2023
Merged

Expose energy usage for outlets/switches #190

merged 5 commits into from
Jan 1, 2023

Conversation

lstrojny
Copy link

Apps like Eve Home support showing energy usage information. Additionally plugins like https://www.npmjs.com/package/homebridge-prometheus-exporter can export energy usage data into a timeseries DB. This adds support for watts, voltage and amperes.

The supported energy statistics are modeled exactly after https://github.com/plasticrake/homebridge-tplink-smarthome. The custom characteristics are basically verbatim copies.

Demo

@lstrojny
Copy link
Author

Mhhh, I don’t really understand why continuous integration fails, weird that a git clone error happens only with node 14. Any ideas?

@0x5e
Copy link
Owner

0x5e commented Jan 1, 2023

Great job, thanks for the contribution! I re-run the failed job and now it has passed. so should we keep the minstep now?

@lstrojny
Copy link
Author

lstrojny commented Jan 1, 2023

Great. Let's merge without min step, removing those was a conscious choice

@0x5e 0x5e merged commit 1535a45 into 0x5e:develop_1.7.0 Jan 1, 2023
@0x5e
Copy link
Owner

0x5e commented Jan 1, 2023

Thanks @lstrojny again, really appreciate it :)

@0x5e 0x5e added this to the 1.7.0 milestone Jan 1, 2023
@lstrojny
Copy link
Author

lstrojny commented Jan 1, 2023

Thank you!

@lstrojny lstrojny deleted the outlet-energy-usage branch January 1, 2023 13:33
@Casualtek
Copy link

Hi everyone and thanks @lstrojny for this great work.
I'm getting proper current readings in the Eve app, but power and voltage readings are wrongly multiplied by 10.

@0x5e
Copy link
Owner

0x5e commented Jan 8, 2023

@Casualtek Can you post your schema? This can be solved, let's see your schema first.

@0x5e
Copy link
Owner

0x5e commented Jan 14, 2024

Hi @lstrojny , do you have the data not get updated issue after homebridge reboot? #268 (comment)

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.

3 participants