void fetchPRTG() HTTPClient http; String url = String(prtg_server) + "/api/table.json?content=sensors&columns=name,status,lastvalue&username=" + prtg_user + "&passhash=" + prtg_hash; http.begin(url); int code = http.GET(); if(code == 200) DynamicJsonDocument doc(4096); deserializeJson(doc, http.getString()); // parse sensors & update screen
http.end();
https://your-prtg/api/table.json?content=sensors&columns=name,status,lastvalue&username=digiboy&passhash=YOUR_HASH Use an existing “PRTG Dashboard” sketch or write a simple one. Key steps in Arduino: digiboy prtg
#include <WiFi.h> #include <HTTPClient.h> #include <ArduinoJson.h> const char* prtg_server = "https://prtg.yourlab.local"; const char* prtg_user = "digiboy"; const char* prtg_hash = "12345678"; void fetchPRTG() HTTPClient http