First post describes hombrew effort using NB sensor. Not a preferred solution imho.

Second post decribes microprocessor based solution for WB output. This orange is definitely not from the same apple orchard as the first.