Library to communicate with the Viessmann ViCare API
Project description
PyViCare
Implements an object to interact with the Viessmann ViCare API. The OAuth2 authentication token can optionally be stored in a file to be reused. Tokens are automatically renewed.
A few nice feature removed from the app are available though the API (Comfort and Eco modes).
Basic usage
Simple example:
import sys
from PyViCare import ViCareSession
t=ViCareSession("email@domain","password","token.save")
i=t.getInstallations()
print(t.getDomesticHotWaterConfiguredTemperature())
print(t.getDomesticHotWaterStorageTemperature())
print(t.getOutsideTemperature())
print(t.getRoomTemperature())
print(t.getSupplyTemperature())
print(t.getOutsideTemperature())
print(t.getHeatingCurveShift())
print(t.getHeatingCurveSlope())
print(t.getBoilerTemperature())
print(t.getActiveProgram())
print(t.getPrograms())
print(t.getCurrentDesiredTemperature())
print(t.getMonthSinceLastService())
print(t.getLastServiceDate())
print(t.getDesiredTemperatureForProgram("comfort"))
print(t.getActiveMode())
print(t.getDesiredTemperatureForProgram("comfort"))
print(t.setProgramTemperature("comfort",21))
print(t.activateProgram("comfort"))
print(t.setDomesticHotWaterTemperature(59))
print(t.activateProgram("comfort"))
print(t.deactivateComfort())
Use Postman with this URL if you want fo investigate the Viessmann API: https://api.viessmann-platform.io/operational-data/v1/installations/16011/gateways/7571381681420106/devices/0/features
- Client id: 79742319e39245de5f91d15ff4cac2a8
- Secret id: 8ad97aceb92c5892e102b093c7c083fa
- Callback url: vicare://oauth-callback/everest
- Auth url: https://iam.viessmann.com/idp/v1/authorize
- Access token url: https://iam.viessmann.com/idp/v1/token
- Scope: openid
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyViCare-0.0.20.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for PyViCare-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfbc1cb2b2a87c333be0e68792aaaafa50952df15ac3804c4baeef73c5461d24 |
|
MD5 | 057c12049f6b207218296bd6f8a51524 |
|
BLAKE2b-256 | b4e25d9429dbe1263d4d43651982aaa062c50c2c6fa2559d04fbcf3fa2fcf655 |