This API can be reached through a https post.
So I tried with a few lines of code, and unfortunately, here's what I got:
E (13094212) mongoose: mg_ssl_if_mbed_err 0x3f84693c SSL error: -29312
E (13094222) script: DuktapeHTTPRequest: failed error='SSL error' url='https://api.pushover.net/1/messages.json'
I (13094222) script: error="SSL error"
So reading the documentation, I saw the following note:
SSL requests (https) can take up to 12 seconds on an idle module. SSL errors also may not reflect the actual error, for example an empty server response with code 400 may be reported as a general “SSL error”. If you get “SSL error” on a valid request, you may need to install a custom root CA certificate; see SSL/TLS.
Makes sense, but then I jumped to the other chapter "SSL/TLS", and discovered this command:
OVMS# tls trust list
and here I am stuck. Tried this command through the OVMS shell console: doesn't work. Then in a SSH session: doesn't work.
Please help !!!