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

Cumulative energy device option #110

Open
MagnusPer opened this issue Nov 3, 2019 · 4 comments
Open

Cumulative energy device option #110

MagnusPer opened this issue Nov 3, 2019 · 4 comments

Comments

@MagnusPer
Copy link

In version 3.0.0 when Home Energy is included Its of importance when a smart meter is used to set the cumalative measurement option to true.

I believe this should be possible to do for the measure_power, measure_current, meter_power capabilities

https://apps.developer.athom.com/tutorial-Drivers-Energy.html

@ArjanKranenburg
Copy link
Owner

Thank for the suggestion!
To make this optional, I would have to add it at pair-time (i.e. when the device is added). If that is possible it would also require changes in the pairing screens, which is more difficult.
I'll keep this open for a while, perhaps I stumble upon an easy solution, but don't count on it.

@k4mrat
Copy link

k4mrat commented Jan 16, 2020

I’ve been messing around with trying to add cumulative property. This brilliant app is kinda hard to get the hang of for a noob like me though 😁

I took the approach of adding it as a separate “smart meter” next to “Device” and “mode”.

Not the cleanest of approaches, since it probably would be best as an option along with the other capabilities, but one that should be doable. If I could only get it to pair at the last step 😂
A93F2F82-2617-4798-9EDD-AA530C17A0C3

@k4mrat
Copy link

k4mrat commented Jan 16, 2020

Another thought I had was taking the approach we're talking about in #97 and making a sub-capability and giving that Cumulative ability, like "measure_power.cumulative", but haven't pursued it at all so no idea if it's even possible.

@Allram
Copy link
Contributor

Allram commented Mar 20, 2021

Added a suggestion here: #135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants