I have an outside tem sensor that does not give the correct value due to the placement of the sensor.
In the past I used WeeWX, and I had a conversion script ruiing, to "correct" the output of the temp sensor to the correct values.
this was the calculation :
outTemp = 0.88*(outTemp-7)+7
So now I startet playing with the virtual sensors
as a trivver I use TH0 , that gives me Temp & humidity :
Code: Select all
20150606112403 th0 229 44 0100
20150606112456 th0 230 44 0101
20150606112642 th0 231 44 0102
20150606112828 th0 226 45 0101
with as a trigger the TH0 from above, and this as a conversion script :
Code: Select all
awk ' { printf ''%d %d %d %d'', (0.88 * ($2- 7)--7)}'
how do i get the T11 to give me the correct output ?
Erwin
http://weather.on8ar.eu