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

Voltage Data #246

Open
flyoffacliff opened this issue Jan 24, 2024 · 9 comments
Open

Voltage Data #246

flyoffacliff opened this issue Jan 24, 2024 · 9 comments
Labels
enhancement New feature or request

Comments

@flyoffacliff
Copy link

Although it's still buggy, Emporia recently added voltage monitoring to the official app. Can this integration be updated to pull this value in as another sensor?

Screenshot_20240123-221052

@magico13
Copy link
Owner

I'll look into adding it, though it will increase the number of calls against the API. I may try to add Amps as well at that time since there are requests for that info too. I may keep those disabled by default and make them opt-in, most people probably just want the energy dashboard to work and these extra features are more technical info.

@Esprit1st
Copy link

"I may keep those disabled by default and make them opt-in" ... Please! Thank you!

@flyoffacliff
Copy link
Author

Thank you for the quick response! Good to know that the integration is well supported.

I wish they would give clear guidelines on API usage, such as "limit of X calls per account per hour/day".

Hopefully the voltage data is available via API. It appears that the voltage data is stored on their servers as a float with two decimal places, but the app converts it to an int.

I know this because the official app used to display two decimal places in the list view but not the graph view. When I submitted a bug report to them, I asked them to add the decimal places in the graph view, like the other units of measurement had, and instead, they just removed the decimal places from the list view as well. 🙄

@rjDipcord
Copy link

I wish they would give clear guidelines on API usage, such as "limit of X calls per account per hour/day".

I have personally reached out to Emporia about making their API accessible locally. Given their product uses WI-FI, and is able to report data to their servers at reasonably high data rates, there should be no issue implementing a local webserver that simply hosts a JSON string with the same data.

I implore everyone to do the same, and tell them we want local access!

@EboBH83
Copy link

EboBH83 commented May 15, 2024

Really appreciate your work. Looking forward to this addition.

@ryanbytes
Copy link

Any update on the voltage addition?

@BenJewell
Copy link

Has anyone even been able to confirm that the voltage data is available over the API at all? I never really found clear API documentation from Emporia.

@DabblerIOT
Copy link
Collaborator

I'll check the api and see what comes back. I'd like to have this data as well to monitor my power company for possible brown outs on the very hot days. Several neighbors have been having some capacitor failures during some of these time periods. Would be nice to know what voltage was doing.

@DabblerIOT DabblerIOT added the enhancement New feature or request label Jul 24, 2024
@csmracing
Copy link

BenJewell: Has anyone even been able to confirm that the voltage data is available over the API at all?

Yes, you can see the official web app make these calls in developer tools. Additionally, the PyEmView library which is also developed by the HA Emporia Vue integration author (magico13), supports voltage as of April:

https://github.com/magico13/PyEmVue/blob/master/pyemvue/enums.py

magico13: I'll look into adding it, though it will increase the number of calls against the API. I may try to add Amps as well at that time since there are requests for that info too.

Just a thought, but you don't have to make three calls to get the information, just two. If you are already getting watts, just query for amps or volts and then calcuate the 3rd data point.

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

No branches or pull requests

9 participants