goecharger / go-eCharger-API-v2

New API specification for V3 and V4 go-eCharger
91 stars 20 forks source link

returned values after /api/set?frc=1 #97

Open marcelgsteiger opened 1 year ago

marcelgsteiger commented 1 year ago

I am currently implementing a solution for controlling multiple homeFix connected to a common 3*40A power source using http API v2 and node red. My first simple task is to implement pause/resume using /api/set?frc=1 or frc=0, respectively, which appears to work. The http request always returns with status code 200 and a single return object with the boolean value frc=true. Can I safely assume that this exact response signifies that my command has been processed successfully? IOW, where do I find documentation about the return values for api v2 http requests? Are these well-defined or may they change in a future release? Additionally, I would like to achieve compliance with AT-CZ-CH regulations (1-Minute-start/stop ramps using the "amp" api key when the corresponding signal is given by the grid operator). Here, the same question regarding documentation applies. Thanks for any help Marcel

0xFEEDC0DE64 commented 1 year ago

regarding the http responses, back then I wrote myself a TODO which I never finished, will do soon

https://github.com/goecharger/go-eCharger-API-v2/blob/main/http-de.md (the very last sentence)