API -  Live individual repeater status

Live individual repeater status - JSON

 

Note: only JSON is available for this feed (save html iframe, see bottom of page)

 

Endpoints
 {
"callsign": "GB7EB",                                     //Repeater Callsign*
"city": "Beccles",                                       //Location*  
"color_code": "2",                                       //Colour Code*
"frequency": "439.57500",                                //Output Frequency*
"id": "235222",                                          //Repeater DMR ID
"offset": "-9.0000",                                     //Output / Input Offset*
"trustee": "M0JGX",                                      //Repeater Keeper*
"dvs_status": "1",                                       //DVSPH Status   1 - Active  2 - Possible Issues  5 - Off Air   9 - Off Air (Admin / Keeper)  
"dvs_heartbeat": "2023-05-16 21:19:26"                   //Last Reported Heartbeat from Repeater
}
 
* Data provided by RadioID.net
 
 
 

iframe / HTML Pages also available


There is now an HTML version of this script (for inclusion in iframe) available at
https://dvsph.net/api/html/Repeater_Status.php?id= REPEATER ID
OPTIONS
&head=x to remove the header "Live Repeater Status"
&font= SIZE  change the font size in px to suit your website (default is 16)
 

See the above example in use on a QRZ listing 

Also see below

 

 

 

Adding Repeater Status to QRZ

 Sign in to your QRZ account for the repeater,

Click on edit

Click  "Add or edit your biography text, fonts, etc."

 

Now add the iframe by clicking on the globe

qrz iframe

 

 

Enter https://dvsph.net/api/html/Repeater_Status.php?id=          ***YOUR REPEATER ID***   into the URL  -   (Space inserted so you can easily copy the url)

Note the addition of html in the url if you omit the html you will get the JSON version, which isn't as easy to read.

Here we've used 243049 (for GB7TX) but also added &font=20 to enlarge the font size to suit QRZ, we've stated the width to 800 just so QRZ doesn't crop the output.

qrz iframe properties

 

Click Save

Now go to your repeaters QRZ listing and if it worked it will be displaying a live status from the network

 

 

Please give dvsph.net credit for any use of these APIs / Data Dumps and iframe pages