Skip to content

Releases: magico13/ha-emporia-vue

v0.6.4 - Additional bugfixes

19 Aug 00:03
Compare
Choose a tag to compare

Fixed bugs with toggling outlets and with invalid sensor data causing issues. Should close #62 and #63.

v0.6.3 - Fix for breaking API changes

18 Aug 18:47
Compare
Choose a tag to compare

Fixes the API calls so data populates again. One side effect of the backing API changes is that the energy balance now shows up as the Balance sensor automatically since it's being computed in the backend now.

v0.6.2 - Bugfix for Solar Export Calculation

13 Aug 02:55
Compare
Choose a tag to compare

BREAKING: MainsToGrid sensor now reports positive values instead of negative. If you don't have any automations using that sensor you're probably safe. This was needed to get the energy dashboard to display/calculate solar production correctly.

v0.6.1 - Bugfix for disconnected sensors

08 Aug 02:21
Compare
Choose a tag to compare

Fixes #54 where a sensor that doesn't return a timestamp for the last reset time would result in an error.

v0.6.0 Energy Dashboard Support

07 Aug 01:53
Compare
Choose a tag to compare

The main feature of this update is support for the new Energy Dashboard available in Home Assistant 2021.8 and smoothing of the day sensors by utilizing the minute data. When setting up the dashboard, select the appropriate "day" sensors and data should start populating in the dashboard after two hours or so. The smoothed day sensors will only work with the 1 minute sensors enabled as well.

Feedback with how the dashboard behaves with this integration is appreciated. Not all situations were able to be tested but general functionality looked correct in my testing.

Closes #53, #48

v0.5.0 - BREAKING - Removed 1s Sensor and Reduced API Rates

16 Jun 00:21
Compare
Choose a tag to compare

Emporia has asked me to reduce the number of API requests this integration uses since this and other uses of their unofficial API are causing noticeable strain on their database. See this issue within PyEmVue for specific details magico13/PyEmVue#19. In short, they've asked that the number of API requests be reduced to 2000 requests a day.

To accomplish this the following changes have been made:

  • The 1 Second sensor has been completely removed. This was an estimated 80,000+ requests a day and there's no way to keep it under 2k.
  • The 1 Minute sensor is unchanged (1440 requests/day)
  • The 1 Day and 1 Month sensors now only update hourly instead of each minute (24 requests/day each instead of 1440 each)
  • Outlets update every 5 minutes in the background, rather than every 15 seconds (288 requests/day instead of 5760). Outlets will still update status immediately if toggled via Home Assistant.

These changes reduce the number of requests from a worst-case scenario of about 100,000 requests per day to 1,776, leaving just over 200 requests free for toggling of switches and otherwise providing a buffer.

While you can avoid updating for now to keep the older settings, changes to the backing API being deployed by Emporia soon will likely result in older versions of this integration quickly hitting a rate limit and no longer functioning. Additionally, we would like to remain on their good side since they could opt to shut down the API access completely if we keep using excessive resources.

I apologize for any inconvenience this causes or if it results in any automations breaking. These rate and functionality changes will likely be reassessed at a later point, especially if/when Emporia releases a public API with proper documentation and limits. For now we've been asked to keep it under 2k requests per day and this is the best setup I could figure to do that.

v0.4.0 - Support for new solar sensors, bug fixes

07 May 22:20
Compare
Choose a tag to compare
  • Adds support for MainsToGrid and MainsFromGrid sensors when set up for solar. These sensors only appear at the day and month scales.
  • Reworked sensor setup code to occur earlier in the process, allowing failures to trigger the built-in auto-retry logic. Should fix intermittent api outages causing setup failures when rebooting.
  • Several bug fixes due to changes within the API.
  • Uses PyEmVue 0.12.4

v0.3.1 - Additional updates and fixes

12 Feb 01:32
Compare
Choose a tag to compare

This release seems to resolve some of the issues people have been encountering.
If you are still encountering issues with missing sensors try the following steps:

  1. Remove the existing integration in the Integrations view
  2. Go into HACS and find the Emporia Vue integration
  3. From the 3 dots dropdown select Update Information and then Reinstall
  4. Select "master" as the version and install it (might need to enable beta versions)
  5. Restart Home Assistant
  6. Add the integration again, selecting at least one sensor (1 second, 1 minute, 1 day, 1 month)
  7. Go into the /config/logs endpoint, load full log, copy and paste anything you see after the first mention of emporia (if there is anything) into a new issue on here.

v0.3.0 Fix for API Changes - Seconds Support

10 Feb 02:57
Compare
Choose a tag to compare

This release update PyEmVue to account for the recent API changes that broke updating the values (#27) and adds support for 1 second sensors (#24). In order to enable 1 second sensors or to disable the minute, daily, or monthly sensors if those aren't something you want, you have to remove and readd the integration in your "Integrations" configuration.

v0.2.0 Smart Plug Support and Bug Fixes

22 Nov 22:15
Compare
Choose a tag to compare

The major new visible feature of this update is support for toggling Smart Plugs. They're added as switch entities and can be toggled manually or as part of an automation and will be detected automatically after a restart.

Additionally there are now sensors for daily and monthly usage for each device channel (including for smart plugs). A final change is that sensors are grouped into devices automatically, one device per channel. For instance for a smart plug all three energy sensors and the toggle entity are all grouped together.

  • Added support for toggling smart plugs #14
  • Added daily/monthly sensors #4
  • Added device grouping
  • Removed IO from event loop #2
  • Drastically reduced number of API calls (3 to update usage for all channels rather than 3 per channel)
  • Login now shows email and password template #7