esphome / esphome/feature-requests

Peak detection filter

Open
#1,980 6 comments 0 reactions 0 assignees View on GitHub
component: sensor
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**
Implement a peak detection filter for sensors.

Example, from this
![3Jl2b](https://user-images.githubusercontent.com/64079048/203617197-d552702c-58be-4d3f-816a-9d3465126d63.png)

to this
![slQEu](https://user-images.githubusercontent.com/64079048/203617284-455c33fe-d316-4415-9d8c-e5a020430003.png)

**Please describe your use case for this integration and alternatives you've tried:**
Some code in C or other languages for z-score implementation are available here:

https://stackoverflow.com/questions/22583391/peak-signal-detection-in-realtime-timeseries-data/54507140#54507140
**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

No implementation files, tests, or entry points are identified. Start by reviewing the linked real-time peak-detection reference and clarify the sensor types, configuration surface, expected behavior shown by the examples, and processing constraints. Done should include an agreed implementation scope and tests proving the filter produces the intended output.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.