Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for daily solar production? #6

Open
sweh opened this issue Jul 17, 2024 · 1 comment
Open

Support for daily solar production? #6

sweh opened this issue Jul 17, 2024 · 1 comment

Comments

@sweh
Copy link
Contributor

sweh commented Jul 17, 2024

Hi,

is it possible to add support for daily solar production? I get the following response:

Unexpected response structure: {
  feature: 'heating.solar.power.production',
  gatewayId: 'XXXXX',
  deviceId: '0',
  timestamp: '2024-07-16T23:36:47.805Z',
  isEnabled: true,
  isReady: true,
  apiVersion: 1,
  uri: 'https://api.viessmann.com/iot/v1/features/installations/XXXX/gateways/XXXX/devices/0/features/heating.solar.power.production',
  properties: {
    day: { type: 'array', value: [Array], unit: 'kilowattHour' },
    week: { type: 'array', value: [], unit: 'kilowattHour' },
    month: { type: 'array', value: [], unit: 'kilowattHour' },
    year: { type: 'array', value: [], unit: 'kilowattHour' },
    dayValueReadAt: { type: 'string', value: '2024-07-16T23:36:46.104Z' },
    weekValueReadAt: { type: 'string', value: '' },
    monthValueReadAt: { type: 'string', value: '' },
    yearValueReadAt: { type: 'string', value: '' }
  },
  commands: {}
}

I need a possibility to select the day property and the first item of the value array. And the unit should be set to kWh instead of degrees.

My actual configuration:

…
                {
                    "name": "Solar Heute",
                    "feature": "heating.solar.power.production",
                    "deviceId": "0"
                },
…

Cheers,
Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@sweh and others