Skip to content
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

GTS Temperatur #225

Open
3 tasks done
moritzgoebel15 opened this issue Feb 24, 2024 · 1 comment
Open
3 tasks done

GTS Temperatur #225

moritzgoebel15 opened this issue Feb 24, 2024 · 1 comment
Labels
enhancement New feature or request.

Comments

@moritzgoebel15
Copy link

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

I want to create an average that is calculating the Sum of the median temperature of every day.
The sensor is providing the outdoor temperature for the entire day. It is important to eliminate all days that have a temperature that is on average below zero.
Starting Jan 1st of each year t will output the GTS temperature, which indicates the green season start in the garden in Germany.

Describe the solution you'd like

Sum( median(sensor.outoor-temp) if median(sensor.outdoor-temp>0) and date > 01.01.2024)

Describe alternatives you've considered

I tried to create two averages

Additional context

I use Ecowitt as the weather station source.

@Limych
Copy link
Owner

Limych commented Oct 6, 2024

The main problem with calculating medians is that it requires storing all possible sensor values ​​in memory. And this is an extremely large amount of information.
I don't know yet how to calculate medians without such storage.
Therefore, alas, I have to postpone all innovations related to calculating medians for an indefinite period. Sorry.

See also: #9 , #20

@Limych Limych added the enhancement New feature or request. label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants