DAPNET API

Here is where you can get help with using and setting up POCSAG and related topics
Post Reply
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

DAPNET API

Post by KE0FHS » Mon Aug 06, 2018 3:13 pm

FYI, Andy Taylor recently shared this:
DAPNET API Command line;

So I spent a little time writing up the expert tool for adding/editing the required file to enable the DAPNET API tool:

You can find it in the expert editors;
So - whats the point you may well ask - well, once you add your dapnet user details (NOT your transmitter account details) you can then send pages directly form the command line on Pi-Star, but what is the point? well maybe you are a repeater keeper, and you want your repeater to tell you when it's too hot, basically if you can write a script, you can send some output to a pager.

The CLI looks like this:
pi-star@pi-star-dmr(ro):~$ sudo pistar-dapnetapi MW0MWZ "This is a test message, please ignore it"

You will see on the pager pic that the messages sent from the API are always prefixed with the hostname, this is to help you work out what system is sending you messages.

The script only uses curl, its written in bash and so you could use that an the config file with your API login info in it on any other linux system too.

EDIT:
TRX Groups can be found here: https://hampager.de/#/transmitters/groups
(You need to be logged in on the hamper.de website)
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm

User avatar
MW0MWZ
Site Admin
Posts: 1505
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: DAPNET API

Post by MW0MWZ » Thu Aug 30, 2018 8:40 am

Thank you for re-posting :)
Andy

73 de MW0MWZ
http://pistar.uk

Post Reply