Rainforest Eagle power demand sensor stalls and stops collecting data
The problem
This bug happens randomly. After an indeterminate period of time, the sensor for the Eagle stops updating. See for example the image below :

I'm certain that this is not related to the device being down. Because the Eagle has stability issues, I have it on a smartplug, and have HA setup to reboot it every 3 hours. This is fine in most cases, and the Eagle integration in HA continues to collect data from it. However, occasionally, the integration stops collecting data, even though the device is up. Reloading the Eagle integration instantly fixes the problem.
What version of Home Assistant Core has the issue?
Home Assistant 2022.9.5 Supervisor 2022.09.1 Operating System 9.0 Frontend 20220907.2 - latest
What was the last working version of Home Assistant Core?
N/A - this has never worked properly
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Rainforest Eagle / uEagle
Link to integration documentation on our website
https://www.home-assistant.io/integrations/rainforest_eagle/
Diagnostics information
{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.9.5", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.5", "docker": true, "arch": "armv7l", "timezone": "America/Los_Angeles", "os_name": "Linux", "os_version": "5.15.61-v7", "supervisor": "2022.09.1", "host_os": "Home Assistant OS 9.0", "docker_version": "20.10.17", "chassis": "embedded", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.26.2", "requirements": [ "aiogithubapi>=22.2.4" ] }, "bhyve": { "version": "3.0.0", "requirements": [] }, "localtuya": { "version": "4.0.1", "requirements": [] } }, "integration_manifest": { "domain": "rainforest_eagle", "name": "Rainforest Eagle", "documentation": "https://www.home-assistant.io/integrations/rainforest_eagle", "requirements": [ "aioeagle==1.1.0", "eagle100==0.1.1" ], "codeowners": [ "@gtdiehl", "@jcalbert", "@hastarin" ], "iot_class": "local_polling", "config_flow": true, "dhcp": [ { "macaddress": "D8D5B9*" } ], "loggers": [ "aioeagle", "eagle100" ], "is_built_in": true }, "data": { "config_entry": { "entry_id": "7569e33bddc0843248eeb3e2361ec32c", "version": 1, "domain": "rainforest_eagle", "title": "002102", "data": { "host": "192.168.1.11", "cloud_id": "REDACTED", "install_code": "REDACTED", "type": "eagle-100", "hardware_address": null }, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "dhcp", "unique_id": "002102", "disabled_by": null }, "data": { "zigbee:InstantaneousDemand": 1.506, "zigbee:CurrentSummationDelivered": 118735.989, "zigbee:CurrentSummationReceived": 64695.268 } } }
Example YAML snippet
N/A
Anything in the logs that might be useful for us?
Nothing related to the Eagle.
Additional information
Until this bug is fixed, it would be useful to have a way to automatically restart this integration periodically. I don't see a way to do this in HomeAssistant, unfortunately. Perhaps the integration itself could have a setting to reload itself, since it is not stable enough to keep collecting meter data reliably.
rainforest_eagle documentation rainforest_eagle source (message by IssueLinks)
Hey there @gtdiehl, @jcalbert, @hastarin, mind taking a look at this issue as it has been labeled with an integration (rainforest_eagle) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)