magellannh / rtl-wx

RTL-Wx logs data from 433Mhz wireless sensors using an RTL-SDR dongle. The Wiki has some screenshots of the results
GNU General Public License v2.0
21 stars 7 forks source link

RTL-Wx collects 433Mhz wireless sensor data using a low cost USB RTL-SDR dongle. The project is ready to run with a compatible Raspberry Pi or Netgear R7000 setup using supported Oregon Scientific temperature sensors and Efergy or Owl electricity sensors.

To install the software, please see hardware specific instructions in rtl-wx/doc.

This project includes some code from the rtl_433 project (from rtl_433.c with heavy mods):

It depends on the following projects:

The example web page (www/rtl-wx.htm) uses the HighStock charting library, which requires a paid license for commercial use. The example web page also uses the JustGage library which is licensed under the MIT license. See http://www.highcharts.com and http://www.JustGage.com for more information.

Tested Hardware setups 1) Raspberry Pi

2) Netgear R7000 w/DD-WRT

Tested with these Oregon Scientific 433Mhz sensors

Multiple OS sensor models use the same sensor ids and message format, so some sensors not listed here may also work. For example the THGR122N and THGN123N seem to use the same sensor id and layout as the THGR268 (id 0x1d20). The code almost supports the WMR968 wind gauge, but since mine is broken, more work is needed. To add support for new sensors, change code in appropriate low level Oregon Scientific v2.1 and v3 protocol parsing routine in src/rtl-433.c and in message decode logic in src/rtl-wx.c.

If you don't need to make source changes, you can use the pre-built binaries in rtl-wx/bin/. Again, see the platform specific install instructions for details.

Installation steps for other platforms depend on whether the platform has a native C compiler installed, or whether it requires a cross compilation environment. The DD-WRT instructions offer an example for cross compiled environments, while the Raspberry Pi instructions offer an example of a native compile enviroment.

Building from source requires source code from the librtlsdr project, which should be placed in rtl-wx/src/librtlsdr. See http://sdr.osmocom.org/trac/wiki/rtl-sdr and get code from: https://github.com/steve-m/librtlsdr/releases (Tested with v0.5.3 from Feb 6, 2014). The target specific instructions list the target specific steps needed to build librtlsdr. The rtl-wx Makefile links librtlsdr as a static library, so this library must be built before rtl-wx can be build.