Author Topic: Capturing sensor data.  (Read 2420 times)

0 Members and 1 Guest are viewing this topic.

Offline AndyB

  • Member
  • *
  • Posts: 7
    • RAH66 simulator
Capturing sensor data.
« on: April 20, 2020, 10:01:19 AM »
Hi Guys 'n Gals,

A while ago my wife purchased an Oregon Scientific weather station that uses wireless (433Mhz) sensors. The base station works fine but there is no way to log the data.

I found a receiver circuit based on an Arduino that grabbed and decoded the data. That worked well and I was able to stuff the data in to a database. Problem was the USB kept dropping out and I'd lose days of data each time as I had to do a hard reset to get it to work again (seems to be a common problem with USB).

Does anyone here know, or have made a similar system using a raspberry Pi ?

I'm thinking of the Pi as it's network based and I could grab the data that way.

Any advice/help would be appreciated.

Cheers,

Andy

PS I'm a retired Electronics/ICT technician so am handy with a soldering iron and some coding ;)
Modify message
Home Simulator Cockpit at www.simpit.me.uk
Current Weather Station is Oregon Scientific WMR86NX

Offline Bushman

  • Forecaster
  • *****
  • Posts: 7549
    • Eagle Bay Weather
Re: Capturing sensor data.
« Reply #1 on: April 20, 2020, 10:06:07 AM »
RTL_433 on Software Defined Radio running on a Pi will  do this.  There are a lot of tutorials around.  Weewx seems to be the most popular DB to store the data and there is a full setup of it from Matthew Wall IIRC.
Need low cost IP monitoring?  http://wirelesstag.net/wta.aspx?link=NisJxz6FhUa4V67/cwCRWA or PM me for 50% off Wirelesstags!!

Offline Storm017

  • Senior Contributor
  • ****
  • Posts: 172
Re: Capturing sensor data.
« Reply #2 on: April 20, 2020, 04:07:16 PM »
« Last Edit: April 20, 2020, 09:02:16 PM by Storm017 »

Offline AndyB

  • Member
  • *
  • Posts: 7
    • RAH66 simulator
Re: Capturing sensor data.
« Reply #3 on: April 21, 2020, 04:58:35 AM »
Thanks guys. I'll have a read through the links.

Cheers,

Andy
Home Simulator Cockpit at www.simpit.me.uk
Current Weather Station is Oregon Scientific WMR86NX

Offline hmderek

  • Senior Contributor
  • ****
  • Posts: 160
    • Meteodrenthe
Re: Capturing sensor data.
« Reply #4 on: April 26, 2020, 08:17:35 AM »
I've used an RFXtrx433XL USB 433.92MHz Transceiver, hooked up to a Raspberry Pi, to collect the data.

This post I wrote - mostly for my own benefit - has some relevant links: https://dbxit.com/enabling-rfxcom-protocols-using-rfxcmd-on-linux

There are other options available, like Rflink.

Another option is using Home Assistant, which also gives you the option to read data from a 433mhz receiver. It has a built in web socket server which you can subscribe to. It can send event updates every time a sensor update is received.

https://www.home-assistant.io/integrations/rfxtrx/

https://www.home-assistant.io/integrations/rflink/

https://www.home-assistant.io/integrations/websocket_api/

Domoticz is also an option and easy to set up. But I believe it has less options when you want to forward your data somewhere else. Also, in my case it tended to freeze up, making it less useful.
« Last Edit: April 26, 2020, 08:19:27 AM by hmderek »
Davis VP2
Davis WeatherLink
Sensirion SHT35
PT100
NTC Thermistors
DS18B20
Apogee Instruments TS-100
Barani Meteoshield Pro
Davis 7714
MetSpec RAD14
Davis AirLink
Wemos D1 Mini micro controllers
https://blog.meteodrenthe.nl
https://meteodrenthe.nl
https://twitter.com/meteodrenthe

 

anything