Aller au contenu

Zxt-120 Et Nest Thermostat


CharlesO

Messages recommandés

{"id":52,
"name":"ZXT Clim Panel",
"roomID":20,
"type":"com.fibaro.setPoint",
"baseType":"com.fibaro.hvac",
"enabled":true,
"visible":true,
"isPlugin":false,
"parentId":51,
"remoteGatewayId":0,
"interfaces":["battery",
"zwave",
"zwaveSwitchAll"],
"properties":{"parameters":[{"id":25,
"lastReportedValue":0,
"lastSetValue":0,
"size":1,
"value":0},
{"id":26,
"lastReportedValue":0,
"lastSetValue":0,
"size":1,
"value":0},
{"id":27,
"lastReportedValue":471,
"lastSetValue":471,
"size":2,
"value":471},
{"id":28,
"lastReportedValue":255,
"lastSetValue":255,
"size":1,
"value":255},
{"id":32,
"lastReportedValue":255,
"lastSetValue":255,
"size":1,
"value":255},
{"id":33,
"lastReportedValue":1,
"lastSetValue":1,
"size":1,
"value":1},
{"id":35,
"lastReportedValue":0,
"lastSetValue":0,
"size":4,
"value":0},
{"id":37,
"lastReportedValue":0,
"lastSetValue":0,
"size":1,
"value":0}],
"zwaveCompany":"Remotec Technology Ltd",
"zwaveInfo":"6,3,42",
"zwaveVersion":"1.12",
"pollingTimeSec":0,
"batteryLevel":"0",
"batteryLowNotification":"true",
"configured":"true",
"dead":"false",
"defInterval":"0",
"deviceControlType":"0",
"deviceIcon":"71",
"emailNotificationID":"0",
"emailNotificationType":"0",
"endPointId":"0",
"liliOffCommand":"",
"liliOnCommand":"",
"log":"",
"logTemp":"",
"manufacturer":"",
"markAsDead":"true",
"maxInterval":"0",
"minInterval":"0",
"mode":"2",
"model":"",
"nodeId":"6",
"parametersTemplate":"417",
"productInfo":"82,84,1,1,131,119,1,12",
"pushNotificationID":"0",
"pushNotificationType":"0",
"remoteGatewayId":"0",
"saveLogs":"true",
"smsNotificationID":"0",
"smsNotificationType":"0",
"stepInterval":"0",
"supportedModes":"1,2,8,10",
"switchAllMode":"SWITCH_ALL_EXCLUDED_FROM_THE_ALL_ON_ALL_OFF_FUNCTIONALITY",
"targetLevel":"23.00",
"unit":"C",
"useTemplate":"true",
"userDescription":"",
"value":"23.00"},
"actions":{"reconfigure":0,
"setInterval":1,
"setSetpointMode":1,
"setThermostatSetpoint":2},
"created":1440263369,
"modified":1440263369,
"sortOrder":99}


Salut et merci !!!!

Le voila :

 

Lien vers le commentaire
Partager sur d’autres sites

Mais Jojo

comme je te l ai dit plus haut  je n ai pas de problem au niveau du zxt car je peut ajouter une scene en utilisant les blocs graphiques

mais le probleme est sur le nest car je ne peut pas cree de scene avec lui

je voudrais choisir une temperature et un mode apartire du nest et que le fibaro l execute

 

merci Jojo

Lien vers le commentaire
Partager sur d’autres sites

Dans un premier temps, je te propose ceci pour voir si on peut commenter le setpoint de ton ZXT par LUA

local zxt120_ID = 52
local SetPoint = 50
 
local HC2 = Net.FHttp("127.0.0.1",11111)
 
-- préparation du nouveau json
NewJson = '{"properties":{"value":'..SetPoint..'"}}'    -- écriture du nouveau json
 
-- écriture du nouveau json
payload = "/api/devices/" ..zxt120_ID
HC2:PUT(payload, NewJson)

Ton ZXT devrait avoir la valeur mise dans la variable SetPoint (ici 50°C).

Essaie avec différentes valeurs et vois ce que ça donne

Lien vers le commentaire
Partager sur d’autres sites

je suis très confiant sur le fait que je puisse récupérer la valeur de consigne du Nest.

De plus, j'en ai un chez moi, donc c'est facile pour moi de faire les tests.

Par contre transférer cette valeur au ZXT, c'est moins clair pour moi, surtout que je n'en ais pas pour essayer ...

Lien vers le commentaire
Partager sur d’autres sites

tu ne crées pas une scène, mais un nouveau device virtuel.

dans de DV, tu crées un bouton et tu y mes le code.

Tu sauves.

Et quand tu cliques sur le bouton, la température de consigne devrait être de 50°C sur ton ZXT.

Tu peux faire différents tests avec différentes valeurs (en modifiant la variable SetPoint du DV) et tu vois si ton ZXT réagit comme attendu.

Lien vers le commentaire
Partager sur d’autres sites

{
id: 52,
name: "ZXT Clim Panel",
roomID: 20,
type: "com.fibaro.setPoint",
baseType: "com.fibaro.hvac",
enabled: true,
visible: true,
isPlugin: false,
parentId: 51,
remoteGatewayId: 0,
interfaces: [
"battery",
"zwave",
"zwaveSwitchAll"
],
properties: {
parameters: [
{
id: 25,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 26,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 27,
lastReportedValue: 471,
lastSetValue: 471,
size: 2,
value: 471
},
{
id: 28,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 32,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 33,
lastReportedValue: 1,
lastSetValue: 1,
size: 1,
value: 1
},
{
id: 35,
lastReportedValue: 0,
lastSetValue: 0,
size: 4,
value: 0
},
{
id: 37,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
}
],
zwaveCompany: "Remotec Technology Ltd",
zwaveInfo: "6,3,42",
zwaveVersion: "1.12",
pollingTimeSec: 0,
batteryLevel: "0",
batteryLowNotification: "true",
configured: "true",
dead: "false",
defInterval: "0",
deviceControlType: "0",
deviceIcon: "71",
emailNotificationID: "0",
emailNotificationType: "0",
endPointId: "0",
liliOffCommand: "",
liliOnCommand: "",
log: "",
logTemp: "",
manufacturer: "",
markAsDead: "true",
maxInterval: "0",
minInterval: "0",
mode: "2",
model: "",
nodeId: "6",
parametersTemplate: "417",
productInfo: "82,84,1,1,131,119,1,12",
pushNotificationID: "0",
pushNotificationType: "0",
remoteGatewayId: "0",
saveLogs: "true",
smsNotificationID: "0",
smsNotificationType: "0",
stepInterval: "0",
supportedModes: "1,2,8,10",
switchAllMode: "SWITCH_ALL_EXCLUDED_FROM_THE_ALL_ON_ALL_OFF_FUNCTIONALITY",
targetLevel: "24.00",
unit: "C",
useTemplate: "true",
userDescription: "",
value: "50.00"
},
actions: {
reconfigure: 0,
setInterval: 1,
setSetpointMode: 1,
setThermostatSetpoint: 2
},
created: 1440263369,
modified: 1440263369,
sortOrder: 100
}

 le json

Lien vers le commentaire
Partager sur d’autres sites

cool, il me semble que avance. Essaie ceci, j'ai mis la consigne à48°C

local zxt120_ID = 52
local SetPoint = 48
 
local HC2 = Net.FHttp("127.0.0.1",11111)
 
-- préparation du nouveau json
NewJson = '{"properties":{"value":'..SetPoint..'"}}'    -- écriture du nouveau json
 
-- écriture du nouveau json
payload = "/api/devices/" ..zxt120_ID
HC2:PUT(payload, NewJson)

-- préparation du nouveau json
NewJson = '{"properties":{"tagetLevel":'..SetPoint..'"}}'    -- écriture du nouveau json
 
-- écriture du nouveau json
payload = "/api/devices/" ..zxt120_ID
HC2:PUT(payload, NewJson)

