J'ignore si'l accepte on/off. C'est reglé pas la temperature.
http://heating.danfoss.com/PCMPDF/living-connect_OEM_VQIDA15T_013R9563.pdf
En LUA:
fibaro:call(154, "setTargetLevel", "20");
fibaro:call(154, "setTime", tonumber(os.time(t)) + 120*60);
Voici le résultat API du Radiator Head avec la température 28C , donc ouvert
{
"id": 154,
"name": "154 erker re-achter",
"roomID": 4,
"type": "com.fibaro.thermostatDanfoss",
"baseType": "com.fibaro.hvac",
"enabled": true,
"visible": true,
"isPlugin": false,
"parentId": 153,
"remoteGatewayId": 0,
"interfaces": [
"battery",
"zwave",
"zwaveProtection",
"zwaveWakeup"
],
"properties": {
"parameters": [],
"pollingTimeSec": 0,
"wakeUpTime": 900,
"zwaveCompany": "Danfoss",
"zwaveInfo": "6,3,67",
"zwaveVersion": "1.1",
"RFProtectionState": "0",
"RFProtectionSupport": "0",
"batteryLevel": "71",
"batteryLowNotification": "true",
"configured": true,
"dead": "false",
"defInterval": "0",
"deviceControlType": "0",
"deviceIcon": "34",
"emailNotificationID": "0",
"emailNotificationType": "0",
"endPointId": "0",
"liliOffCommand": "",
"liliOnCommand": "",
"localProtectionState": "0",
"localProtectionSupport": "5",
"log": "",
"logTemp": "",
"manufacturer": "",
"markAsDead": "false",
"maxInterval": "0",
"minInterval": "0",
"model": "",
"nodeId": "32",
"parametersTemplate": "322",
"productInfo": "0,2,0,5,0,4,1,1",
"protectionExclusiveControl": "0",
"protectionExclusiveControlSupport": "false",
"protectionState": "0",
"protectionTimeout": "0",
"protectionTimeoutSupport": "false",
"pushNotificationID": "0",
"pushNotificationType": "0",
"remoteGatewayId": "0",
"saveLogs": "true",
"serialNumber": "",
"smsNotificationID": "0",
"smsNotificationType": "0",
"stepInterval": "0",
"targetLevel": "28.00",
"timestamp": "1513530105",
"unit": "C",
"useTemplate": "true",
"userDescription": "",
"value": "28.00"
},
"actions": {
"reconfigure": 0,
"setInterval": 1,
"setTargetLevel": 1,
"setTime": 1
},
"created": 1512678785,
"modified": 1512678785,
"sortOrder": 102
}
Et voici à 4 degrée C , donc fermé
{
"id": 154,
"name": "154 erker re-achter",
"roomID": 4,
"type": "com.fibaro.thermostatDanfoss",
"baseType": "com.fibaro.hvac",
"enabled": true,
"visible": true,
"isPlugin": false,
"parentId": 153,
"remoteGatewayId": 0,
"interfaces": [
"battery",
"zwave",
"zwaveProtection",
"zwaveWakeup"
],
"properties": {
"parameters": [],
"pollingTimeSec": 0,
"wakeUpTime": 900,
"zwaveCompany": "Danfoss",
"zwaveInfo": "6,3,67",
"zwaveVersion": "1.1",
"RFProtectionState": "0",
"RFProtectionSupport": "0",
"batteryLevel": "71",
"batteryLowNotification": "true",
"configured": true,
"dead": "false",
"defInterval": "0",
"deviceControlType": "0",
"deviceIcon": "34",
"emailNotificationID": "0",
"emailNotificationType": "0",
"endPointId": "0",
"liliOffCommand": "",
"liliOnCommand": "",
"localProtectionState": "0",
"localProtectionSupport": "5",
"log": "",
"logTemp": "",
"manufacturer": "",
"markAsDead": "false",
"maxInterval": "0",
"minInterval": "0",
"model": "",
"nodeId": "32",
"parametersTemplate": "322",
"productInfo": "0,2,0,5,0,4,1,1",
"protectionExclusiveControl": "0",
"protectionExclusiveControlSupport": "false",
"protectionState": "0",
"protectionTimeout": "0",
"protectionTimeoutSupport": "false",
"pushNotificationID": "0",
"pushNotificationType": "0",
"remoteGatewayId": "0",
"saveLogs": "true",
"serialNumber": "",
"smsNotificationID": "0",
"smsNotificationType": "0",
"stepInterval": "0",
"targetLevel": "28.00",
"timestamp": "1513530105",
"unit": "C",
"useTemplate": "true",
"userDescription": "",
"value": "28.00"
},
"actions": {
"reconfigure": 0,
"setInterval": 1,
"setTargetLevel": 1,
"setTime": 1
},
"created": 1512678785,
"modified": 1512678785,
"sortOrder": 102
}