Open LordMax2 opened 2 years ago
I am trying to make a widget on my own home assistant looking like your HA plugin and the iSolarCloud app, do you know which API calls I need to do and which values I need to make it similar?
I have done some more error checking and my conclusion is that my POST requests gets this error:
{
"result_code": "000",
"result_data": null,
"result_msg": "er_unknown_exception"
}
Any idea?
It's a pretty simple thing. The process is:
It is possible to refresh the token, but it seems to last from a couple of days to a month.
Thanks for the response!
I still cannot get it to work properly, I get the same error, my postman looks like this:
Does the parameters need to be in a certain order? Or am I missing something, the token I am using is the one from the login response under: response > result_data > privliges > token
I have also tried to make the request look like this:
With both GET and POST but I dont get a proper response.. If I GET this last screenshot I get "Internal server error" (with my user_id and ps_id ofc). And POST is the same as the first image..
It should look like this
Worked perfecly!
I have another question :D, which requests do you do to get this data
I think it looks amazing and Id love to build it into my home controlelr :D
Hi!
I am trying to use postman to make an interface, but I get this response:
The route I am trying to get a response from is: https://gateway.isolarcloud.eu/v1/commonService/getCloudList
I have ofc the ps_id, appkey = 93D72E60331ABDCDC7B39ADC2D1F32B3, sys_code = 900, and a token
Thanks in advance! Best regards Max