I just submitted a couple more watchman traces, this time at 1MHz —
which seems to be sufficient for the emonTx device too:
https://github.com/merbanan/rtl_433_tests/pull/71
The spare watchman device I bought for playing with, which is sitting
in my study right by the receiver, is fine. This is gfile151.data.
The one that's actually installed outside on the oil tank is not being
decoded properly. This is gfile023.data.
The signal is a little bit noisy, but it's not *that* bad. Here's
Audacity showing the problematic signal in both I/Q and FM-decoded
form, along with the good one for comparison at the bottom.
The PR also includes a version of my original fskdemod.c hack, hacked
further to make it decode the noisy signal. I did two things — firstly
I eliminated spikes by working with a *mean* value over 8 samples, and
secondly I tweak the 0/1 threshold so it's *lower* when we're in the
middle of a 1 bit, and *higher* in the middle of a 0 bit. Basically
making it harder to change from 0 to 1 and vice versa, and again coping
with noise.
--
dwmw2