Code: Select all
{"status": "ok", "version": "3.38", "request": {"route": "/get-sensors" }, "response": {"preset":0,"time":"2017-08-19 19:48","switches":[{"id":0,"name":"Luifel","type":"asun","mode":0,"favorite":"no"},{"id":1,"name":"test","type":"switch","status":"on","favorite":"no"},{"id":2,"name":"Kleuren lamp","type":"led5ch","status":"off","color":{"hue":0,"sat":0,"bri":10},"version":5.03,"favorite":"no"},{"id":3,"name":"Huisk eettafel","type":"dimmer","status":"off","dimlevel":0,"favorite":"no"},{"id":4,"name":"Keuken","type":"dimmer","status":"off","dimlevel":0,"favorite":"no"},{"id":5,"name":"Slaapkamer bed","type":"switch","status":"off","favorite":"no"},{"id":6,"name":"Huisk Groot","type":"dimmer","status":"off","dimlevel":0,"favorite":"no"},{"id":7,"name":"Huisk tv","type":"dimmer","status":"off","dimlevel":0,"favorite":"no"},{"id":8,"name":"Garage Lamp","type":"switch","status":"off","favorite":"no"},{"id":9,"name":"Kantoor vitrine","type":"switch","status":"off","favorite":"no"},{"id":11,"name":"Tuin voor","type":"dimmer","status":"off","dimlevel":0,"favorite":"no"},{"id":12,"name":"Slaapkamer Lamp","type":"dimmer","status":"off","dimlevel":0,"favorite":"no"},{"id":13,"name":"Gang","type":"switch","status":"off","favorite":"no"},{"id":14,"name":"Tuin achter","type":"switch","status":"off","favorite":"no"},{"id":15,"name":"Kantoor buro","type":"switch","status":"off","favorite":"no"},{"id":16,"name":"Ventilator","type":"switch","status":"off","favorite":"yes"},{"id":17,"name":"Huisk Dressoir","type":"dimmer","status":"off","dimlevel":0,"favorite":"no"},{"id":18,"name":"Toilet","type":"switch","status":"off","favorite":"no"},{"id":19,"name":"Kantoor plafond","type":"dimmer","status":"off","dimlevel":0,"favorite":"no"},{"id":20,"name":"Slaapkamer","type":"radiator","tte":0.0,"favorite":"yes"},{"id":21,"name":"Rachelle","type":"dimmer","status":"off","dimlevel":0,"favorite":"no"},{"id":22,"name":"Stroom draad","type":"switch","status":"on","favorite":"no"}],"uvmeters":[],"windmeters":[{"id":4,"name":"Wind meter","model":0,"unit":0,"ws":0.3,"dir":"WNW 292","gu":2.0,"wc":17.5,"te":17.5,"ws+":4.0,"ws+t":"16:04","ws-":0.0,"ws-t":"00:01","favorite":"no"}],"rainmeters":[{"id":3,"name":"Regen meter","model":0,"mm":0.0,"3h":0.0,"favorite":"no"}],"thermometers":[{"id":0,"name":"Huis kamer","channel":1,"model":0,"te":19.0,"hu":62,"te+":22.9,"te+t":"18:32","te-":12.8,"te-t":"05:26","hu+":75,"hu+t":"05:09","hu-":57,"hu-t":"19:35","outside":"no","favorite":"no"},{"id":1,"name":"Slaapkamer","channel":2,"model":0,"te":22.9,"hu":57,"te+":23.7,"te+t":"03:03","te-":22.6,"te-t":"13:36","hu+":63,"hu+t":"02:44","hu-":56,"hu-t":"18:45","outside":"no","favorite":"no"},{"id":2,"name":"Buiten","channel":3,"model":0,"te":17.6,"hu":66,"te+":19.9,"te+t":"16:46","te-":12.1,"te-t":"05:18","hu+":87,"hu+t":"14:22","hu-":61,"hu-t":"18:44","outside":"yes","favorite":"no"},{"id":5,"name":"Kantoor","code":"16245902","model":1,"lowBattery":"no","version":2.32,"te":20.7,"hu":66,"te+":21.6,"te+t":"00:08","te-":20.2,"te-t":"10:20","hu+":70,"hu+t":"07:50","hu-":66,"hu-t":"18:00","outside":"no","favorite":"no"}],"weatherdisplays":[], "energymeters": [], "energylinks": [{"id":0,"favorite":"no","name":"EnergyLink","code":"972489","t1":"other","c1":1,"t2":"water","c2":1,"tariff":1,"s1":{"po":0,"dayTotal":0.00,"po+":0,"po+t":"00:01","po-":0,"po-t":"00:01"},"s2":{"po":0,"dayTotal":227.00,"po+":14,"po+t":"11:31","po-":0,"po-t":"00:02"},"aggregate":{"po":2570,"dayTotal":8.24,"po+":2640,"po+t":"19:45","po-":170,"po-t":"03:37"},"used":{"po":2570,"dayTotal":8.14,"po+":2640,"po+t":"19:45","po-":170,"po-t":"03:37"},"gas":{"lastHour":0.05,"dayTotal":0.39},"kwhindex":0.00,"wp":0}], "heatlinks": [{"id": 0, "favorite": "no", "name": "HeatLink", "code": "661003", "pump": "off", "heating": "off", "dhw": "off", "rte": 22.148, "rsp": 20.000, "tte": 0.000, "ttm": null, "wp": 0.000, "wte": 51.500, "ofc": 0, "odc": 0, "presets": [{ "id": 0, "te": 20.00},{ "id": 1, "te": 15.00},{ "id": 2, "te": 21.00},{ "id": 3, "te": 15.00}]}], "hues": [], "scenes": [{"id": 0, "name": "TV Kijken", "favorite": "yes"},{"id": 2, "name": "Toilet", "favorite": "no"},{"id": 3, "name": "Tuin", "favorite": "no"},{"id": 4, "name": "Tuin nacht", "favorite": "no"},{"id": 5, "name": "Badkamer fan", "favorite": "no"}], "kakusensors": [{"id":0,"name":"Deurbel voor","status":null,"type":"doorbell","favorite":"no","timestamp":"00:00","cameraid":null},{"id":1,"name":"Licht sensor","status":null,"type":"light","favorite":"no","timestamp":"00:00","cameraid":null},{"id":2,"name":"Tuin","status":"no","type":"motion","favorite":"no","timestamp":"19:27","cameraid":0},{"id":4,"name":"Brand Beneden","status":"no","type":"smoke868","favorite":"no","timestamp":"00:00","cameraid":null,"lowBattery":"no","lastSeen":"2017-08-19 05:49:00"},{"id":5,"name":"Gang","status":"no","type":"motion","favorite":"no","timestamp":"18:30","cameraid":null},{"id":6,"name":"Achter deur","status":"yes","type":"contact","favorite":"no","timestamp":"18:49","cameraid":null},{"id":7,"name":"Toilet","status":"no","type":"motion","favorite":"no","timestamp":"18:21","cameraid":null},{"id":8,"name":"Voor deur","status":null,"type":"contact","favorite":"no","timestamp":"00:00","cameraid":null},{"id":9,"name":"Water Washok","status":"no","type":"leakage","favorite":"no","timestamp":"00:00","cameraid":null,"lowBattery":"no","lastSeen":"2017-08-19 19:35:40"},{"id":10,"name":"Ketel Brand","status":"no","type":"smoke868","favorite":"no","timestamp":"00:00","cameraid":null,"lowBattery":"no","lastSeen":"2017-08-19 06:05:41"},{"id":11,"name":"Ketel Water","status":"no","type":"leakage","favorite":"no","timestamp":"00:00","cameraid":null,"lowBattery":"no","lastSeen":"2017-08-19 19:04:32"},{"id":12,"name":"Deurbel","status":"no","type":"doorbell","favorite":"no","timestamp":"12:42","cameraid":null},{"id":13,"name":"boven","status":"no","type":"smoke868","favorite":"no","timestamp":"00:00","cameraid":null,"lowBattery":"no","lastSeen":"2017-08-19 03:44:44"}], "cameras": [{"id":0,"model":30,"name":"Camera","username":"xxxx","password":"xxxx","ip":"192.168.0.100","port":"80","mode":0,"url":{"path":"image/jpeg.cgi","query":"","auth":"YWRtaW46YWRtaW4="},"presets":[]}]}}
Code: Select all
{"status": "ok", "version": "3.38", "request": {"route": "/get-status" }, "response": {"preset":0,"time":"2017-08-19 19:49","switches":[{"id":1,"type":"switch","status":"on"},{"id":2,"type":"led5ch","status":"off","color":{"hue":0,"sat":0,"bri":10}},{"id":3,"type":"dimmer","status":"off","dimlevel":0},{"id":4,"type":"dimmer","status":"off","dimlevel":0},{"id":5,"type":"switch","status":"off"},{"id":6,"type":"dimmer","status":"off","dimlevel":0},{"id":7,"type":"dimmer","status":"off","dimlevel":0},{"id":8,"type":"switch","status":"off"},{"id":9,"type":"switch","status":"off"},{"id":11,"type":"dimmer","status":"off","dimlevel":0},{"id":12,"type":"dimmer","status":"off","dimlevel":0},{"id":13,"type":"switch","status":"off"},{"id":14,"type":"switch","status":"off"},{"id":15,"type":"switch","status":"off"},{"id":16,"type":"switch","status":"off"},{"id":17,"type":"dimmer","status":"off","dimlevel":0},{"id":18,"type":"switch","status":"off"},{"id":19,"type":"dimmer","status":"off","dimlevel":0},{"id":20,"type":"radiator","tte":0.0},{"id":21,"type":"dimmer","status":"off","dimlevel":0},{"id":22,"type":"switch","status":"on"}],"uvmeters":[],"windmeters":[{"id":4,"unit":0,"ws":0.3,"dir":"ENE 67","gu":0.0,"wc":17.5,"te":17.5,"favorite":"no"}],"rainmeters":[{"id":3,"mm":0.0,"3h":0.0,"favorite":"no"}],"thermometers":[{"id":0,"te":22.6,"hu":57,"favorite":"no"},{"id":1,"te":22.9,"hu":57,"favorite":"no"},{"id":2,"te":17.5,"hu":65,"favorite":"no"},{"id":5,"te":20.7,"hu":66,"favorite":"no"}],"weatherdisplays":[], "energymeters": [], "energylinks": [{"id":0,"tariff":1,"s1":{"po":0,"dayTotal":0.00,"po+":0,"po+t":"00:01","po-":0,"po-t":"00:01"},"s2":{"po":0,"dayTotal":227.00,"po+":14,"po+t":"11:31","po-":0,"po-t":"00:02"},"aggregate":{"po":2580,"dayTotal":8.29,"po+":2640,"po+t":"19:45","po-":170,"po-t":"03:37"},"used":{"po":2580,"dayTotal":8.19,"po+":2640,"po+t":"19:45","po-":170,"po-t":"03:37"},"gas":{"lastHour":0.05,"dayTotal":0.39},"kwhindex":0.00}], "heatlinks": [{"id": 0, "pump": "off", "heating": "off", "dhw": "off", "rte": 22.136, "rsp": 20.000, "tte": 0.000, "ttm": null, "wp": 0.000, "wte": 51.296, "ofc": 0, "odc": 0}], "kakusensors": [{"id":0,"status":null,"timestamp":"00:00"},{"id":1,"status":null,"timestamp":"00:00"},{"id":2,"status":"no","timestamp":"19:27"},{"id":4,"status":"no","timestamp":"00:00"},{"id":5,"status":"no","timestamp":"18:30"},{"id":6,"status":"yes","timestamp":"18:49"},{"id":7,"status":"no","timestamp":"18:21"},{"id":8,"status":null,"timestamp":"00:00"},{"id":9,"status":"no","timestamp":"00:00"},{"id":10,"status":"no","timestamp":"00:00"},{"id":11,"status":"no","timestamp":"00:00"},{"id":12,"status":"no","timestamp":"12:42"},{"id":13,"status":"no","timestamp":"00:00"}]}}