Line 68: |
Line 68: |
| "state":"undefined" | | "state":"undefined" |
| } | | } |
− | } | + | }, |
| + | { |
| + | "addr":"33:200", |
| + | "type":"climate-control", |
| + | "name":"climate", |
| + | "area":"Living room", |
| + | "status":{ |
| + | "state":"on", |
| + | "setpoint":23.0, |
| + | "setpoint-heat":21.0, |
| + | "setpoint-cool":25.0, |
| + | "current-temperature":0.0, |
| + | "pid-temperature":100, |
| + | "current-humidity":0.0, |
| + | "current-co2":0, |
| + | "automation":"Comfort", |
| + | "mode":"auto", |
| + | "time-interval":0 |
| + | }, |
| + | "automations":[ |
| + | "Comfort" |
| + | ], |
| + | "automation":"Comfort", |
| + | "modes":[ |
| + | "heat", |
| + | "cool" |
| + | ] |
| + | }, |
| ], | | ], |
− | "found":2 | + | "found":3 |
| } | | } |
| | | |
Line 130: |
Line 157: |
| ] | | ] |
| } | | } |
| + | |
| + | request (set status for climate-control): |
| + | {"request":"status-set","addr":"33:200", "status":{"state":"on","setpoint-heat":21.0}} |
| + | |
| + | response: |
| + | { |
| + | "response":"status-set", |
| + | "devices":[ |
| + | { |
| + | "addr":"33:200", |
| + | "success":true |
| + | } |
| + | ] |
| + | } |
| + | |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |