Commit Graph

222 Commits

Author SHA1 Message Date
Benjamin Larsson
2d7072ab08 Merge pull request #428 from rct/auto_level_default
Make auto level limit the default (Fixes #427)
2016-09-18 21:39:06 +02:00
Robert Terzi
4e7c4ab65a Make auto level limit the default 2016-09-18 15:08:11 -04:00
Robert Terzi
a451923d97 Cleanup related to devices disabled by default.
* MAX_PROTOCOLS bumped to 67, didn't get increased when devices where added.
* MAX_PROTOCOLS too small is now a fatal error, instead of segfault'ing later.
* Usage message: show which devices are disabled by default.
* Usage message: be more clear/consistent referring to device protocols vs
  RTL-SDR USB device numbers
* Update README.md to match current usage (help) message.
2016-09-18 14:34:59 -04:00
Karl Lattimer
f40a1f8409 Added support for Kerui PIR sensor 2016-09-09 20:22:29 +01:00
Benjamin Larsson
2a377b3f18 Merge pull request #421 from enavarro222/ASK
Add RadioHead ASK device
2016-09-09 10:38:46 +02:00
Benjamin Larsson
e1dd12081b Fix MAX_PROTOCOLS when enabling all devices 2016-09-04 11:39:49 +02:00
Emmanuel N
e5736fd857 Add RadioHead ASK device 2016-09-02 14:46:50 +02:00
Benjamin Larsson
0fb4dec498 Add support for another Fine Offset sensor 2016-08-27 15:31:45 +02:00
ukshady
e48e335691 Added Honda Remote decoder. 2016-07-31 21:35:21 +00:00
Adrian Stevenson
a8f1639e01 efergy_optical with CRC checks (#400)
* Updated README for new efergy_optical sensor and missing recent devices.

* Added support for efergy_optical.c with crc checksum calculation.
whilst the code does validate the checksum it does not reject data based on invalid checksum.
New library added for checksum calculations.

* Changed code to output results on a good checksum.

* Added header file for lib_crc to include directory

* Updated README for new efergy_optical sensor and missing recent devices.

Added support for efergy_optical.c with crc checksum calculation.
whilst the code does validate the checksum it does not reject data based on invalid checksum.
New library added for checksum calculations.

Changed code to output results on a good checksum.

Added header file for lib_crc to include directory

* Changed CRC calculation to use new function in util.h
no longer using lib_crc

* added file output support and changed energy to power.
only output crc values when using -D argument.

* Only output crc when using -D argument

* I have kept the crc calculation to be the first 10 bytes. Bytes 11 and 12 are the CRC16_CCITT.
The only puzzle left is why does the last byte does as it sometimes change to 80.

Byte Count        1   2   3   4   5   6   7   8   9  10  11   12   13
Bytes Array      [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
       [00] {97}  0a  a2  ba 40  00  00  00  00  07  0f  d5   5d   00

Calculated crc is 0xD55D
Received csum1 is 0xD55D

* Efergy Optical device added.
Multiple changes to combine several files into one commit.

* Removing lib_crc files
2016-07-30 21:36:06 +02:00
Benjamin Larsson
1473dbf517 Add CRC16-CCITT function 2016-07-30 00:16:28 +02:00
Fabian Zaremba
48312e0424 Add initial Elro DB286A support (#398)
* Add initial Elro DB286A support

* Correct line removal

* Declare variables at beginning of block

* Use preprocessor define for constants

* Change 'id' field name to 'code'

* Move check for bitrow length below variable declarations

* Export compare_rows and count_repeats functions

* Use PWM_RAW with appropriate limits to separate messages
Makes it possible to use bitrows directly to check signal,
also to generate hex code instead of binary string

* Correct stray line removal

* Correct file header, add copyright notice

* Move check in front of code generation
2016-07-12 23:31:13 +02:00
Benjamin Larsson
cf5b37de02 Add template decoder skeleton 2016-07-11 23:54:06 +02:00
vestom
fa3a5996b4 Add LightwaveRF initial driver (#394)
Only tested with gfile004_open.data from Kevin Elliot

Run with debug to see decoding steps in bitbuffer:
$./rtl_433 -r gfile004_open.data -D
2016-07-06 08:26:08 +02:00
Benjamin Larsson
87e6c32caf Add initial Schrader TPMS decoder 2016-07-05 00:25:02 +02:00
Benjamin Larsson
facfc4776b Add FSK_PULSE_MANCHESTER_ZEROBIT 2016-07-03 20:34:25 +02:00
johnjore
fcc6cc2ee9 added support for blyss dc5-uk-wh (#391) 2016-06-26 18:49:51 +02:00
nebulous
5c7d33641d Add support for Kedsum Temperature/Humidity sensor (#389)
http://amzn.to/1Y3DHb6
2016-06-06 23:03:11 +02:00
András
2774bcf5f5 add TFA pool thermometer support (#386)
* add TFA pool thermometer support

* DECL to the end
2016-05-28 19:47:21 +02:00
Karl Heinz Kremer
a203075ca3 Acurite 606TX Sensor Support (#382)
* Added support for the Acurite 606TX (temperature only) sensor.

* Added support for the Acurite 606TX (temperature only) sensor.

* Change sensor name. Update fork and fix merge conflicts.

* Merge fixes.
2016-05-24 08:37:42 +02:00
Matt Panaro
ba200731b1 introduce functionality to decode the Oregon Scientific SL109H Remote Thermal Hygro Sensor (#368) 2016-05-20 15:23:36 +02:00
ygator
579187cf79 New Springfield Temperature and Soil Moisture decoding (#378) 2016-05-19 22:22:40 +02:00
Christian W. Zuckschwerdt
ddbe2f750a Adding support for the Bresser 3CH type sensor 2016-03-28 09:33:39 +02:00
somesortoferror
e96e1e8dfc Merge remote-tracking branch 'upstream/master' 2016-03-24 15:33:15 +00:00
Ask Jakobsen
a77c24c8d4 Support for Proove 2016-03-23 10:39:54 +01:00
YGator
aca1569a65 Oregon Scientific V1 Decoding
Oregon Scientific V1 Decoding

Oregon Scientific V1 Decoding
2016-03-17 18:56:36 -04:00
somesortoferror
117dd593e4 Merge remote-tracking branch 'upstream/master' 2016-03-17 20:26:33 +00:00
Christian W. Zuckschwerdt
3c4c28a09c fix: change doc comments from "samples" to "us" 2016-03-12 10:20:13 +01:00
kajksa
42f877b8ff Support for Quhwa doorbell 2016-03-07 22:38:13 +01:00
LennertW
b69b5a9ef5 Added Akhan 100F14 RKE system 2016-02-29 14:00:03 +01:00
Martin Hauke
d2fe3a07cf Add support for Conrad S3318P 2016-02-09 00:34:22 +01:00
igorok107
d7a73d545e Correction data types in bitbuffer_find_repeated_row() 2016-02-07 21:37:29 +03:00
Benjamin Larsson
17c90be3c7 Merge pull request #287 from ovrheat/master
Added support for Fine Offset WH1080 weather station. Merged with Digitech XC0348
2016-02-05 18:44:10 +01:00
Benjamin Larsson
61b19cdf52 Merge pull request #288 from igorok107/master
Add remote control on chip HT680
2016-02-05 18:42:29 +01:00
Christian W. Zuckschwerdt
913b51a415 adding a bitbuffer_find_repeated_row() with examples how it simplifies device code 2016-02-04 19:15:46 +01:00
igorok107
8fe86df258 Add remote control on chip HT680 2016-02-02 19:04:32 +03:00
ovrheat
95027fb2d0 Added support for Fine Offset WH1080 weather station. Merged with Digitech XC0348 (a rebranded WH1080). 2016-02-02 13:39:21 +01:00
somesortoferror
960f0459ad use uintptr_t instead of unsigned long - fixes build error on win64 2016-01-24 19:05:31 +00:00
Tommy Vestermark
56ebc1cb4d Pulse analyzer: Print OOK carrier frequency 2016-01-23 18:28:32 +01:00
Tommy Vestermark
c7e81ca716 Pulse analyzer: Print FSK frequencies 2016-01-23 18:07:20 +01:00
Tommy Vestermark
ff56d009a5 Pulse analyzer: Print absolute timing 2016-01-23 18:06:33 +01:00
Benjamin Larsson
22330d87f0 Merge pull request #272 from vestom/upstream
Pulse detect: Suppress spurious short gaps
2016-01-23 16:29:03 +01:00
Tommy Vestermark
7e82322ff8 Pulse detect: Minor renaming for consistency 2016-01-23 14:48:32 +01:00
David Woodhouse
a7b60db353 Change bit limits in r_device structure to float too
Oops, missed this. In order to decode tests/emontx/01/gfile001.data we do
*really* need emonTx to be able to give the 20.3µs bit period precisely.
2016-01-22 15:37:55 +00:00
David Woodhouse
0df00e0fa4 Add crc16() function 2016-01-22 13:14:09 +00:00
David Woodhouse
4be45997fc Add bitbuffer_extract_bytes() function for accessing unaligned data 2016-01-22 13:13:57 +00:00
Benjamin Larsson
412fe2e6a5 Merge pull request #268 from vestom/experimental
FSK demodulator rewritten
2016-01-22 13:54:45 +01:00
David Woodhouse
9afca9da90 Switch protocol decoder limits to µs instead of "samples at 250000Hz"
Strictly no intentional functional change here. So this patch includes
things like (in ec3k.c):
-       .short_limit    = 12,   // NRZ decoding (it apparently 12.5 which is a problem!!)
+       .short_limit    = 48,   // NRZ decoding (should be 50µs)

These *will* be changed to what the driver presumably intended, but in
separate bisectable commits.
2016-01-22 10:54:10 +00:00
David Woodhouse
a06fb730f9 Convert decoder limits to float instead of int, to allow more precision
The (about to be submitted) emonTx decoder really needs to be allowed to
specify a limit of 20.3µs, and neither '50 samples' (20µs) nor
'51 samples' (24µs) will suffice.
2016-01-22 10:13:23 +00:00
Tommy Vestermark
b692da8a35 bitbuffer: Add function to invert bits 2016-01-21 00:03:43 +01:00