Not PyViCare but my openHAB instance is running on a RaspPi and I’m actually using the Viessmann API via rules:
Looked at the PyViCare code, at least the used settings for apiURLBase and redirect_uri are not looking as documented by Viessmann. Using this apiURLBase I was not able to send a command to my system, using the documented URL it worked.