tu appuyes sur le bouton et me renvoie les même infos (photo + json) et tant qu'àfaire, tu me dis si ton ZXT àbien enclenché le chauffage ?

Lien vers le commentaire
Partager sur d’autres sites

{
id: 52,
name: "ZXT Clim Panel",
roomID: 20,
type: "com.fibaro.setPoint",
baseType: "com.fibaro.hvac",
enabled: true,
visible: true,
isPlugin: false,
parentId: 51,
remoteGatewayId: 0,
interfaces: [
"battery",
"zwave",
"zwaveSwitchAll"
],
properties: {
parameters: [
{
id: 25,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 26,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 27,
lastReportedValue: 471,
lastSetValue: 471,
size: 2,
value: 471
},
{
id: 28,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 32,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 33,
lastReportedValue: 1,
lastSetValue: 1,
size: 1,
value: 1
},
{
id: 35,
lastReportedValue: 0,
lastSetValue: 0,
size: 4,
value: 0
},
{
id: 37,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
}
],
zwaveCompany: "Remotec Technology Ltd",
zwaveInfo: "6,3,42",
zwaveVersion: "1.12",
pollingTimeSec: 0,
batteryLevel: "0",
batteryLowNotification: "true",
configured: "true",
dead: "false",
defInterval: "0",
deviceControlType: "0",
deviceIcon: "71",
emailNotificationID: "0",
emailNotificationType: "0",
endPointId: "0",
liliOffCommand: "",
liliOnCommand: "",
log: "",
logTemp: "",
manufacturer: "",
markAsDead: "true",
maxInterval: "0",
minInterval: "0",
mode: "2",
model: "",
nodeId: "6",
parametersTemplate: "417",
productInfo: "82,84,1,1,131,119,1,12",
pushNotificationID: "0",
pushNotificationType: "0",
remoteGatewayId: "0",
saveLogs: "true",
smsNotificationID: "0",
smsNotificationType: "0",
stepInterval: "0",
supportedModes: "1,2,8,10",
switchAllMode: "SWITCH_ALL_EXCLUDED_FROM_THE_ALL_ON_ALL_OFF_FUNCTIONALITY",
targetLevel: "24.00",
unit: "C",
useTemplate: "true",
userDescription: "",
value: "48.00"
},
actions: {
reconfigure: 0,
setInterval: 1,
setSetpointMode: 1,
setThermostatSetpoint: 2
},
created: 1440263369,
modified: 1440263369,
sortOrder: 100
}

voila pour le json

 

mais ca na pas envoyer l instruction a mon climatiseur

 

 

Lien vers le commentaire
Partager sur d’autres sites

Je vient de voir une faute de frappe

tagetLevel, au lien de targetLevel

local zxt120_ID = 52
local SetPoint = 15
 
local HC2 = Net.FHttp("127.0.0.1",11111)
 
-- préparation du nouveau json
NewJson = '{"properties":{"value":'..SetPoint..'"}}'    -- écriture du nouveau json
 
-- écriture du nouveau json
payload = "/api/devices/" ..zxt120_ID
HC2:PUT(payload, NewJson)
 
-- préparation du nouveau json
NewJson = '{"properties":{"targetLevel":'..SetPoint..'"}}'    -- écriture du nouveau json
 
-- écriture du nouveau json
payload = "/api/devices/" ..zxt120_ID
HC2:PUT(payload, NewJson)

Peux-tu réessayer avec ce code, le l'ai mis à15°C pour le climatiseur, mais il faudra peux-être également regarder pour modifier le mode climatiseur ou chauffage ?

Lien vers le commentaire
Partager sur d’autres sites

photo et json

