home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.75k stars 28.91k forks source link

Missing envoy sensor for Energy dashboard ? #118162

Closed renaatdb closed 1 month ago

renaatdb commented 1 month ago

The problem

I only see two "lifetime" sensors sensor.envoy_number_lifetime_energy_consumption sensor.envoy_number_lifetime_energy_production I do not see -net- sensors (Envoy Lifetime "net" energy production ) Enlighten manager works fine. Envoy-S-Metered-EU Software Version 5.0.55 For Consumption CT Location I have (Load Only) - Most common is Laod with Solar production.

What version of Home Assistant Core has the issue?

core-2024.5.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

envoy

Link to integration documentation on our website

https://www.home-assistant.io/integrations/enphase_envoy

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @bdraco, @cgarwood, @dgomes, @joostlek, @catsmanac, mind taking a look at this issue as it has been labeled with an integration (enphase_envoy) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `enphase_envoy` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign enphase_envoy` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


enphase_envoy documentation enphase_envoy source (message by IssueLinks)

catsmanac commented 1 month ago

Hi @renaatdb , for the -net- sensors you need a load with solar CT a.k.a. net-consumption CT installed.

renaatdb commented 1 month ago

Hi, @catsmanac thanks for quick reply: I do not understand: I have 3 CT's. zonenphase I need to change the position ? Enlighten manager works fine. enlighten

catsmanac commented 1 month ago

If you have 3 CT it might be for a 3 phase installation.

We (HA Enphase_envoy Integration) don't have access to all data the Envoy is sending to the Enphase web-site, the local interface is 'kind of' limited by the manufacturer. This may mean that we can not always show same data as the App.

If you share the HA Envoy Diagnostics report here then we can probably find what options are available. Download to your workstation using the button (see below) and then upload the file here.

afbeelding

renaatdb commented 1 month ago

3 phase indeed

config_entry-enphase_envoy-83a47a1e3788eee1ba5db1db3e6570c6.json

catsmanac commented 1 month ago

Yes, you probably have 6 ct installed, 3 on the solar phases and 3 on the house consumption phases..

The diagnostic file shows the model

 "envoy_model": "Envoy, phases: 3, phase mode: three, total-consumption CT, production CT",

Total-consumption CT is the CT on the Load only position and configured as such. With this configuration net production entities will not be available.

I need to change the position ?

I can't answer that question, that is an installer question as it depends on your actual situation, why it was installed as a total-consumption CT. If these are physically installed on the house phases, it will involve installer work if you wan to move these I think. Unless it's a configuration error, which I don't know, and they are in the correct place. Are alternatives like a smart grid meter available? Maybe these can be connected to HA (DSMR integration) and used for grid import/export values.

The CT configuration reported by the Envoy:

      "/ivp/meters": [
        {
          "eid": 704643328,
          "state": "enabled",
          "measurementType": "production",
          "phaseMode": "three",
          "phaseCount": 3,
          "meteringStatus": "normal",
          "statusFlags": []
        },
        {
          "eid": 704643584,
          "state": "enabled",
          "measurementType": "total-consumption",
          "phaseMode": "three",
          "phaseCount": 3,
          "meteringStatus": "normal",
          "statusFlags": []
        }
      ],
renaatdb commented 1 month ago

Hi, @catsmanac I changed the CT position in my fuse box and selected load with solar production. This provided the solution. Now I see the "Envoy Lifetime "net" energy production" sensor. Thanks

catsmanac commented 1 month ago

@home-assistant close