Skip to content

idea to add getter for heating.solar.power.cumulativeProduced #596

@limabravo7

Description

@limabravo7

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': {}},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions