Extra Temp Sensor and Soil Block issues
-
- Observer
- Posts: 20
- Joined: Sat Jan 26, 2019 6:05 am
- Location: Lusby, MD
- Station model: Davis pro 2
- Software: Meteobridge
- Contact:
Extra Temp Sensor and Soil Block issues
Hello,
I am having the hardest time getting the Extra Temp Sensor and Soil Blocks to read my data, nothing is displaying in the block but my api and meteotemplateLive.txt both see data, I must be doing something wrong, here are my settings.
I am having the hardest time getting the Extra Temp Sensor and Soil Blocks to read my data, nothing is displaying in the block but my api and meteotemplateLive.txt both see data, I must be doing something wrong, here are my settings.
-
- Observer
- Posts: 37
- Joined: Sun Aug 19, 2018 3:06 pm
- Location: Schwabach, Germany
- Station model: TE923
- Software: WEEWX
- Contact:
Re: Extra Temp Sensor and Soil Block issues
Hi,
have you as Source in the Setting of the Soil Block the Entry "API" ?
Michael
have you as Source in the Setting of the Soil Block the Entry "API" ?
Michael
- Oli
- Observer
- Posts: 23
- Joined: Sat May 28, 2022 4:17 pm
- Location: Hamelin / Germany
- Station model: HP1000SE PRO
- Software: weeWX
- Contact:
Re: Extra Temp Sensor and Soil Block issues
Quick side question because it fits the topic here:
Don't the values (dry soil, etc.) have to be exactly the opposite? So 0-10 very dry soil and 101-200 saturated soil?
Don't the values (dry soil, etc.) have to be exactly the opposite? So 0-10 very dry soil and 101-200 saturated soil?
-
- Observer
- Posts: 39
- Joined: Wed Feb 06, 2019 1:31 pm
- Station model: Vantage pro 2 plus
- Software: Meteobridge
- Contact:
Re: Extra Temp Sensor and Soil Block issues
No, 0 is extremely wet, 200 is extremely dry.
- Oli
- Observer
- Posts: 23
- Joined: Sat May 28, 2022 4:17 pm
- Location: Hamelin / Germany
- Station model: HP1000SE PRO
- Software: weeWX
- Contact:
Re: Extra Temp Sensor and Soil Block issues
Okay, thanks, then it's just confusing with the ecowitt soil moisture sensor, which apparently transmits a percentage. I would then have to convert that accordingly.
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Extra Temp Sensor and Soil Block issues
If you use the ecowitt plugin to feed the meteotemplate database you can use the 'math' function to convert the 0-100 ecowitt range to the 200-0 'conventional' range
- Oli
- Observer
- Posts: 23
- Joined: Sat May 28, 2022 4:17 pm
- Location: Hamelin / Germany
- Station model: HP1000SE PRO
- Software: weeWX
- Contact:
Re: Extra Temp Sensor and Soil Block issues
Yes, thank you. I have zero idea about php but this gives a view i am happy with:
Code: Select all
<?php
$converted = 200 - ${"soilM".$i} * 2;
if(isset(${"soilM".$i})){
echo "<p>${"soilM".$i} Prozent</p>";
echo "<p> $converted Centibar </p>";
}
?>
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: Extra Temp Sensor and Soil Block issues
interesting, pls kindly explain better how I should do it
thank you
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Extra Temp Sensor and Soil Block issues
For example you could define:
SM1=200-#SM1#*2 ( if you want to convert the soil moisture in 0-200 range, sorta cbar )
T5=#T1#-#T4# ( if you want to measure the difference to a reference sensor )
( to substitute a sensor value use the sensor name enclosed between two '#' chars )
In the 'math with sensor' input field you can use any function 'known by php' ( you can use even complex formulas, if needed )
Here I rescaled my two sensors:
SM1=200-#SM1#*2 ( if you want to convert the soil moisture in 0-200 range, sorta cbar )
T5=#T1#-#T4# ( if you want to measure the difference to a reference sensor )
( to substitute a sensor value use the sensor name enclosed between two '#' chars )
In the 'math with sensor' input field you can use any function 'known by php' ( you can use even complex formulas, if needed )
Here I rescaled my two sensors:
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
-
- Advisor
- Posts: 89
- Joined: Fri Sep 24, 2021 10:41 pm
- Station model: Barani MeteoHelix
- Software: meteobridge
Re: Extra Temp Sensor and Soil Block issues
Davide, you mention the math option. I would very much like to dodavidefa wrote: ↑Mon Jun 13, 2022 8:55 pm For example you could define:
SM1=200-#SM1#*2 ( if you want to convert the soil moisture in 0-200 range, sorta cbar )
T5=#T1#-#T4# ( if you want to measure the difference to a reference sensor )
( to substitute a sensor value use the sensor name enclosed between two '#' chars )
In the 'math with sensor' input field you can use any function 'known by php' ( you can use even complex formulas, if needed )
Here I rescaled my two sensors:
ecowitt_math.png
P+P1+P2+P3=P4/4=P5 and then show P5 as my all over average hPa value for our location. I have 4 sensors that all push to the api now. Is there some block that does this already, that you know of?