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

VOCKQJK11LM Improvements and modernExtend conversion (2/4) #6739

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

sjorge
Copy link
Sponsor Contributor

@sjorge sjorge commented Dec 19, 2023

Still very WIP but I though I'd open as draft already.

I plan on extending the modernExtend numeric with a 'calibration' argument that will toggle the calibration options.
It would be nice to have that code available for all numerics so we can easily enable where it makes sense.

@sjorge sjorge force-pushed the me_temp_humid branch 5 times, most recently from 2b6a583 to 3e1eba3 Compare December 19, 2023 19:07
@sjorge
Copy link
Sponsor Contributor Author

sjorge commented Dec 19, 2023

@Koenkk looks like somehow with the current code the options for temperature calibration are already somehow exposed. I don't understand where it's getting it from though. Do we just automatically add them for temperature ?

On the upside, seems the calibration is working fine with the changes so far! I

@Koenkk
Copy link
Owner

Koenkk commented Dec 19, 2023

@sjorge I don't understand it either, but anyway the whole calibration should be moved up (outside of the converters)

@sjorge
Copy link
Sponsor Contributor Author

sjorge commented Dec 19, 2023

@sjorge I don't understand it either, but anyway the whole calibration should be moved up (outside of the converters)

Where do you want the calibration to end up ?

@Koenkk
Copy link
Owner

Koenkk commented Dec 19, 2023

There should be some "post process" function (out of scope for this PR), thinking about it now, you can remove the whole calibrate from your code, since the calibrate options will be discovered automatically based on the exposes.

@sjorge
Copy link
Sponsor Contributor Author

sjorge commented Dec 19, 2023

There should be some "post process" function (out of scope for this PR), thinking about it now, you can remove the whole calibrate from your code, since the calibrate options will be discovered automatically based on the exposes.

Having a post process chain would be very nice, it could also fix things like fz.SNZB_temperature() as we can just add filter function to the chain.

So I just drop the calibrate stuff and the PR is good to go I guess ?

@sjorge sjorge marked this pull request as ready for review December 19, 2023 19:27
@sjorge
Copy link
Sponsor Contributor Author

sjorge commented Dec 19, 2023

Cleaned up the calibrate stuff.

@Koenkk Koenkk merged commit d33480e into Koenkk:master Dec 20, 2023
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Dec 20, 2023

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants