Commit Graph

1927 Commits

Author SHA1 Message Date
Tommy Vestermark
3e1337b4cb Merge https://github.com/merbanan/rtl_433 into upstreaming 2015-12-16 00:24:52 +01:00
Tommy Vestermark
0da1278475 Auto level - minor fixes
Fix old decoders getting a level of 0
Make lead-in noise estimation to avoid initial trig on high noise level
Change FSK_DEFAULT_FM_DELTA from 8000 to 4000
2015-12-16 00:13:48 +01:00
Benjamin Larsson
240b9d2e9c Merge pull request #240 from dwmw2/master
Add temperature output in °C to Watchman decode
2015-12-15 23:03:48 +01:00
David Woodhouse
dd7ea0c4e5 Add temperature output in °C to Watchman decode
We're fairly convinced we have a reasonable estimate of the what the
temperature values mean.

See https://hackaday.io/project/1548-rocket-receiver-teardown for all
the gory details.

Keep outputting the raw value too, just in case we change it later; a
consumer of this data which thinks it knows better can still reconvert
for itself.
2015-12-15 20:18:28 +00:00
Benjamin Larsson
7ac873446c Merge pull request #238 from dwmw2/master
Consistent ouput for reading sample files
2015-12-14 13:59:24 +01:00
David Woodhouse
12b1fc9480 When reading sample files, make local_time_str() show offset not time of day 2015-12-14 10:26:41 +00:00
David Woodhouse
4376a9d3b6 Pass 0 into local_time_str() for current time instead of using time()
When using input from a file, we're going to want to print the offset in
the file at which the signal was found, not the current time. So it's OK
to use local_time_str() with an explicit time when it's actually data from
within the decoded packet, but for the current time just use zero
consistently.
2015-12-14 09:24:15 +00:00
Tommy Vestermark
24d2a41724 Fix to read complete file
Not all files are multiple chunk sizes
2015-12-13 22:08:26 +01:00
Tommy Vestermark
17ca38e84d Auto level - print level in analyzer 2015-12-13 21:46:27 +01:00
Tommy Vestermark
d83dc04aed FSK spurious short pulse suppression 2015-12-13 21:03:00 +01:00
Tommy Vestermark
f7b6f2a330 Auto level - suppress spurious initial pulses
And increase high level defaults
2015-12-13 18:48:13 +01:00
Tommy Vestermark
e583b65852 Auto level - initial implementation
Concept for test
2015-12-13 16:53:12 +01:00
Benjamin Larsson
0c11d7706e Merge pull request #213 from rct/no-file-overwrite
Prevent data files from being overwritten
2015-12-13 10:38:08 +01:00
rct
b40de58844 Added -W to README.md 2015-12-12 19:23:30 -05:00
rct
6ad8bdce8b Added -W to overwrite files 2015-12-12 19:19:35 -05:00
rct
396e8462be README improvements, added typical command line
* rtl_433: better description of ppm error option
2015-12-12 19:07:37 -05:00
rct
82919ce87a Sync usage messages and README.md 2015-12-12 18:55:55 -05:00
rct
162311e5fe Merge branch 'master' into no-file-overwrite
Conflicts:
	README.md
2015-12-12 18:31:42 -05:00
Benjamin Larsson
425ad1c8c2 Merge pull request #233 from khseal/patch-1
Update Readme.md
2015-12-12 20:55:59 +01:00
Sergey
82b338b4ed Update Readme.md
Change list support device.
2015-12-12 22:51:41 +03:00
Benjamin Larsson
2eb657fa7f Merge pull request #232 from dwmw2/master
Do not require first byte of Watchman packets to be 0x28
2015-12-12 18:16:41 +01:00
David Woodhouse
4570884461 Do not require first byte of Watchman packets to be 0x28
New samples have different values here. Perhaps it really is a 4-byte ID?
2015-12-12 17:12:10 +00:00
Benjamin Larsson
493b14f4f0 Merge pull request #231 from enavarro222/master
Fix channel error for OS devices #228
2015-12-11 03:39:57 +01:00
Emmanuel N
2c49f87967 Fix channel error with some OS devices
Should close merbanan/rtl_433#228
2015-12-11 00:26:58 +01:00
Emmanuel N
fd6a47660f Use constant to define and check OS (v2) sensor_id 2015-12-11 00:26:58 +01:00
Benjamin Larsson
27ff07d4db Merge pull request #230 from enavarro222/master
Fix negative temp value for Hideki TS04
2015-12-10 23:44:30 +01:00
Emmanuel N
885aaaea3e Fix negatif temp value for Hideki TS04
Should also fix battery indicator, but it isn't tested yet.
2015-12-10 22:37:55 +01:00
Benjamin Larsson
2d792e9ba8 Merge pull request #229 from enavarro222/master
Add CurrentCost tx device
2015-12-10 22:30:05 +01:00
Emmanuel N
60fe25a2e2 Fix indent + TODO (minor for CurrentCost sensor) 2015-12-10 22:16:42 +01:00
Emmanuel N
7881eadcbb Add CurrentCost TX device
For now it is more a draft...
2015-12-10 22:13:10 +01:00
Benjamin Larsson
784ac558e4 Merge pull request #226 from dwmw2/master
Handle Manchester decoding in bitbuffer domain
2015-12-10 12:10:02 +01:00
David Woodhouse
fcc70f7339 Add Watchman to readme 2015-12-10 10:39:57 +00:00
David Woodhouse
6896d45b53 Revert "Support framed FSK Manchester decoding compatible with Si4320/RFM01"
... and also "Add heuristic for detecting RFM01-framed FSK"

This reverts commits 3470b458 and 712f97e4 to remove the newly-added
pulse_demod_manchester_framed() functionality.

It turns out this isn't done by the hardware; it's application-specific.
The watchman code has been converted to use FSK_PULSE_PCM and handle the
framing and the Manchester decoding in the bitbuffer domain instead, and
this code can die since it wasn't as general-purpose as originally hoped.

See issue #224.
2015-12-10 10:19:46 +00:00
David Woodhouse
29cda5b7f5 Convert oil_watchman to bitbuffer_search() + bitbuffer_manchester_decode()
It turns out the framing in pulse_demod_manchester_framed() is not done
by the RFM01/Si4320 modules themselves; it's device-specific. See discussion
in issue #224.

So convert to use FSK_PULSE_PCM and then look for the preamble/postamble,
and do the Manchester decoding, in the bitbuffer domain.
2015-12-10 10:17:02 +00:00
Emmanuel N
ba621888ca Add bitbuffer_search() and bitbuffer_manchester_decode() functions
Originally written by Emmanuel N as part of issue #224; modified and
moved to bitbuffer.c by David Woodhouse
2015-12-10 10:15:44 +00:00
Benjamin Larsson
6e7699e241 Merge pull request #222 from dwmw2/master
hideki: Remove overzealous warning about invalid parity
2015-12-07 18:47:39 +01:00
David Woodhouse
e00e624a70 hideki: Remove overzealous warning about invalid parity
It's warning about this even for other kinds of packets.
2015-12-07 16:04:00 +00:00
Benjamin Larsson
7309b54397 Merge pull request #221 from dwmw2/master
Add support for RFMxx/Si4320 FSK encoding and Watchman Sonic oil tank monitor
2015-12-07 15:53:44 +01:00
David Woodhouse
712f97e4ef Add heuristic for detecting RFM01-framed FSK 2015-12-07 14:44:37 +00:00
David Woodhouse
a75ed5ab6f Add Watchman Sonic ultrasonic oil tank monitor
Also the Apollo Ultrasonic device, which is apparently identical.
2015-12-07 14:44:25 +00:00
David Woodhouse
3470b45813 Support framed FSK Manchester decoding compatible with Si4320/RFM01
Detection in pulse_analyzer() is left to a separate commit because it's
ugly and wants separate review.
2015-12-07 14:42:30 +00:00
Benjamin Larsson
244645c89f Merge pull request #220 from enavarro222/master
Add Hideki TS04 sensors
2015-12-07 10:59:36 +01:00
Emmanuel N
6f8348532f Add Hideki TS04 sensors 2015-12-06 23:54:02 +01:00
Benjamin Larsson
c29463f5de Merge pull request #219 from enavarro222/master
Fix bug with Oregeon Scientific outputs
2015-12-06 22:15:50 +01:00
Emmanuel N
96994bc344 Fix missing comma 2015-12-06 20:12:14 +01:00
Emmanuel N
af9df20f6a Fix indentation 2015-12-06 17:40:23 +01:00
Benjamin Larsson
f024da0640 Merge pull request #217 from tazounet/master
Update 2 drivers to new output format
2015-12-05 00:57:05 +01:00
tazounet
e22e1704f3 Update oregon_scientific driver to new "data" 2015-12-02 22:54:37 +01:00
tazounet
28b3d3f222 Update alecto driver to new "data" format 2015-12-02 22:53:57 +01:00
tazounet
7b4afd8e1c Convert from GNU to C99 syntax 2015-12-02 22:52:47 +01:00