Client Installation - pagermon/pagermon GitHub Wiki
Prerequisites
These programs/libraries are required for Pagermon Client to work
- RTL-SDR - RTL-SDR tools/libraries to access RTL-SDR dongle
- [RTL-SDR dongle] - You can get these from Ebay or other stores (Has to have RTL2832U chip)
- nodejs - JavaScript Programming Language (Only if installing separate from server)
- npm - Javascript Package Manager (Only if installing separate from server)
- Git Client - Github.com client for getting source code (Only if installing separate from server)
- multimon-ng - Does the actual pager decoding
Installing Pagermon Client
- Run the following commands from Terminal:
cd pagermon/client
npm install
- edit reader.sh and edit frequency and rtl_device number
rtl_fm -d 0 -E dc -F 0 -A fast -f 148.5875M -s22050 - |
multimon-ng -q -b1 -c -a POCSAG512 -f alpha -t raw /dev/stdin |
node reader.js
-d 0
- change this to your rtl_device number using rtl_test
-f 148.5875M
- change this to the frequency you are decoding
Configuring Pagermon Client
Before running Pagermon Client you have to configure it to send the decoded info to the pagermon server.
- move into the client/config directory
- copy default.json to config.json using
cp default.json config.json
- edit
config.json
with your favorite editor
{
"apikey": "changeme",
"hostname": "http://127.0.0.1:3000",
"identifier": "TEST"
}
apikey = This is the API key generate on the Pagermon Server http://serverip/admin/settings
hostname = The host name or IP of the Pagermon server (If you run Pagermon Server and Client on same PC then you can put this as http://127.0.0.1:3000
identifier = This will show up in the source column on the server web page good for when you have multiple sources and want to know which one the pager message is coming from