You may also want to think about calibration.  Besides absolute
calibration there is going to be some offset or other more complicated
relationship between your two sensors.  Given a "prefer precise if
available" this is going to cause some flipping betweeen them.  I had a
little trouble following this thread, and perhaps StdCalibrate runs
before the choice.

But if not, and maybe you want to do this anyway, basically
cross-correlated the data from both over a wide range, calculate a
mapping function, and put that in the ESP8266 code so that it emits
values that are consistent with your other sensor.

I did this with an ESP8266 that is measuring a 12V lead-acid battery.
While I can calculate expected values from the divider resistors and the
data sheet, I ended up just measuring the battery and looking at the raw
values and figuring out a divisor,  which I stored in a calibration file.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/rmiblef8i1w.fsf%40s1.lexort.com.

Attachment: signature.asc
Description: PGP signature

Reply via email to