>
> 1. wie kann ich FHEM dazu bringen, die Feuchte-Messwerte des einen
> Sensors durch Hinterlegung eines Offsets dem anderen anzugleichen? (1
> Punkt-Korrekur), damit ich dann hoffentlich Messwerte mit insgesamt
> geringeren Abweichungen bekomme (Linearität?)
aus commandref.html:
> CUL_WS
>
> The CUL_WS module interprets S300 type of messages received by the CUL.
>
> Define
> define <name> CUL_WS <code> [corr1...corr4]
>
> <code> is the code which must be set on the S300 device. Valid values are 1 through 8.
> corr1..corr4 are up to 4 numerical correction factors, which will be added to the respective value to calibrate the device. Note: rain-values will be multiplied and not added to the correction factor.
-Manfred
sed kenne ich nicht gut genug. Mit perl:
perl -pi -e 's/T: ([\d\.]+)/"T: ".($1+4)/e' <filename>
Achtung: die Datei wird direkt ersetzt.