Important
⚠ This is a public archive and the active project has been renamed to NetAlertX and moved: jokob.sk/NetAlertX
- To differentiate from the upstream stale project
- To differentiate from other active forks
- To indicate this is not a Raspberry Pi-specific tool anymore
Check the the HTTP response of the failing backend call by following these steps:
- Open developer console in your browser (usually, e. g. for Chrome, key F12 on the keyboard).
- Follow the steps in this screenshot:
-
Copy the URL causing the error and enter it in the address bar of your browser directly and hit enter. The copied URLs could look something like this (notice the query strings at the end):
http://<pialert URL>:20211/api/table_devices.json?nocache=1704141103121
http://<pialert URL>:20211/php/server/devices.php?action=getDevicesTotals
http://<pialert URL>:20211/php/server/devices.php?action=getDevicesList&status=all
-
Post the error response in the existing issue thread on GitHub or create a new issue and include the redacted response of the failing query.
For reference, the above queries should return results in the following format:
- Should yield a valid JSON file
You can copy and paste any JSON result (result of the First and Third query) into an online JSON checker, such as this one to check if it's valid.