Page 1 of 1

How Cloud Chart Items Map to API Variables

Posted: Fri Mar 06, 2026 1:01 pm
by SurreyDude
Hi

I'm getting my head around the API and have so far been using the following endpoint paths:

Code: Select all

/op/v0/device/real/query
/op/v0/device/report/query
I notice today, the FoxESS cloud UI has started showing a different set of metrics [see attached]
v2 Chart.jpg

Is there any information that tells me how those items in the legend map to the variables for the payload when making an API call?

Thanks in advance

Re: How Cloud Chart Items Map to API Variables

Posted: Fri Mar 06, 2026 1:10 pm
by evilbunny
SurreyDude wrote: Fri Mar 06, 2026 1:01 pm Is there any information that tells me how those items in the legend map to the variables for the payload when making an API call?
Fox ESS's API documentation is pretty non-existant I found.

You might want to have a look at this python script/library https://github.com/TonyM1958/FoxESS-Clo ... openapi.py it seems to be based on Fox ESS's reference code, but the code in the API documents isn't indented correctly so it would take a lot of effort to make it work.

I've been using it to poke about the API to see what would be returned, the script actually has arrays of variables names for the different API calls.

You might also want to look into the history API, when you call it and specify "day" instead of "hour" you get 5 minutely records back.