Aller au contenu

Requête HTTP Fibaro motion sensor


wojc

Messages recommandés

Bonjours à tous,

j'aimerais savoir s'il est possible de connaitre la température d'une pièce avec le motion sensor de Fibaro en faisant une requête HTTP.

 

Cette requête me servirait si c'est possible à créer une applet IFTTT pour intéroger google home.

 

Merci

Lien vers le commentaire
Partager sur d’autres sites

Oui, je vois la température, à la dernière ligne "value":22.70

 

et voici le json:

{"id":59,"name":"Température","roomID":26,"type":"com.fibaro.temperatureSensor","baseType":"com.fibaro.multilevelSensor","enabled":true,"visible":true,"isPlugin":false,"parentId":57,"remoteGatewayId":0,"interfaces":["battery","zwave","zwaveWakeup"],"properties":{"parameters":[{"id":1,"lastReportedValue":10,"lastSetValue":10,"size":1,"value":10},{"id":2,"lastReportedValue":2,"lastSetValue":2,"size":1,"value":2},{"id":3,"lastReportedValue":1,"lastSetValue":1,"size":1,"value":1},{"id":4,"lastReportedValue":2,"lastSetValue":2,"size":1,"value":2},{"id":6,"lastReportedValue":5,"lastSetValue":5,"size":2,"value":5},{"id":8,"lastReportedValue":0,"lastSetValue":0,"size":1,"value":0},{"id":9,"lastReportedValue":200,"lastSetValue":200,"size":2,"value":200},{"id":12,"lastReportedValue":0,"lastSetValue":0,"size":1,"value":0},{"id":14,"lastReportedValue":255,"lastSetValue":255,"size":1,"value":255},{"id":16,"lastReportedValue":0,"lastSetValue":0,"size":1,"value":0},{"id":20,"lastReportedValue":15,"lastSetValue":15,"size":1,"value":15},{"id":22,"lastReportedValue":30,"lastSetValue":30,"size":2,"value":30},{"id":24,"lastReportedValue":0,"lastSetValue":0,"size":1,"value":0},{"id":26,"lastReportedValue":0,"lastSetValue":0,"size":1,"value":0},{"id":40,"lastReportedValue":200,"lastSetValue":200,"size":2,"value":200},{"id":42,"lastReportedValue":0,"lastSetValue":0,"size":2,"value":0},{"id":60,"lastReportedValue":10,"lastSetValue":10,"size":1,"value":10},{"id":62,"lastReportedValue":900,"lastSetValue":900,"size":2,"value":900},{"id":64,"lastReportedValue":0,"lastSetValue":0,"size":2,"value":0},{"id":66,"lastReportedValue":0,"lastSetValue":0,"size":2,"value":0},{"id":80,"lastReportedValue":10,"lastSetValue":10,"size":1,"value":10},{"id":81,"lastReportedValue":50,"lastSetValue":50,"size":1,"value":50},{"id":82,"lastReportedValue":100,"lastSetValue":100,"size":2,"value":100},{"id":83,"lastReportedValue":1000,"lastSetValue":1000,"size":2,"value":1000},{"id":86,"lastReportedValue":18,"lastSetValue":18,"size":1,"value":18},{"id":87,"lastReportedValue":28,"lastSetValue":28,"size":1,"value":28},{"id":89,"lastReportedValue":1,"lastSetValue":1,"size":1,"value":1}],"pollingTimeSec":0,"wakeUpTime":18000,"zwaveCompany":"Fibargroup","zwaveInfo":"3,3,67","zwaveVersion":"2.8","batteryLevel":"100","batteryLowNotification":"true","configured":true,"dead":"false","defInterval":"0","deviceControlType":"0","deviceIcon":"30","emailNotificationID":"0","emailNotificationType":"0","endPointId":"0","liliOffCommand":"","liliOnCommand":"","log":"","logTemp":"","manufacturer":"","markAsDead":"true","maxInterval":"0","minInterval":"0","model":"","nodeId":"9","offset":"0.00","parametersTemplate":"270","productInfo":"1,15,8,0,16,1,2,8","pushNotificationID":"0","pushNotificationType":"0","remoteGatewayId":"0","saveLogs":"true","serialNumber":"","showFireAlarm":"true","showFreezeAlarm":"false","smsNotificationID":"0","smsNotificationType":"0","stepInterval":"0","unit":"C","useTemplate":"true","userDescription":"","value":"22.70"},"actions":{"reconfigure":0,"setInterval":1},"created":1512140734,"modified":1512140734,"sortOrder":34}

 

Lien vers le commentaire
Partager sur d’autres sites

×
×
  • Créer...