From 0368b18ebea651979cae722c647ee32004f94968 Mon Sep 17 00:00:00 2001 From: rafale77 Date: Sun, 6 Dec 2015 12:25:49 -0800 Subject: [PATCH 01/14] Create D_Ecobee1.json UI7 and UI5 compatible icons --- D_Ecobee1.json | 152 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 D_Ecobee1.json diff --git a/D_Ecobee1.json b/D_Ecobee1.json new file mode 100644 index 0000000..56bb247 --- /dev/null +++ b/D_Ecobee1.json @@ -0,0 +1,152 @@ +{ + "flashicon": "http://watou.github.io/vera-ecobee/icons/ecobee.png", + "default_icon": "http://watou.github.io/vera-ecobee/icons/ecobee.png", + "imgIconBody": "", + "imgIconDimmable": "", + "imgIconTurnable": "", + "imgIconMin": "", + "imgIconMax": "", + "halloIconsDir": "pics/hallo", + "state_icons": [ + + { + "img": "http://watou.github.io/vera-ecobee/icons/ecobee_0.png", + "conditions": [ + { + "service": "urn:ecobee-com:serviceId:Ecobee1", + "variable": "status", + "operator": "==", + "value": "0", + } + ] + }, + { + "img": "http://watou.github.io/vera-ecobee/icons/ecobee_100.png", + "conditions": [ + { + "service": "urn:ecobee-com:serviceId:Ecobee1", + "variable": "status", + "operator": "==", + "value": "1", + } + ] + } + ], + "x": "2", + "y": "4", + "inScene": "0", + "DisplayStatus": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Variable": "status", + "MinValue": "0", + "MaxValue": "1" + }, + "doc_url": { + "doc_language": 1, + "doc_manual": 1, + "doc_version": 1, + "doc_platform": 0, + "doc_page": "devices" + }, + "Tabs": [ + { + "Label": { + "lang_tag": "tabname_control", + "text": "Control" + }, + "Position": "0", + "TabType": "flash", + "ControlGroup": [ + { + "id": "1", + "scenegroup": "1" + }, + { + "id": "2", + "isSingle": "1", + "scenegroup": "2" + } + ], + "SceneGroup": [ + { + "id": "1", + "top": "1", + "left": "0", + "x": "2", + "y": "2" + }, + { + "id": "2", + "top": "2", + "left": "0.5", + "x": "2", + "y": "1" + } + ], + "Control": [ + { + "ControlGroup": "1", + "ControlType": "variable", + "top": "0", + "left": "0", + "Display": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Variable": "DisplayLabel", + "Top": 20, + "Left": 50, + "Width": 120, + "Height": 20 + } + }, + { + "ControlGroup": "1", + "ControlType": "variable", + "top": "0", + "left": "1", + "Display": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Variable": "DisplayValue", + "Top": 20, + "Left": 175, + "Width": 75, + "Height": 20 + } + }, + { + "ControlGroup": "2", + "ControlType": "button", + "top": "0", + "left": "0", + "Label": { + "lang_tag": "cmd_get_pin", + "text": "Get PIN" + }, + "Display": { + "Top": 60, + "Left": 50, + "Width": 75, + "Height": 20 + }, + "Command": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Action": "GetPin", + "Parameters": [] + }, + "ControlCode": "get_pin" + }, + + ] + }, + { + "Label": { + "lang_tag": "advanced", + "text": "Advanced" + }, + "Position": "1", + "TabType": "javascript", + "ScriptName": "shared.js", + "Function": "advanced_device" + } + ], + "DeviceType": "urn:schemas-ecobee-com:device:Ecobee:1", +} From 0e2565fdab1d6990817b4843acd4cdf91b8d8a60 Mon Sep 17 00:00:00 2001 From: rafale77 Date: Sun, 6 Dec 2015 12:26:49 -0800 Subject: [PATCH 02/14] Update D_Ecobee1.json UI7/UI5 compatible icons --- src/D_Ecobee1.json | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/src/D_Ecobee1.json b/src/D_Ecobee1.json index 7610780..56bb247 100644 --- a/src/D_Ecobee1.json +++ b/src/D_Ecobee1.json @@ -1,5 +1,6 @@ { "flashicon": "http://watou.github.io/vera-ecobee/icons/ecobee.png", + "default_icon": "http://watou.github.io/vera-ecobee/icons/ecobee.png", "imgIconBody": "", "imgIconDimmable": "", "imgIconTurnable": "", @@ -7,9 +8,30 @@ "imgIconMax": "", "halloIconsDir": "pics/hallo", "state_icons": [ - "ecobee_0.png", - "ecobee_100.png" - ], + + { + "img": "http://watou.github.io/vera-ecobee/icons/ecobee_0.png", + "conditions": [ + { + "service": "urn:ecobee-com:serviceId:Ecobee1", + "variable": "status", + "operator": "==", + "value": "0", + } + ] + }, + { + "img": "http://watou.github.io/vera-ecobee/icons/ecobee_100.png", + "conditions": [ + { + "service": "urn:ecobee-com:serviceId:Ecobee1", + "variable": "status", + "operator": "==", + "value": "1", + } + ] + } + ], "x": "2", "y": "4", "inScene": "0", From 91ac233cfc3a4dfc62273983d696008a16194949 Mon Sep 17 00:00:00 2001 From: rafale77 Date: Sun, 6 Dec 2015 12:28:36 -0800 Subject: [PATCH 03/14] Update D_EcobeeHumidistat1.json UI7 version --- src/D_EcobeeHumidistat1.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/D_EcobeeHumidistat1.json b/src/D_EcobeeHumidistat1.json index afb609b..473ffae 100644 --- a/src/D_EcobeeHumidistat1.json +++ b/src/D_EcobeeHumidistat1.json @@ -1,5 +1,6 @@ { "flashicon": "icons/Humidity_Sensor.swf", + "default_icon": "humidity_sensor_default.png", "iconText": "1", "imgIconBody": "", "imgIconDimmable": "", From 3fdcd2a08e7ffd2b321456b02cd18e3824ef39fa Mon Sep 17 00:00:00 2001 From: rafale77 Date: Sun, 6 Dec 2015 12:29:25 -0800 Subject: [PATCH 04/14] Update D_EcobeeHouse1.json UI7 version --- src/D_EcobeeHouse1.json | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/src/D_EcobeeHouse1.json b/src/D_EcobeeHouse1.json index 2597308..7ca24ad 100644 --- a/src/D_EcobeeHouse1.json +++ b/src/D_EcobeeHouse1.json @@ -1,17 +1,38 @@ { "flashicon": "http://watou.github.io/vera-ecobee/icons/house.png", + "default_icon": "http://watou.github.io/vera-ecobee/icons/house.png", "imgIconBody": "", "imgIconDimmable": "", "imgIconTurnable": "", "imgIconMin": "", "imgIconMax": "", "halloIconsDir": "pics/hallo", - "state_icons": [ - "house_0.png", - "house_100.png" - ], "x": "2", "y": "4", + "state_icons": [ + { + "img": "http://watou.github.io/vera-ecobee/icons/house_0.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:SwitchPower1", + "variable": "Status", + "operator": "==", + "value": "0" + } + ] + }, + { + "img": "http://watou.github.io/vera-ecobee/icons/house_100.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:SwitchPower1", + "variable": "Status", + "operator": "==", + "value": "1" + } + ] + } + ], "inScene": "1", "DisplayStatus": { "Service": "urn:upnp-org:serviceId:SwitchPower1", @@ -250,16 +271,16 @@ } }, "cmd_3": { - "label": "WAKEUP", + "label": "VACATION", "serviceId": "urn:ecobee-com:serviceId:Ecobee1", "action": "SetClimateHold", "arguments": { - "HoldClimateRef": "wakeup" + "HoldClimateRef": "smart1" }, "display": { "service": "urn:ecobee-com:serviceId:Ecobee1", "variable": "currentClimateRef", - "value": "wakeup" + "value": "smart1" } }, "cmd_4": { From 9354dde302ddc4292ce2b9dc68899960c80ea4b9 Mon Sep 17 00:00:00 2001 From: rafale77 Date: Sun, 6 Dec 2015 12:30:18 -0800 Subject: [PATCH 05/14] Update D_EcobeeThermostat1.json UI7 version --- src/D_EcobeeThermostat1.json | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/src/D_EcobeeThermostat1.json b/src/D_EcobeeThermostat1.json index e890710..e5e1b84 100644 --- a/src/D_EcobeeThermostat1.json +++ b/src/D_EcobeeThermostat1.json @@ -1,5 +1,6 @@ { "flashicon": "http://watou.github.io/vera-ecobee/icons/thermostat.png", + "default_icon": "http://watou.github.io/vera-ecobee/icons/thermostat.png", "iconText": "1", "imgIconBody": "", "imgIconDimmable": "", @@ -9,6 +10,56 @@ "halloIconsDir": "pics/hallo", "x": "3", "y": "4", + "state_icons": [ + { + "img": "http://watou.github.io/vera-ecobee/icons/thermostat.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "variable": "ModeStatus", + "operator": "==", + "value": "Off", + "subcategory_num": 1 + } + ] + }, + { + "img": "thermostat_mode_auto.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "variable": "ModeStatus", + "operator": "==", + "value": "AutoChangeOver", + "subcategory_num": 1 + } + ] + }, + { + "img": "thermostat_mode_cooling.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "variable": "ModeStatus", + "operator": "==", + "value": "CoolOn", + "subcategory_num": 1 + } + ] + }, + { + "img": "thermostat_mode_heating.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "variable": "ModeStatus", + "operator": "==", + "value": "HeatOn", + "subcategory_num": 1 + } + ] + } + ], "inScene": "1", "DisplayStatus": { "Style": "numeric", From f60d50131320e72b5bbe45eb4fcd90b2662a845c Mon Sep 17 00:00:00 2001 From: rafale77 Date: Sun, 6 Dec 2015 12:30:51 -0800 Subject: [PATCH 06/14] Delete D_Ecobee1.json --- D_Ecobee1.json | 152 ------------------------------------------------- 1 file changed, 152 deletions(-) delete mode 100644 D_Ecobee1.json diff --git a/D_Ecobee1.json b/D_Ecobee1.json deleted file mode 100644 index 56bb247..0000000 --- a/D_Ecobee1.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "flashicon": "http://watou.github.io/vera-ecobee/icons/ecobee.png", - "default_icon": "http://watou.github.io/vera-ecobee/icons/ecobee.png", - "imgIconBody": "", - "imgIconDimmable": "", - "imgIconTurnable": "", - "imgIconMin": "", - "imgIconMax": "", - "halloIconsDir": "pics/hallo", - "state_icons": [ - - { - "img": "http://watou.github.io/vera-ecobee/icons/ecobee_0.png", - "conditions": [ - { - "service": "urn:ecobee-com:serviceId:Ecobee1", - "variable": "status", - "operator": "==", - "value": "0", - } - ] - }, - { - "img": "http://watou.github.io/vera-ecobee/icons/ecobee_100.png", - "conditions": [ - { - "service": "urn:ecobee-com:serviceId:Ecobee1", - "variable": "status", - "operator": "==", - "value": "1", - } - ] - } - ], - "x": "2", - "y": "4", - "inScene": "0", - "DisplayStatus": { - "Service": "urn:ecobee-com:serviceId:Ecobee1", - "Variable": "status", - "MinValue": "0", - "MaxValue": "1" - }, - "doc_url": { - "doc_language": 1, - "doc_manual": 1, - "doc_version": 1, - "doc_platform": 0, - "doc_page": "devices" - }, - "Tabs": [ - { - "Label": { - "lang_tag": "tabname_control", - "text": "Control" - }, - "Position": "0", - "TabType": "flash", - "ControlGroup": [ - { - "id": "1", - "scenegroup": "1" - }, - { - "id": "2", - "isSingle": "1", - "scenegroup": "2" - } - ], - "SceneGroup": [ - { - "id": "1", - "top": "1", - "left": "0", - "x": "2", - "y": "2" - }, - { - "id": "2", - "top": "2", - "left": "0.5", - "x": "2", - "y": "1" - } - ], - "Control": [ - { - "ControlGroup": "1", - "ControlType": "variable", - "top": "0", - "left": "0", - "Display": { - "Service": "urn:ecobee-com:serviceId:Ecobee1", - "Variable": "DisplayLabel", - "Top": 20, - "Left": 50, - "Width": 120, - "Height": 20 - } - }, - { - "ControlGroup": "1", - "ControlType": "variable", - "top": "0", - "left": "1", - "Display": { - "Service": "urn:ecobee-com:serviceId:Ecobee1", - "Variable": "DisplayValue", - "Top": 20, - "Left": 175, - "Width": 75, - "Height": 20 - } - }, - { - "ControlGroup": "2", - "ControlType": "button", - "top": "0", - "left": "0", - "Label": { - "lang_tag": "cmd_get_pin", - "text": "Get PIN" - }, - "Display": { - "Top": 60, - "Left": 50, - "Width": 75, - "Height": 20 - }, - "Command": { - "Service": "urn:ecobee-com:serviceId:Ecobee1", - "Action": "GetPin", - "Parameters": [] - }, - "ControlCode": "get_pin" - }, - - ] - }, - { - "Label": { - "lang_tag": "advanced", - "text": "Advanced" - }, - "Position": "1", - "TabType": "javascript", - "ScriptName": "shared.js", - "Function": "advanced_device" - } - ], - "DeviceType": "urn:schemas-ecobee-com:device:Ecobee:1", -} From a8188f0b89649d0979482ce566cf0e5304e5209e Mon Sep 17 00:00:00 2001 From: rafale77 Date: Tue, 8 Dec 2015 22:11:36 -0800 Subject: [PATCH 07/14] Update D_EcobeeHouse1.json --- src/D_EcobeeHouse1.json | 84 +++++++++++++++++++++++++++++++++++------ 1 file changed, 72 insertions(+), 12 deletions(-) diff --git a/src/D_EcobeeHouse1.json b/src/D_EcobeeHouse1.json index 7ca24ad..2895066 100644 --- a/src/D_EcobeeHouse1.json +++ b/src/D_EcobeeHouse1.json @@ -149,6 +149,66 @@ }, "ControlCode": "im_away" }, +{ + "ControlGroup": "1", + "ControlType": "button", + "top": "0", + "left": "1", + "Label": { + "lang_tag": "cmd_sleep", + "text": "Sleep" + }, + "Display": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Variable": "currentClimateRef", + "Value": "sleep", + "Top": 60, + "Left": 50, + "Width": 75, + "Height": 20 + }, + "Command": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Action": "SetClimateHold", + "Parameters": [ + { + "Name": "HoldClimateRef", + "Value": "sleep" + } + ] + }, + "ControlCode": "im_home" + }, +{ + "ControlGroup": "2", + "ControlType": "button", + "top": "0", + "left": "1", + "Label": { + "lang_tag": "cmd_smart1", + "text": "Vacation" + }, + "Display": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Variable": "currentClimateRef", + "Value": "smart1", + "Top": 60, + "Left": 145, + "Width": 75, + "Height": 20 + }, + "Command": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Action": "SetClimateHold", + "Parameters": [ + { + "Name": "HoldClimateRef", + "Value": "smart1" + } + ] + }, + "ControlCode": "im_away" + }, { "ControlGroup": "3", "ControlType": "label", @@ -271,29 +331,29 @@ } }, "cmd_3": { - "label": "VACATION", + "label": "SLEEP", "serviceId": "urn:ecobee-com:serviceId:Ecobee1", "action": "SetClimateHold", "arguments": { - "HoldClimateRef": "smart1" + "HoldClimateRef": "sleep" }, "display": { "service": "urn:ecobee-com:serviceId:Ecobee1", "variable": "currentClimateRef", - "value": "smart1" + "value": "sleep" } }, "cmd_4": { - "label": "SLEEP", + "label": "VACATION", "serviceId": "urn:ecobee-com:serviceId:Ecobee1", "action": "SetClimateHold", "arguments": { - "HoldClimateRef": "sleep" + "HoldClimateRef": "smart1" }, "display": { "service": "urn:ecobee-com:serviceId:Ecobee1", "variable": "currentClimateRef", - "value": "sleep" + "value": "smart1" } } } @@ -327,17 +387,17 @@ } }, { - "Wakeup": "wakeup", + "Sleep": "sleep", "HumanFriendlyText": { - "lang_tag": "hft_device_set_to_wakeup", - "text": "_DEVICE_NAME_ is set to wakeup" + "lang_tag": "hft_device_set_to_sleep", + "text": "_DEVICE_NAME_ is set to sleep" } }, { - "Sleep": "sleep", + "Vacation": "vacation", "HumanFriendlyText": { - "lang_tag": "hft_device_set_to_sleep", - "text": "_DEVICE_NAME_ is set to sleep" + "lang_tag": "hft_device_set_to_vacation", + "text": "_DEVICE_NAME_ is set to vacation" } } ], From 40b2b5529be9ae14a43cf26c6b276e2e4a72a82f Mon Sep 17 00:00:00 2001 From: rafale77 Date: Thu, 10 Dec 2015 09:35:18 -0800 Subject: [PATCH 08/14] Update D_EcobeeHouse1.json From 6ec890d8fa834d30a68dd0da24c90782fe3f8e85 Mon Sep 17 00:00:00 2001 From: rafale77 Date: Thu, 10 Dec 2015 09:57:39 -0800 Subject: [PATCH 09/14] Update D_Ecobee1.json --- src/D_Ecobee1.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/D_Ecobee1.json b/src/D_Ecobee1.json index 56bb247..60a2f52 100644 --- a/src/D_Ecobee1.json +++ b/src/D_Ecobee1.json @@ -16,7 +16,7 @@ "service": "urn:ecobee-com:serviceId:Ecobee1", "variable": "status", "operator": "==", - "value": "0", + "value": "0" } ] }, @@ -27,7 +27,7 @@ "service": "urn:ecobee-com:serviceId:Ecobee1", "variable": "status", "operator": "==", - "value": "1", + "value": "1" } ] } From 57edb2a00ab35b2c9517349f34bf4c1fb0e16110 Mon Sep 17 00:00:00 2001 From: rafale77 Date: Thu, 10 Dec 2015 10:05:31 -0800 Subject: [PATCH 10/14] Update D_EcobeeHumidistat1.json --- src/D_EcobeeHumidistat1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/D_EcobeeHumidistat1.json b/src/D_EcobeeHumidistat1.json index 473ffae..72d1024 100644 --- a/src/D_EcobeeHumidistat1.json +++ b/src/D_EcobeeHumidistat1.json @@ -179,5 +179,5 @@ ] } ], - "DeviceType": "urn:schemas-ecobee-com:device:EcobeeHumidistat:1" + "device_type": "urn:schemas-ecobee-com:device:EcobeeHumidistat:1" } From c6845b9d5a5bd42b762bcbb9bb32a44df6d5387f Mon Sep 17 00:00:00 2001 From: rafale77 Date: Thu, 10 Dec 2015 10:07:58 -0800 Subject: [PATCH 11/14] Update D_EcobeeHumidistat1.json --- src/D_EcobeeHumidistat1.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/D_EcobeeHumidistat1.json b/src/D_EcobeeHumidistat1.json index 72d1024..7e9ce0c 100644 --- a/src/D_EcobeeHumidistat1.json +++ b/src/D_EcobeeHumidistat1.json @@ -179,5 +179,6 @@ ] } ], + "DeviceType": "urn:schemas-ecobee-com:device:EcobeeHumidistat:1", "device_type": "urn:schemas-ecobee-com:device:EcobeeHumidistat:1" } From 8df25d94653064138d3d15ea2ed9b6222fcecb05 Mon Sep 17 00:00:00 2001 From: rafale77 Date: Thu, 10 Dec 2015 10:21:16 -0800 Subject: [PATCH 12/14] Update D_Ecobee1.json --- src/D_Ecobee1.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/D_Ecobee1.json b/src/D_Ecobee1.json index 60a2f52..b6d1d7b 100644 --- a/src/D_Ecobee1.json +++ b/src/D_Ecobee1.json @@ -149,4 +149,5 @@ } ], "DeviceType": "urn:schemas-ecobee-com:device:Ecobee:1", + "device_type": "urn:schemas-ecobee-com:device:Ecobee:1" } From 412949985dd17a9cbd29272a2e24ddab9e4aa6da Mon Sep 17 00:00:00 2001 From: rafale77 Date: Thu, 10 Dec 2015 10:38:07 -0800 Subject: [PATCH 13/14] Update D_Ecobee1.json --- src/D_Ecobee1.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/D_Ecobee1.json b/src/D_Ecobee1.json index b6d1d7b..056adae 100644 --- a/src/D_Ecobee1.json +++ b/src/D_Ecobee1.json @@ -133,8 +133,7 @@ "Parameters": [] }, "ControlCode": "get_pin" - }, - + } ] }, { From a9c58e8a374e7224d8d95c61591315b74150f95e Mon Sep 17 00:00:00 2001 From: rafale77 Date: Wed, 15 Mar 2017 23:14:29 -0700 Subject: [PATCH 14/14] Add files via upload --- src/D_Ecobee1.json | 2 +- src/D_EcobeeHouse1.json | 14 +- src/D_EcobeeHumidistat1.json | 67 +- src/D_EcobeeThermostat1.json | 1826 +++++++++++++++++----------------- src/D_EcobeeThermostat1.xml | 5 + src/I_Ecobee1.xml | 84 +- src/S_Ecobee1.xml | 5 + 7 files changed, 1066 insertions(+), 937 deletions(-) diff --git a/src/D_Ecobee1.json b/src/D_Ecobee1.json index 056adae..f555786 100644 --- a/src/D_Ecobee1.json +++ b/src/D_Ecobee1.json @@ -149,4 +149,4 @@ ], "DeviceType": "urn:schemas-ecobee-com:device:Ecobee:1", "device_type": "urn:schemas-ecobee-com:device:Ecobee:1" -} +} \ No newline at end of file diff --git a/src/D_EcobeeHouse1.json b/src/D_EcobeeHouse1.json index 2895066..032d7e0 100644 --- a/src/D_EcobeeHouse1.json +++ b/src/D_EcobeeHouse1.json @@ -223,7 +223,8 @@ "Left": 50, "Width": 75, "Height": 20 - } + }, + "ControlCode": "event" }, { "ControlGroup": "3", @@ -237,7 +238,8 @@ "Height": 20, "Service": "urn:ecobee-com:serviceId:Ecobee1", "Variable": "currentEventType" - } + }, + "ControlCode": "event" }, { "ControlGroup": "3", @@ -253,7 +255,8 @@ "Left": 145, "Width": 75, "Height": 20 - } + }, + "ControlCode": "climate" }, { "ControlGroup": "3", @@ -267,7 +270,8 @@ "Height": 20, "Service": "urn:ecobee-com:serviceId:Ecobee1", "Variable": "currentClimateRef" - } + }, + "ControlCode": "climate" } ] }, @@ -414,4 +418,4 @@ ], "DeviceType": "urn:schemas-ecobee-com:device:EcobeeHouse:1", "device_type": "urn:schemas-ecobee-com:device:EcobeeHouse:1" -} +} \ No newline at end of file diff --git a/src/D_EcobeeHumidistat1.json b/src/D_EcobeeHumidistat1.json index 7e9ce0c..5149b4e 100644 --- a/src/D_EcobeeHumidistat1.json +++ b/src/D_EcobeeHumidistat1.json @@ -41,10 +41,10 @@ "SceneGroup": [ { "id": "1", - "top": "1.5", + "top": "0.5", "left": "0.25", "x": "1.5", - "y": "2" + "y": "3" } ], "Control": [ @@ -77,6 +77,20 @@ "Width": 75, "Height": 20 } + }, + { + "ControlGroup": "1", + "ControlType": "variable", + "top": "2", + "left": "0", + "Display": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Variable": "HumidityModeState", + "Top": 80, + "Left": 50, + "Width": 75, + "Height": 20 + } } ] }, @@ -177,8 +191,53 @@ } } ] + }, + { + "id": 3, + "label": { + "lang_tag": "humidity_mode_state_changes", + "text": "Humidistat Running State Changes" + }, + "serviceId": "urn:ecobee-com:serviceId:Ecobee1", + "argumentList": [ + { + "id": 1, + "dataType": "string", + "defaultValue": "", + "allowedValueList": [ + { + "Humidifying": "Humidifying", + "HumanFriendlyText": { + "lang_tag": "hft_hum_humidifying", + "text": "_DEVICE_NAME_ is humidifying" + } + }, + { + "Dehumidifying": "Dehumidifying", + "HumanFriendlyText": { + "lang_tag": "hft_hum_dehumidifying", + "text": "_DEVICE_NAME_ is dehumidifying" + } + }, + { + "Idle": "Idle", + "HumanFriendlyText": { + "lang_tag": "hft_hum_idle", + "text": "_DEVICE_NAME_ is idle" + } + } + + ], + "name": "HumidityModeState", + "comparisson": "=", + "prefix": { + "lang_tag": "hum_mode_state", + "text": "HumidityModeState" + }, + "suffix": {} + } + ] } ], - "DeviceType": "urn:schemas-ecobee-com:device:EcobeeHumidistat:1", - "device_type": "urn:schemas-ecobee-com:device:EcobeeHumidistat:1" + "DeviceType": "urn:schemas-ecobee-com:device:EcobeeHumidistat:1" } diff --git a/src/D_EcobeeThermostat1.json b/src/D_EcobeeThermostat1.json index e5e1b84..b3c3f93 100644 --- a/src/D_EcobeeThermostat1.json +++ b/src/D_EcobeeThermostat1.json @@ -1,913 +1,913 @@ -{ - "flashicon": "http://watou.github.io/vera-ecobee/icons/thermostat.png", - "default_icon": "http://watou.github.io/vera-ecobee/icons/thermostat.png", - "iconText": "1", - "imgIconBody": "", - "imgIconDimmable": "", - "imgIconTurnable": "", - "imgIconMin": "", - "imgIconMax": "", - "halloIconsDir": "pics/hallo", - "x": "3", - "y": "4", - "state_icons": [ - { - "img": "http://watou.github.io/vera-ecobee/icons/thermostat.png", - "conditions": [ - { - "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "variable": "ModeStatus", - "operator": "==", - "value": "Off", - "subcategory_num": 1 - } - ] - }, - { - "img": "thermostat_mode_auto.png", - "conditions": [ - { - "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "variable": "ModeStatus", - "operator": "==", - "value": "AutoChangeOver", - "subcategory_num": 1 - } - ] - }, - { - "img": "thermostat_mode_cooling.png", - "conditions": [ - { - "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "variable": "ModeStatus", - "operator": "==", - "value": "CoolOn", - "subcategory_num": 1 - } - ] - }, - { - "img": "thermostat_mode_heating.png", - "conditions": [ - { - "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "variable": "ModeStatus", - "operator": "==", - "value": "HeatOn", - "subcategory_num": 1 - } - ] - } - ], - "inScene": "1", - "DisplayStatus": { - "Style": "numeric", - "Service": "urn:upnp-org:serviceId:TemperatureSensor1", - "Variable": "CurrentTemperature", - "MinValue": "-20", - "MaxValue": "100" - }, - "doc_url": { - "doc_language": 1, - "doc_manual": 1, - "doc_version": 1, - "doc_platform": 0, - "doc_page": "thermostats" - }, - "ToggleButton": 1, - "Tabs": [ - { - "Label": { - "lang_tag": "tabname_control", - "text": "Control" - }, - "Position": "0", - "TabType": "flash", - "ControlGroup": [ - { - "id": "1", - "scenegroup": "1" - }, - { - "id": "4", - "scenegroup": "4" - }, - { - "id": "5", - "scenegroup": "5" - }, - { - "id": "6", - "scenegroup": "6" - }, - { - "id": "7", - "scenegroup": "7" - }, - { - "id": "8", - "scenegroup": "8" - } - ], - "SceneGroup": [ - { - "id": "1", - "top": "0", - "left": "0", - "x": "1", - "y": "4" - }, - { - "id": "4", - "top": "0", - "left": "1", - "x": "1", - "y": "3" - }, - { - "id": "5", - "top": "3", - "left": "1", - "x": "1", - "y": "1" - }, - { - "id": "6", - "top": "0", - "left": "2.5", - "x": "0.5", - "y": "3" - }, - { - "id": "7", - "top": "0", - "left": "2", - "x": "0.5", - "y": "3" - }, - { - "id": "8", - "top": "3", - "left": "2", - "x": "1", - "y": "1" - } - ], - "Control": [ - { - "ControlType": "label", - "top": "0", - "left": "0", - "Label": { - "lang_tag": "thermostat", - "text": "Thermostat" - }, - "Display": { - "Top": 0, - "Left": 30, - "Width": 100, - "Height": 25 - } - }, - { - "ControlGroup": "1", - "ControlType": "button", - "top": "0", - "left": "0", - "Label": { - "lang_tag": "cmd_off", - "text": "Off" - }, - "Display": { - "Top": 30, - "Left": 50, - "Width": 75, - "Height": 20, - "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "Variable": "ModeStatus", - "Value": "Off" - }, - "Command": { - "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "Action": "SetModeTarget", - "Parameters": [ - { - "Name": "NewModeTarget", - "Value": "Off" - } - ] - }, - "ControlCode": "hvac_off" - }, - { - "ControlGroup": "1", - "ControlType": "button", - "top": "1", - "left": "0", - "Label": { - "lang_tag": "cmd_auto", - "text": "Auto" - }, - "Display": { - "Top": 30, - "Left": 150, - "Width": 75, - "Height": 20, - "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "Variable": "ModeStatus", - "Value": "AutoChangeOver" - }, - "Command": { - "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "Action": "SetModeTarget", - "Parameters": [ - { - "Name": "NewModeTarget", - "Value": "AutoChangeOver" - } - ] - }, - "ControlCode": "hvac_auto" - }, - { - "ControlGroup": "1", - "ControlType": "button", - "top": "2", - "left": "0", - "Label": { - "lang_tag": "cmd_cool", - "text": "Cool" - }, - "Display": { - "Top": 30, - "Left": 250, - "Width": 75, - "Height": 20, - "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "Variable": "ModeStatus", - "Value": "CoolOn" - }, - "Command": { - "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "Action": "SetModeTarget", - "Parameters": [ - { - "Name": "NewModeTarget", - "Value": "CoolOn" - } - ] - }, - "ControlCode": "hvac_cool" - }, - { - "ControlGroup": "1", - "ControlType": "button", - "top": "3", - "left": "0", - "Label": { - "lang_tag": "cmd_heat", - "text": "Heat" - }, - "Display": { - "Top": 30, - "Left": 350, - "Width": 75, - "Height": 20, - "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "Variable": "ModeStatus", - "Value": "HeatOn" - }, - "Command": { - "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "Action": "SetModeTarget", - "Parameters": [ - { - "Name": "NewModeTarget", - "Value": "HeatOn" - } - ] - }, - "ControlCode": "hvac_heat" - }, - { - "ControlGroup": "7", - "ControlType": "slider_vertical", - "top": "0", - "left": "2", - "ControlPair": "1", - "ID": "NewCurrentSetpointHeat", - "Style": "numeric", - "Display": { - "Service": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", - "Variable": "CurrentSetpoint", - "Top": 30, - "Left": 500, - "Width": 100, - "Height": 20 - }, - "Command": { - "Service": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", - "Action": "SetCurrentSetpoint", - "Parameters": [ - { - "Name": "NewCurrentSetpoint", - "ID": "NewCurrentSetpointHeat" - } - ] - }, - "ControlCode": "heating_setpoint" - }, - { - "ControlGroup": "6", - "ControlType": "slider_vertical", - "top": "0", - "left": "2.5", - "ControlPair": "1", - "ID": "NewCurrentSetpointCool", - "Style": "numeric", - "Display": { - "Service": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", - "Variable": "CurrentSetpoint", - "Top": 30, - "Left": 570, - "Width": 100, - "Height": 20 - }, - "Command": { - "Service": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", - "Action": "SetCurrentSetpoint", - "Parameters": [ - { - "Name": "NewCurrentSetpoint", - "ID": "NewCurrentSetpointCool" - } - ] - }, - "ControlCode": "cooling_setpoint" - }, - { - "ControlGroup": "4", - "ControlType": "label", - "top": "0.1", - "left": "0", - "text_align": "left", - "Label": { - "lang_tag": "fan", - "text": "Fan" - }, - "Display": { - "Top": 60, - "Left": 30, - "Width": 100, - "Height": 25 - } - }, - { - "ControlGroup": "4", - "ControlType": "button", - "top": "1", - "left": "0", - "Label": { - "lang_tag": "cmd_auto", - "text": "Auto" - }, - "Display": { - "Top": 90, - "Left": 50, - "Width": 100, - "Height": 20, - "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", - "Variable": "Mode", - "Value": "Auto" - }, - "Command": { - "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", - "Action": "SetMode", - "Parameters": [ - { - "Name": "NewMode", - "Value": "Auto" - } - ] - }, - "ControlCode": "fan_auto" - }, - { - "ControlGroup": "4", - "ControlType": "button", - "top": "2", - "left": "0", - "Label": { - "lang_tag": "cmd_on", - "text": "On" - }, - "Display": { - "Top": 90, - "Left": 160, - "Width": 100, - "Height": 20, - "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", - "Variable": "Mode", - "Value": "ContinuousOn" - }, - "Command": { - "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", - "Action": "SetMode", - "Parameters": [ - { - "Name": "NewMode", - "Value": "ContinuousOn" - } - ] - }, - "ControlCode": "fan_on" - }, - { - "ControlGroup": "5", - "ControlType": "variable", - "top": "0.2", - "left": "0", - "Display": { - "Top": 120, - "Left": 30, - "Width": 100, - "Height": 25, - "Service": "urn:micasaverde-com:serviceId:HVAC_OperatingState1", - "Variable": "ModeState", - "Value": "Idle" - }, - "ControlCode": "hvac_state" - }, - { - "ControlGroup": "8", - "ControlType": "button", - "top": "0", - "left": "0", - "Label": { - "lang_tag": "cmd_resume", - "text": "Resume" - }, - "Display": { - "Top": 120, - "Left": 500, - "Width": 100, - "Height": 25 - }, - "Command": { - "Service": "urn:ecobee-com:serviceId:Ecobee1", - "Action": "ResumeProgram", - "Parameters": [] - }, - "ControlCode": "resume_program" - } - ] - }, - { - "Label": { - "lang_tag": "advanced", - "text": "Advanced" - }, - "Position": "1", - "TabType": "javascript", - "ScriptName": "shared.js", - "Function": "advanced_device" - }, - { - "Label": { - "lang_tag": "logs", - "text": "Logs" - }, - "Position": "2", - "TabType": "javascript", - "ScriptName": "shared.js", - "Function": "device_logs" - }, - { - "Label": { - "lang_tag": "notifications", - "text": "Notifications" - }, - "Position": "3", - "TabType": "javascript", - "ScriptName": "shared.js", - "Function": "device_notifications" - } - ], - "sceneList": { - "group_1": { - "cmd_1": { - "label": "OFF", - "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "action": "SetModeTarget", - "arguments": { - "NewModeTarget": "Off" - } - }, - "cmd_2": { - "label": "COOL", - "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "action": "SetModeTarget", - "arguments": { - "NewModeTarget": "CoolOn" - } - }, - "cmd_3": { - "label": "HEAT", - "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "action": "SetModeTarget", - "arguments": { - "NewModeTarget": "HeatOn" - } - }, - "cmd_4": { - "label": "AUTO", - "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "action": "SetModeTarget", - "arguments": { - "NewModeTarget": "AutoChangeOver" - } - } - }, - "group_2": { - "cmd_1": { - "label": "Set Heat Setpoint", - "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", - "action": "SetCurrentSetpoint", - "argumentList": { - "argument_1": { - "dataType": "ui1", - "defaultValue": "", - "allowedValueRange": { - "minimum": "0", - "maximum": "100" - }, - "prefix": "to", - "suffix": "°", - "name": "NewCurrentSetpoint" - } - } - } - }, - "group_3": { - "cmd_1": { - "label": "Set Cool Setpoint", - "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", - "action": "SetCurrentSetpoint", - "argumentList": { - "argument_1": { - "dataType": "ui1", - "defaultValue": "", - "allowedValueRange": { - "minimum": "0", - "maximum": "100" - }, - "prefix": "to", - "suffix": "°", - "name": "NewCurrentSetpoint" - } - } - } - }, - "group_4": { - "cmd_1": { - "label": "Set Fan On", - "serviceId": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", - "action": "SetMode", - "arguments": { - "NewMode": "ContinuousOn" - } - }, - "cmd_2": { - "label": "Set Fan Auto", - "serviceId": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", - "action": "SetMode", - "arguments": { - "NewMode": "Auto" - } - } - } - }, - "eventList2": [ - { - "id": 1, - "label": { - "lang_tag": "thermostat_mode_changes", - "text": "Thermostat Mode Changes" - }, - "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", - "argumentList": [ - { - "id": 1, - "dataType": "string", - "defaultValue": "", - "allowedValueList": [ - { - "Off": "Off", - "HumanFriendlyText": { - "lang_tag": "hft_device_turned_off", - "text": "_DEVICE_NAME_ is turned off" - } - }, - { - "Cool": "CoolOn", - "HumanFriendlyText": { - "lang_tag": "hft_thermostat_set_to_cool", - "text": "_DEVICE_NAME_ is set to cool" - } - }, - { - "Heat": "HeatOn", - "HumanFriendlyText": { - "lang_tag": "hft_thermostat_set_to_heat", - "text": "_DEVICE_NAME_ is set to heat" - } - }, - { - "Auto": "AutoChangeOver", - "HumanFriendlyText": { - "lang_tag": "hft_thermostat_set_to_auto", - "text": "_DEVICE_NAME_ is set to auto" - } - } - ], - "name": "ModeStatus", - "comparisson": "=", - "prefix": { - "lang_tag": "mode", - "text": "Mode" - }, - "suffix": {} - } - ] - }, - { - "id": 2, - "label": { - "lang_tag": "ambient_temperature_goes_above", - "text": "Ambient temperature goes above" - }, - "serviceId": "urn:upnp-org:serviceId:TemperatureSensor1", - "norepeat": "1", - "argumentList": [ - { - "id": 1, - "dataType": "i4", - "name": "CurrentTemperature", - "comparisson": ">", - "prefix": { - "lang_tag": "temperature", - "text": "Temperature" - }, - "suffix": { - "lang_tag": "degrees", - "text": "degrees" - }, - "HumanFriendlyText": { - "lang_tag": "hft_ambient_temperature_goes_above", - "text": "_DEVICE_NAME_ ambient temperature goes above _ARGUMENT_VALUE_ degrees" - } - } - ] - }, - { - "id": 3, - "label": { - "lang_tag": "ambient_temperature_goes_above_or_below", - "text": "Ambient temperature goes above or below" - }, - "serviceId": "urn:upnp-org:serviceId:TemperatureSensor1", - "norepeat": "1", - "argumentList": [ - { - "id": 1, - "dataType": "i4", - "name": "CurrentTemperature", - "comparisson": "<,>", - "prefix": { - "lang_tag": "temperature", - "text": "Temperature" - }, - "suffix": { - "lang_tag": "degrees", - "text": "degrees" - }, - "HumanFriendlyText": { - "lang_tag": "hft_ambient_temperature_goes_above_or_below", - "text": "_DEVICE_NAME_ goes above/below _ARGUMENT_VALUE_ degrees" - } - } - ] - }, - { - "id": 4, - "label": { - "lang_tag": "thermostat_heat_point_goes_over", - "text": "Thermostat HEAT set point goes over" - }, - "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", - "argumentList": [ - { - "id": 1, - "dataType": "i4", - "name": "CurrentSetpoint", - "comparisson": ">", - "prefix": { - "lang_tag": "temperature", - "text": "Temperature" - }, - "suffix": { - "lang_tag": "degrees", - "text": "degrees" - }, - "HumanFriendlyText": { - "lang_tag": "hft_thermostat_heatpoint_goes_over", - "text": "_DEVICE_NAME_ heat point goes over _ARGUMENT_VALUE_ degrees" - } - } - ] - }, - { - "id": 5, - "label": { - "lang_tag": "thermostat_coolpoint_goes_below", - "text": "Thermostat COOL set point goes below" - }, - "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", - "argumentList": [ - { - "id": 1, - "dataType": "i4", - "name": "CurrentSetpoint", - "comparisson": "<", - "prefix": { - "lang_tag": "temperature", - "text": "Temperature" - }, - "suffix": { - "lang_tag": "degrees", - "text": "degrees" - }, - "HumanFriendlyText": { - "lang_tag": "hft_thermostat_coolpoint_goes_below", - "text": "_DEVICE_NAME_ cool point goes below _ARGUMENT_VALUE_ degrees" - } - } - ] - }, - { - "id": 6, - "label": { - "lang_tag": "ambient_temperature_goes_below", - "text": "Ambient temperature goes below" - }, - "serviceId": "urn:upnp-org:serviceId:TemperatureSensor1", - "norepeat": "1", - "argumentList": [ - { - "id": 1, - "dataType": "i4", - "name": "CurrentTemperature", - "comparisson": "<", - "prefix": { - "lang_tag": "temperature", - "text": "Temperature" - }, - "suffix": { - "lang_tag": "degrees", - "text": "degrees" - }, - "HumanFriendlyText": { - "lang_tag": "hft_ambient_temperature_goes_below", - "text": "_DEVICE_NAME_ ambient temperature goes below _ARGUMENT_VALUE_ degrees" - } - } - ] - }, - { - "id": 8, - "label": { - "lang_tag": "thermostat_heat_point_goes_below", - "text": "Thermostat HEAT set point goes below" - }, - "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", - "argumentList": [ - { - "id": 1, - "dataType": "i4", - "name": "CurrentSetpoint", - "comparisson": "<", - "prefix": { - "lang_tag": "temperature", - "text": "Temperature" - }, - "suffix": { - "lang_tag": "degrees", - "text": "degrees" - }, - "HumanFriendlyText": { - "lang_tag": "hft_thermostat_heatpoint_goes_below", - "text": "_DEVICE_NAME_ heat point goes below _ARGUMENT_VALUE_ degrees" - } - } - ] - }, - { - "id": 9, - "label": { - "lang_tag": "thermostat_coolpoint_goes_over", - "text": "Thermostat COOL set point goes over" - }, - "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", - "argumentList": [ - { - "id": 1, - "dataType": "i4", - "name": "CurrentSetpoint", - "comparisson": ">", - "prefix": { - "lang_tag": "temperature", - "text": "Temperature" - }, - "suffix": { - "lang_tag": "degrees", - "text": "degrees" - }, - "HumanFriendlyText": { - "lang_tag": "hft_thermostat_coolpoint_goes_over", - "text": "_DEVICE_NAME_ cool point goes over _ARGUMENT_VALUE_ degrees" - } - } - ] - }, - { - "id": 10, - "label": { - "lang_tag": "mode_state_changes", - "text": "Thermostat Running State Changes" - }, - "serviceId": "urn:micasaverde-com:serviceId:HVAC_OperatingState1", - "argumentList": [ - { - "id": 1, - "dataType": "string", - "defaultValue": "", - "allowedValueList": [ - { - "Off": "Off", - "HumanFriendlyText": { - "lang_tag": "hft_hvac_off", - "text": "_DEVICE_NAME_ is off" - } - }, - { - "Heating": "Heating", - "HumanFriendlyText": { - "lang_tag": "hft_hvac_heating", - "text": "_DEVICE_NAME_ is heating" - } - }, - { - "Cooling": "Cooling", - "HumanFriendlyText": { - "lang_tag": "hft_hvac_cooling", - "text": "_DEVICE_NAME_ is cooling" - } - }, - { - "FanOnly": "FanOnly", - "HumanFriendlyText": { - "lang_tag": "hft_hvac_fan_only", - "text": "_DEVICE_NAME_ is running the fan only" - } - }, - { - "Idle": "Idle", - "HumanFriendlyText": { - "lang_tag": "hft_hvac_idle", - "text": "_DEVICE_NAME_ is idle" - } - }, - { - "Vent": "Vent", - "HumanFriendlyText": { - "lang_tag": "hft_hvac_vent", - "text": "_DEVICE_NAME_ is running ventilator" - } - } - - ], - "name": "ModeState", - "comparisson": "=", - "prefix": { - "lang_tag": "mode_state", - "text": "ModeState" - }, - "suffix": {} - } - ] - } - ], - "DeviceType": "urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1", - "device_type": "urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1" -} +{ + "flashicon": "http://watou.github.io/vera-ecobee/icons/thermostat.png", + "default_icon": "http://watou.github.io/vera-ecobee/icons/thermostat.png", + "iconText": "1", + "imgIconBody": "", + "imgIconDimmable": "", + "imgIconTurnable": "", + "imgIconMin": "", + "imgIconMax": "", + "halloIconsDir": "pics/hallo", + "x": "3", + "y": "4", + "state_icons": [ + { + "img": "http://watou.github.io/vera-ecobee/icons/thermostat.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "variable": "ModeStatus", + "operator": "==", + "value": "Off", + "subcategory_num": 1 + } + ] + }, + { + "img": "http://watou.github.io/vera-ecobee/icons/thermostat.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "variable": "ModeStatus", + "operator": "==", + "value": "AutoChangeOver", + "subcategory_num": 1 + } + ] + }, + { + "img": "http://anhman.neocities.org/Cool.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "variable": "ModeStatus", + "operator": "==", + "value": "CoolOn", + "subcategory_num": 1 + } + ] + }, + { + "img": "http://anhman.neocities.org/Heat.png", + "conditions": [ + { + "service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "variable": "ModeStatus", + "operator": "==", + "value": "HeatOn", + "subcategory_num": 1 + } + ] + } + ], + "inScene": "1", + "DisplayStatus": { + "Style": "numeric", + "Service": "urn:upnp-org:serviceId:TemperatureSensor1", + "Variable": "CurrentTemperature", + "MinValue": "-20", + "MaxValue": "100" + }, + "doc_url": { + "doc_language": 1, + "doc_manual": 1, + "doc_version": 1, + "doc_platform": 0, + "doc_page": "thermostats" + }, + "ToggleButton": 1, + "Tabs": [ + { + "Label": { + "lang_tag": "tabname_control", + "text": "Control" + }, + "Position": "0", + "TabType": "flash", + "ControlGroup": [ + { + "id": "1", + "scenegroup": "1" + }, + { + "id": "4", + "scenegroup": "4" + }, + { + "id": "5", + "scenegroup": "5" + }, + { + "id": "6", + "scenegroup": "6" + }, + { + "id": "7", + "scenegroup": "7" + }, + { + "id": "8", + "scenegroup": "8" + } + ], + "SceneGroup": [ + { + "id": "1", + "top": "0", + "left": "0", + "x": "1", + "y": "4" + }, + { + "id": "4", + "top": "0", + "left": "1", + "x": "1", + "y": "3" + }, + { + "id": "5", + "top": "3", + "left": "1", + "x": "1", + "y": "1" + }, + { + "id": "6", + "top": "0", + "left": "2.5", + "x": "0.5", + "y": "3" + }, + { + "id": "7", + "top": "0", + "left": "2", + "x": "0.5", + "y": "3" + }, + { + "id": "8", + "top": "3", + "left": "2", + "x": "1", + "y": "1" + } + ], + "Control": [ + { + "ControlType": "label", + "top": "0", + "left": "0", + "Label": { + "lang_tag": "thermostat", + "text": "Thermostat" + }, + "Display": { + "Top": 0, + "Left": 30, + "Width": 100, + "Height": 25 + } + }, + { + "ControlGroup": "1", + "ControlType": "button", + "top": "0", + "left": "0", + "Label": { + "lang_tag": "cmd_off", + "text": "Off" + }, + "Display": { + "Top": 30, + "Left": 50, + "Width": 75, + "Height": 20, + "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "Variable": "ModeStatus", + "Value": "Off" + }, + "Command": { + "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "Action": "SetModeTarget", + "Parameters": [ + { + "Name": "NewModeTarget", + "Value": "Off" + } + ] + }, + "ControlCode": "hvac_off" + }, + { + "ControlGroup": "1", + "ControlType": "button", + "top": "1", + "left": "0", + "Label": { + "lang_tag": "cmd_auto", + "text": "Auto" + }, + "Display": { + "Top": 30, + "Left": 150, + "Width": 75, + "Height": 20, + "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "Variable": "ModeStatus", + "Value": "AutoChangeOver" + }, + "Command": { + "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "Action": "SetModeTarget", + "Parameters": [ + { + "Name": "NewModeTarget", + "Value": "AutoChangeOver" + } + ] + }, + "ControlCode": "hvac_auto" + }, + { + "ControlGroup": "1", + "ControlType": "button", + "top": "2", + "left": "0", + "Label": { + "lang_tag": "cmd_cool", + "text": "Cool" + }, + "Display": { + "Top": 30, + "Left": 250, + "Width": 75, + "Height": 20, + "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "Variable": "ModeStatus", + "Value": "CoolOn" + }, + "Command": { + "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "Action": "SetModeTarget", + "Parameters": [ + { + "Name": "NewModeTarget", + "Value": "CoolOn" + } + ] + }, + "ControlCode": "hvac_cool" + }, + { + "ControlGroup": "1", + "ControlType": "button", + "top": "3", + "left": "0", + "Label": { + "lang_tag": "cmd_heat", + "text": "Heat" + }, + "Display": { + "Top": 30, + "Left": 350, + "Width": 75, + "Height": 20, + "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "Variable": "ModeStatus", + "Value": "HeatOn" + }, + "Command": { + "Service": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "Action": "SetModeTarget", + "Parameters": [ + { + "Name": "NewModeTarget", + "Value": "HeatOn" + } + ] + }, + "ControlCode": "hvac_heat" + }, + { + "ControlGroup": "7", + "ControlType": "slider_vertical", + "top": "0", + "left": "2", + "ControlPair": "1", + "ID": "NewCurrentSetpointHeat", + "Style": "numeric", + "Display": { + "Service": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", + "Variable": "CurrentSetpoint", + "Top": 30, + "Left": 500, + "Width": 100, + "Height": 20 + }, + "Command": { + "Service": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", + "Action": "SetCurrentSetpoint", + "Parameters": [ + { + "Name": "NewCurrentSetpoint", + "ID": "NewCurrentSetpointHeat" + } + ] + }, + "ControlCode": "heating_setpoint" + }, + { + "ControlGroup": "6", + "ControlType": "slider_vertical", + "top": "0", + "left": "2.5", + "ControlPair": "1", + "ID": "NewCurrentSetpointCool", + "Style": "numeric", + "Display": { + "Service": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", + "Variable": "CurrentSetpoint", + "Top": 30, + "Left": 570, + "Width": 100, + "Height": 20 + }, + "Command": { + "Service": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", + "Action": "SetCurrentSetpoint", + "Parameters": [ + { + "Name": "NewCurrentSetpoint", + "ID": "NewCurrentSetpointCool" + } + ] + }, + "ControlCode": "cooling_setpoint" + }, + { + "ControlGroup": "4", + "ControlType": "label", + "top": "0.1", + "left": "0", + "text_align": "left", + "Label": { + "lang_tag": "fan", + "text": "Fan" + }, + "Display": { + "Top": 60, + "Left": 30, + "Width": 100, + "Height": 25 + } + }, + { + "ControlGroup": "4", + "ControlType": "button", + "top": "1", + "left": "0", + "Label": { + "lang_tag": "cmd_auto", + "text": "Auto" + }, + "Display": { + "Top": 90, + "Left": 50, + "Width": 100, + "Height": 20, + "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", + "Variable": "Mode", + "Value": "Auto" + }, + "Command": { + "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", + "Action": "SetMode", + "Parameters": [ + { + "Name": "NewMode", + "Value": "Auto" + } + ] + }, + "ControlCode": "fan_auto" + }, + { + "ControlGroup": "4", + "ControlType": "button", + "top": "2", + "left": "0", + "Label": { + "lang_tag": "cmd_on", + "text": "On" + }, + "Display": { + "Top": 90, + "Left": 160, + "Width": 100, + "Height": 20, + "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", + "Variable": "Mode", + "Value": "ContinuousOn" + }, + "Command": { + "Service": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", + "Action": "SetMode", + "Parameters": [ + { + "Name": "NewMode", + "Value": "ContinuousOn" + } + ] + }, + "ControlCode": "fan_on" + }, + { + "ControlGroup": "5", + "ControlType": "variable", + "top": "0.2", + "left": "0", + "Display": { + "Top": 120, + "Left": 30, + "Width": 100, + "Height": 25, + "Service": "urn:micasaverde-com:serviceId:HVAC_OperatingState1", + "Variable": "ModeState", + "Value": "Idle" + }, + "ControlCode": "hvac_state" + }, + { + "ControlGroup": "8", + "ControlType": "button", + "top": "0", + "left": "0", + "Label": { + "lang_tag": "cmd_resume", + "text": "Resume" + }, + "Display": { + "Top": 120, + "Left": 500, + "Width": 100, + "Height": 25 + }, + "Command": { + "Service": "urn:ecobee-com:serviceId:Ecobee1", + "Action": "ResumeProgram", + "Parameters": [] + }, + "ControlCode": "resume_program" + } + ] + }, + { + "Label": { + "lang_tag": "advanced", + "text": "Advanced" + }, + "Position": "1", + "TabType": "javascript", + "ScriptName": "shared.js", + "Function": "advanced_device" + }, + { + "Label": { + "lang_tag": "logs", + "text": "Logs" + }, + "Position": "2", + "TabType": "javascript", + "ScriptName": "shared.js", + "Function": "device_logs" + }, + { + "Label": { + "lang_tag": "notifications", + "text": "Notifications" + }, + "Position": "3", + "TabType": "javascript", + "ScriptName": "shared.js", + "Function": "device_notifications" + } + ], + "sceneList": { + "group_1": { + "cmd_1": { + "label": "OFF", + "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "action": "SetModeTarget", + "arguments": { + "NewModeTarget": "Off" + } + }, + "cmd_2": { + "label": "COOL", + "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "action": "SetModeTarget", + "arguments": { + "NewModeTarget": "CoolOn" + } + }, + "cmd_3": { + "label": "HEAT", + "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "action": "SetModeTarget", + "arguments": { + "NewModeTarget": "HeatOn" + } + }, + "cmd_4": { + "label": "AUTO", + "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "action": "SetModeTarget", + "arguments": { + "NewModeTarget": "AutoChangeOver" + } + } + }, + "group_2": { + "cmd_1": { + "label": "Set Heat Setpoint", + "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", + "action": "SetCurrentSetpoint", + "argumentList": { + "argument_1": { + "dataType": "ui1", + "defaultValue": "", + "allowedValueRange": { + "minimum": "0", + "maximum": "100" + }, + "prefix": "to", + "suffix": "°", + "name": "NewCurrentSetpoint" + } + } + } + }, + "group_3": { + "cmd_1": { + "label": "Set Cool Setpoint", + "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", + "action": "SetCurrentSetpoint", + "argumentList": { + "argument_1": { + "dataType": "ui1", + "defaultValue": "", + "allowedValueRange": { + "minimum": "0", + "maximum": "100" + }, + "prefix": "to", + "suffix": "°", + "name": "NewCurrentSetpoint" + } + } + } + }, + "group_4": { + "cmd_1": { + "label": "Set Fan On", + "serviceId": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", + "action": "SetMode", + "arguments": { + "NewMode": "ContinuousOn" + } + }, + "cmd_2": { + "label": "Set Fan Auto", + "serviceId": "urn:upnp-org:serviceId:HVAC_FanOperatingMode1", + "action": "SetMode", + "arguments": { + "NewMode": "Auto" + } + } + } + }, + "eventList2": [ + { + "id": 1, + "label": { + "lang_tag": "thermostat_mode_changes", + "text": "Thermostat Mode Changes" + }, + "serviceId": "urn:upnp-org:serviceId:HVAC_UserOperatingMode1", + "argumentList": [ + { + "id": 1, + "dataType": "string", + "defaultValue": "", + "allowedValueList": [ + { + "Off": "Off", + "HumanFriendlyText": { + "lang_tag": "hft_device_turned_off", + "text": "_DEVICE_NAME_ is turned off" + } + }, + { + "Cool": "CoolOn", + "HumanFriendlyText": { + "lang_tag": "hft_thermostat_set_to_cool", + "text": "_DEVICE_NAME_ is set to cool" + } + }, + { + "Heat": "HeatOn", + "HumanFriendlyText": { + "lang_tag": "hft_thermostat_set_to_heat", + "text": "_DEVICE_NAME_ is set to heat" + } + }, + { + "Auto": "AutoChangeOver", + "HumanFriendlyText": { + "lang_tag": "hft_thermostat_set_to_auto", + "text": "_DEVICE_NAME_ is set to auto" + } + } + ], + "name": "ModeStatus", + "comparisson": "=", + "prefix": { + "lang_tag": "mode", + "text": "Mode" + }, + "suffix": {} + } + ] + }, + { + "id": 2, + "label": { + "lang_tag": "ambient_temperature_goes_above", + "text": "Ambient temperature goes above" + }, + "serviceId": "urn:upnp-org:serviceId:TemperatureSensor1", + "norepeat": "1", + "argumentList": [ + { + "id": 1, + "dataType": "i4", + "name": "CurrentTemperature", + "comparisson": ">", + "prefix": { + "lang_tag": "temperature", + "text": "Temperature" + }, + "suffix": { + "lang_tag": "degrees", + "text": "degrees" + }, + "HumanFriendlyText": { + "lang_tag": "hft_ambient_temperature_goes_above", + "text": "_DEVICE_NAME_ ambient temperature goes above _ARGUMENT_VALUE_ degrees" + } + } + ] + }, + { + "id": 3, + "label": { + "lang_tag": "ambient_temperature_goes_above_or_below", + "text": "Ambient temperature goes above or below" + }, + "serviceId": "urn:upnp-org:serviceId:TemperatureSensor1", + "norepeat": "1", + "argumentList": [ + { + "id": 1, + "dataType": "i4", + "name": "CurrentTemperature", + "comparisson": "<,>", + "prefix": { + "lang_tag": "temperature", + "text": "Temperature" + }, + "suffix": { + "lang_tag": "degrees", + "text": "degrees" + }, + "HumanFriendlyText": { + "lang_tag": "hft_ambient_temperature_goes_above_or_below", + "text": "_DEVICE_NAME_ goes above/below _ARGUMENT_VALUE_ degrees" + } + } + ] + }, + { + "id": 4, + "label": { + "lang_tag": "thermostat_heat_point_goes_over", + "text": "Thermostat HEAT set point goes over" + }, + "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", + "argumentList": [ + { + "id": 1, + "dataType": "i4", + "name": "CurrentSetpoint", + "comparisson": ">", + "prefix": { + "lang_tag": "temperature", + "text": "Temperature" + }, + "suffix": { + "lang_tag": "degrees", + "text": "degrees" + }, + "HumanFriendlyText": { + "lang_tag": "hft_thermostat_heatpoint_goes_over", + "text": "_DEVICE_NAME_ heat point goes over _ARGUMENT_VALUE_ degrees" + } + } + ] + }, + { + "id": 5, + "label": { + "lang_tag": "thermostat_coolpoint_goes_below", + "text": "Thermostat COOL set point goes below" + }, + "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", + "argumentList": [ + { + "id": 1, + "dataType": "i4", + "name": "CurrentSetpoint", + "comparisson": "<", + "prefix": { + "lang_tag": "temperature", + "text": "Temperature" + }, + "suffix": { + "lang_tag": "degrees", + "text": "degrees" + }, + "HumanFriendlyText": { + "lang_tag": "hft_thermostat_coolpoint_goes_below", + "text": "_DEVICE_NAME_ cool point goes below _ARGUMENT_VALUE_ degrees" + } + } + ] + }, + { + "id": 6, + "label": { + "lang_tag": "ambient_temperature_goes_below", + "text": "Ambient temperature goes below" + }, + "serviceId": "urn:upnp-org:serviceId:TemperatureSensor1", + "norepeat": "1", + "argumentList": [ + { + "id": 1, + "dataType": "i4", + "name": "CurrentTemperature", + "comparisson": "<", + "prefix": { + "lang_tag": "temperature", + "text": "Temperature" + }, + "suffix": { + "lang_tag": "degrees", + "text": "degrees" + }, + "HumanFriendlyText": { + "lang_tag": "hft_ambient_temperature_goes_below", + "text": "_DEVICE_NAME_ ambient temperature goes below _ARGUMENT_VALUE_ degrees" + } + } + ] + }, + { + "id": 8, + "label": { + "lang_tag": "thermostat_heat_point_goes_below", + "text": "Thermostat HEAT set point goes below" + }, + "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Heat", + "argumentList": [ + { + "id": 1, + "dataType": "i4", + "name": "CurrentSetpoint", + "comparisson": "<", + "prefix": { + "lang_tag": "temperature", + "text": "Temperature" + }, + "suffix": { + "lang_tag": "degrees", + "text": "degrees" + }, + "HumanFriendlyText": { + "lang_tag": "hft_thermostat_heatpoint_goes_below", + "text": "_DEVICE_NAME_ heat point goes below _ARGUMENT_VALUE_ degrees" + } + } + ] + }, + { + "id": 9, + "label": { + "lang_tag": "thermostat_coolpoint_goes_over", + "text": "Thermostat COOL set point goes over" + }, + "serviceId": "urn:upnp-org:serviceId:TemperatureSetpoint1_Cool", + "argumentList": [ + { + "id": 1, + "dataType": "i4", + "name": "CurrentSetpoint", + "comparisson": ">", + "prefix": { + "lang_tag": "temperature", + "text": "Temperature" + }, + "suffix": { + "lang_tag": "degrees", + "text": "degrees" + }, + "HumanFriendlyText": { + "lang_tag": "hft_thermostat_coolpoint_goes_over", + "text": "_DEVICE_NAME_ cool point goes over _ARGUMENT_VALUE_ degrees" + } + } + ] + }, + { + "id": 10, + "label": { + "lang_tag": "mode_state_changes", + "text": "Thermostat Running State Changes" + }, + "serviceId": "urn:micasaverde-com:serviceId:HVAC_OperatingState1", + "argumentList": [ + { + "id": 1, + "dataType": "string", + "defaultValue": "", + "allowedValueList": [ + { + "Off": "Off", + "HumanFriendlyText": { + "lang_tag": "hft_hvac_off", + "text": "_DEVICE_NAME_ is off" + } + }, + { + "Heating": "Heating", + "HumanFriendlyText": { + "lang_tag": "hft_hvac_heating", + "text": "_DEVICE_NAME_ is heating" + } + }, + { + "Cooling": "Cooling", + "HumanFriendlyText": { + "lang_tag": "hft_hvac_cooling", + "text": "_DEVICE_NAME_ is cooling" + } + }, + { + "FanOnly": "FanOnly", + "HumanFriendlyText": { + "lang_tag": "hft_hvac_fan_only", + "text": "_DEVICE_NAME_ is running the fan only" + } + }, + { + "Idle": "Idle", + "HumanFriendlyText": { + "lang_tag": "hft_hvac_idle", + "text": "_DEVICE_NAME_ is idle" + } + }, + { + "Vent": "Vent", + "HumanFriendlyText": { + "lang_tag": "hft_hvac_vent", + "text": "_DEVICE_NAME_ is running ventilator" + } + } + + ], + "name": "ModeState", + "comparisson": "=", + "prefix": { + "lang_tag": "mode_state", + "text": "ModeState" + }, + "suffix": {} + } + ] + } + ], + "DeviceType": "urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1", + "device_type": "urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1" +} diff --git a/src/D_EcobeeThermostat1.xml b/src/D_EcobeeThermostat1.xml index e4fee4a..213728a 100644 --- a/src/D_EcobeeThermostat1.xml +++ b/src/D_EcobeeThermostat1.xml @@ -39,6 +39,11 @@ urn:upnp-org:serviceId:TemperatureSetpoint1_Cool S_TemperatureSetpoint1.xml + + urn:schemas-upnp-org:service:TemperatureSetpoint:1 + urn:upnp-org:serviceId:TemperatureSetpoint1 + S_TemperatureSetpoint1.xml + urn:schemas-micasaverde-com:service:EnergyMetering:1 urn:micasaverde-com:serviceId:EnergyMetering1 diff --git a/src/I_Ecobee1.xml b/src/I_Ecobee1.xml index 8228824..aa7ead2 100644 --- a/src/I_Ecobee1.xml +++ b/src/I_Ecobee1.xml @@ -2,7 +2,7 @@