homey-api 1.10.20 → 1.10.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -863,6 +863,22 @@
|
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
865
|
},
|
|
866
|
+
"activateHomey": {
|
|
867
|
+
"path": "/homey/{id}/activate",
|
|
868
|
+
"method": "post",
|
|
869
|
+
"private": true,
|
|
870
|
+
"parameters": {
|
|
871
|
+
"id": {
|
|
872
|
+
"in": "path",
|
|
873
|
+
"type": "string",
|
|
874
|
+
"required": true
|
|
875
|
+
},
|
|
876
|
+
"userId": {
|
|
877
|
+
"type": "string",
|
|
878
|
+
"in": "body"
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
},
|
|
866
882
|
"addHomeyLicense": {
|
|
867
883
|
"path": "/homey/{homeyId}/license/{license}",
|
|
868
884
|
"method": "post",
|
|
@@ -483,6 +483,21 @@
|
|
|
483
483
|
"required": true
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
+
},
|
|
487
|
+
"getAppUsage": {
|
|
488
|
+
"method": "get",
|
|
489
|
+
"path": "/app/:id/usage",
|
|
490
|
+
"private": false,
|
|
491
|
+
"scopes": [
|
|
492
|
+
"homey.app.readonly"
|
|
493
|
+
],
|
|
494
|
+
"parameters": {
|
|
495
|
+
"id": {
|
|
496
|
+
"in": "path",
|
|
497
|
+
"type": "string",
|
|
498
|
+
"required": true
|
|
499
|
+
}
|
|
500
|
+
}
|
|
486
501
|
}
|
|
487
502
|
}
|
|
488
503
|
},
|
|
@@ -693,6 +708,25 @@
|
|
|
693
708
|
"required": true
|
|
694
709
|
}
|
|
695
710
|
}
|
|
711
|
+
},
|
|
712
|
+
"setDebugLogging": {
|
|
713
|
+
"method": "put",
|
|
714
|
+
"path": "/debug",
|
|
715
|
+
"private": true,
|
|
716
|
+
"scopes": [
|
|
717
|
+
"homey.system"
|
|
718
|
+
],
|
|
719
|
+
"parameters": {
|
|
720
|
+
"peripheral": {
|
|
721
|
+
"in": "body",
|
|
722
|
+
"type": "string"
|
|
723
|
+
},
|
|
724
|
+
"enabled": {
|
|
725
|
+
"in": "body",
|
|
726
|
+
"type": "boolean",
|
|
727
|
+
"required": true
|
|
728
|
+
}
|
|
729
|
+
}
|
|
696
730
|
}
|
|
697
731
|
}
|
|
698
732
|
},
|
|
@@ -1644,6 +1678,17 @@
|
|
|
1644
1678
|
}
|
|
1645
1679
|
}
|
|
1646
1680
|
},
|
|
1681
|
+
"ExperimentHomeKit": {
|
|
1682
|
+
"id": "experiment-homekit",
|
|
1683
|
+
"schema": {
|
|
1684
|
+
"type": "object",
|
|
1685
|
+
"properties": {
|
|
1686
|
+
"id": {
|
|
1687
|
+
"type": "string"
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1647
1692
|
"ExperimentPowerUser": {
|
|
1648
1693
|
"id": "experiment-poweruser",
|
|
1649
1694
|
"schema": {
|
|
@@ -2186,7 +2231,7 @@
|
|
|
2186
2231
|
"path": "/flowcardcondition/:uri/:id/run",
|
|
2187
2232
|
"private": false,
|
|
2188
2233
|
"scopes": [
|
|
2189
|
-
"homey.flow
|
|
2234
|
+
"homey.flow"
|
|
2190
2235
|
],
|
|
2191
2236
|
"parameters": {
|
|
2192
2237
|
"id": {
|
|
@@ -2259,7 +2304,7 @@
|
|
|
2259
2304
|
"path": "/flowcardaction/:uri/:id/run",
|
|
2260
2305
|
"private": false,
|
|
2261
2306
|
"scopes": [
|
|
2262
|
-
"homey.flow
|
|
2307
|
+
"homey.flow"
|
|
2263
2308
|
],
|
|
2264
2309
|
"parameters": {
|
|
2265
2310
|
"id": {
|
|
@@ -3010,6 +3055,25 @@
|
|
|
3010
3055
|
],
|
|
3011
3056
|
"parameters": {}
|
|
3012
3057
|
},
|
|
3058
|
+
"getVariable": {
|
|
3059
|
+
"method": "get",
|
|
3060
|
+
"path": "/variable/:id",
|
|
3061
|
+
"private": false,
|
|
3062
|
+
"scopes": [
|
|
3063
|
+
"homey.logic.readonly"
|
|
3064
|
+
],
|
|
3065
|
+
"crud": {
|
|
3066
|
+
"type": "getOne",
|
|
3067
|
+
"item": "Variable"
|
|
3068
|
+
},
|
|
3069
|
+
"parameters": {
|
|
3070
|
+
"id": {
|
|
3071
|
+
"in": "path",
|
|
3072
|
+
"type": "string",
|
|
3073
|
+
"required": true
|
|
3074
|
+
}
|
|
3075
|
+
}
|
|
3076
|
+
},
|
|
3013
3077
|
"getVariables": {
|
|
3014
3078
|
"method": "get",
|
|
3015
3079
|
"path": "/variable",
|
|
@@ -3342,6 +3406,21 @@
|
|
|
3342
3406
|
}
|
|
3343
3407
|
}
|
|
3344
3408
|
},
|
|
3409
|
+
"getPresent": {
|
|
3410
|
+
"method": "get",
|
|
3411
|
+
"path": "/:id/present",
|
|
3412
|
+
"private": false,
|
|
3413
|
+
"scopes": [
|
|
3414
|
+
"homey.presence.readonly"
|
|
3415
|
+
],
|
|
3416
|
+
"parameters": {
|
|
3417
|
+
"id": {
|
|
3418
|
+
"in": "path",
|
|
3419
|
+
"type": "string",
|
|
3420
|
+
"required": true
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3345
3424
|
"setAsleepMe": {
|
|
3346
3425
|
"method": "put",
|
|
3347
3426
|
"path": "/me/asleep",
|
|
@@ -3383,6 +3462,21 @@
|
|
|
3383
3462
|
"type": "boolean"
|
|
3384
3463
|
}
|
|
3385
3464
|
}
|
|
3465
|
+
},
|
|
3466
|
+
"getAsleep": {
|
|
3467
|
+
"method": "get",
|
|
3468
|
+
"path": "/:id/asleep",
|
|
3469
|
+
"private": false,
|
|
3470
|
+
"scopes": [
|
|
3471
|
+
"homey.presence.readonly"
|
|
3472
|
+
],
|
|
3473
|
+
"parameters": {
|
|
3474
|
+
"id": {
|
|
3475
|
+
"in": "path",
|
|
3476
|
+
"type": "string",
|
|
3477
|
+
"required": true
|
|
3478
|
+
}
|
|
3479
|
+
}
|
|
3386
3480
|
}
|
|
3387
3481
|
}
|
|
3388
3482
|
},
|
|
@@ -2312,6 +2312,8 @@
|
|
|
2312
2312
|
|
|
2313
2313
|
|
|
2314
2314
|
|
|
2315
|
+
|
|
2316
|
+
|
|
2315
2317
|
|
|
2316
2318
|
|
|
2317
2319
|
|
|
@@ -2503,6 +2505,16 @@
|
|
|
2503
2505
|
|
|
2504
2506
|
export namespace HomeyAPIV3Local.ManagerExperiments {
|
|
2505
2507
|
|
|
2508
|
+
export class ExperimentHomeKit {
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
id: string;
|
|
2513
|
+
|
|
2514
|
+
|
|
2515
|
+
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2506
2518
|
export class ExperimentPowerUser {
|
|
2507
2519
|
|
|
2508
2520
|
|
|
@@ -11366,6 +11378,25 @@
|
|
|
11366
11378
|
|
|
11367
11379
|
|
|
11368
11380
|
|
|
11381
|
+
opts: {
|
|
11382
|
+
|
|
11383
|
+
|
|
11384
|
+
id: string,
|
|
11385
|
+
|
|
11386
|
+
|
|
11387
|
+
},
|
|
11388
|
+
|
|
11389
|
+
|
|
11390
|
+
|
|
11391
|
+
|
|
11392
|
+
):
|
|
11393
|
+
Promise<any>;
|
|
11394
|
+
|
|
11395
|
+
getAppUsage(
|
|
11396
|
+
|
|
11397
|
+
|
|
11398
|
+
|
|
11399
|
+
|
|
11369
11400
|
opts: {
|
|
11370
11401
|
|
|
11371
11402
|
|
|
@@ -13723,6 +13754,25 @@
|
|
|
13723
13754
|
):
|
|
13724
13755
|
Promise<any>;
|
|
13725
13756
|
|
|
13757
|
+
getVariable(
|
|
13758
|
+
|
|
13759
|
+
|
|
13760
|
+
|
|
13761
|
+
|
|
13762
|
+
opts: {
|
|
13763
|
+
|
|
13764
|
+
|
|
13765
|
+
id: string,
|
|
13766
|
+
|
|
13767
|
+
|
|
13768
|
+
},
|
|
13769
|
+
|
|
13770
|
+
|
|
13771
|
+
|
|
13772
|
+
|
|
13773
|
+
):
|
|
13774
|
+
Promise<HomeyAPIV3Local.ManagerLogic.Variable>;
|
|
13775
|
+
|
|
13726
13776
|
getVariables(
|
|
13727
13777
|
|
|
13728
13778
|
):
|
|
@@ -14068,6 +14118,25 @@
|
|
|
14068
14118
|
|
|
14069
14119
|
|
|
14070
14120
|
|
|
14121
|
+
):
|
|
14122
|
+
Promise<any>;
|
|
14123
|
+
|
|
14124
|
+
getPresent(
|
|
14125
|
+
|
|
14126
|
+
|
|
14127
|
+
|
|
14128
|
+
|
|
14129
|
+
opts: {
|
|
14130
|
+
|
|
14131
|
+
|
|
14132
|
+
id: string,
|
|
14133
|
+
|
|
14134
|
+
|
|
14135
|
+
},
|
|
14136
|
+
|
|
14137
|
+
|
|
14138
|
+
|
|
14139
|
+
|
|
14071
14140
|
):
|
|
14072
14141
|
Promise<any>;
|
|
14073
14142
|
|
|
@@ -14120,6 +14189,25 @@
|
|
|
14120
14189
|
|
|
14121
14190
|
|
|
14122
14191
|
|
|
14192
|
+
):
|
|
14193
|
+
Promise<any>;
|
|
14194
|
+
|
|
14195
|
+
getAsleep(
|
|
14196
|
+
|
|
14197
|
+
|
|
14198
|
+
|
|
14199
|
+
|
|
14200
|
+
opts: {
|
|
14201
|
+
|
|
14202
|
+
|
|
14203
|
+
id: string,
|
|
14204
|
+
|
|
14205
|
+
|
|
14206
|
+
},
|
|
14207
|
+
|
|
14208
|
+
|
|
14209
|
+
|
|
14210
|
+
|
|
14123
14211
|
):
|
|
14124
14212
|
Promise<any>;
|
|
14125
14213
|
|
|
@@ -2616,6 +2616,29 @@
|
|
|
2616
2616
|
|
|
2617
2617
|
|
|
2618
2618
|
|
|
2619
|
+
):
|
|
2620
|
+
Promise<any>;
|
|
2621
|
+
|
|
2622
|
+
activateHomey(
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
opts: {
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
id: string,
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
userId: string,
|
|
2635
|
+
|
|
2636
|
+
|
|
2637
|
+
},
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
|
|
2641
|
+
|
|
2619
2642
|
):
|
|
2620
2643
|
Promise<any>;
|
|
2621
2644
|
|
|
@@ -7702,6 +7725,8 @@
|
|
|
7702
7725
|
|
|
7703
7726
|
|
|
7704
7727
|
|
|
7728
|
+
|
|
7729
|
+
|
|
7705
7730
|
|
|
7706
7731
|
|
|
7707
7732
|
|
|
@@ -7913,6 +7938,16 @@
|
|
|
7913
7938
|
|
|
7914
7939
|
export namespace HomeyAPIV3Local.ManagerExperiments {
|
|
7915
7940
|
|
|
7941
|
+
export class ExperimentHomeKit {
|
|
7942
|
+
|
|
7943
|
+
|
|
7944
|
+
|
|
7945
|
+
id: string;
|
|
7946
|
+
|
|
7947
|
+
|
|
7948
|
+
|
|
7949
|
+
}
|
|
7950
|
+
|
|
7916
7951
|
export class ExperimentPowerUser {
|
|
7917
7952
|
|
|
7918
7953
|
|
|
@@ -17323,6 +17358,25 @@
|
|
|
17323
17358
|
|
|
17324
17359
|
|
|
17325
17360
|
|
|
17361
|
+
opts: {
|
|
17362
|
+
|
|
17363
|
+
|
|
17364
|
+
id: string,
|
|
17365
|
+
|
|
17366
|
+
|
|
17367
|
+
},
|
|
17368
|
+
|
|
17369
|
+
|
|
17370
|
+
|
|
17371
|
+
|
|
17372
|
+
):
|
|
17373
|
+
Promise<any>;
|
|
17374
|
+
|
|
17375
|
+
getAppUsage(
|
|
17376
|
+
|
|
17377
|
+
|
|
17378
|
+
|
|
17379
|
+
|
|
17326
17380
|
opts: {
|
|
17327
17381
|
|
|
17328
17382
|
|
|
@@ -17612,6 +17666,29 @@
|
|
|
17612
17666
|
|
|
17613
17667
|
|
|
17614
17668
|
|
|
17669
|
+
):
|
|
17670
|
+
Promise<any>;
|
|
17671
|
+
|
|
17672
|
+
setDebugLogging(
|
|
17673
|
+
|
|
17674
|
+
|
|
17675
|
+
|
|
17676
|
+
|
|
17677
|
+
opts: {
|
|
17678
|
+
|
|
17679
|
+
|
|
17680
|
+
peripheral: string,
|
|
17681
|
+
|
|
17682
|
+
|
|
17683
|
+
|
|
17684
|
+
enabled: boolean,
|
|
17685
|
+
|
|
17686
|
+
|
|
17687
|
+
},
|
|
17688
|
+
|
|
17689
|
+
|
|
17690
|
+
|
|
17691
|
+
|
|
17615
17692
|
):
|
|
17616
17693
|
Promise<any>;
|
|
17617
17694
|
|
|
@@ -19821,6 +19898,25 @@
|
|
|
19821
19898
|
):
|
|
19822
19899
|
Promise<any>;
|
|
19823
19900
|
|
|
19901
|
+
getVariable(
|
|
19902
|
+
|
|
19903
|
+
|
|
19904
|
+
|
|
19905
|
+
|
|
19906
|
+
opts: {
|
|
19907
|
+
|
|
19908
|
+
|
|
19909
|
+
id: string,
|
|
19910
|
+
|
|
19911
|
+
|
|
19912
|
+
},
|
|
19913
|
+
|
|
19914
|
+
|
|
19915
|
+
|
|
19916
|
+
|
|
19917
|
+
):
|
|
19918
|
+
Promise<HomeyAPIV3Local.ManagerLogic.Variable>;
|
|
19919
|
+
|
|
19824
19920
|
getVariables(
|
|
19825
19921
|
|
|
19826
19922
|
):
|
|
@@ -20166,6 +20262,25 @@
|
|
|
20166
20262
|
|
|
20167
20263
|
|
|
20168
20264
|
|
|
20265
|
+
):
|
|
20266
|
+
Promise<any>;
|
|
20267
|
+
|
|
20268
|
+
getPresent(
|
|
20269
|
+
|
|
20270
|
+
|
|
20271
|
+
|
|
20272
|
+
|
|
20273
|
+
opts: {
|
|
20274
|
+
|
|
20275
|
+
|
|
20276
|
+
id: string,
|
|
20277
|
+
|
|
20278
|
+
|
|
20279
|
+
},
|
|
20280
|
+
|
|
20281
|
+
|
|
20282
|
+
|
|
20283
|
+
|
|
20169
20284
|
):
|
|
20170
20285
|
Promise<any>;
|
|
20171
20286
|
|
|
@@ -20218,6 +20333,25 @@
|
|
|
20218
20333
|
|
|
20219
20334
|
|
|
20220
20335
|
|
|
20336
|
+
):
|
|
20337
|
+
Promise<any>;
|
|
20338
|
+
|
|
20339
|
+
getAsleep(
|
|
20340
|
+
|
|
20341
|
+
|
|
20342
|
+
|
|
20343
|
+
|
|
20344
|
+
opts: {
|
|
20345
|
+
|
|
20346
|
+
|
|
20347
|
+
id: string,
|
|
20348
|
+
|
|
20349
|
+
|
|
20350
|
+
},
|
|
20351
|
+
|
|
20352
|
+
|
|
20353
|
+
|
|
20354
|
+
|
|
20221
20355
|
):
|
|
20222
20356
|
Promise<any>;
|
|
20223
20357
|
|