This little python script will readout quick and dirty the current values of the solar inverter Bosswerk MI600.
- ping the MI600 IP if the coverter is available
- use requests to get the HTML code of the web interface of the converter
- find position of "var webdata_now_p =" / "var webdata_today_e =" / "var webdata_total_e ="
- find following the next two " and read the values in between
- check if the values are logical and if yes use a mqtt script to send the values to your mqtt broker
- after that you can use the mqtt message in openhab or other automation systems
Note: Sometimes the converter has a timeout of some seconds or minutes. I do not know what the converter is doing in this time. Maybe there is an upload to Solarman???
I started to use the script from https://github.com/fr00sch/bosswerk_mi600_solar. But because it use selenium there is a high cpu workload if the script is working. So I switched to my solution with less impact of workload. I have reused some script parts from https://github.com/fr00sch/bosswerk_mi600_solar