API Admin
GET /restart
Restarts the ADA P1 Meter device. Once the endpoint is called, the device will automatically reboot, check the FIRMWARE, and save the current configuration.
- Method:
GET
- Response:
200 OK
if the command was successfully sent. - Usage:
Example:http://<device-ip>/restart
⚠️ Recommended only for users with administrator access.
GET /reset
Resets the device configuration to factory defaults. This endpoint clears all saved settings, logs, and cache. The device will restart with default values and the most recently downloaded FIRMWARE.
- Method:
GET
- Response:
200 OK
if the reset process has started. - Usage:
Example:http://<device-ip>/reset
⚠️ This results in permanent data loss! Use only if you're sure you want to restore factory settings.
GET /check_version
Returns the current firmware version of the ADA P1 Meter device as plain ASCII text.
- Method:
GET
- Response:
200 OK
and the firmware version in a format like"1.2.71"
. - Usage:
Example:http://<device-ip>/check_version
ℹ️ Version checking helps track updates and is useful for troubleshooting.