- Timestamp:
- 2012-02-15 00:28:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/0.1-UI5/D_GCal.json ¶
r1 r5 7 7 "imgIconMax": "", 8 8 "halloIconsDir": "pics\/hallo", 9 "inScene": "1", 9 10 "DisplayStatus": { 10 11 "Service": "urn:micasaverde-com:serviceId:SecuritySensor1", 11 12 "Variable": "Tripped", 12 13 "MinValue": "0", 13 "MaxValue": "1" 14 "MaxValue": "1" 14 15 }, 15 16 "doc_url": { … … 18 19 "doc_version": 1, 19 20 "doc_platform": 0, 20 "doc_page": "devices" 21 "doc_page": "devices" 21 22 }, 22 23 "ToggleButton": 1, 23 24 "Tabs": [ 24 25 25 { 26 "Label": { 26 27 "lang_tag": "tabname_control", 27 "text": "Control" 28 "text": "Control" 28 29 }, 29 30 "Position": "0", 30 31 "TabType": "flash", 31 "ControlGroup":[ 32 { 33 "id":"1", 34 "isSingle":"1" 35 }, 36 { 37 "id":"2", 38 "isSingle":"1" 39 } 32 "SceneGroup":[ 33 { 34 "id": "1", 35 "top": "2", 36 "left": "0", 37 "x": "2", 38 "y": "1" 39 } 40 ], 41 "ControlGroup":[ 42 { 43 "id": "1", 44 "isSingle": "1", 45 "scenegroup": "1" 46 }, 47 { 48 "id": "2", 49 "isSingle": "1", 50 "scenegroup": "1" 51 } 40 52 ], 41 53 "Control": [ 42 54 { 43 55 "ControlGroup":"1", 44 56 "ControlType": "button", 45 57 "Label": { 46 58 "lang_tag": "cmd_arm", 47 "text": "Arm" 48 }, 59 "text": "Arm" 60 }, 61 "left": 0, 49 62 "Display": { 50 63 "Service": "urn:micasaverde-com:serviceId:SecuritySensor1", … … 54 67 "Left": 50, 55 68 "Width": 75, 56 "Height": 20 69 "Height": 20 57 70 }, 58 71 "Command": { … … 62 75 { 63 76 "Name": "newArmedValue", 64 "Value": "1" 65 } 66 ] 67 } 68 }, 69 { 70 77 "Value": "1" 78 } 79 ] 80 } 81 }, 82 { 83 "ControlGroup":"2", 71 84 "ControlType": "button", 72 85 "Label": { 73 86 "lang_tag": "cmd_bypass", 74 "text": "Bypass" 75 }, 87 "text": "Bypass" 88 }, 89 "left": 1, 76 90 "Display": { 77 91 "Service": "urn:micasaverde-com:serviceId:SecuritySensor1", … … 81 95 "Left": 150, 82 96 "Width": 75, 83 "Height": 20 97 "Height": 20 84 98 }, 85 99 "Command": { … … 89 103 { 90 104 "Name": "newArmedValue", 91 "Value": "0" 92 } 93 ] 94 } 95 }, 96 105 "Value": "0" 106 } 107 ] 108 } 109 }, 110 { 97 111 "ControlType": "button", 98 112 "Label": { 99 113 "lang_tag": "GCalCheck", 100 "text": "Check" 114 "text": "Check" 101 115 }, 102 116 "Display": { … … 108 122 "Command": { 109 123 "Service": "urn:utz-com:serviceId:GCal1", 110 "Action": "GCalCheck" ,111 } 112 }, 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 ] 124 "Action": "GCalCheck" 125 } 126 }, 127 { 128 "ControlType": "label", 129 "Label": { 130 "lang_tag": "gcallink", 131 "text": "Link" 132 }, 133 "Display": { 134 "Top": 100, 135 "Left": 50, 136 "Width": 75, 137 "Height": 20 138 } 139 }, 140 { 141 "ControlType":"input", 142 "ID": "NewGCalLink", 143 "Display":{ 144 "Top": 100, 145 "Left":150, 146 "Width": 300, 147 "Height": 20 148 } 149 }, 150 { 151 "ControlType": "button", 152 "Label": { 153 "lang_tag": "setgcallink", 154 "text": "Set" 155 }, 156 "Display": { 157 "Top": 100, 158 "Left": 500, 159 "Width": 75, 160 "Height": 20 161 }, 162 "Command": { 163 "Service": "urn:utz-com:serviceId:GCal1", 164 "Action": "SetGCalLink", 165 "Parameters": [ 166 { 167 "Name": "NewGCalLink", 168 "ID": "NewGCalLink" 169 } 170 ] 171 } 172 }, 173 { 174 "ControlType": "label", 175 "Label": { 176 "lang_tag": "gcalon", 177 "text": "Keyword" 178 }, 179 "Display": { 180 "Top": 150, 181 "Left": 50, 182 "Width": 75, 183 "Height": 20 184 } 185 }, 186 { 187 "ControlType":"input", 188 "ID": "NewGCalOn", 189 "Display":{ 190 "Top": 150, 191 "Left":150, 192 "Width": 300, 193 "Height": 20 194 } 195 }, 196 { 197 "ControlType": "button", 198 "Label": { 199 "lang_tag": "setgcalon", 200 "text": "Set" 201 }, 202 "Display": { 203 "Top": 150, 204 "Left": 500, 205 "Width": 75, 206 "Height": 20 207 }, 208 "Command": { 209 "Service": "urn:utz-com:serviceId:GCal1", 210 "Action": "SetGCalOn", 211 "Parameters": [ 212 { 213 "Name": "NewGCalOn", 214 "ID": "NewGCalOn" 215 } 216 ] 217 } 218 } 219 ] 206 220 }, 207 208 209 210 221 { 222 "Label": { 223 "lang_tag": "calendar", 224 "text": "Calendar" 211 225 }, 212 226 "Position": "2", … … 214 228 "ScriptName": "J_GCal.js", 215 229 "Function": "calendarTab" 216 230 }, 217 231 { 218 232 "Label": { 219 233 "lang_tag": "advanced", 220 "text": "Advanced" 234 "text": "Advanced" 221 235 }, 222 236 "Position": "3", 223 237 "TabType": "javascript", 224 238 "ScriptName": "shared.js", 225 "Function": "advanced_device" 239 "Function": "advanced_device" 226 240 }, 227 241 { 228 242 "Label": { 229 230 "text": "Notifications" 243 "lang_tag": "notifications", 244 "text": "Notifications" 231 245 }, 232 246 "Position": "4", 233 247 "TabType": "javascript", 234 248 "ScriptName": "shared.js", 235 "Function": "device_notifications" 249 "Function": "device_notifications" 236 250 } 237 251 ], … … 243 257 "action": "SetArmed", 244 258 "arguments": { 245 "newArmedValue": "1" 259 "newArmedValue": "1" 246 260 }, 247 261 "display": { … … 249 263 "variable": "Armed", 250 264 "value": "1" 251 } 265 } 252 266 }, 253 267 "cmd_2": { … … 256 270 "action": "SetArmed", 257 271 "arguments": { 258 "newArmedValue": "0" 272 "newArmedValue": "0" 259 273 }, 260 274 "display": { … … 262 276 "variable": "Armed", 263 277 "value": "0" 264 } 265 } 266 } 278 } 279 } 280 } 267 281 }, 268 "eventList": { 269 "event_1": { 270 "label": "A calendar event is active", 282 "eventList2": [ 283 { 284 "id": 1, 285 "label": { 286 "lang_tag": "calendar_event_active", 287 "text": "A calendar event is active" 288 }, 271 289 "serviceId": "urn:micasaverde-com:serviceId:SecuritySensor1", 272 "argumentList": { 273 "argument_1": { 290 "argumentList": [ 291 { 292 "id": 1, 274 293 "dataType": "boolean", 275 294 "defaultValue": "", 276 "allowedValueList": { 277 "On": "1", 278 "Off": "0" 279 }, 295 "allowedValueList": [ 296 { 297 "On": "1", 298 "HumanFriendlyText": { 299 "lang_tag": "hft_calendar_event_active", 300 "text": "_DEVICE_NAME_: Calendar event is Active" 301 } 302 }, 303 { 304 "Off": "0", 305 "HumanFriendlyText": { 306 "lang_tag": "hft_calendar_event_not_active", 307 "text": "_DEVICE_NAME_: Calendar event is Not Active" 308 } 309 } 310 ], 280 311 "name": "Tripped", 281 312 "comparisson": "=", 282 "prefix": "Status?", 283 "suffix": " " 284 } 285 } 313 "prefix": { 314 "lang_tag": "status", 315 "text": "Status?" 316 }, 317 "suffix": {} 318 } 319 ] 286 320 }, 287 "event_2": { 288 "label": "An armed calendar event is active", 321 { 322 "id": 2, 323 "label": { 324 "lang_tag": "armed_calendar_event_active", 325 "text": "An armed calendar event is active" 326 }, 289 327 "serviceId": "urn:micasaverde-com:serviceId:SecuritySensor1", 290 328 "serviceStateTable": { 291 329 "Armed": { 292 330 "value": "1", 293 "comparisson": "=" 294 } 295 }, 296 "argumentList": { 297 "argument_1": { 331 "comparisson": "=" 332 } 333 }, 334 "argumentList": [ 335 { 336 "id": 1, 298 337 "dataType": "boolean", 299 "allowedValueList": { 300 "On": "1", 301 "Off": "0" 302 }, 303 "name": "Tripped", 338 "allowedValueList": [ 339 { 340 "On": "1", 341 "HumanFriendlyText": { 342 "lang_tag": "hft_armed_calendar_event_active", 343 "text": "_DEVICE_NAME_: Armed calendar event is Active" 344 } 345 }, 346 { 347 "Off": "0", 348 "HumanFriendlyText": { 349 "lang_tag": "hft_armed_calendar_event_not_active", 350 "text": "_DEVICE_NAME_: Armed calendar event is Not Active" 351 } 352 } 353 ], 354 "name": "Tripped", 304 355 "comparisson": "=", 305 "prefix": "Status?", 306 "suffix": " " 307 } 308 } 356 "prefix": { 357 "lang_tag": "status", 358 "text": "Status?" 359 }, 360 "suffix": {} 361 } 362 ] 309 363 } 310 }, 311 "DeviceType": "urn:schemas-utz-com:device:GCal:1", 312 "device_type": "urn:schemas-utz-com:device:GCal:1" 364 ], 365 "DeviceType": "urn:schemas-utz-com:device:GCal:1" 313 366 }
Note: See TracChangeset
for help on using the changeset viewer.