- Read IP(s) and certificate from certsips.json.
- Read token from .apptoken.
- Generate authtoken for accessing the API via
auth-api-path + /token/permit
with the apptoken as part of the body. - Call graceful shutdown API to force a device shutdown.
auth-api-path + /token/permit
with the apptoken as part of the body.