{
id: 52,
name: "ZXT Clim Panel",
roomID: 20,
type: "com.fibaro.setPoint",
baseType: "com.fibaro.hvac",
enabled: true,
visible: true,
isPlugin: false,
parentId: 51,
remoteGatewayId: 0,
interfaces: [
"battery",
"zwave",
"zwaveSwitchAll"
],
properties: {
parameters: [
{
id: 25,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 26,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 27,
lastReportedValue: 471,
lastSetValue: 471,
size: 2,
value: 471
},
{
id: 28,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 32,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 33,
lastReportedValue: 1,
lastSetValue: 1,
size: 1,
value: 1
},
{
id: 35,
lastReportedValue: 0,
lastSetValue: 0,
size: 4,
value: 0
},
{
id: 37,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
}
],
zwaveCompany: "Remotec Technology Ltd",
zwaveInfo: "6,3,42",
zwaveVersion: "1.12",
pollingTimeSec: 0,
batteryLevel: "0",
batteryLowNotification: "true",
configured: "true",
dead: "false",
defInterval: "0",
deviceControlType: "0",
deviceIcon: "71",
emailNotificationID: "0",
emailNotificationType: "0",
endPointId: "0",
liliOffCommand: "",
liliOnCommand: "",
log: "",
logTemp: "",
manufacturer: "",
markAsDead: "true",
maxInterval: "0",
minInterval: "0",
mode: "2",
model: "",
nodeId: "6",
parametersTemplate: "417",
productInfo: "82,84,1,1,131,119,1,12",
pushNotificationID: "0",
pushNotificationType: "0",
remoteGatewayId: "0",
saveLogs: "true",
smsNotificationID: "0",
smsNotificationType: "0",
stepInterval: "0",
supportedModes: "1,2,8,10",
switchAllMode: "SWITCH_ALL_EXCLUDED_FROM_THE_ALL_ON_ALL_OFF_FUNCTIONALITY",
targetLevel: "15.00",
unit: "C",
useTemplate: "true",
userDescription: "",
value: "15.00"
},
actions: {
reconfigure: 0,
setInterval: 1,
setSetpointMode: 1,
setThermostatSetpoint: 2
},
created: 1440263369,
modified: 1440263369,
sortOrder: 100
}

post-4753-0-94999500-1441971696_thumb.png

Lien vers le commentaire
Partager sur d’autres sites

oui en manuel quand je fais un changement ca fait un bip

pour info :

le boitier imite le signal de la telecommand et a chaque manipulation il renvoi tout les réglage

je veux dire par la que si il était sur froid 22 et je le mes a 24 il envoi et froid et 24

si ca peut t aide

 

merci encore 

 

(la il fait le changement dans le fibaro mais ne fait pas de bip donc l instruction n ait pas envoyer)

Lien vers le commentaire
Partager sur d’autres sites

un zxt-120 coute 80€, et je pourrais l'avoir pour mardi, mais ce serait triste de faire un tel investissement sans garantie de résultat.

 

on pourrait essayer différents json, pour essayer de comprendre

 

1) consigne en manuel à  24°C, photo json

2) consigne en manuel à  18°C, photo, json

3) consigne à  150C via le dernier code, photo, json

Lien vers le commentaire
Partager sur d’autres sites

