All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS
Moderator: Mattk
-
bam
- Fresh Boarder

- Posts: 13
- Joined: Thu Oct 07, 2021 3:01 am
Post
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!

-
admin
- Platinum Boarder

- Posts: 7874
- Joined: Mon Oct 01, 2007 10:51 pm
Post
by admin »
Sensor mapping does just do a mapping, no computations.
-
bam
- Fresh Boarder

- Posts: 13
- Joined: Thu Oct 07, 2021 3:01 am
Post
by bam »
Thank you!

-
AlaskaWX
- Junior Boarder

- Posts: 36
- Joined: Thu Apr 05, 2012 7:46 pm
Post
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
Davis VP2 with IIS and Leaf/Soil + numerous user defined plugin weather stations
-
bam
- Fresh Boarder

- Posts: 13
- Joined: Thu Oct 07, 2021 3:01 am
Post
by bam »
Thank you AlaskaWX. I like this idea.