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
71.16k stars 29.84k forks source link

Envoy integration no longer works in 2021.1.1. #45138

Closed anachronox99 closed 3 years ago

anachronox99 commented 3 years ago

The problem

The Envoy integration no longer is reporting values to Home Assistant. I get the message 'entity not available'. This was all working previously. I have not updated in December, so was running the version current at end of November.

image

Environment

System Health

version 2021.1.1
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.8.7
os_name Linux
os_version 5.4.79-v7
arch armv7l
timezone Australia/Sydney
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 5.10 -- | -- update_channel | stable supervisor_version | 2020.12.7 docker_version | 19.03.13 disk_total | 28.6 GB disk_used | 10.4 GB healthy | true supported | true board | rpi3 supervisor_api | ok version_api | ok installed_addons | Samba share (9.3.0), Log Viewer (0.9.1), File editor (5.2.0), Duck DNS (1.12.4), Home Assistant Google Drive Backup (0.103.0), Zigbee2mqtt (1.17.0.1), Mosquitto broker (5.1), Terminal & SSH (8.10.0), Check Home Assistant configuration (3.6.0), zigbee2mqttassistant (0.3.157)
Lovelace dashboards | 1 -- | -- mode | storage views | 7 resources | 5
Spotify api_endpoint_reachable | ok -- | --

Problem-relevant configuration.yaml

sensor:

  - platform: enphase_envoy
    ip_address: XX.XX.XX.XX
    monitored_conditions:
      - production
      - daily_production
      - seven_days_production
      - lifetime_production
      - consumption
      - daily_consumption
      - seven_days_consumption
      - lifetime_consumption

Traceback/Error logs

Don't have any.

Additional information

probot-home-assistant[bot] commented 3 years ago

enphase_envoy documentation enphase_envoy source (message by IssueLinks)

probot-home-assistant[bot] commented 3 years ago

Hey there @gtdiehl, mind taking a look at this issue as its been labeled with an integration (enphase_envoy) you are listed as a codeowner for? Thanks! (message by CodeOwnersMention)

gtdiehl commented 3 years ago

@anachronox99 What type of Enphase Envoy do you have and what is the firmware version?

Also, I noticed in the Issue you didn't have any logs. Can you restart Home Assistant and get the logs? Without the logs it's going to be very difficult to find the issue as others are reporting the Enphase Envoy sensor working with HA 2021.1.1.

Thanks!

anachronox99 commented 3 years ago

Hi, the Enlighten app tells me I have an Envoy-S-Metered-EU, Software Version 5.0.34.

It was all working last night, but this morning I noticed it had stopped again. Restarted and still not working.

Restarted and have attached logs. home-assistant.log

thanks!

gtdiehl commented 3 years ago

Looked at the logs and it appears to fail to retrieve data from your Envoy device.

Are you able to open a browser to http://x.x.x.x/production.json? Replacing x.x.x.x with the IP Address of your Envoy

anachronox99 commented 3 years ago

Hi, I think the issue is on my end. I couldn't resolve the address, and it looks like my Envoy device is right at the edge of my wifi network, so connectivity may be flaking in and out. That's probably the issue and would explain why it suddenly fixed itself and then broke again. Will keep monitoring but I think we can close this ticket out. Thanks!