GithubHelp home page GithubHelp logo

Comments (3)

phinnay avatar phinnay commented on May 24, 2024

this is the sensor:
https://www.ambientweather.com/amwh31b.html

RTL_433 reads it as a WH31E for whatever reason.

from weewx-sdr.

matthewwall avatar matthewwall commented on May 24, 2024

added at commit 4427be2

from weewx-sdr.

cweakland avatar cweakland commented on May 24, 2024

Just a note, if your battery does not seem correct (always displaying low), you may need to change this line:

    pkt['battery'] = 0 if obj.get('battery') == 'OK' else 1

to:

    pkt['battery'] = 0 if obj.get('battery_ok') == 1 else 1

You can see why in the packet from RTL_433, not sure if this is related to my install or if something changed. Good luck!

$ rtl_433 -M utc -F json -f 914980000 -s 250000
rtl_433 version 21.05-7-g78330501 branch master at 202106031747 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/chris/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...

New defaults active, use "-Y classic -s 250k" for the old defaults!

Registered 157 out of 186 device decoding protocols [ 1-4 8 11-12 15-17 19-23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-161 163-168 170-175 177-186 ]
Detached kernel driver
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 914.980MHz.
Allocating 15 zero-copy buffers
baseband_demod_FM: low pass filter for 250000 Hz at cutoff 50000 Hz, 20.0 us
{"time" : "2022-02-03 22:45:50", "model" : "AmbientWeather-WH31E", "id" : 221, "channel" : 1, "battery_ok" : 1, "temperature_C" : 20.100, "humidity" : 41, "data" : "6800000000", "mic" : "CRC"}

from weewx-sdr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.