dans le fichier feature on voit que les infos sur la pompe à chaleur sont situées dans heating.circuits.1.sensors
{
"properties": {
"active": {
"value": true,
"type": "boolean"
},
"demand": {
"value": "unknown",
"type": "string"
},
"temperature": {
"value": 17,
"unit": "celsius",
"type": "number"
}
},
"commands": {
"setTemperature": {
"uri": "https://api.viessmann.com/iot/v1/equipment/installations/XXXXXX/gateways/XXXXXXXXXXXXXXXX/devices/0/features/heating.circuits.1.operating.programs.normal/commands/setTemperature",
"name": "setTemperature",
"isExecutable": true,
"params": {
"targetTemperature": {
"type": "number",
"required": true,
"constraints": {
"min": 10,
"max": 30,
"stepping": 1
}
}
}
}
},
"apiVersion": 1,
"uri": "https://api.viessmann.com/iot/v1/equipment/installations/XXXXXX/gateways/XXXXXXXXXXXXXXXX/devices/0/features/heating.circuits.1.operating.programs.normal",
"gatewayId": "XXXXXXXXXXXXXXXX",
"feature": "heating.circuits.1.operating.programs.normal",
"timestamp": "2023-12-14T08:56:48.230Z",
"isEnabled": true,
"isReady": true,
"deviceId": "0"
},
...
{
"properties": {
"value": {
"type": "number",
"value": 17.9,
"unit": "celsius"
},
"status": {
"type": "string",
"value": "connected"
}
},
"commands": {},
"apiVersion": 1,
"uri": "https://api.viessmann.com/iot/v1/equipment/installations/XXXXXX/gateways/XXXXXXXXXXXXXXXX/devices/0/features/heating.circuits.1.sensors.temperature.room",
"gatewayId": "XXXXXXXXXXXXXXXX",
"feature": "heating.circuits.1.sensors.temperature.room",
"timestamp": "2023-12-14T12:06:10.050Z",
"isEnabled": true,
"isReady": true,
"deviceId": "0"
},
17 = consigne
17.9 = sonde vitotrol
du coup on voit dans le code que ce n’est pas prévu de lire les registres pompe à chaleur. il faudrait ajouter une section complète et une case à cocher.
si tu n’as pas trop le temps je peux cloner et essayer de le faire et faire un PR sur ton git. j’ai l’équipement pour faire des tests !