Sniffing Oregon Scientific Weather Sensor Data

A few years ago I bought an Oregon Scientific wireless weather station.  It's a nice way to keep an eye on what's going on outside.  The unit supports up to 3 of these remote sensors (shown here), and aggregates it at a base station.  It doesn't have a computer interface, so while it displays nicely in the living room, I can't get access to that data.

Once upon a time I bought some 1-wire thermo sensors that I was going to wire that into my computer for data collection.  After the house was hit by lightning, I got far more gun shy about running conductive cables from the outside to a computer.

It occurred to me recently that there was good odds that someone must have figured out to sniff that wireless communication.  These aren't complicated devices, and Oregon Scientific seems to be letting different generations of sensors work with different generations of head units, implying that they have some pseudo standard protocol.  It would also solve my spark gap problem, as I could gather this data without any wires connected to the sensors.

After some googling I discovered that yes, these devices are operating in the 433 Mhz band, and yes, thanks to the folks at rfxcom, there is a unit out there which will receive this and spit it out in a reasonable usb interface.

Under Linux, this information can be very easily decoded with the heyu program.  This is really more of a command line system for home automation, but it also includes the rfxcom protocol and the decoders for just about everything Oregon Scientific makes.

After plugging in the rfxcom device, it took me about all of 30 minutes to get heyu compiled and configured for my devices.  The first time you run the heyu monitor you'll actually get big hex strings which are the raw data.  Once you tell heyu what kinds of sensors they are, you'll get it decoded in much more friendly units.  Here are the relevant lines in the heyu config file:

After configured and running, I now have sensor data being collected continuously:

The next steps here are going to be gathering this into something that I can use for graphing.  I've now got all the sensors I was looking for to be able to build my better thermostat brain.  Next steps will be tying this all together and starting my graphing.

Print Friendly, PDF & Email

2 thoughts on “Sniffing Oregon Scientific Weather Sensor Data”

  1. What kind of latency is there on these commands? Does heyu have to wait long to get a frame from each sensor?

    1. It seems pretty quick. There is a heyu daemon running in the background, and it's pulling off data as it sees it on the usb interface. The oregon scientific sensors seem to be sending out their updates about every 40 seconds, so the latency is just because they only send updates so often.

Comments are closed.