magico13/ha-emporia-vue
소개
Emporia Vue 에너지 모니터용 Home Assistant 통합
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- +4
- in 15 days
- +7
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalemporia_vue Home Assistant Integration
Reads data from the Emporia Vue energy monitor. Creates a sensor for each device channel showing average usage over each minute.
Note: This project is not associated with or endorsed by Emporia Energy.
Data is pulled from the Emporia API using the PyEmVue python module, also written by me.

Installation with HACS
The simplest way to install this integration is with the Home Assistant Community Store (HACS). This is not (yet) part of the default store and will need to be added as a custom repository.
Setting up a custom repository is done by:
- Go into HACS from the side bar.
- Click into Integrations.
- Click the 3-dot menu in the top right and select
Custom repositories - In the UI that opens, copy and paste the url for this github repo into the
Add custom repository URLfield. - Set the category to
Integration. - Click the
Addbutton. - Select Emporia Vue from the list and press the download button.
- Further configuration is done within the Integrations configuration in Home Assistant. You may need to restart home assistant and clear your browser cache before it appears, try ctrl+shift+r if you don't see it in the configuration list.
Manual Installation
If you don't want to use HACS or just prefer manual installs, you can install this like any other custom component. Just merge the custom_components folder with the one in your Home Assistant config folder and you may need to manually install the PyEmVue library.
Configuration
Configuration is done directly in the Home Assistant UI, no manual config file editing is required.
- Go into the Home Assistant
Configuration - Select
Integrations - Click the
+button at the bottom - Search for "Emporia Vue" and add it. If you do not see it in the list, ensure that you have installed the integration.
- In the UI that opens, enter the email and password used for the Emporia App. If your account uses Google/Apple, see the Google/Apple Accounts section below.
- Done! You should now have a sensor for each "channel".
API Diagnostics
The integration creates two diagnostic sensors for monitoring Emporia cloud reliability:
- Emporia API Retries counts recoverable update failures since the integration was loaded. Its attributes break out total and consecutive retries for minute, daily, and monthly telemetry.
- Emporia API Latency records the latest minute telemetry update duration in milliseconds. This is the end-to-end API update time because PyEmVue does not expose the underlying HTTP response's connection-only timing.
Brief outages retain the last successful telemetry for two failed polls. A third consecutive failure marks the affected telemetry unavailable until the API recovers.
Google/Apple Accounts
Select Sign in with Google or Sign in with Apple when adding the integration, then complete sign-in in your browser. This requires Home Assistant 2025.4 or newer. The integration uses Home Assistant's native OAuth2/PKCE flow and stores the resulting Emporia tokens using the existing token refresh mechanism.
The browser returns through My Home Assistant. Make sure it points to the same Home Assistant instance where you started setup. Your instance does not need to be publicly accessible, but your browser must be able to reach it. Sensor options can be changed using Reconfigure after setup.
Authorization requests include openid, email, and aws.cognito.signin.user.admin. The last scope is required by Cognito's GetUser operation to read the signed-in user's profile; it does not grant AWS administrator privileges.
Email/password and manually supplied tokens remain supported. To obtain tokens manually:
- Open web.emporiaenergy.com in a browser and sign in with Google/Apple.
- Open your browser's Developer Tools (F12) and go to the Application tab (Chrome/Edge) or Storage tab (Firefox).
- Under IndexedDB → com.amplify.awsCognitoAuthPlugin → default.store, look for keys ending in
.hostedUi.idToken,.hostedUi.accessToken, and.hostedUi.refreshToken- copy the values of all three, making sure to only keep the values within the quotes (should start witheyJor similar) - Use those values in the token authentication step of the integration setup.
관련 프로젝트 살펴보기
불러오는 중…