jgriss / FusionSolarPy

A basic client to the Huawei Fusion Solar cloud interface for solar power plants
MIT License
30 stars 12 forks source link

Adapt to changes by huawei and small fix #17

Closed Spiritreader closed 9 months ago

Spiritreader commented 10 months ago

Hi,

Huawei changed their captcha verify URL to now reject non-client user agents. This PR sets a normal chrome user agent such that the captcha prevalidverify mechanism works again.

Also fixes a bug with captchas not being picked up after they have been correctly solved.

Cheers!

jgriss commented 9 months ago

Hi @Spiritreader

Thanks a lot for the new features!