Had my system in for about 4 months now, very happy with it but thought I may get in to a bit of automations.
I'm on iOG want to use Tasker on Android so that when the car starts charging it sets the scheduler to start charging straight away and when it stops charging revert the charging to the 6 hour overnight window.
Just started using the Open API and thought I would start simple with the op/v0/device/list. I have managed to successfully get it working using Postman so I think I am on the right track
When it comes to Tasker I get the error
{"errno":40256,"msg":"Please close and reopen this page illegal signature"}
I set the following for the signature
Variables
%FoxApi = MyGeneratedAPITokenFromFoxWebsite
%DeviceList = op/v0/device/list
%TimeMS = %TIMEMS
%FoxSig = %DeviceList\\r\\n%FoxApi\\r\\n%TimeMS
I then do a variable convert of %FoxSig to %FoxSigMD5 using the function "To MD5 Digest"
I then do a HTTP Request POST command
Set the full url
Set the appropriate headers
Set the body
I flash all of the variables out and they appear correct (same format as the postman request). I am obviously missing something simple but for the life of me I am not seeing it.
Thanks for reading and any help you can provide
Barrie