Gr-smart meters Setup Guide: Difference between revisions
m 1. xterm is needed for gnuradio (not included in basic 20.04 install) 2. directory change need to be done twice to get out from build and project folders 3. numpy installation for Python 2.7 4. RTL-SDR drivers (should be installed before gr-osmosdr) |
m Moved Python prereqs to proper section |
||
| Line 203: | Line 203: | ||
==Setup gr-smart_meters== | ==Setup gr-smart_meters== | ||
This contains the GridStream block that will be used to decode Landis+Gyr Smart Meter data along with pre-configured flowgraphs for USRP B200, HackRF and RTL-SDR and a script to decode GPS data transmitted in some cases. | This contains the GridStream block that will be used to decode Landis+Gyr Smart Meter data along with pre-configured flowgraphs for USRP B200, HackRF and RTL-SDR and a script to decode GPS data transmitted in some cases. | ||
===Python 2.7 dependencies=== | |||
Current version of script which does GPS coordinates extraction requires Python 2.7 and numpy library installed. | |||
<syntaxhighlight lang="bash"> | |||
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py | |||
python2 get-pip.py | |||
pip2 install numpy | |||
</syntaxhighlight> | |||
===Install gr-smart_meters=== | ===Install gr-smart_meters=== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
| Line 245: | Line 252: | ||
The init value is what you enter into the GridStream block, you can now enable the CRC and know you have correct data! | The init value is what you enter into the GridStream block, you can now enable the CRC and know you have correct data! | ||