P2000 rtl-sdr based messages receiver.
-
Standalone P2000 messages receiving (RTL-SDR compatible receiver required)
-
Cross-platform (can work on Windows, Linux and Mac)
-
Show messages on LCD or via web browser interface from any home device
-
Capcodes phonebook (note: user should fill capcodes.txt before using)
-
Capcodes optional filter (white list)
-
5000 messages memory (can be increased in settings)
-
Data post to 3rd party server (optional)
-
Websockets support
- Before begin:
sudo apt-get install build-essential cmake unzip pkg-config
sudo apt-get install libusb-1.0-0-dev
sudo pip3 install wheel sudo pip3 install setuptools sudo pip3 install tzlocal
- Install RTL-SDR:
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig
"rtl_test" command should work after this install.
- Install multimon-ng:
sudo apt-get -y install git cmake build-essential libusb-1.0 qt4-qmake libpulse-dev libx11-dev qt4-default
git clone https://github.com/Zanoroy/multimon-ng.git
cd multimon-ng
mkdir build
cd build
qmake ../multimon-ng.pro
make
sudo make install
"multimon-ng" command should work after this install.
- Install additional libraries:
sudo pip3 install numpy pillow spidev requests
- Get app sources:
git clone https://github.com/dmitryelj/RPi-P2000Receiver.git
Optionally, fill the capcodes list (can be found in internet).
Connect RTL-SDR dongle and run the app:
python3 /home/pi/Documents/RPi-P2000Receiver/p2000.py
Add app to startup (sudo nano /etc/rc.local):
python3 /home/pi/Documents/RPi-P2000Receiver/p2000.py &
Thats it.
Download and install Python 3
Install additional components: pip.exe install Pillow tzlocal requests numpy
Download and install RTL-SDR libraries (rtl-fm is required to be installed)
Clone as zip and extract app sources from this page
Optionally, fill the capcodes list (can be found in internet)
Run the app: C:\Python3\python.exe p2000.py
To get messages in a JSON format, http://IP-ADDRESS:8000/api/messages request can be used.
To get messages via websocket, use ws://IP-ADDRESS:8001 (see index.html for details).
To post data to a 3rd-party server, "postToServer" method should be uncommented in 'p2000.py'.
Go to the /http/ folder and rename index.html to index_us.html and rename index_nl.html to index.html to get the dutch version of the P2000 Messages webpage.