Rock YouTube channel with real views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

Take charge of your own Ambient weather data with Raspberry Pi MQTT and Home Assistant.

Follow
mostlychris

No longer do you need to rely on external APIs to view and store weather data from your own personal weather station. I walk you through using a Raspberry Pi and USB SDR with rtl_433, MQTT, and Home Assistant to grab and graph your data.



Watch my latest video here: https://www.tubebuddy.com/quicknav/la...

Discord:   / discord  


If you would like to support me:
Buy me a beverage: https://kofi.com/mostlychris'>https://kofi.com/mostlychris
Become a patron:   / mostlychris  




Products I reference in my videos (Contains affiliate links)
https://www.mostlychris.com/mysmart...



Watch my latest video here: https://www.tubebuddy.com/quicknav/la...

Discord:   / discord  

If you would like to support me:
Buy me a beverage: https://kofi.com/mostlychris'>https://kofi.com/mostlychris
Become a patron:   / mostlychris  




Products I reference in my videos (Contains affiliate links)
https://www.mostlychris.com/mysmart...


DISCLAIMER: This YouTube video description contains affiliate links. Your cost doesn't change for the linked products but I might receive a small commission which helps me to continue providing content like these videos.
Videos Referenced:
Using InfluxDB and Grafana with Home Assistant:    • Using Grafana and InfluxDB with Home ...  


Products Referenced:
Ambient WX Station with WH65B Sensors: https://amzn.to/3m5X5no
Temp Humidity Pressurs Sensor: https://www.ambientweather.com/amws10...
USB SDR Dongle: https://amzn.to/3m3MHg7
Raspberry Pi 4 Kit: https://amzn.to/2VVZarl


00:00 Intro
00:36 Raspberry Pi Parts
01:47 Install prereqs on Pi
03:37 Install rtl_sdr on Pi
05:53 Install rtl_433 on Pi
08:05 Check that installed packages and receiver works
09:05 First traffic received
11:02 Install MQTT on Home Assistant and create user
13:46 Start sending MQTT packets from Pi to Home Assistant
17:48 Check Home Assistant for MQTT Packets
20:00 Create sensors in Home Assistant
26:08 Build Grafana Graphs
34:35 What else can we do with the sensor data?
35:26 Wrap Up!


Commands used. Watch the video for context on where to use them.


Install rtl_sdr
mkdir sdr
cd sdr
sudo aptget update
sudo aptget install git cmake libusb1.00dev buildessential
git clone git://git.osmocom.org/rtlsdr.git
cd rtlsdr
mkdir build && cd build
cmake ../ DINSTALL_UDEV_RULES=ON DDETACH_KERNEL_DRIVER=ON
make
sudo make install
ldconfig

Install rtl_433
cd ../../
git clone https://github.com/merbanan/rtl_433.git
cd rtl_433
mkdir build
cd build && cmake ../
make
sudo make install

Running the program
rtl_433 f 915M

Sensor yaml: https://paste.ubuntu.com/p/t8qnRbtyt2/



DISCLAIMER: Some of the links above take you to affiliate sites that may or may not pay a small commission to me. It doesn't increase the cost to you, but it does help support me in making these videos.

Want to send me something? Send it here!
Mostlychris
24165 IH10 West
STE 217 #164
San Antonio, TX 78257

posted by tartucarsv4