Comments (3)
Hey there @ThomDietrich, mind taking a look at this issue as it has been labeled with an integration (statistics
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of statistics
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 statistics
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)
statistics documentation
statistics source
(message by IssueLinks)
from core.
I also have this sometimes after a restart But not for every restart. First time I noticed was after my update to 2024.7.
But (for me) it also can happen when just reloading the statistics yaml in Dev Tools (as reported by someone else in the stale issue).
That a reload can trigger this, basically excludes a missing source sensor as a cause. During reload the source remained present.
Just an example, where the source sensor remained nearly zero, but the statistics daily average sensor spikes between +31k and -31k when I reloaded the statistics yaml config. Note I reloaded 3-4 times in a row but just one spiked:
Sensor config:
- platform: statistics
name: "PM2.5 daily average"
unique_id: pm2_5_daily_average
entity_id: sensor.apollo_air_1_c1c714_pm_2_5_m_weight_concentration
state_characteristic: average_linear
max_age:
hours: 24
At the same time, a 15 minute average sensor for the same source sensor spiked as well. But lower values and first negative and then positive:
Update: Someone in the forums suggested that the spike size seems to correlate with max_age. That is what I see as well
from core.
Seems somewhat related so I'll add here: I see spikes all over the place, without HA restart, in different stats (linear average, minimum), where apparently 2 different values are recorded by statistics at the same timestamp:
![image](https://private-user-images.githubusercontent.com/11088491/349070131-e218d27c-33a1-43c6-8870-5d315234a6c6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MjE1NTQsIm5iZiI6MTcyMTcyMTI1NCwicGF0aCI6Ii8xMTA4ODQ5MS8zNDkwNzAxMzEtZTIxOGQyN2MtMzNhMS00M2M2LTg4NzAtNWQzMTUyMzRhNmM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDA3NTQxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdhYmNkZDI1YTBkN2RiODMxYmZjMDI4OTI2ZjFmYTcxYTkxNjI1NDc2NDczZDhiOTJmNzViYmFhZjY5ZDhjNzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.odclfs1Cxz0BIcXXBNt_qNObWdAP6V0brwIDB5j2yq4)
from core.
Related Issues (20)
- Error in compilation of webrtc-noise-gain
- How to Control Amazon Fire TV from iPhone Remote App? HOT 1
- Log errors with SOLAX integration HOT 1
- Manual Alarm Control Panel does not handle the "arming" state correctly in automations HOT 2
- Scenes not working w/ TP-Link light bulbs
- Ecovacs: unsupported operand type in deebot_client/map.py HOT 1
- Something is blocking Home Assistant from wrapping up the start up phase
- Occasionally high memory usage
- Constant Errors In Logs After Updating To Latest Version of Core HOT 1
- Roborock - Login issue Dacite outdated but unclear how to identify HOT 16
- Intermittent issue when activating Doorbird relay HOT 1
- TP-Link Smart Home - Error fetching xx.xxx.xxx.xxx data: Unable to connect to the device: xx.xxx.xxx.xxx:9999: HOT 20
- Ecovacs integration not showing work mode with T30 Omni HOT 2
- Certificate Expiry integration does not seem to check the whole cert chain. HOT 2
- Environment Canada not returning complete data HOT 4
- Nest integration bloats HA backups HOT 1
- iRobot Roomba and Braava failed to set up after upgrading to core 2024.7.3 HOT 1
- Authentication error 429/421 with controls but status sensors are working HOT 1
- [discovergy] fails to load HOT 2
- Sonos integration mixes up speakers/they become unavailable HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.