-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rest API V2 Transfer-encoding: chunked #6
Comments
The ESP32 in the charger doesnt have enough heap space free to store the full http response in memory, therefore I implemented a 4kb chunked buffering while returning the response, there are no ways to change that! could you setup your raspberry pi as a simple reverse proxy to the charger maybe? |
Hi @0xFEEDC0DE64 , Is there anything you can do about this? My shelly devices do not send chunked data. Thanks a lot! Cheers. |
Maybe we can introduce a GET parameter |
Yes, that sounds good. Or you just remove the chunked header when message buffer is below 4kB? |
The current API response delivers result as Transfer-encoding: chunked.
It is no problem using Pyhton V3.x request but in case using e.g. micropython version of request, it cannot handle chunked requests.
So it is difficult to use a simple microcontroller based control setup.
I am currently using a PI pico to continously get PV data from a Fenecon inverter and send it to my go-e charger to allow pv surplus charging. I found a way to get it working without request but it could be much simpler without Transfer-encoding: chunked.
The text was updated successfully, but these errors were encountered: