Need testers for updated Enphase Envoy sensor

ah. ok. cool. :slight_smile: I indeed was talking about the long term sensors.
I will give it a go and report back.
Thank you for the reply and effort during the beta period

Yeah, it’d be nice to see them rolled in.

But while they’re not, then you can create them yourself if needed.

Im a bit at a loss.
What kind of sensor data is required to be fed to the Configuration > Energy area.
Would that be only (k)Wh data? or W?
By default, I can only see the first, the Wh sensors from my p1 meters production/consumption and solar (enphase lifetime) production. These are sensors of class energy, not power.
The graph I see after 2 hours is still incorrect.

Hopefully you can help me get my head on straight again :slight_smile:

uodate
looking at the picture in your linked post more closely, I beginning to think I AM doing things correctly… Hope you can confirm that.

Under solar palels I have selected the Enphase_new_lifetime_energy Production (Wh)
Under Electricyti Grid I have the Energy consumption tarrif 1 and 2 and the same with production (2x Wh)
.

So I think names of sensors created by the envoy integration have been changed slightly from what I used (my integrations been running for almost a year).

So instead of sensor.envoy_current_energy_consumption it is now sensor.envoy_current_power_consumption

And instead of sensor.envoy_current_energy_production it is now sensor.envoy_current_power_production

You need Energy Sensors (i.e. kWh or Wh), not power ones.

So you need to convert the power sensors into an energy sensor using the Reimann Sum integration.

The sensor.envoy_lifetime_energy_production sensor is used for the solar production measures.

1 Like

I am not convinced that this integration necessarily needs to provide all the sensors required for the energy dashboard out of the box. After all, the Envoy device measures your energy consumption and solar production, not the energy you import from the grid or export to the grid.
Using helpers like integration, utility meter or templates may still be required. That’s a bit clunky at the moment, but I’m sure will improve over the next few releases.

1 Like

For any newbies that want their Enphase Envoy to work with the new Energy feature in Home Assistant 2021.8 please see Enhpase Envoy on 2021.8 with new Energy feature

2 Likes

Hello, I have enphase batteries, I would willing to help test.

How did you get the data out of envoy into HA? What config did you use?

yes, used this. thanks mate

Hi averybody, please pelase help me because i m not available to connect my enphase systems to HA.

I m included in the configuation. yaml this informatio:
sensor:

  • platform: enphase_envoy
    ip_address:.x.x.x.x
    monitored_conditions:
    • production
    • daily_production
    • consumption
    • daily_consumption

I can connect to enphase by web with not problem, but impossible in the HA.

Please let me know if I have any problem.

Is there a reason you are trying to include this integration via the config file instead of via the UI? Configuration via config file has been deprecated, and it should have automatically been converted to a UI configuration entry, and thus any further changes in your config file to this entry have no effect.

Please let us know if you see any error messages related to this integration in your log file.

I m Including it in the configuration.yaml because im new in HA and I didn´t know that this method has been deprecated.

No error in my log.

I introduce in the UI

My Enphase Ip
User : Envoy
And in password two methosd, one in blank and another wiht las 6 digits of me S/N Enphase

Always I have connection error.

And I can access to my enphase directly with envoy.local or ip in the navigator.

Maybe would it be necessary to connect enphase with Cable?

Thanks a lot.

Hi , Anybody has a script to start an action when the diference between consumption and production ara as an example 500 W between each other?

It would be helpful to active maybe the swimming pool, only when we are producing more than we are consumption

Are easier, is there a possibility to the exported grid in our isntallation?

Create the sensors in the first post of this thread. This will give you the import or export values that you can use as a trigger in your automations - If sensor.grid_export_power > 500 do something. It will also track export (and import) amounts

1 Like

Hi,

Yep, I have done exactly that with my pool.

You are on the right track with the ‘difference’. This is how we find out how much grid power is either being imported or exported.

Here is a very simple template sensor that will give you a positive or negative number.
If production is > than consumption, then you will have a positive number to indicate excess power being exported to grid.

  - sensor:
      - name: Net Power
        state_class: measurement
        unit_of_measurement: W
        device_class: power
        icon: mdi:transmission-tower
        state: >
          {% set production = states('sensor.solar_production') | int %}
          {% set consumption = states('sensor.house_consumption') | int %}
          {{ (production - consumption) }}

And then here is my automation.

  alias: Pool Pump On
  description: ''
  trigger:
  - platform: numeric_state
    above: '1100'
    for:
      hours: 0
      minutes: 10
      seconds: 0
      milliseconds: 0
    entity_id: sensor.net_power
  condition:
  - condition: state
    entity_id: switch.sonoff
    state: 'off'
  action:
  - scene: scene.pool_pump_on
  - service: notify.notify
    data_template:
      message: Pool Pump on {{ states('sensor.net_power') }} Watts

If you want a seperate sensor for grid import and grid export, then I suggest reading the post here

1 Like

Please see

for how to setup enphase in home assistant

guauu,

Thanks a lot, that´s I was looking for.

I will check it.

Having an issue with envoy after upgrading to 2021.10.6 and on the latest version for envoy ensemble… D6.0.98.210726 is the version of the envoy… how can I get enphase envoy reporting again?

Seems there was a JWT token based security enhancement added to the latest enphase firmware that breaks the API access. Several parties are working on a fix.

1 Like

looks like it is totally broken on the latest envoy firmware SW VERSIOND7.0.66.211018 (ddd0d7) running the latest HA version… thanks!

Hi,

Maybe this is the wrong topic, but I noticed that I can;t adjust the refresh time of the integration and it’s currently set at 60 seconds. Is it possible to adjust this via the interface?

Init of Enphase Compont: core/init.py at dev · home-assistant/core (github.com)