-
Notifications
You must be signed in to change notification settings - Fork 116
idea to add getter for heating.solar.power.cumulativeProduced #596
Copy link
Copy link
Open
Description
I would like to add a get-Method for the datapoint heating.solar.power.cumulativeProduced.
Due to whatever reason in our specific installation, this is the only data point, which shows our solar thermal yield. All other data points and thus get-methods (e.g. getSolarPowerProduction() ) give us an empty array:
device = vicare.devices[1]
print(device.getModel())
print("Online" if device.isOnline() else "Offline")
t = device.asAutoDetectDevice()
print(t.getSolarPowerProduction())VScotHO1_200
Online
[0, 0, 0, 0, 0, 0, 0, 0]
My aim is to readout the following part of our response json, which is also part of the test json-files (e.g. PyViCare/tests/response/Vitodens200W_2.json):
{'feature': 'heating.solar.power.cumulativeProduced',
'gatewayId': 'xxxxxxxxxxxxxx',
'deviceId': '0',
'timestamp': '2025-09-05T09:06:49.716Z',
'isEnabled': True,
'isReady': True,
'apiVersion': 1,
'uri': 'https://api.viessmann-climatesolutions.com/iot/v2/features/installations/xxxxxxx/gateways/xxxxxxxxxxxxxx/devices/0/features/heating.solar.power.cumulativeProduced',
'properties': {'value': {'type': 'number',
'value': 38253,
'unit': 'kilowattHour'}},
'commands': {}},
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels