Gr-smart meters Setup Guide: Difference between revisions

Added additional install files
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The following install guide details the steps from a fresh Ubuntu 20.04 install to a fully running GNU Radio + USRP B200, HackRF and RTL-SDR frequency hopping spread spectrum setup needed to capture smart meter data.
The following install guide details the steps from a fresh Ubuntu 22.04 install to a fully running GNU Radio + USRP B200, HackRF, AirSpy and RTL-SDR frequency hopping spread spectrum setup needed to capture smart meter data.
 
'''This video shows the overall process but using a prior version of GNURadio. Instructions below are the latest.'''


<youtube width="320" height="240">fUK8tcFQwpo</youtube>
<youtube width="320" height="240">fUK8tcFQwpo</youtube>
'''For other Linux distributions please see:''' [[Gr-smart meters Setup on other distros]]
'''For Windows Subsystem for Linux (WSL) please see:''' [[Gr-smart meters on WSL]]


==Install Ubuntu 22.04==
==Install Ubuntu 22.04==
There is nothing special about Ubuntu, it was chosen because it works well across different computers and has a familiar interface. Likely these instructions can be used as a rough guide for what is needed with other distro's.
There is nothing special about Ubuntu, it was chosen because it works well across different computers and has a familiar interface. Likely these instructions can be used as a rough guide for what is needed with other distro's. See also [[Gr-smart meters Setup on other distros]]


For now, this step is to install a base version of Ubuntu 20.04, mine was a minimal install. After finishing your install ensure you update everything.
For now, this step is to install a base version of Ubuntu 20.04, mine was a minimal install. After finishing your install ensure you update everything.


<syntaxhighlight lang="bash">
<pre>
sudo apt update
sudo apt update
sudo apt upgrade
sudo apt upgrade
</syntaxhighlight>Also install the following<syntaxhighlight lang="bash">
</pre>
sudo apt install libsndfile1-dev
Also install the following
<syntaxhighlight lang="bash">
sudo apt install libsndfile1-dev cmake
</syntaxhighlight>
</syntaxhighlight>


==== For flavors other than Ubuntu or depending on your window environment you may need: ====
====For flavors other than Ubuntu or depending on your window environment you may need:====
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
add apt-get install -y gobject-introspection gir1.2-gtk-3.0
add apt-get install -y gobject-introspection gir1.2-gtk-3.0
Line 112: Line 120:
git clone https://github.com/BitBangingBytes/gr-smart_meters.git
git clone https://github.com/BitBangingBytes/gr-smart_meters.git
cd gr-smart_meters/
cd gr-smart_meters/
git checkout main
git checkout maint-3.10
mkdir build
mkdir build
cd build/
cd build/
Line 120: Line 128:
sudo ldconfig
sudo ldconfig
</syntaxhighlight>
</syntaxhighlight>
===Install python packages needed for Google Maps and Google Earth===
If pip isn't installed: <pre> sudo apt install python3-pip </pre>
Then:
<syntaxhighlight lang="bash">
pip install gmplot simplekml
</syntaxhighlight>
===Start GNU Radio from a terminal window===
===Start GNU Radio from a terminal window===
<code>gnuradio-companion</code>
<code>gnuradio-companion</code>