Status 200, should be the html code for success, see Status codes in HTTP
It looks like you have a an issue to login, now I have a German version also and for me this works. So I don’t think that is the issue.
I am using the normal “Benutzer” account, I don’t have the passwords for the other accounts. Why that seems not to work for you, I don’t know. What is the user account that you are using when you log into the web interface? I can recommend using the web developer tools under firefox.
It seems to be
“user” = Benutzer
"admin"Installateur
installer=Installateur/PM
So if you have the password for one of the other accounts you would use admin or installer in the script and I would expect it to log in.
A few weeks ago I was playing around with this again. I still don’t have an idea what I want to do, but I had it post the power consumption ([‘782’][‘0’]) every 5 seconds to a the mosquito broker on the home assistant. Then on another PC I had grafana listening and plotting the power consumption. It was sort of cool, but I did not go further. The current power generation from the panels is in [‘782’][‘1’].
The only issue I have found so far, is that if one logs in to the web interface then that “logs out” the python script.
I have not really made up my mind around if I want to go with a polling of the data every 5 seconds, or maybe poll the 867 every hour, which seems to give some thing like
{‘867’: {‘0’: [[‘00:00:00’, [0, 0, 0, 1540, 0, 0]], [‘00:05:00’, [0, 131, 0, 1577, 0, 0]], [‘00:10:00’, [0, 258, 0, 1524, 0, 0]], [‘00:15:00’, [0, 383, 0, 1510, 0, 0]], [‘00:20:00’, [0, 502, 0, 1435, 0, 0]], [‘00:25:00’, [0, 620, 0, 1417, 0, 0]], [‘00:30:00’, [0, 734, 0, 1365, 0, 0]], [‘00:35:00’, [0, 848, 0, 1368, 0, 0]], [‘00:40:00’, [0, 962, 0, 1378, 0, 0]], [‘00:45:00’, [0, 1071, 0, 1303, 0, 0]], [‘00:50:00’, [0, 1171, 0, 1211, 0, 0]], [‘00:55:00’, [0, 1270, 0, 1192, 0, 0]], [‘01:00:00’, [0, 1372, 0, 1229, 0, 0]], [‘01:05:00’, [0, 1482, 0, 1313, 0, 0]], [‘01:10:00’, [0, 1584, 0, 1234, 0, 0]], [‘01:15:00’, [0, 1685, 0, 1207, 0, 0]]…
I expect that if one looks a bit more into that, then one can save a bit of traffic.
For me it’s all about what what one wants really. I have a number if ideas, mostly around optimising my heat pump and how that works with the power consumption and solar production.
But then I lack the time and perseverance to dig into this, so it stays as a POC at the moment. If someone else find time to work, I would be happy to support
Best
Johan