-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sensors publishing works irregularly after 2021.9.0 #2435
Comments
I'm seeing the same after a 2021.9.0 upgrade without HA changes (filed as a more generic report under #2441) |
Thanks |
I have search the community on how to revert to previous version of an addon and not much information :( But unfortunately even after I restored ESPHome 2021.8.2 that did not help As I have mentioned above at about the same time I have updated HA Core (and probably Supervisor). So I do not know for sure what is causing the break? Is it normal that no one looks at PR ? |
This might be fixed with esphome/esphome#2342 and I've heard reports that it fixes similar issues. Please try again with 2021.9.1 (which includes that fix), thanks! |
I have tested with 2021.9.1 and it still does not work for me
|
for no reason now it seems to work after a period not working??? I will keep you posted EDIT: In fact I have slightly changed one sensor and therefore I have reuploaded the firmware of the ESP8266. |
Ah should have mentioned that. Yes that's needed :) |
Good to know. This probably also explain why when I reverted to 2021.8.2 without reuploading the firmware it did not repaired the problem. |
I’m running esphome 2021.9 in HA and have pushed the 2021.8 firmware via a separate esphome install via cli. Also works flawlessly. |
Yes indeed this is obvious the version of ESPHome just influence the firmware loaded. After that ESP devices communicates with HA without intervention of ESPHome. During "run time" it only provides an interface to program new or existing components :( |
After 8 hours it didn't crash yet. Was running without sensors to try and eliminate as much noise as I could . Scaling up to adding sensors now which lead to a failed update when trying to upload (no screenshot, something about error 104 from memory). Second attempt worked though. Will report back in 24h or so. |
Since I have updated to firmware to 2021.9.1 everything has been working correctly for the last 24+ hours. |
The problem
I have a ESPHome ESP8266 device using the teleinfo component
Yesterday I have updated ESPHome to 2021.9.0 and since the update some but not all sensors do not update on a regulars basis anymore. Normally all the sensors are supposed to update every 60 s as specified in the configuration file but this does not work anymore since 2021.9.0
Here is an example of a total_increasing sensor that reports energy consumption and is still working correctly:
But if I take another sensor that reports the voltage on phase 1 from the grid (this is a fast changing value) this sensor does not reports value on a regular basis anymore:
As you can see many values where reported before the update the 16 sept around 3:30PM
Another pictures that shows the problem is a statistical view of the voltage for the three phases
As you can see there is a lot of fluctuations before the update and only a few after the update.
To better understand the problem I have decided to look at the log file from the node.
If I do that the values are correctly published every 60 seconds, as specified, and all sensors are updated correctly as it used to be before 2021.9.0 ?! :O
Here is an example displaying the same voltage sensor while looking at the log file at the same time
To do this I have stated two HA sessions: on one I look at the log of the component on the other one I look at the values of the sensors.
As you can see when I look at the log output of the teleinfo component on one Chrome window the values are now reported correctly in the other Chrome window
I do not know if this is a problem related to the teleinfo component or if it is a more general problem of ESPHome?
Which version of ESPHome has the issue?
2021.9.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2021.9.6
What platform are you using?
ESP8266
Board
Wemos D1 mini
Component causing the issue
teleinfo
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
For information
The text was updated successfully, but these errors were encountered: