Page 1 of 1

Can th0temp outdoor temperature Sensor Mapping be to mapped to a Numerical Expression?

Posted: Mon Mar 14, 2022 6:49 pm
by bam
Can th0temp outdoor temperature's Sensor Mapping be to mapped to a Numerical Expression as with https://wiki.meteobridge.com/wiki/index.php/Templates?

I want to have the Numerical Expression be:
th0temp = min(th0!0temp, th0!7temp)

Or with an if then else statement with a comparison of th0!0temp to th0!7temp?
Would be fine also.

Thanks! :-)

Re: Can th0temp outdoor temperature Sensor Mapping be to mapped to a Numerical Expression?

Posted: Tue Mar 15, 2022 9:23 am
by admin
Sensor mapping does just do a mapping, no computations.

Re: Can th0temp outdoor temperature Sensor Mapping be to mapped to a Numerical Expression?

Posted: Tue Mar 15, 2022 5:42 pm
by bam
Thank you! :-)

Re: Can th0temp outdoor temperature Sensor Mapping be to mapped to a Numerical Expression?

Posted: Mon Mar 21, 2022 11:34 pm
by AlaskaWX
bam wrote: Mon Mar 14, 2022 6:49 pm Can th0temp outdoor temperature's Sensor Mapping be to mapped to a Numerical Expression as with https://wiki.meteobridge.com/wiki/index.php/Templates?

I want to have the Numerical Expression be:
th0temp = min(th0!0temp, th0!7temp)

Or with an if then else statement with a comparison of th0!0temp to th0!7temp?
Would be fine also.

Thanks! :-)
You could write a user defined plug-in weather station that could do this. See here to see how to use AWK to write a used defined plug-in:

viewtopic.php?p=37499#p37499

Re: Can th0temp outdoor temperature Sensor Mapping be to mapped to a Numerical Expression?

Posted: Sat Sep 17, 2022 1:47 am
by bam
Thank you AlaskaWX. I like this idea.