forked from openviess/PyViCare
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(testdata): Update trv data (openviess#416)
* Update zigbee_zk03840.json * Update zigbee_zk03840.json * Rename zigbee_zk03840.json to zigbee_zk03840_trv.json * Update test_zigbee_zk03840.py * Update test_zigbee_zk03840.py
- Loading branch information
Showing
3 changed files
with
115 additions
and
64 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"apiVersion": 1, | ||
"commands": {}, | ||
"deviceId": "zigbee-048727fffe196e03", | ||
"feature": "device.messages.errors.raw", | ||
"gatewayId": "################", | ||
"isEnabled": true, | ||
"isReady": true, | ||
"properties": { | ||
"entries": { | ||
"type": "array", | ||
"value": [] | ||
} | ||
}, | ||
"timestamp": "2024-10-01T00:31:25.906Z", | ||
"uri": "https://api.viessmann.com/iot/v1/features/installations/#######/gateways/################/devices/zigbee-048727fffe196e03/features/device.messages.errors.raw" | ||
}, | ||
{ | ||
"apiVersion": 1, | ||
"commands": { | ||
"setName": { | ||
"isExecutable": true, | ||
"name": "setName", | ||
"params": { | ||
"name": { | ||
"constraints": { | ||
"maxLength": 40, | ||
"minLength": 1, | ||
"regEx": "^[\\p{L}0-9]+( [\\p{L}0-9]+)*$" | ||
}, | ||
"required": true, | ||
"type": "string" | ||
} | ||
}, | ||
"uri": "https://api.viessmann.com/iot/v1/features/installations/#######/gateways/################/devices/zigbee-048727fffe196e03/features/device.name/commands/setName" | ||
} | ||
}, | ||
"deviceId": "zigbee-048727fffe196e03", | ||
"feature": "device.name", | ||
"gatewayId": "################", | ||
"isEnabled": true, | ||
"isReady": true, | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"value": "" | ||
} | ||
}, | ||
"timestamp": "2024-10-01T00:31:25.906Z", | ||
"uri": "https://api.viessmann.com/iot/v1/features/installations/#######/gateways/################/devices/zigbee-048727fffe196e03/features/device.name" | ||
}, | ||
{ | ||
"apiVersion": 1, | ||
"commands": {}, | ||
"deviceId": "zigbee-048727fffe196e03", | ||
"feature": "device.sensors.temperature", | ||
"gatewayId": "################", | ||
"isEnabled": true, | ||
"isReady": true, | ||
"properties": { | ||
"status": { | ||
"type": "string", | ||
"value": "connected" | ||
}, | ||
"value": { | ||
"type": "number", | ||
"unit": "celsius", | ||
"value": 18.4 | ||
} | ||
}, | ||
"timestamp": "2024-10-01T15:31:33.915Z", | ||
"uri": "https://api.viessmann.com/iot/v1/features/installations/#######/gateways/################/devices/zigbee-048727fffe196e03/features/device.sensors.temperature" | ||
}, | ||
{ | ||
"apiVersion": 1, | ||
"commands": { | ||
"setTargetTemperature": { | ||
"isExecutable": false, | ||
"name": "setTargetTemperature", | ||
"params": { | ||
"temperature": { | ||
"constraints": { | ||
"max": 30, | ||
"min": 8, | ||
"stepping": 0.5 | ||
}, | ||
"required": true, | ||
"type": "number" | ||
} | ||
}, | ||
"uri": "https://api.viessmann.com/iot/v1/features/installations/#######/gateways/################/devices/zigbee-048727fffe196e03/features/trv.temperature/commands/setTargetTemperature" | ||
} | ||
}, | ||
"deviceId": "zigbee-048727fffe196e03", | ||
"feature": "trv.temperature", | ||
"gatewayId": "################", | ||
"isEnabled": true, | ||
"isReady": true, | ||
"properties": { | ||
"value": { | ||
"type": "number", | ||
"unit": "celsius", | ||
"value": 8 | ||
} | ||
}, | ||
"timestamp": "2024-10-01T08:44:50.292Z", | ||
"uri": "https://api.viessmann.com/iot/v1/features/installations/#######/gateways/################/devices/zigbee-048727fffe196e03/features/trv.temperature" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters