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

aggregation for observation? #214

Closed
poblabs opened this issue Jul 17, 2024 · 2 comments
Closed

aggregation for observation? #214

poblabs opened this issue Jul 17, 2024 · 2 comments
Assignees

Comments

@poblabs
Copy link

poblabs commented Jul 17, 2024

Hey there, I have a 2nd anemometer that I have sending data to mqtt. Using mqttsubscribe as a service i'm able to get windSpeedFlagpole and windGustFlagpole into the loop just fine. My question is with the archive though. It's averaging both observations which is expected. How can I specify that windGustFlagpole should be the max over the archive interval?

@bellrichm
Copy link
Owner

MQTTSubscribe uses core WeeWX functionality to create archive record from the loop packet data. You will want to set the extractor of the windGustFlagpole to max. See, https://github.com/weewx/weewx/wiki/Accumulators, for more information.
Disclaimer: I don’t fully understand WeeWX handling of wind data, but if you just need the max value for a given archive period the above should work.

@poblabs
Copy link
Author

poblabs commented Jul 17, 2024

Awesome! Thanks for pointing me in the right direction

@poblabs poblabs closed this as completed Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants