Skip to content

Enphase - UI configuration validate not working. #26019

@javydekoning

Description

@javydekoning

Describe the bug

My envoy is on FW D8.3.5167 (5c3a00).

If I enter everything correctly, the hostname validation fails.

Image

Curl works fine:

curl --insecure -H "Authorization: Bearer <my_token>" https://envoy.javydekoning.com/production.json?details=1 

Resulting json:

{
  "production": [
    {
      "type": "inverters",
      "activeCount": 25,
      "readingTime": 1765736103,
      "wNow": 0,
      "whLifetime": 17575302
    },
    {
      "type": "eim",
      "activeCount": 0,
      "measurementType": "production",
      "readingTime": 1765736503,
      "wNow": -3.924,
      "whLifetime": 0.0,
      "varhLeadLifetime": 0.0,
      "varhLagLifetime": 0.0,
      "vahLifetime": 0.0,
      "rmsCurrent": 0.326,
      "rmsVoltage": 706.102,
      "reactPwr": 0.0,
      "apprntPwr": 77.222,
      "pwrFactor": -0.08,
      "whToday": 0.0,
      "whLastSevenDays": 0.0,
      "vahToday": 0.0,
      "varhLeadToday": 0.0,
      "varhLagToday": 0.0,
      "lines": [
        {
          "wNow": 0.0,
          "whLifetime": 0.0,
          "varhLeadLifetime": 0.0,
          "varhLagLifetime": 0.0,
          "vahLifetime": 0.0,
          "rmsCurrent": -0.0,
          "rmsVoltage": 235.982,
          "reactPwr": -0.0,
          "apprntPwr": -0.0,
          "pwrFactor": -1.0,
          "whToday": 0.0,
          "whLastSevenDays": 0.0,
          "vahToday": 0.0,
          "varhLeadToday": 0.0,
          "varhLagToday": 0.0
        },
        {
          "wNow": -2.243,
          "whLifetime": 0.0,
          "varhLeadLifetime": 0.0,
          "varhLagLifetime": 0.0,
          "vahLifetime": 0.0,
          "rmsCurrent": 0.084,
          "rmsVoltage": 233.991,
          "reactPwr": 0.0,
          "apprntPwr": 19.968,
          "pwrFactor": -0.33,
          "whToday": 0.0,
          "whLastSevenDays": 0.0,
          "vahToday": 0.0,
          "varhLeadToday": 0.0,
          "varhLagToday": 0.0
        },
        {
          "wNow": -1.681,
          "whLifetime": 0.0,
          "varhLeadLifetime": 0.0,
          "varhLagLifetime": 0.0,
          "vahLifetime": 0.0,
          "rmsCurrent": 0.242,
          "rmsVoltage": 236.128,
          "reactPwr": -0.0,
          "apprntPwr": 57.254,
          "pwrFactor": 0.0,
          "whToday": 0.0,
          "whLastSevenDays": 0.0,
          "vahToday": 0.0,
          "varhLeadToday": 0.0,
          "varhLagToday": 0.0
        }
      ]
    }
  ],
  "consumption": [
    {
      "type": "eim",
      "activeCount": 0,
      "measurementType": "total-consumption",
      "readingTime": 1765736503,
      "wNow": -3.924,
      "whLifetime": 0.0,
      "varhLeadLifetime": 0.0,
      "varhLagLifetime": 0.0,
      "vahLifetime": 0.0,
      "rmsCurrent": 0.653,
      "rmsVoltage": 705.951,
      "reactPwr": 0.8,
      "apprntPwr": 153.426,
      "pwrFactor": -0.04,
      "whToday": 0.0,
      "whLastSevenDays": 0.0,
      "vahToday": 0.0,
      "varhLeadToday": 0.0,
      "varhLagToday": 0.0,
      "lines": [
        {
          "wNow": 0.0,
          "whLifetime": 0.0,
          "varhLeadLifetime": 0.0,
          "varhLagLifetime": 0.0,
          "vahLifetime": 0.0,
          "rmsCurrent": 0.0,
          "rmsVoltage": 235.832,
          "reactPwr": -0.0,
          "apprntPwr": 0.0,
          "pwrFactor": 0.0,
          "whToday": 0.0,
          "whLastSevenDays": 0.0,
          "vahToday": 0.0,
          "varhLeadToday": 0.0,
          "varhLagToday": 0.0
        },
        {
          "wNow": -2.243,
          "whLifetime": 0.0,
          "varhLeadLifetime": 0.0,
          "varhLagLifetime": 0.0,
          "vahLifetime": 0.0,
          "rmsCurrent": 0.411,
          "rmsVoltage": 234.115,
          "reactPwr": 0.8,
          "apprntPwr": 96.255,
          "pwrFactor": -0.02,
          "whToday": 0.0,
          "whLastSevenDays": 0.0,
          "vahToday": 0.0,
          "varhLeadToday": 0.0,
          "varhLagToday": 0.0
        },
        {
          "wNow": -1.681,
          "whLifetime": 0.0,
          "varhLeadLifetime": 0.0,
          "varhLagLifetime": 0.0,
          "vahLifetime": 0.0,
          "rmsCurrent": 0.242,
          "rmsVoltage": 236.004,
          "reactPwr": 0.0,
          "apprntPwr": 57.171,
          "pwrFactor": -0.03,
          "whToday": 0.0,
          "whLastSevenDays": 0.0,
          "vahToday": 0.0,
          "varhLeadToday": 0.0,
          "varhLagToday": 0.0
        }
      ]
    },
    {
      "type": "eim",
      "activeCount": 0,
      "measurementType": "net-consumption",
      "readingTime": 1765736503,
      "wNow": -0.0,
      "whLifetime": 0.0,
      "varhLeadLifetime": 0.0,
      "varhLagLifetime": 0.0,
      "vahLifetime": 0.0,
      "rmsCurrent": 0.327,
      "rmsVoltage": 705.951,
      "reactPwr": 0.8,
      "apprntPwr": 76.59,
      "pwrFactor": 0.0,
      "whToday": 0,
      "whLastSevenDays": 0,
      "vahToday": 0,
      "varhLeadToday": 0,
      "varhLagToday": 0,
      "lines": [
        {
          "wNow": 0.0,
          "whLifetime": 0.0,
          "varhLeadLifetime": 0.0,
          "varhLagLifetime": 0.0,
          "vahLifetime": 0.0,
          "rmsCurrent": 0.0,
          "rmsVoltage": 235.832,
          "reactPwr": -0.0,
          "apprntPwr": 0.0,
          "pwrFactor": 0.0,
          "whToday": 0,
          "whLastSevenDays": 0,
          "vahToday": 0,
          "varhLeadToday": 0,
          "varhLagToday": 0
        },
        {
          "wNow": 0.0,
          "whLifetime": 0.0,
          "varhLeadLifetime": 0.0,
          "varhLagLifetime": 0.0,
          "vahLifetime": 0.0,
          "rmsCurrent": 0.327,
          "rmsVoltage": 234.115,
          "reactPwr": 0.8,
          "apprntPwr": 76.59,
          "pwrFactor": 0.0,
          "whToday": 0,
          "whLastSevenDays": 0,
          "vahToday": 0,
          "varhLeadToday": 0,
          "varhLagToday": 0
        },
        {
          "wNow": -0.0,
          "whLifetime": 0.0,
          "varhLeadLifetime": 0.0,
          "varhLagLifetime": 0.0,
          "vahLifetime": 0.0,
          "rmsCurrent": -0.0,
          "rmsVoltage": 236.004,
          "reactPwr": 0.0,
          "apprntPwr": -0.0,
          "pwrFactor": -1.0,
          "whToday": 0,
          "whLastSevenDays": 0,
          "vahToday": 0,
          "varhLeadToday": 0,
          "varhLagToday": 0
        }
      ]
    }
  ],
  "storage": [
    {
      "type": "acb",
      "activeCount": 0,
      "readingTime": 0,
      "wNow": 0,
      "whNow": 0,
      "state": "idle"
    }
  ]
}

Steps to reproduce

Add enphase envoy as PV in configuration, use HTTPS and token. Press validate

Configuration details

meter
---
db:13 {Type:template Title:envoy Icon: Product:Enphase IQ Envoy} map[battery_type:ac cache:1.5e+10 host:envoy.javydekoning.com schema:https template:enphase token:***** usage:pv]

Log details

[db:13 ] TRACE 2025/12/14 20:05:54 GET https://envoy.javydekoning.com/production.json?details=1
[db:13 ] TRACE 2025/12/14 20:05:57 {"production":[{"type":"inverters","activeCount":25,"readingTime":1765739032,"wNow":0,"whLifetime":17575302},{"type":"eim","activeCount":0,"measurementType":"production","readingTime":1765739159,"wNow":-4.581,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.326,"rmsVoltage":705.501,"reactPwr":1.359,"apprntPwr":76.788,"pwrFactor":-0.13,"whToday":0.0,"whLastSevenDays":0.0,"vahToday":0.0,"varhLeadToday":0.0,"varhLagToday":0.0,"lines":[{"wNow":0.0,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":-0.0,"rmsVoltage":235.82,"reactPwr":-0.0,"apprntPwr":-0.0,"pwrFactor":-1.0,"whToday":0.0,"whLastSevenDays":0.0,"vahToday":0.0,"varhLeadToday":0.0,"varhLagToday":0.0},{"wNow":-2.344,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.084,"rmsVoltage":233.557,"reactPwr":1.359,"apprntPwr":19.518,"pwrFactor":-0.5,"whToday":0.0,"whLastSevenDays":0.0,"vahToday":0.0,"varhLeadToday":0.0,"varhLagToday":0.0},{"wNow":-2.237,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.243,"rmsVoltage":236.124,"reactPwr":-0.0,"apprntPwr":57.269,"pwrFactor":0.0,"whToday":0.0,"whLastSevenDays":0.0,"vahToday":0.0,"varhLeadToday":0.0,"varhLagToday":0.0}]}],"consumption":[{"type":"eim","activeCount":0,"measurementType":"total-consumption","readingTime":1765739159,"wNow":-4.581,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.654,"rmsVoltage":705.549,"reactPwr":1.939,"apprntPwr":153.352,"pwrFactor":-0.07,"whToday":0.0,"whLastSevenDays":0.0,"vahToday":0.0,"varhLeadToday":0.0,"varhLagToday":0.0,"lines":[{"wNow":0.0,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.0,"rmsVoltage":235.919,"reactPwr":-0.0,"apprntPwr":0.0,"pwrFactor":0.0,"whToday":0.0,"whLastSevenDays":0.0,"vahToday":0.0,"varhLeadToday":0.0,"varhLagToday":0.0},{"wNow":-2.344,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.411,"rmsVoltage":233.617,"reactPwr":1.939,"apprntPwr":96.055,"pwrFactor":-0.02,"whToday":0.0,"whLastSevenDays":0.0,"vahToday":0.0,"varhLeadToday":0.0,"varhLagToday":0.0},{"wNow":-2.237,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.243,"rmsVoltage":236.013,"reactPwr":0.0,"apprntPwr":57.297,"pwrFactor":-0.04,"whToday":0.0,"whLastSevenDays":0.0,"vahToday":0.0,"varhLeadToday":0.0,"varhLagToday":0.0}]},{"type":"eim","activeCount":0,"measurementType":"net-consumption","readingTime":1765739159,"wNow":-0.0,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.327,"rmsVoltage":705.549,"reactPwr":0.58,"apprntPwr":76.5,"pwrFactor":0.0,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0,"lines":[{"wNow":0.0,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.0,"rmsVoltage":235.919,"reactPwr":-0.0,"apprntPwr":0.0,"pwrFactor":0.0,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0},{"wNow":0.0,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":0.327,"rmsVoltage":233.617,"reactPwr":0.58,"apprntPwr":76.5,"pwrFactor":0.0,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0},{"wNow":-0.0,"whLifetime":0.0,"varhLeadLifetime":0.0,"varhLagLifetime":0.0,"vahLifetime":0.0,"rmsCurrent":-0.0,"rmsVoltage":236.013,"reactPwr":0.0,"apprntPwr":-0.0,"pwrFactor":-1.0,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0}]}],"storage":[{"type":"acb","activeCount":0,"readingTime":0,"wNow":0,"whNow":0,"state":"idle"}]} 

What type of operating system or environment does evcc run on?

Docker container

External automation

  • I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

0.211.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    devicesSpecific device support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions