From 0974559e3c6012497468fa77c6f2f3eadf7b7b39e0e59ddd654a43a25b029686 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 15 Apr 2017 07:42:11 +0000 Subject: [PATCH] Accepting request 488024 from home:mnhauke:sdr-devel initial package for rtl_433 OBS-URL: https://build.opensuse.org/request/show/488024 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl_433?expand=0&rev=1 --- .gitattributes | 23 ++ .gitignore | 1 + _service | 16 + _servicedata | 4 + rtl_433-0.0.1+git.20170409.tar.xz | 3 + rtl_433-disable-test.diff | 13 + rtl_433.changes | 482 ++++++++++++++++++++++++++++++ rtl_433.spec | 57 ++++ 8 files changed, 599 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 rtl_433-0.0.1+git.20170409.tar.xz create mode 100644 rtl_433-disable-test.diff create mode 100644 rtl_433.changes create mode 100644 rtl_433.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..8779f07 --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://github.com/merbanan/rtl_433.git + master + git + enable + rtl_433 + 0.0.1+git.%cd + + + *.tar + xz + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..739f2ce --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/merbanan/rtl_433.git + 7dc8fa64422e6497c78c7e6f08362baf7ca64c53 \ No newline at end of file diff --git a/rtl_433-0.0.1+git.20170409.tar.xz b/rtl_433-0.0.1+git.20170409.tar.xz new file mode 100644 index 0000000..6d51acb --- /dev/null +++ b/rtl_433-0.0.1+git.20170409.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4d81d1f19a036d1c3cebd0a60ddc0843607d217dff696e19b17388e36e49340 +size 144596 diff --git a/rtl_433-disable-test.diff b/rtl_433-disable-test.diff new file mode 100644 index 0000000..ec47873 --- /dev/null +++ b/rtl_433-disable-test.diff @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6376b88..62a8991 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -71,7 +71,7 @@ add_custom_target(uninstall + ######################################################################## + add_subdirectory(include) + add_subdirectory(src) +-add_subdirectory(tests) ++#add_subdirectory(tests) + + # use space-separation format for the pc file + STRING(REPLACE ";" " " RTL433_PC_CFLAGS "${RTL433_PC_CFLAGS}") diff --git a/rtl_433.changes b/rtl_433.changes new file mode 100644 index 0000000..9aa8ddf --- /dev/null +++ b/rtl_433.changes @@ -0,0 +1,482 @@ +------------------------------------------------------------------- +Thu Apr 13 19:22:51 UTC 2017 - mardnh@gmx.de + +- Update to version 0.0.1+git.20170409: + * Include humidity field in CSV format for TX29DHT temperature and humidity sensor. (#486) + * Fix parse error on ARM compiling with GCC due to lack of parens. (#490) + * Don't convert channel 4 to 3 for the sensor Oregon THGR810 (#489) + * Fine Offset W25 Temperature/Humidity/Pressure sensor (#492) + * Device for cheap probes where the PCB is marked WG-PB12V1. + * Revert "Update pulse_detect.c" (#493) + * MQTT: Add example to README and Python test client (#495) + * Pulse Analyzer: Add 'Include only' mode (#497) + * Fine Offset WH0530: Add new device + * DSC: Make less noisy + * pulse_demod: Make pwm_precise resilient to short spurious pulses + * Acurite 6045, correct temperature decoding * Reduce Msg Type (status bits) to 2 remaining bits. * Remove possible lightning stats/flag bits from distance * output lightning status/flag bits separately for now * Understanding of status/message type bits still a WIP. + * Acurite 06045 add docs, refactor decode out of txr_callback + * acurite 6045, remove unnecessary variable + * Added code for differing impules to KWH values + * LaCrosse TX6/7 cleanup + * LaCrosse TX6/7 reindent with consistent 4 column spacing + * Fix #503 + * Update util.c + * Pull Request Changes --- + * FineOffset_WH25: Add debug printout + * FineOffset_WH25: Correct decoding of Temperature and ID + * FineOffset_WH0530: Fix bug in ID decode + * FineOffset_WH25: Additional bitsum check + minor fixes + * ELV WS2000: Make it somewhat work... + * Corrected conflict in MAX_PROTOCOLS. + * erroneous entry in src/Makefile.am + +------------------------------------------------------------------- +Thu Feb 02 10:42:51 UTC 2017 - mardnh@gmx.de + +- Update to version 0.0.1.git1486029687.074cc2f: + * Reverse some more stray changes + * Ensure analyzer works with auto level as default + * Various documentation fixes for auto level + * Acurite 6045 lightning prelim. and 609 cleanup. + * WH1050 weather station based on WH1080 module. + * Honeywell/Ademco Door/Window Security Sensor driver + * Honeywell/Ademco Door/Window Security Sensor driver + * Honeywell/Ademco Door/Window Security Sensor driver + * Honeywell/Ademco Door/Window Security Sensor driver + * Honeywell/Ademco Door/Window Security Sensor driver + * Honeywell/Ademco Door/Window Security Sensor driver + * Honeywell/Ademco Door/Window Security Sensor driver + * Honeywell/Ademco Door/Window Security Sensor driver + * added json/kv capbilities to Acurite tower sensor + * added battery status as OK or LOW + * fixes for upstream + * fix indent + * Update README.md + * Added more installation step detail and troubleshooting section. + * Correct negative temperatures + * Danfoss CFR: Initial decoding attempt + * Danfoss: Output data correctly + * Danfoss: Enable driver by default + * Danfoss: Add proper header search and make decoding byte based + * Danfoss: Add CRC check. Remove raw printout. + * Danfoss: Reverse engineered unknown nibble :-) + * Danfoss: Minor cleanup and fix debug print + * add maverick et73x BBQ sensor + * Add crc json tag and cvs output + * Add crc json tag + * Update brennstuhl_rcs_2044.c + * Spelling correction (protcols -> protocols) + * Improved hideki.c to detect data from the wind/temperature and the rain sensor. Changed pulse_demod_clock_bits to allow a missing short gap at the end of the message which is needed for the new sensor types. + * Increase number of protocols to 70 + * Update pulse_detect.c + * Update acurite.c + * Segfault on Owl CM160 + * Added support for RF-tech 433 remote temperature sensor. + * Add rftech.c to Makefile.am to support configure/automake. + * Added support for LaCrosse temperature/humidity sensor TX141TH-Bv2 + * Minor cosmetic changes + * Implemented recent changes suggested by @merbanan. + * move to new internal data format on acurite5n1 + * remove old acurite5n1 decoder, now uses acurite_txr + * normalize temperature key + * acurite5n1 battery status + * correct acurite5n1 wind speed formula + * add raw msg debug output for acurite5n1 + * acurite5n1: fix battery status + * Stop akhan-100F14 catching things that don't belong to it + * Add missing return 1. + * don't mess up device ordering + * remove old, incorrect wind direction mapping + * output raw rain counter values, use define for msg type + * move all units to native customary/US + * remove another unused function + * Removed signal quality output + * acurite 5n1: output message sequence number + * Add protocol definition for oregon scientific THN129 temp only sensor. (#469) + * Support for Acurite 00275rm and 00276rm sensors (#467) + * Fixed bug in CM160 (#474) + * devices: mebus: Use data API for results (#475) + * identify F007TH with both 0000000000010100 and 1111111111010100 (#481) + * Add support for BTHGN129 (#483) + * LaCrosse TX29-IT / TX35DTH-IT weather sensor (#479) + * fix typo error (#484) + * WH1050 weather station - remove unused fields from csv format. (#485) + +------------------------------------------------------------------- +Mon Sep 19 18:13:46 UTC 2016 - mardnh@gmx.de + +- Update to version 0.0.1.git1474227546.2d7072a: + * Adding support for the Bresser 3CH type sensor + * Disable acurite rain gauge due to false positive with oregon scientific v1 + * add -T option to set run duration + * Fixed generic_remote to utilized data_acquired_handler to support json output. Not perfectly indented, but works. + * use binary mode to open file - fixes decoding on windows + * Improved datetime/weather signal type detection. + * Fix incorrect handling of negative temperatures in ambient_weather.c (#376) + * missing backtick in readme.md, now in LF (#361) + * New Springfield Temperature and Soil Moisture decoding (#378) + * introduce functionality to decode the Oregon Scientific SL109H Remote Thermal Hygro Sensor (#368) + * Added data output (for json/csv/etc.) (#380) + * Acurite 606TX Sensor Support (#382) + * Cleanup of Acurite 606TX code that should have been done before (#383) + * add TFA pool thermometer support (#386) + * Enabled low battery detection on FineOffset WH1080 (#387) + * Add support for Kedsum Temperature/Humidity sensor (#389) + * added support for blyss dc5-uk-wh (#391) + * Add FSK_PULSE_MANCHESTER_ZEROBIT + * Add initial Schrader TPMS decoder + * Better Schraeder TPMS payload meaning + * Add Schreader TPMS crc calculation + * Add LightwaveRF initial driver (#394) + * Added Steelmate TPMS support (#396) + * Fix json output and minor rearrangement of code + * Add template decoder skeleton + * Add initial Elro DB286A support (#398) + * Elro DB286A: Correct id_string array length (#399) + * Updated README for new efergy_optical sensor and missing recent devices. + * Add CRC16-CCITT function + * Change to new output system + * Add brand parameter to data output format + * Add sensor WGR968 parser support + * Add Handling of error packet format + * Smell and Fix some bad code + * 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. + * Efergy Optical device added. Multiple changes to combine several files into one commit. + * Removing lib_crc files + * efergy_optical with CRC checks (#400) + * Honda Key Remote + * formatting changes + * Fix review errors,using Kdiff3 to compare the code + * Fix build + * Honda remote key fob, decodes which button has been pressed. + * Honda Keyfob changes + * Added Honda Remote decoder. + * Added Honda Remote + * Fixed to include Honda remote any my deletion of the README.md when trying to fix git conflicts. + * Changed author name at the top of the file, removed fprintf that was not behind if debug statement. Added a validater to check that number of bits are 386. + * Changed and fixed validation code to suit varying bits per row. Lock command has 394 bits whereas other commands only has 386 bits per row. (#405) + * Add THN802 and PCR800a to oregonscientific.c (#410) + * unbreak the build (#411) + * add battery status (low or ok) to F007TH ambient weather devices (#414) + * Add support for another Fine Offset sensor + * Convert Acurite "TH" (609TXC) to use data_make * Existing Acurite "TH" sensor now labeled as 609TXC * Use data_make() for JSON, CSV, KV output * minor code cleanup/reorg + * Add RadioHead ASK device + * Add option to register all devices + * Fix MAX_PROTOCOLS when enabling all devices + * acurite: disable all old api devices by default + * ambient_weather: fprintf cleanup + * brennstuhl_rcs_2044: disable all old api devices by default + * cardin: disable all old api devices by default + * danfoss: disable all old api devices by default + * dsc: disable all old api devices by default + * ec3k: disable all old api devices by default + * efergy_e2_classic: disable all old api devices by default + * elv: disable all old api devices by default + * gt_wt_02: disable all old api devices by default + * inovalley-kw9015b: disable all old api devices by default + * intertechno: disable all old api devices by default + * lacrosse: fprintf cleanup + * lacrossews: fprintf cleanup + * lightwave_rf: disable all old api devices by default + * mebus: disable all old api devices by default + * new_template: fprintf cleanup + * silvercrest: disable all old api devices by default + * steffen: disable all old api devices by default + * valeo: disable all old api devices by default + * x10_rf: disable all old api devices by default + * Use built in CRC functions + * Fix indent (RH ASK) + * Declare variables at the begining (RH ASK) + * Add CRC=OK (see #416) & fix syntax error (RH ASK) + * Fix debug output (RH ASK) + * fprintf fixup + * Add device debug output + * Added support for Kerui PIR sensor + * Fixes + * Cleanup related to devices disabled by default. + * new_template rework + * Make auto level limit the default + +------------------------------------------------------------------- +Sun Mar 27 19:58:00 UTC 2016 - mardnh@gmx.de + +- Update to version 0.0.1.git1459106482.900fca7: + + use uintptr_t instead of unsigned long - fixes build error on win64 + + fix: change doc comments from "samples" to "us" + + clean up casts regarding C Integer Promotions + + Oregon Scientific V1 Decoding + + add -U option to print timestamps in UTC + + Support for Proove + + Adjust pulse_tolerance to get all sensors to work + + Update calibeur rf104 to new data api + + add missing usage documentation for -n parameter: number of samples to read before quitting + + add -T option to set run duration + + Prevent crash when no output file is given with `-S` + + Fineoffset: Fix key/value printout + + pulse_analyzer: Add PCM detection + + Revert "add -T option to set run duration" + + Calibeur: Fix key/value printout + + pulse_demod_osv1: Only print preamble info when debugging + + Fix https://github.com/merbanan/rtl_433/issues/347 + + use uintptr_t instead of unsigned long for the remaining devices + + mingw32 does not have setenv + + Remove spurious execute permission from README.md + +------------------------------------------------------------------- +Fri Mar 11 11:52:30 UTC 2016 - mardnh@gmx.de + +- Update to version 0.0.1.git1457694384.7ab14a4: + + Added support for Fine Offset WH1080 weather station. Merging with Digitech XC0348 (it's a rebranded WH1080). + + Adding support for Fine Offset WH1080. + + Update fineoffset_wh1080.c + + Added support for Fine Offset WH1080 + + Add remote control on chip HT680 + + Rethinking algorithm + + fix decoders for WGR800 & THGR810 add decoder for PCR800 + + adding a bitbuffer_find_repeated_row() with examples how it simplifies device code + + code cleanup + + starting to migrate to data_make + + only try the crc if the packet would match + + adding battery indicator for Nexus + + add labels for ambient_weather.c to match oregon_scientific.c printout + + Update README.md + + Added tristate coding. + + Correction data types in bitbuffer_find_repeated_row() + + new feature: allow multiple outputs (WIP) + + Decode device id from current_cost, and support more devices + + Add support for Conrad S3318P + + s3318p: use native temperature format + + Add support for Conrad S3318P + + also switch the labels on output conversion + + Spurious output for debug mode + + Remove some compiler warnings + + fix wind direction nibble extract for WGR800 + + Remove some compiler warnings + + Remove some compiler warnings + + fix off-by-one and make the null explicit + + LaCrosse WS-2310 json output + + Fixed WS-2310 json gust_speed to gust_speed_ms + + Fix some memory leaks + + TFA Twin Plus 30.3049 json support + + Output less decimal places to get rid of bogus digits + + Update fineoffset_wh1080.c + + Switched to new data API + + Update generic_temperature_sensor.c + + KlikAanKlikUit json support + + Added data labels for KlikAanKlikUit output + + Added Akhan 100F14 RKE system + + Updated akhan_100F14 message passing + + Update CM180 Energy Sensor code - Add Checksum and new output system format + + Many sensor required a larger pulse tolerance + + Add Quhwa doorbell support + + Clearer code + + Add support for Quhwa doorbell + + Support for Quhwa doorbell + + data_make output for chuango + + Update device support + + add missing quhwa.c reference + +------------------------------------------------------------------- +Thu Feb 04 11:09:38 UTC 2016 - mardnh@gmx.de + +- Update to version 0.0.0.git1454367220.e7bc33d: + + Auto level: Increase sensitivity to low signals + + FSK: Change FM demodulation to use integer atan2() + + Pulse_detect: Increase maximum number of pulses + + FSK: refactor FSK into own function for sanity + + Auto level: Make OOK level estimators a bit slower + + add a converter for cf32 (gnuradio output format) + + Convert Alecto to Pulse decoder + + Convert Inovalley to Pulse decoder + + Convert Nexus to Pulse decoder + + Convert Generic temperature sensor to Pulse decoder + + Convert Steffen to Pulse decoder + + Convert Mebus to Pulse decoder + + Convert Intertechno to Pulse Decoder + + Convert Newkaku / KlikAanKlikUit to Pulse decoder + + Convert Acurite to Pulse decoder + + Convert ELV to Pulse decoder + + Remove last sample based decoder OOK_PWM_D + + Remove OOK_PWM_D: Clean-up header + + Fix: Segmentation Fault in cf32 file support + + Update Wiki with new options + + only treat samples as cf32 when mode==3 + + minor changes to support (cross-)compilation with MinGW + + newkaku: support APA3-1500R + + remove superfluous prototype + + fix loop syntax + + ignore buffers of all zeros. + + rewrite LaCrosse TX output to data fields + + adding data_make for humidity + + typo + + fix: broken bit operation + + Make quiet mode output at least test file name + + FSK: Change to F1/F2 estimation instead of F1/Fdelta + + emonTx: Add stub driver + + FSK: Increase initial frequency threshold + + Change pulse data from unsigned to int to avoid undefined behaviour + + fix limits for decoder + + [xc0348] Add CRC validation + + [xc0348] Don't filter on device id + + [xc0348] Fix temperature (top nibble doesn't belong) + + Include stdio for FILE + + [xc0348] Add json output + + [xc0348] Add csv fields + + FSK: Fix data is not cleared at End Of Package + + FSK: Fix for handling pulse overflow correctly + + new command line option `-C native|si|customary` that hooks into `data_acquired_handler` and if `si` and type is DATA_DOUBLE and key is temperature_C then celsius2fahrenheit, if `customary` and type is DATA_DOUBLE and key is temperature_F then fahrenheit2celsius. Also if there is a FORMAT the last character "C" / "F" will be switched accordingly. + + Emontx: Correct for sample frequency of 2.5 MHz + + FSK: Rework to make pulse polarity absolute (pulse = high frequency) + + bitbuffer: Add function to invert bits + + current_cost: Invert bits to compensate for absolute FSK + + FSK: correct comment + + FSK: Fix slow estimation at initial frequency + + Convert decoder limits to float instead of int, to allow more precision + + elv: Fix precision of bit limits + + rubicson: Fix precision of bit limits + + Switch protocol decoder limits to µs instead of "samples at 250000Hz" + + ec3k: Fix precision of bit limits + + valeo: Fix precision of bit limits + + dsc: Fix precision of bit limits + + current_cost: Fix precision of bit limits + + Add bitbuffer_extract_bytes() function for accessing unaligned data + + Add crc16() function + + Finish implementing emontx driver + + Change bit limits in r_device structure to float too + + Pulse detect: Make low level (noise) estimator even slower + + Pulse detect: supress spurious short gaps + + Pulse detect: Minor renaming for consistency + + Pulse analyzer: Print absolute timing + + Pulse analyzer: Print FSK frequencies + + Pulse analyzer: Print OOK carrier frequency + + Migrate fineoffset to new data format and add support for TFA 30.3157 Temperature sensor + + Fix building with autotools + + Migrate nexus to new data format and add support for Technoline TX 9116 Temperature sensor + + fineoffset: fix typo (unbreak humidity sensor) + + fix: missing NULL terminator + + fix: use fabsf() instead of abs() + + emontx: Increase size of words[] array for endianness conversion + + alecto: only accept 36 bit packets + + rubicson: only accept 36 bit packets + + oil_watchman: Return events count + + emontx: Return events count + + rubicson: switch to new data api + + change output of -F kv to resemble the custom fprintf output of the decoders +- add patch rtl_433-disable-test.diff to disable build-time-tests for now + +------------------------------------------------------------------- +Sun Jan 03 22:29:55 UTC 2016 - mardnh@gmx.de + +- Update to version 0.0.0.git1450346637.879b467: + + Add support for new demodulation + + Add support for WT450 devices + + Fix automake builds Update source file list and set compiler in C99 mode + + rubicson: implement crc and other parameters + + nexus: clean up the nexus protocol + + WT450: Better packet detection, battery indicator + + WT450: Add missing the supported device label in README file. + + New Lacrosse Weather Station Decoding + + Added Esperanza EWS + + LaCrosse Weather Station WS-2310TWC changes + + Updated decoding of Lacrosse Weather Station + + DSC Security Contact added CRC-8 calc/check * Added "little-endian" CRC-8 calculation * Moved reverse8() to util.c * Quieted WT450 callback false positive messages + + Updated crc8 to take initial CRC value as a parameter + + Read data from stdin with '-' + + Added quiet mode (-q) to suppress non-data related messages + + Lacrosse Weather Station Decoding cleanup + + Added missing wt450.c for autoconf compile + + Minor documentation update + + Include the last sample when saving samples between filter runs + + Share memory between fm buffer and temporary buffer + + Add support for Efergy e2 classic + + Remove unused command line argument 'c' (used to be decimation level) + + Only allocate synchronous read buffer if synchronous reads are used + + WT450: Fix parity computation, error messages only in debug mode + + add Inovalley kw9015b rain and temperature weather station + + add new noname wireless wheather station + + fix makefile.am + + change r_device->name from ""KW9015B Transmitter" to "Inovalley kw9015b rain and Temperature weather station" + + rename source / callback generic_temperature_sensor + + rename r_device->name from "RF Wireless Temp Transmitter" to "Generic temperature sensor 1" + + Acurite 592TXR Temperature/Humidity Sensor + + Acurite 592TXR Temperature/Humidity Sensor + + Updated README.md with new device numbers + + Acurite 986 Refrig/Freezer Temp initial support + + Acurite 986, add CRC check, fix negative values + + Acurite 986 low battery detection + + Inovalley kw9015b : fix negative temperature + + General structural data support for generating (ie.) JSON + + Generic temperature sensor 1 : fix negative temperature + + Add support for RTGN318 + + Correct indentation + + data: provide a key-value-printer + + data: added formatting support + + rtl_433: added JSON support + + wt450: use JSON output instead of fprintf + + data: introduce auxiliary data as an argument + + data: only format key-value-format, not JSON + + data: added CSV support + + rtl_433: added CSV support. Requires driver support. + + wt450: added CSV support (provide .fields) + + waveman: added structured data support + + Fix compilation with autotools + + util: Make comment consistent + + util: Fix mismatched comment + + ambient: Migrate to using common method for output + + Updated README.md + + Migrate "prologue" to new output handler + + Prevent data files from being overwritten + + README.md documentation updates + + README.md space to fab fix for consitency * fix table markdown typo + + waveman: added missing comma to fix CSV output + + data: fixed the filtering of CSV fields + + Convert Waveman to pulse decoder + + Changed acurite 5n1 to use pulse demodulator + + Convert Silvercrest to use pulse demodulator + + Remove pwm_p_decode() and OOK_PWM_P + + Convert from GNU to C99 syntax + + Update alecto driver to new "data" format + + Update oregon_scientific driver to new "data" + + Fix indentation + + Fix missing comma + + Add Hideki TS04 sensors + + Support framed FSK Manchester decoding compatible with Si4320/RFM01 + + Add Watchman Sonic ultrasonic oil tank monitor + + Add heuristic for detecting RFM01-framed FSK + + hideki: Remove overzealous warning about invalid parity + + Add bitbuffer_search() and bitbuffer_manchester_decode() functions + + Convert oil_watchman to bitbuffer_search() + bitbuffer_manchester_decode() + + Revert "Support framed FSK Manchester decoding compatible with Si4320/RFM01" + + Add Watchman to readme + + Add CurrentCost TX device + + Fix indent + TODO (minor for CurrentCost sensor) + + Fix negatif temp value for Hideki TS04 + + Use constant to define and check OS (v2) sensor_id + + Fix channel error with some OS devices + + Do not require first byte of Watchman packets to be 0x28 + + Update Readme.md + + Sync usage messages and README.md + + README improvements, added typical command line * rtl_433: better description of ppm error option + + Added -W to overwrite files + + Added -W to README.md + + Auto level - initial implementation + + Auto level - suppress spurious initial pulses + + FSK spurious short pulse suppression + + Auto level - print level in analyzer + + Fix to read complete file + + Pass 0 into local_time_str() for current time instead of using time() + + When reading sample files, make local_time_str() show offset not time of day + + Add temperature output in °C to Watchman decode + + Auto level - minor fixes + + Improve comment about level estimates + + Fix automake build + + Sort source file lists in CMakeLists.txt and Makefile.am + +------------------------------------------------------------------- +Sun Sep 27 18:08:03 UTC 2015 - mardnh@gmx.de + +- initial package + diff --git a/rtl_433.spec b/rtl_433.spec new file mode 100644 index 0000000..c6996dc --- /dev/null +++ b/rtl_433.spec @@ -0,0 +1,57 @@ +# +# spec file for package rtl_433 +# +# Copyright (c) 2017, Martin Hauke +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define version_unconverted 0.0.1+git.20170409 + +Name: rtl_433 +Version: 0.0.1+git.20170409 +Release: 0 +Summary: Turns RTL2832 dongle into a 433.92MHz generic data receiver +License: GPL-2.0 +Group: Productivity/Hamradio/Other +Url: https://github.com/merbanan/rtl_433.git +Source: %{name}-%{version}.tar.xz +Patch0: rtl_433-disable-test.diff +BuildRequires: cmake +BuildRequires: pkg-config +BuildRequires: pkgconfig(librtlsdr) +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +An application using librtlsdr to decode the temperature from +wireless temperature sensors (433.92MHz) + +%prep +%setup -q +%patch0 -p1 + +%build +%cmake +make VERBOSE=1 #%{?_smp_mflags} + +%install +%cmake_install + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING README.md +%{_bindir}/rtl_433 +%{_includedir}/rtl_433.h +%{_includedir}/rtl_433_devices.h + +%changelog