Aller au contenu

Messages recommandés

Posté(e)

en fait je crois que je n'ai pas reçu le bon son.

Celui qu'il me faudrait est celui du device "WXT Clim Panel", le dernier de ta capture d'écran.

Posté(e)
{"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 :

 

Posté(e)

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

Posté(e)

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

Posté(e)

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 ...

Posté(e)

ok bos

 

pour le test donc je cree une scene en lua

 

ou je rajout juste apres les 4 lignes par defaut, les tienes c est ca ?

 

comment je verifie si ca marche ?

Posté(e)

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.

Posté(e)

sais-tu m'envoyer un screenshot (après avoir appuyé sur le bouton) pour que je visualise bien ainsi que le son (également après avoir appuyé sur le bouton)

Posté(e)
{
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

Posté(e)

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 ?

Posté(e)
{
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

 

 

Posté(e)

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 ?

Posté(e)

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

Posté(e)

ca n a toujours pas envoyer l instruction au boitier

 

pour le chauffage si tu veux plus tard 

deja la clim c est super si ca marche avec le nest

et qu il envoi l instruction 

Posté(e)

d'après la photo tout semble ok. tout est à15°C.

Alors regarde si en manuel tu peux commander ton boitier depuis ta Fibaro

Posté(e)

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)

Posté(e)

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

Posté(e)
{
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

Posté(e)
{
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

×
×
  • Créer...