How to install rtl_433 to read wireless stuff

Ive rebuilt this raspberry a few times working on it, and although its notated at the sensorsiot.org site, its got a few things on the wrong lines and such. Here is a simply copy and pasteable setup to get it going. Feel free to copy and paste the sections, just stop at the reboot lines and past the next section. Total of 3 sniblets to do. Should work perfectly with no issues:

Note i bypass having to enter the default root password “nymea” by doing the sudo -S. As long as its a brand new system and you havent changed the root password yet there is no security risk here. , however, once its setup…change it.

========= BEGIN COMMANDS TO INSTALL RTL_433

echo “nymea” | sudo -S apt-get -y install git git-core cmake libusb-1.0-0-dev

echo “nymea” | sudo -S apt-get -y install build-essential

git clone git://git.osmocom.org/rtl-sdr.git

cd rtl-sdr
mkdir build
cd build

cmake …/ -DINSTALL_UDEV_RULES=ON

echo “nymea” | sudo -S make

echo “nymea” | sudo -S make install
echo “nymea” | sudo -S ldconfig

cd ~

echo “nymea” | sudo -S cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/

echo “nymea” | sudo -S reboot

=== STOP HERE REBOOTING =================================

echo “nymea” | sudo -S bash -c ‘echo -e “blacklist dvb_usb_rtl28xxu\nblacklist rtl2832\nblacklist rtl2830” >> /etc/modprobe.d/no-rtl.conf’

echo “nymea” | sudo -S reboot

=== STOP HERE REBOOTING =================================

lsusb
rtl_test -t

echo “nymea” | sudo -S apt-get -y install libtool libusb-1.0.0-dev librtlsdr-dev rtl-sdr doxygen

git clone https://github.com/merbanan/rtl_433.git
cd rtl_433
mkdir build
cd build
cmake …/
make
echo “nymea” | sudo -S make install

================ END of the commands

–John