Skip to content

Update load class methods to use new statistics path#696

Open
firewiremb wants to merge 3 commits intoopenviess:masterfrom
firewiremb:firewiremb-patch-1
Open

Update load class methods to use new statistics path#696
firewiremb wants to merge 3 commits intoopenviess:masterfrom
firewiremb:firewiremb-patch-1

Conversation

@firewiremb
Copy link

Along with the API v2 the structure of the 'load class' information has changed. See also #650

Along with the API v2 the structure of the 'load class' information has changed. See also openviess#650
@CFenner CFenner added the bugfix label Jan 26, 2026
Copy link
Member

@CFenner CFenner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have related testdata that we can update as well?

@firewiremb
Copy link
Author

firewiremb commented Jan 27, 2026

Test data:

{
  "apiVersion": 1,
  "commands": {},
  "deviceId": "0",
  "feature": "heating.compressors.0.statistics.load",
  "gatewayId": "################",
  "isEnabled": true,
  "isReady": true,
  "properties": {
    "hoursLoadClassFive": {
      "type": "number",
      "unit": "hour",
      "value": 432
    },
    "hoursLoadClassFour": {
      "type": "number",
      "unit": "hour",
      "value": 1108
    },
    "hoursLoadClassOne": {
      "type": "number",
      "unit": "hour",
      "value": 83
    },
    "hoursLoadClassThree": {
      "type": "number",
      "unit": "hour",
      "value": 2852
    },
    "hoursLoadClassTwo": {
      "type": "number",
      "unit": "hour",
      "value": 858
    }
  },
  "timestamp": "2026-01-27T03:42:50.961Z",
  "uri": "https://api.viessmann-climatesolutions.com/iot/v2/features/installations/30361/gateways/################/devices/0/features/heating.compressors.0.statistics.load"
},

Vitocal_300G.json

@CFenner
Copy link
Member

CFenner commented Feb 12, 2026

could you update please, I think the test data is by now already merged.

@CFenner CFenner marked this pull request as draft February 12, 2026 08:21
@firewiremb firewiremb marked this pull request as ready for review February 12, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants