API -  Live individual repeater status

Please give dvsph.net credit for any use of these APIs, data dumps, or iframe pages.
API Status & Usage

The Dev team are in the process of updating this API as part of the new Status and Reporting System

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

Usage
https://dvsph.net/api/Repeater_Status.php?id= REPEATER ID
Example:
https://dvsph.net/api/Repeater_Status.php?id=235222
Endpoints
{
  "callsign": "GB7EB",      // Repeater Callsign
  "location": "Beccles",    // Location
  "status": "1",            // DVSPH Status 1-Active 2-Issues 5-Off Air 9-Off Air(Admin/Keeper)
  "time_stamp": "2023-05-16 21:19:26" // Last Reported Heartbeat
}
            
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)

Example:
https://dvsph.net/api/html/Repeater_Status.php?id=235222&font=20

See the above example in use on a QRZ listing.

Adding Repeater Status to QRZ
  1. Sign in to your QRZ account for the repeater.
  2. Click on Edit.
  3. Click "Add or edit your biography text, fonts, etc."
  4. Now add the iframe by clicking on the globe icon.
qrz iframe

Enter https://dvsph.net/api/html/Repeater_Status.php?id=***YOUR REPEATER ID*** into the URL field.
Note: The addition of html in the URL. If you omit html you will get the JSON version, which isn't as easy to read.

You can also add &font=20 to enlarge the font size to suit QRZ, and set the width to 800 so QRZ doesn't crop the output.

qrz iframe properties
  1. Click Save.
  2. Now go to your repeater's QRZ listing and if it worked, it will be displaying a live status from the network.