{
id: 52,
name: "ZXT Clim Panel",
roomID: 20,
type: "com.fibaro.setPoint",
baseType: "com.fibaro.hvac",
enabled: true,
visible: true,
isPlugin: false,
parentId: 51,
remoteGatewayId: 0,
interfaces: [
"battery",
"zwave",
"zwaveSwitchAll"
],
properties: {
parameters: [
{
id: 25,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 26,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 27,
lastReportedValue: 471,
lastSetValue: 471,
size: 2,
value: 471
},
{
id: 28,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 32,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 33,
lastReportedValue: 1,
lastSetValue: 1,
size: 1,
value: 1
},
{
id: 35,
lastReportedValue: 0,
lastSetValue: 0,
size: 4,
value: 0
},
{
id: 37,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
}
],
zwaveCompany: "Remotec Technology Ltd",
zwaveInfo: "6,3,42",
zwaveVersion: "1.12",
pollingTimeSec: 0,
batteryLevel: "0",
batteryLowNotification: "true",
configured: "true",
dead: "false",
defInterval: "0",
deviceControlType: "0",
deviceIcon: "71",
emailNotificationID: "0",
emailNotificationType: "0",
endPointId: "0",
liliOffCommand: "",
liliOnCommand: "",
log: "",
logTemp: "",
manufacturer: "",
markAsDead: "true",
maxInterval: "0",
minInterval: "0",
mode: "2",
model: "",
nodeId: "6",
parametersTemplate: "417",
productInfo: "82,84,1,1,131,119,1,12",
pushNotificationID: "0",
pushNotificationType: "0",
remoteGatewayId: "0",
saveLogs: "true",
smsNotificationID: "0",
smsNotificationType: "0",
stepInterval: "0",
supportedModes: "1,2,8,10",
switchAllMode: "SWITCH_ALL_EXCLUDED_FROM_THE_ALL_ON_ALL_OFF_FUNCTIONALITY",
targetLevel: "24.00",
unit: "C",
useTemplate: "true",
userDescription: "",
value: "24.00"
},
actions: {
reconfigure: 0,
setInterval: 1,
setSetpointMode: 1,
setThermostatSetpoint: 2
},
created: 1440263369,
modified: 1440263369,
sortOrder: 100
} 

a 24 :

 

post-4753-0-65226100-1441983240_thumb.png

Lien vers le commentaire
Partager sur d’autres sites

{
id: 52,
name: "ZXT Clim Panel",
roomID: 20,
type: "com.fibaro.setPoint",
baseType: "com.fibaro.hvac",
enabled: true,
visible: true,
isPlugin: false,
parentId: 51,
remoteGatewayId: 0,
interfaces: [
"battery",
"zwave",
"zwaveSwitchAll"
],
properties: {
parameters: [
{
id: 25,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 26,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
},
{
id: 27,
lastReportedValue: 471,
lastSetValue: 471,
size: 2,
value: 471
},
{
id: 28,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 32,
lastReportedValue: 255,
lastSetValue: 255,
size: 1,
value: 255
},
{
id: 33,
lastReportedValue: 1,
lastSetValue: 1,
size: 1,
value: 1
},
{
id: 35,
lastReportedValue: 0,
lastSetValue: 0,
size: 4,
value: 0
},
{
id: 37,
lastReportedValue: 0,
lastSetValue: 0,
size: 1,
value: 0
}
],
zwaveCompany: "Remotec Technology Ltd",
zwaveInfo: "6,3,42",
zwaveVersion: "1.12",
pollingTimeSec: 0,
batteryLevel: "0",
batteryLowNotification: "true",
configured: "true",
dead: "false",
defInterval: "0",
deviceControlType: "0",
deviceIcon: "71",
emailNotificationID: "0",
emailNotificationType: "0",
endPointId: "0",
liliOffCommand: "",
liliOnCommand: "",
log: "",
logTemp: "",
manufacturer: "",
markAsDead: "true",
maxInterval: "0",
minInterval: "0",
mode: "2",
model: "",
nodeId: "6",
parametersTemplate: "417",
productInfo: "82,84,1,1,131,119,1,12",
pushNotificationID: "0",
pushNotificationType: "0",
remoteGatewayId: "0",
saveLogs: "true",
smsNotificationID: "0",
smsNotificationType: "0",
stepInterval: "0",
supportedModes: "1,2,8,10",
switchAllMode: "SWITCH_ALL_EXCLUDED_FROM_THE_ALL_ON_ALL_OFF_FUNCTIONALITY",
targetLevel: "18.00",
unit: "C",
useTemplate: "true",
userDescription: "",
value: "18.00"
},
actions: {
reconfigure: 0,
setInterval: 1,
setSetpointMode: 1,
setThermostatSetpoint: 2
},
created: 1440263369,
modified: 1440263369,
sortOrder: 100
} 

a 18 :

 

post-4753-0-59223800-1441983344_thumb.png

Lien vers le commentaire
Partager sur d’autres sites

×
×
  • Créer...