thomasgermain / pymultiMATIC

Python interface with Vaillant multiMATIC
MIT License
56 stars 11 forks source link

User-Agent header field now required #97

Closed obiltschnig closed 1 year ago

obiltschnig commented 1 year ago

Not sure if it affects pymultiMATIC, but I just noticed with my own implementation that as of 10:30 today, the Vaillant API expects to see a User-Agent header in API requests, otherwise a 500 error is returned. The value of the User-Agent does not seem to matter, but it's probably worth keeping an eye on it.

lnowakowski commented 1 year ago

It has been already included and fixed in #95

thomasgermain commented 1 year ago

Hello,

Thanks for the tip :)

For now, it still work, but I had to add a Vaillant-Mobile-App header ~a month ago to make it work again

obiltschnig commented 1 year ago

It looks like pymultiMATIC client is not affected by it as the User-Agent header is added automatically by the Python HTTP client.