Commit Graph

1927 Commits

Author SHA1 Message Date
Gisle Vanem
814d3293a7 More MSVC fixes (#754)
Use the new '#define RTL_433_NO_VLAs' for MSVC.
And MSVC have no <unistd.h> either.
2018-06-30 20:17:05 +02:00
Gisle Vanem
f997c5efd1 [MSVC] patch include/data.h (#753)
The rationale behind these patches are pretty much in the source comments. MSVC issues with:
*) "Variable Length Arrays"
*) 'restrict` keyword. 
*) And '<strings.h>'.
2018-06-30 17:48:43 +02:00
Gisle Vanem
6f4d9756be Include <stdlib.h> (#752)
This is a simple fix for MSVC where I get this warning:

stdlib.h(1300): warning C4005: 'max': macro redefinition
RTL_433\include\util.h(20): note: see previous definition of 'max'
stdlib.h(1301): warning C4005: 'min': macro redefinition
RTL_433\include\util.h(23): note: see previous definition of 'min'
2018-06-30 17:42:42 +02:00
Nik
3af2b4af1b Add support for Oregon Scientific UVR128 UV sensor (#738) 2018-06-09 08:28:45 +02:00
Christian W. Zuckschwerdt
98aabacc24 Update code style for RadioHead 2018-06-03 20:48:18 +02:00
rct
5dfadac93a DSC Sensors break out status bits 2018-06-03 10:03:04 +02:00
Benjamin Larsson
fc1195cc96 acurite_986: fix temperature type to enable conversion feature to work 2018-06-03 10:01:12 +02:00
rct
602fbc0421 Acurite cosmetics fixes
Some cosmetic fixes pointed out by GDT

- missed battery low change in verbose field.
- Note: since sensor_id isn't outputting hex as intended:
  - 5-n-1: change to int in order to keep it stable.
  - tower: id and sensor_id are currently redundant, left sensor_id as "hex" for now as a test case.
2018-05-25 07:44:41 +02:00
rct
33e0cce947 Acurite TXR/6045 fixes
Note: this includes changes that might break parsers

- 6045 Lightning sensor:
  - ID is really 14 bits not 12.  (IDs > 12 bits will change)
- TXR temperature/humidity sensor:
  - remove status field, (actually a fixed message type)
  - correct battery field label from "battery" to "battery_low",
2018-05-25 07:44:41 +02:00
Christian W. Zuckschwerdt
1390a93008 Indents 2018-05-24 16:54:58 +02:00
rct
401c3a9abf DSC data_make additions. (#730) 2018-05-24 09:05:07 +02:00
Greg Troxel
d6f5c282d0 Regularize and extend Acurite 6045M comments (#728)
Regularize the comemnts about the Acurite 6045M, in both formatting
and more importantly in listing bitmasks for every field, including
unknown fields.  While there is almost no semantic change, hoist the
current understanding of the "uknown strike status bit" from code to
also be in the comments.
2018-05-23 16:41:53 +02:00
Christian W. Zuckschwerdt
fcfd37f451 Convert DSC to structured data (#725) 2018-05-23 12:24:45 +02:00
Daniel
0c56c09eb1 Make intertechno decoder work with ITT-1500 (#694)
Extended short_limit and long_limit by 200 and 300 µs. Added 0x69 as a possible 0th message byte. Removed extraneous check bb[0][0] == 0
2018-05-21 14:08:52 +02:00
Christian W. Zuckschwerdt
ead85a2092 Add preamble option to flex decoder 2018-05-20 17:44:44 +02:00
Christian W. Zuckschwerdt
2a56042796 Add Pacific PMV-C210 TMPS support (#717) 2018-05-19 11:59:59 +02:00
Christian W. Zuckschwerdt
5c5b0bf2ca SimpliSafe style updates 2018-05-19 11:58:02 +02:00
uuacallis
332d615a9f SimpliSafe Sensor (#721) 2018-05-19 11:13:48 +02:00
Christian W. Zuckschwerdt
d01a1c6427 Add PiWM decoding (#724) 2018-05-19 11:12:02 +02:00
Christian W. Zuckschwerdt
5dce4f275b Touch up waveman code style, add missing time field 18.05 2018-05-02 14:17:33 +02:00
Christian W. Zuckschwerdt
5fbfe1ea73 Fix acurite raw_str termination 2018-05-01 15:31:52 +02:00
Christian W. Zuckschwerdt
11246199fc Add conversion hPA/inHG, kPa/PSI (#711)
* Add conversion hPA/inHG, kPa/PSI
* Minor style updates
2018-05-01 14:52:34 +02:00
Ryan Jarvis
8e8d5505be Fix typos/misspellings 2018-05-01 12:11:00 +02:00
rct
9d131edc86 Acurite 986 convert to JSON/data_make
* Add hack from my branch to work around missing bit
2018-04-23 16:33:17 +02:00
Chris
c557e210c6 Adjust alarm from 1 second to 3 second 2018-04-22 18:48:25 +02:00
rct
9e4c61f9be Acurite 06045M structured data (data_make) cleanup, decoding improvements. (#707)
* got data_make working with the 6045m
* Enabled the Acurite protocol now the 6045m uses data_make
* cleaned up sensor_id usage after looking at weewx-sdr
* Acurite 06045M structured (data_make) ID and Battery
* mlfreeman2's changes from mlfreeman2:data_make_6045
* Change sensor_id -> id, output as decimal int for consistency
* Fix ID definition, byte[2] is not part of the ID
* Currently assuming ID is 12 bits, byte[0] & 0x0f << 8 | byte[1]
* Add battery flag, using current convention for now.
* Update comments to more accurately reflect message contents.
* Acurite 06045M decoding of additional status bits.
* Added Active, RFI, and unknown strike status bit.
* Added raw message and exception flag as an aid for further analysis
2018-04-22 10:16:40 +02:00
Michael Freeman
7b8d7c75a0 Update acurite.c (#704)
only print lightning output in debug mode to avoid corrupting json
2018-04-16 13:17:52 +02:00
Christian W. Zuckschwerdt
4f3a679265 use actual max protocols 2018-04-01 12:45:28 +02:00
dtiller
1d954224dd Added decoder for Dish Network UHF Remote 6.3 (#700) 2018-04-01 12:44:33 +02:00
Christian W. Zuckschwerdt
51d275cd08 fix Interlogix; style 2018-02-23 07:42:26 +01:00
Christian W. Zuckschwerdt
d4dd87fdc1 fix bitbuffer_extract_bytes clipping unaligned bits 2018-02-23 07:17:52 +01:00
Brent Bailey
46bfb47162 Adding interlogix devices driver (#649) 2018-02-23 06:51:25 +01:00
Christian W. Zuckschwerdt
17fd0b396d fix short char buffer 2018-02-20 19:23:22 +01:00
Christian W. Zuckschwerdt
253ce21e03 add proper reset and gap limit to Quhwa; use repeated rows; add csv output; style update (#691) 2018-02-17 22:45:01 +01:00
Christian W. Zuckschwerdt
27d36c50ce calc stop_time late; better exit messages (#689) 2018-02-17 15:00:48 +01:00
Christian W. Zuckschwerdt
587f1fdcfb create flex dev adhoc and enable csv output (#688) 2018-02-16 17:05:49 +01:00
Christian W. Zuckschwerdt
4d6fe9f4c0 change array separator in csv to ";" otherwise RadioHead ASK output will break csv parsers (#687) 2018-02-16 16:16:28 +01:00
mzealey
d603052797 Add flex spec for Byron BY doorbells (#686) 2018-02-16 10:52:43 +01:00
rp3tya
312dc5296d New devices: Euroster 3000TX, Elro DB270 (#683) 2018-02-16 09:03:15 +01:00
Christian W. Zuckschwerdt
9a9e2165c5 fix flex options, add gap_limit for PWM 2018-02-13 18:31:08 +01:00
Richard Hartmann
fa79cf5e3e README.md: Add another Debian dependency (#680)
`autoreconf --install` will create a broken `configure` if pkg-config is not installed.
2018-02-12 13:36:26 +01:00
Richard Hartmann
b58c3273a4 README.md: Fix typo (#679) 2018-02-12 10:16:11 +01:00
Richard Hartmann
eb31912bf4 README.md: Add build tools to Debian command (#678) 2018-02-12 10:15:27 +01:00
Christian W. Zuckschwerdt
fddaab4e7a revert localtime_r to localtime for win32 2018-02-11 14:28:16 +01:00
Christian W. Zuckschwerdt
ad7799a790 disable syslog output on win32 2018-02-11 14:10:59 +01:00
Christian W. Zuckschwerdt
c1b1f3614c remove left over xc0348 device 2018-02-03 11:07:05 +01:00
Aaron Linville
71c2f92d86 Fix on_connect signature and topic subscriptions in MQTT examples. (#674)
Paho changed the signature of on_connect to require 4 arguments as
of v1.3.0 (https://github.com/eclipse/paho.mqtt.python/issues/197)

Remove the "/#" from the subscription since it wouldn't match the
example topic which didn't include anything after rtl_433.
2018-02-03 11:04:43 +01:00
Christian W. Zuckschwerdt
2ce3a94d30 refactor hostport_param 2018-01-29 18:27:43 +01:00
Christian W. Zuckschwerdt
d6e98deda4 refactor abuf 2018-01-29 11:37:00 +01:00
Christian W. Zuckschwerdt
74b8092240 allow ipv6 for syslog 2018-01-29 10:55:35 +01:00