djansen1987 / SAJeSolar

SAJ eSolar Portal Sensors
GNU General Public License v3.0
22 stars 14 forks source link

Fix login request #14

Closed Confushion closed 2 years ago

Confushion commented 2 years ago

Remove header 'Content-Length' containing (invalid) fixed length from login request.

This happens when len(payload) != 79 Probably authors payload containing his/hers login+password has length of 79 :-)

Confushion commented 2 years ago

Tested with my inverter: Sununo plus 4K-M-RD

djansen1987 commented 2 years ago

Thanks, will review the whole header code at a later point to reduce code.