homey-api 3.12.0 → 3.12.2

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.
@@ -630,6 +630,63 @@
630
630
  }
631
631
  }
632
632
  },
633
+ "getAuthenticatedUserClients": {
634
+ "path": "/user/me/client",
635
+ "method": "get",
636
+ "parameters": {}
637
+ },
638
+ "createAuthenticatedUserClient": {
639
+ "path": "/user/me/client",
640
+ "method": "post",
641
+ "parameters": {
642
+ "name": {
643
+ "type": "string",
644
+ "in": "body"
645
+ },
646
+ "redirectUri": {
647
+ "type": "array",
648
+ "in": "body"
649
+ },
650
+ "scopes": {
651
+ "type": "array",
652
+ "in": "body"
653
+ }
654
+ }
655
+ },
656
+ "updateAuthenticatedUserClient": {
657
+ "path": "/user/me/client/{id}",
658
+ "method": "put",
659
+ "parameters": {
660
+ "id": {
661
+ "in": "path",
662
+ "type": "string",
663
+ "required": true
664
+ },
665
+ "name": {
666
+ "type": "string",
667
+ "in": "body"
668
+ },
669
+ "redirectUri": {
670
+ "type": "array",
671
+ "in": "body"
672
+ },
673
+ "scopes": {
674
+ "type": "array",
675
+ "in": "body"
676
+ }
677
+ }
678
+ },
679
+ "deleteAuthenticatedUserClient": {
680
+ "path": "/user/me/client/{id}",
681
+ "method": "delete",
682
+ "parameters": {
683
+ "id": {
684
+ "in": "path",
685
+ "type": "string",
686
+ "required": true
687
+ }
688
+ }
689
+ },
633
690
  "getBridges": {
634
691
  "path": "/bridge/",
635
692
  "method": "get",
@@ -1255,6 +1255,9 @@
1255
1255
  },
1256
1256
  "uiIndicator": {
1257
1257
  "type": "string"
1258
+ },
1259
+ "hidden": {
1260
+ "type": "boolean"
1258
1261
  }
1259
1262
  }
1260
1263
  }
@@ -1335,6 +1338,101 @@
1335
1338
  "type": "string"
1336
1339
  }
1337
1340
  }
1341
+ },
1342
+ "createGroup": {
1343
+ "method": "post",
1344
+ "path": "/group",
1345
+ "private": false,
1346
+ "scopes": [
1347
+ "homey.device"
1348
+ ],
1349
+ "parameters": {
1350
+ "group": {
1351
+ "in": "body",
1352
+ "type": "object",
1353
+ "root": true,
1354
+ "required": true,
1355
+ "properties": {
1356
+ "name": {
1357
+ "type": "string",
1358
+ "required": true
1359
+ },
1360
+ "class": {
1361
+ "type": "string",
1362
+ "required": true
1363
+ },
1364
+ "zoneId": {
1365
+ "type": "string",
1366
+ "required": true
1367
+ },
1368
+ "deviceIds": {
1369
+ "type": "array",
1370
+ "required": true
1371
+ },
1372
+ "iconOverride": {
1373
+ "type": "string"
1374
+ },
1375
+ "iconDeviceId": {
1376
+ "type": "string"
1377
+ }
1378
+ }
1379
+ }
1380
+ }
1381
+ },
1382
+ "deleteDeviceFromGroup": {
1383
+ "method": "delete",
1384
+ "path": "/group/:groupId/device/:deviceId",
1385
+ "private": false,
1386
+ "scopes": [
1387
+ "homey.device"
1388
+ ],
1389
+ "parameters": {
1390
+ "deviceId": {
1391
+ "in": "path",
1392
+ "type": "string",
1393
+ "required": true
1394
+ },
1395
+ "groupId": {
1396
+ "in": "path",
1397
+ "type": "string",
1398
+ "required": true
1399
+ }
1400
+ }
1401
+ },
1402
+ "updateGroup": {
1403
+ "method": "put",
1404
+ "path": "/group/:id",
1405
+ "private": false,
1406
+ "scopes": [
1407
+ "homey.device"
1408
+ ],
1409
+ "parameters": {
1410
+ "id": {
1411
+ "in": "path",
1412
+ "type": "string",
1413
+ "required": true
1414
+ },
1415
+ "group": {
1416
+ "in": "body",
1417
+ "type": "object",
1418
+ "root": true,
1419
+ "required": true,
1420
+ "properties": {
1421
+ "name": {
1422
+ "type": "string"
1423
+ },
1424
+ "deviceIds": {
1425
+ "type": "array"
1426
+ },
1427
+ "iconOverride": {
1428
+ "type": "string"
1429
+ },
1430
+ "iconDeviceId": {
1431
+ "type": "string"
1432
+ }
1433
+ }
1434
+ }
1435
+ }
1338
1436
  }
1339
1437
  }
1340
1438
  },
@@ -1873,6 +1971,33 @@
1873
1971
  "homey.energy"
1874
1972
  ]
1875
1973
  },
1974
+ "getOptionElectricityPriceDynamicPreferredInterval": {
1975
+ "method": "GET",
1976
+ "path": "/option/electricityPriceDynamicPreferredInterval",
1977
+ "scopes": [
1978
+ "homey.energy.readonly"
1979
+ ]
1980
+ },
1981
+ "setOptionElectricityPriceDynamicPreferredInterval": {
1982
+ "method": "PUT",
1983
+ "path": "/option/electricityPriceDynamicPreferredInterval",
1984
+ "scopes": [
1985
+ "homey.energy"
1986
+ ],
1987
+ "parameters": {
1988
+ "value": {
1989
+ "in": "body",
1990
+ "required": true
1991
+ }
1992
+ }
1993
+ },
1994
+ "unsetOptionElectricityPriceDynamicPreferredInterval": {
1995
+ "method": "DELETE",
1996
+ "path": "/option/electricityPriceDynamicPreferredInterval",
1997
+ "scopes": [
1998
+ "homey.energy"
1999
+ ]
2000
+ },
1876
2001
  "getState": {
1877
2002
  "method": "get",
1878
2003
  "path": "/state",
@@ -2025,6 +2150,129 @@
2025
2150
  }
2026
2151
  }
2027
2152
  },
2153
+ "fetchDynamicElectricityPrices": {
2154
+ "method": "get",
2155
+ "path": "/price/electricity/dynamic",
2156
+ "private": false,
2157
+ "scopes": [
2158
+ "homey.energy.readonly"
2159
+ ],
2160
+ "parameters": {
2161
+ "date": {
2162
+ "in": "query",
2163
+ "type": "string",
2164
+ "required": true
2165
+ }
2166
+ }
2167
+ },
2168
+ "setDynamicElectricityPriceUserCosts": {
2169
+ "method": "put",
2170
+ "path": "/price/electricity/dynamic/user-costs",
2171
+ "private": false,
2172
+ "scopes": [
2173
+ "homey.energy"
2174
+ ],
2175
+ "parameters": {
2176
+ "mathExpression": {
2177
+ "in": "body",
2178
+ "type": "string",
2179
+ "required": true
2180
+ },
2181
+ "type": {
2182
+ "in": "body",
2183
+ "type": "string"
2184
+ }
2185
+ }
2186
+ },
2187
+ "getDynamicElectricityPriceUserCosts": {
2188
+ "method": "get",
2189
+ "path": "/price/electricity/dynamic/user-costs",
2190
+ "private": false,
2191
+ "scopes": [
2192
+ "homey.energy.readonly"
2193
+ ],
2194
+ "parameters": {}
2195
+ },
2196
+ "unsetDynamicElectricityPriceUserCosts": {
2197
+ "method": "delete",
2198
+ "path": "/price/electricity/dynamic/user-costs",
2199
+ "private": false,
2200
+ "scopes": [
2201
+ "homey.energy"
2202
+ ],
2203
+ "parameters": {}
2204
+ },
2205
+ "setElectricityPriceType": {
2206
+ "method": "put",
2207
+ "path": "/price/electricity/:type",
2208
+ "private": false,
2209
+ "scopes": [
2210
+ "homey.energy"
2211
+ ],
2212
+ "parameters": {
2213
+ "type": {
2214
+ "in": "path",
2215
+ "type": "string",
2216
+ "required": true
2217
+ }
2218
+ }
2219
+ },
2220
+ "getElectricityPriceType": {
2221
+ "method": "get",
2222
+ "path": "/price/electricity/type",
2223
+ "private": false,
2224
+ "scopes": [
2225
+ "homey.energy.readonly"
2226
+ ],
2227
+ "parameters": {}
2228
+ },
2229
+ "getDynamicPricesElectricityZones": {
2230
+ "method": "get",
2231
+ "path": "/price/electricity/dynamic/zones",
2232
+ "private": false,
2233
+ "scopes": [
2234
+ "homey.energy.readonly"
2235
+ ],
2236
+ "parameters": {}
2237
+ },
2238
+ "getDynamicPricesElectricityZone": {
2239
+ "method": "get",
2240
+ "path": "/price/electricity/dynamic/zone",
2241
+ "private": false,
2242
+ "scopes": [
2243
+ "homey.energy.readonly"
2244
+ ],
2245
+ "parameters": {}
2246
+ },
2247
+ "setDynamicPricesElectricityZone": {
2248
+ "method": "put",
2249
+ "path": "/price/electricity/dynamic/zone",
2250
+ "private": false,
2251
+ "scopes": [
2252
+ "homey.energy"
2253
+ ],
2254
+ "parameters": {
2255
+ "options": {
2256
+ "in": "body",
2257
+ "type": "object",
2258
+ "required": true,
2259
+ "properties": {
2260
+ "zoneId": {
2261
+ "type": "string"
2262
+ },
2263
+ "zoneVersion": {
2264
+ "type": "string"
2265
+ },
2266
+ "zoneName": {
2267
+ "type": "string"
2268
+ },
2269
+ "zoneCountryKey": {
2270
+ "type": "string"
2271
+ }
2272
+ }
2273
+ }
2274
+ }
2275
+ },
2028
2276
  "enableDummyEnergyReports": {
2029
2277
  "method": "post",
2030
2278
  "path": "/reports/dummy/enable",
@@ -2205,6 +2453,10 @@
2205
2453
  "dataRequestActiveState": {
2206
2454
  "in": "body",
2207
2455
  "type": "string"
2456
+ },
2457
+ "mode": {
2458
+ "in": "body",
2459
+ "type": "string"
2208
2460
  }
2209
2461
  }
2210
2462
  },
@@ -2261,7 +2513,9 @@
2261
2513
  "method": "put",
2262
2514
  "path": "/:deviceId/phase-load",
2263
2515
  "private": true,
2264
- "scopes": [],
2516
+ "scopes": [
2517
+ "homey.device"
2518
+ ],
2265
2519
  "parameters": {
2266
2520
  "deviceId": {
2267
2521
  "in": "path",
@@ -2284,7 +2538,9 @@
2284
2538
  "method": "get",
2285
2539
  "path": "/:deviceId/phase-load",
2286
2540
  "private": true,
2287
- "scopes": [],
2541
+ "scopes": [
2542
+ "homey.device.readonly"
2543
+ ],
2288
2544
  "parameters": {
2289
2545
  "deviceId": {
2290
2546
  "in": "path",
@@ -3965,6 +4221,41 @@
3965
4221
  "type": "boolean"
3966
4222
  }
3967
4223
  }
4224
+ },
4225
+ "getFabrics": {
4226
+ "method": "get",
4227
+ "path": "/fabrics",
4228
+ "private": false,
4229
+ "scopes": [
4230
+ "homey.system.readonly"
4231
+ ],
4232
+ "parameters": {
4233
+ "deviceId": {
4234
+ "in": "query",
4235
+ "type": "string",
4236
+ "required": true
4237
+ }
4238
+ }
4239
+ },
4240
+ "deleteFabric": {
4241
+ "method": "post",
4242
+ "path": "/delete-fabric",
4243
+ "private": false,
4244
+ "scopes": [
4245
+ "homey.system"
4246
+ ],
4247
+ "parameters": {
4248
+ "deviceId": {
4249
+ "in": "body",
4250
+ "type": "string",
4251
+ "required": true
4252
+ },
4253
+ "fabricIndex": {
4254
+ "in": "body",
4255
+ "type": "number",
4256
+ "required": true
4257
+ }
4258
+ }
3968
4259
  }
3969
4260
  }
3970
4261
  },
@@ -4630,6 +4921,44 @@
4630
4921
  "homey.system.readonly"
4631
4922
  ],
4632
4923
  "parameters": {}
4924
+ },
4925
+ "setDebugLogging": {
4926
+ "method": "put",
4927
+ "path": "/debug",
4928
+ "private": true,
4929
+ "scopes": [
4930
+ "homey.system"
4931
+ ],
4932
+ "parameters": {
4933
+ "peripheral": {
4934
+ "in": "body",
4935
+ "type": "string"
4936
+ },
4937
+ "enabled": {
4938
+ "in": "body",
4939
+ "type": "boolean",
4940
+ "required": true
4941
+ },
4942
+ "serial": {
4943
+ "in": "body",
4944
+ "type": "string"
4945
+ }
4946
+ }
4947
+ },
4948
+ "getDebugLog": {
4949
+ "method": "post",
4950
+ "path": "/debug",
4951
+ "private": true,
4952
+ "scopes": [
4953
+ "homey.system"
4954
+ ],
4955
+ "parameters": {
4956
+ "serial": {
4957
+ "in": "body",
4958
+ "type": "string",
4959
+ "required": true
4960
+ }
4961
+ }
4633
4962
  }
4634
4963
  }
4635
4964
  },
@@ -4834,6 +5163,24 @@
4834
5163
  ],
4835
5164
  "parameters": {}
4836
5165
  },
5166
+ "getMemoryInfoTotal": {
5167
+ "method": "get",
5168
+ "path": "/memory/total",
5169
+ "private": false,
5170
+ "scopes": [
5171
+ "homey.system.readonly"
5172
+ ],
5173
+ "parameters": {}
5174
+ },
5175
+ "getStorageInfoTotal": {
5176
+ "method": "get",
5177
+ "path": "/storage/total",
5178
+ "private": false,
5179
+ "scopes": [
5180
+ "homey.system.readonly"
5181
+ ],
5182
+ "parameters": {}
5183
+ },
4837
5184
  "rebootOTA": {
4838
5185
  "method": "post",
4839
5186
  "path": "/reboot-ota",
@@ -4920,12 +5267,27 @@
4920
5267
  "path": "/active-dataset",
4921
5268
  "private": true,
4922
5269
  "scopes": [
4923
- "homey.system"
5270
+ "homey.device"
4924
5271
  ],
4925
5272
  "parameters": {}
4926
5273
  },
5274
+ "setActiveDataset": {
5275
+ "method": "post",
5276
+ "path": "/active-dataset",
5277
+ "private": true,
5278
+ "scopes": [
5279
+ "homey.system"
5280
+ ],
5281
+ "parameters": {
5282
+ "tlvHex": {
5283
+ "in": "body",
5284
+ "type": "string",
5285
+ "required": true
5286
+ }
5287
+ }
5288
+ },
4927
5289
  "apiReset": {
4928
- "method": "get",
5290
+ "method": "post",
4929
5291
  "path": "/reset",
4930
5292
  "private": true,
4931
5293
  "scopes": [
@@ -4977,6 +5339,33 @@
4977
5339
  "homey.system"
4978
5340
  ],
4979
5341
  "parameters": {}
5342
+ },
5343
+ "getNetworkTopology": {
5344
+ "method": "get",
5345
+ "path": "/topology",
5346
+ "private": false,
5347
+ "scopes": [
5348
+ "homey.device.readonly"
5349
+ ],
5350
+ "parameters": {}
5351
+ },
5352
+ "getDiscoveredBorderRouters": {
5353
+ "method": "get",
5354
+ "path": "/discovered-border-routers",
5355
+ "private": true,
5356
+ "scopes": [
5357
+ "homey.device"
5358
+ ],
5359
+ "parameters": {}
5360
+ },
5361
+ "rescanBorderRouters": {
5362
+ "method": "post",
5363
+ "path": "/rescan-border-routers",
5364
+ "private": true,
5365
+ "scopes": [
5366
+ "homey.device"
5367
+ ],
5368
+ "parameters": {}
4980
5369
  }
4981
5370
  }
4982
5371
  },
@@ -5350,6 +5739,51 @@
5350
5739
  "required": true
5351
5740
  }
5352
5741
  }
5742
+ },
5743
+ "grantInstallerAccess": {
5744
+ "method": "post",
5745
+ "path": "/installer/grant",
5746
+ "private": false,
5747
+ "scopes": [],
5748
+ "parameters": {}
5749
+ },
5750
+ "revokeInstallerAccess": {
5751
+ "method": "post",
5752
+ "path": "/installer/revoke",
5753
+ "private": false,
5754
+ "scopes": [],
5755
+ "parameters": {}
5756
+ },
5757
+ "requestInstallerAccess": {
5758
+ "method": "post",
5759
+ "path": "/installer/request",
5760
+ "private": false,
5761
+ "scopes": [],
5762
+ "parameters": {
5763
+ "jwt": {
5764
+ "in": "body",
5765
+ "type": "string",
5766
+ "required": true
5767
+ }
5768
+ }
5769
+ },
5770
+ "swapOwnerInstaller": {
5771
+ "method": "post",
5772
+ "path": "/installer/swap-owner",
5773
+ "private": false,
5774
+ "scopes": [],
5775
+ "parameters": {
5776
+ "newOwnerUserId": {
5777
+ "in": "body",
5778
+ "type": "string",
5779
+ "required": true
5780
+ },
5781
+ "jwt": {
5782
+ "in": "body",
5783
+ "type": "string",
5784
+ "required": true
5785
+ }
5786
+ }
5353
5787
  }
5354
5788
  }
5355
5789
  },
@@ -5445,6 +5879,28 @@
5445
5879
  }
5446
5880
  }
5447
5881
  },
5882
+ "VirtualDriverRF433": {
5883
+ "id": "virtualdriverrf433",
5884
+ "schema": {
5885
+ "type": "object",
5886
+ "properties": {
5887
+ "id": {
5888
+ "type": "string"
5889
+ }
5890
+ }
5891
+ }
5892
+ },
5893
+ "VirtualDeviceRF433": {
5894
+ "id": "virtualdevicerf433",
5895
+ "schema": {
5896
+ "type": "object",
5897
+ "properties": {
5898
+ "id": {
5899
+ "type": "string"
5900
+ }
5901
+ }
5902
+ }
5903
+ },
5448
5904
  "VirtualDriverHomeyBridge": {
5449
5905
  "id": "virtualdriverbridge",
5450
5906
  "schema": {
@@ -5489,6 +5945,28 @@
5489
5945
  }
5490
5946
  }
5491
5947
  },
5948
+ "VirtualDriverGroup": {
5949
+ "id": "virtualdrivergroup",
5950
+ "schema": {
5951
+ "type": "object",
5952
+ "properties": {
5953
+ "id": {
5954
+ "type": "string"
5955
+ }
5956
+ }
5957
+ }
5958
+ },
5959
+ "VirtualDeviceGroup": {
5960
+ "id": "virtualdevicegroup",
5961
+ "schema": {
5962
+ "type": "object",
5963
+ "properties": {
5964
+ "id": {
5965
+ "type": "string"
5966
+ }
5967
+ }
5968
+ }
5969
+ },
5492
5970
  "VirtualDriverVirtualSocket": {
5493
5971
  "id": "virtualdrivervirtualsocket",
5494
5972
  "schema": {
@@ -5884,45 +6362,6 @@
5884
6362
  }
5885
6363
  }
5886
6364
  },
5887
- "getFirmwareVersion": {
5888
- "method": "get",
5889
- "path": "/firmware-version",
5890
- "private": true,
5891
- "scopes": [
5892
- "homey.system"
5893
- ],
5894
- "parameters": {}
5895
- },
5896
- "flashFirmware": {
5897
- "method": "put",
5898
- "path": "/flash-firmware",
5899
- "private": true,
5900
- "scopes": [
5901
- "homey.system"
5902
- ],
5903
- "parameters": {
5904
- "erase": {
5905
- "in": "body",
5906
- "type": "string"
5907
- },
5908
- "downgrade": {
5909
- "in": "body",
5910
- "type": "string"
5911
- },
5912
- "version": {
5913
- "in": "body",
5914
- "type": "string"
5915
- },
5916
- "firmware": {
5917
- "in": "body",
5918
- "type": "string"
5919
- },
5920
- "shasum": {
5921
- "in": "body",
5922
- "type": "string"
5923
- }
5924
- }
5925
- },
5926
6365
  "getLog": {
5927
6366
  "method": "get",
5928
6367
  "path": "/log",
@@ -5946,30 +6385,6 @@
5946
6385
  "required": true
5947
6386
  }
5948
6387
  }
5949
- },
5950
- "setLBTThreshold": {
5951
- "method": "put",
5952
- "path": "/lbt-threshold",
5953
- "private": true,
5954
- "scopes": [
5955
- "homey.system"
5956
- ],
5957
- "parameters": {
5958
- "threshold": {
5959
- "in": "body",
5960
- "type": "number",
5961
- "required": true
5962
- }
5963
- }
5964
- },
5965
- "attemptNvmFix": {
5966
- "method": "put",
5967
- "path": "/attempt-nvm-fix",
5968
- "private": true,
5969
- "scopes": [
5970
- "homey.system"
5971
- ],
5972
- "parameters": {}
5973
6388
  }
5974
6389
  }
5975
6390
  }
@@ -1429,6 +1429,10 @@ export namespace HomeyAPIV3Local.ManagerVirtualDevice {
1429
1429
  id: string;
1430
1430
  }
1431
1431
 
1432
+ export class VirtualDeviceGroup {
1433
+ id: string;
1434
+ }
1435
+
1432
1436
  export class VirtualDeviceHomeyBridge {
1433
1437
  id: string;
1434
1438
  }
@@ -1441,6 +1445,10 @@ export namespace HomeyAPIV3Local.ManagerVirtualDevice {
1441
1445
  id: string;
1442
1446
  }
1443
1447
 
1448
+ export class VirtualDeviceRF433 {
1449
+ id: string;
1450
+ }
1451
+
1444
1452
  export class VirtualDeviceVirtualButton {
1445
1453
  id: string;
1446
1454
  }
@@ -1469,6 +1477,10 @@ export namespace HomeyAPIV3Local.ManagerVirtualDevice {
1469
1477
  id: string;
1470
1478
  }
1471
1479
 
1480
+ export class VirtualDriverGroup {
1481
+ id: string;
1482
+ }
1483
+
1472
1484
  export class VirtualDriverHomeyBridge {
1473
1485
  id: string;
1474
1486
  }
@@ -1481,6 +1493,10 @@ export namespace HomeyAPIV3Local.ManagerVirtualDevice {
1481
1493
  id: string;
1482
1494
  }
1483
1495
 
1496
+ export class VirtualDriverRF433 {
1497
+ id: string;
1498
+ }
1499
+
1484
1500
  export class VirtualDriverVirtualButton {
1485
1501
  id: string;
1486
1502
  }
@@ -1587,6 +1603,28 @@ export class AthomCloudAPI {
1587
1603
 
1588
1604
  getInstallerInformation(opts: { userId: string }): Promise<any>;
1589
1605
 
1606
+ getAuthenticatedUserClients(): Promise<any>;
1607
+
1608
+ createAuthenticatedUserClient(opts: {
1609
+ name?: string;
1610
+
1611
+ redirectUri?: Array<any>;
1612
+
1613
+ scopes?: Array<any>;
1614
+ }): Promise<any>;
1615
+
1616
+ updateAuthenticatedUserClient(opts: {
1617
+ id: string;
1618
+
1619
+ name?: string;
1620
+
1621
+ redirectUri?: Array<any>;
1622
+
1623
+ scopes?: Array<any>;
1624
+ }): Promise<any>;
1625
+
1626
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
1627
+
1590
1628
  isLoggedIn(): Promise<boolean>;
1591
1629
 
1592
1630
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1619,6 +1657,28 @@ export class AthomCloudAPI {
1619
1657
 
1620
1658
  getInstallerInformation(opts: { userId: string }): Promise<any>;
1621
1659
 
1660
+ getAuthenticatedUserClients(): Promise<any>;
1661
+
1662
+ createAuthenticatedUserClient(opts: {
1663
+ name?: string;
1664
+
1665
+ redirectUri?: Array<any>;
1666
+
1667
+ scopes?: Array<any>;
1668
+ }): Promise<any>;
1669
+
1670
+ updateAuthenticatedUserClient(opts: {
1671
+ id: string;
1672
+
1673
+ name?: string;
1674
+
1675
+ redirectUri?: Array<any>;
1676
+
1677
+ scopes?: Array<any>;
1678
+ }): Promise<any>;
1679
+
1680
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
1681
+
1622
1682
  isLoggedIn(): Promise<boolean>;
1623
1683
 
1624
1684
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1771,6 +1831,28 @@ export class AthomCloudAPI {
1771
1831
 
1772
1832
  getInstallerInformation(opts: { userId: string }): Promise<any>;
1773
1833
 
1834
+ getAuthenticatedUserClients(): Promise<any>;
1835
+
1836
+ createAuthenticatedUserClient(opts: {
1837
+ name?: string;
1838
+
1839
+ redirectUri?: Array<any>;
1840
+
1841
+ scopes?: Array<any>;
1842
+ }): Promise<any>;
1843
+
1844
+ updateAuthenticatedUserClient(opts: {
1845
+ id: string;
1846
+
1847
+ name?: string;
1848
+
1849
+ redirectUri?: Array<any>;
1850
+
1851
+ scopes?: Array<any>;
1852
+ }): Promise<any>;
1853
+
1854
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
1855
+
1774
1856
  isLoggedIn(): Promise<boolean>;
1775
1857
 
1776
1858
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -1803,6 +1885,28 @@ export class AthomCloudAPI {
1803
1885
 
1804
1886
  getInstallerInformation(opts: { userId: string }): Promise<any>;
1805
1887
 
1888
+ getAuthenticatedUserClients(): Promise<any>;
1889
+
1890
+ createAuthenticatedUserClient(opts: {
1891
+ name?: string;
1892
+
1893
+ redirectUri?: Array<any>;
1894
+
1895
+ scopes?: Array<any>;
1896
+ }): Promise<any>;
1897
+
1898
+ updateAuthenticatedUserClient(opts: {
1899
+ id: string;
1900
+
1901
+ name?: string;
1902
+
1903
+ redirectUri?: Array<any>;
1904
+
1905
+ scopes?: Array<any>;
1906
+ }): Promise<any>;
1907
+
1908
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
1909
+
1806
1910
  isLoggedIn(): Promise<boolean>;
1807
1911
 
1808
1912
  getAuthenticatedUser(opts?: { $cache?: object }): Promise<AthomCloudAPI.User>;
@@ -3559,6 +3663,8 @@ export namespace HomeyAPIV3Local {
3559
3663
  virtualClass?: string;
3560
3664
 
3561
3665
  uiIndicator?: string;
3666
+
3667
+ hidden?: boolean;
3562
3668
  };
3563
3669
  }): Promise<HomeyAPIV3Local.ManagerDevices.Device>;
3564
3670
 
@@ -3581,6 +3687,42 @@ export namespace HomeyAPIV3Local {
3581
3687
 
3582
3688
  transactionId?: string;
3583
3689
  }): Promise<any>;
3690
+
3691
+ createGroup(opts: {
3692
+ group: {
3693
+ name: string;
3694
+
3695
+ class: string;
3696
+
3697
+ zoneId: string;
3698
+
3699
+ deviceIds: Array<any>;
3700
+
3701
+ iconOverride?: string;
3702
+
3703
+ iconDeviceId?: string;
3704
+ };
3705
+ }): Promise<any>;
3706
+
3707
+ deleteDeviceFromGroup(opts: {
3708
+ deviceId: string;
3709
+
3710
+ groupId: string;
3711
+ }): Promise<any>;
3712
+
3713
+ updateGroup(opts: {
3714
+ id: string;
3715
+
3716
+ group: {
3717
+ name?: string;
3718
+
3719
+ deviceIds?: Array<any>;
3720
+
3721
+ iconOverride?: string;
3722
+
3723
+ iconDeviceId?: string;
3724
+ };
3725
+ }): Promise<any>;
3584
3726
  }
3585
3727
 
3586
3728
  export class ManagerDevkit extends HomeyAPIV3.ManagerDevkit {
@@ -3756,6 +3898,14 @@ export namespace HomeyAPIV3Local {
3756
3898
 
3757
3899
  unsetOptionWaterPriceFixed(): Promise<any>;
3758
3900
 
3901
+ getOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
3902
+
3903
+ setOptionElectricityPriceDynamicPreferredInterval(opts: {
3904
+ value: any;
3905
+ }): Promise<any>;
3906
+
3907
+ unsetOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
3908
+
3759
3909
  getState(): Promise<any>;
3760
3910
 
3761
3911
  getLiveReport(opts: { zone?: string }): Promise<any>;
@@ -3799,6 +3949,38 @@ export namespace HomeyAPIV3Local {
3799
3949
  deviceIds?: Array<any>;
3800
3950
  };
3801
3951
  }): Promise<any>;
3952
+
3953
+ fetchDynamicElectricityPrices(opts: { date: string }): Promise<any>;
3954
+
3955
+ setDynamicElectricityPriceUserCosts(opts: {
3956
+ mathExpression: string;
3957
+
3958
+ type?: string;
3959
+ }): Promise<any>;
3960
+
3961
+ getDynamicElectricityPriceUserCosts(): Promise<any>;
3962
+
3963
+ unsetDynamicElectricityPriceUserCosts(): Promise<any>;
3964
+
3965
+ setElectricityPriceType(opts: { type: string }): Promise<any>;
3966
+
3967
+ getElectricityPriceType(): Promise<any>;
3968
+
3969
+ getDynamicPricesElectricityZones(): Promise<any>;
3970
+
3971
+ getDynamicPricesElectricityZone(): Promise<any>;
3972
+
3973
+ setDynamicPricesElectricityZone(opts: {
3974
+ options: {
3975
+ zoneId?: string;
3976
+
3977
+ zoneVersion?: string;
3978
+
3979
+ zoneName?: string;
3980
+
3981
+ zoneCountryKey?: string;
3982
+ };
3983
+ }): Promise<any>;
3802
3984
  }
3803
3985
 
3804
3986
  export class ManagerEnergyDongle extends HomeyAPIV3.ManagerEnergyDongle {
@@ -4163,6 +4345,14 @@ export namespace HomeyAPIV3Local {
4163
4345
  unsetOptionPaaSettings(): Promise<any>;
4164
4346
 
4165
4347
  getState(): Promise<any>;
4348
+
4349
+ getFabrics(opts: { deviceId: string }): Promise<any>;
4350
+
4351
+ deleteFabric(opts: {
4352
+ deviceId: string;
4353
+
4354
+ fabricIndex: number;
4355
+ }): Promise<any>;
4166
4356
  }
4167
4357
 
4168
4358
  export class ManagerMobile extends HomeyAPIV3.ManagerMobile {
@@ -4318,6 +4508,10 @@ export namespace HomeyAPIV3Local {
4318
4508
 
4319
4509
  getStorageInfo(): Promise<any>;
4320
4510
 
4511
+ getMemoryInfoTotal(): Promise<any>;
4512
+
4513
+ getStorageInfoTotal(): Promise<any>;
4514
+
4321
4515
  rebootOTA(): Promise<any>;
4322
4516
 
4323
4517
  setDebug(opts: { namespace: string }): Promise<any>;
@@ -4329,6 +4523,8 @@ export namespace HomeyAPIV3Local {
4329
4523
 
4330
4524
  export class ManagerThread extends HomeyAPIV3.ManagerThread {
4331
4525
  getState(): Promise<any>;
4526
+
4527
+ getNetworkTopology(): Promise<any>;
4332
4528
  }
4333
4529
 
4334
4530
  export class ManagerUpdates extends HomeyAPIV3.ManagerUpdates {
@@ -4409,6 +4605,18 @@ export namespace HomeyAPIV3Local {
4409
4605
  }): Promise<any>;
4410
4606
 
4411
4607
  deletePersonalAccessToken(opts: { id: string }): Promise<any>;
4608
+
4609
+ grantInstallerAccess(): Promise<any>;
4610
+
4611
+ revokeInstallerAccess(): Promise<any>;
4612
+
4613
+ requestInstallerAccess(opts: { jwt: string }): Promise<any>;
4614
+
4615
+ swapOwnerInstaller(opts: {
4616
+ newOwnerUserId: string;
4617
+
4618
+ jwt: string;
4619
+ }): Promise<any>;
4412
4620
  }
4413
4621
 
4414
4622
  export class ManagerVirtualDevice extends HomeyAPIV3.ManagerVirtualDevice {
@@ -1544,6 +1544,10 @@ export namespace HomeyAPIV3Local.ManagerVirtualDevice {
1544
1544
  id: string;
1545
1545
  }
1546
1546
 
1547
+ export class VirtualDeviceGroup {
1548
+ id: string;
1549
+ }
1550
+
1547
1551
  export class VirtualDeviceHomeyBridge {
1548
1552
  id: string;
1549
1553
  }
@@ -1556,6 +1560,10 @@ export namespace HomeyAPIV3Local.ManagerVirtualDevice {
1556
1560
  id: string;
1557
1561
  }
1558
1562
 
1563
+ export class VirtualDeviceRF433 {
1564
+ id: string;
1565
+ }
1566
+
1559
1567
  export class VirtualDeviceVirtualButton {
1560
1568
  id: string;
1561
1569
  }
@@ -1584,6 +1592,10 @@ export namespace HomeyAPIV3Local.ManagerVirtualDevice {
1584
1592
  id: string;
1585
1593
  }
1586
1594
 
1595
+ export class VirtualDriverGroup {
1596
+ id: string;
1597
+ }
1598
+
1587
1599
  export class VirtualDriverHomeyBridge {
1588
1600
  id: string;
1589
1601
  }
@@ -1596,6 +1608,10 @@ export namespace HomeyAPIV3Local.ManagerVirtualDevice {
1596
1608
  id: string;
1597
1609
  }
1598
1610
 
1611
+ export class VirtualDriverRF433 {
1612
+ id: string;
1613
+ }
1614
+
1599
1615
  export class VirtualDriverVirtualButton {
1600
1616
  id: string;
1601
1617
  }
@@ -2764,6 +2780,28 @@ export class AthomCloudAPI {
2764
2780
 
2765
2781
  getInstallerInformation(opts: { userId: string }): Promise<any>;
2766
2782
 
2783
+ getAuthenticatedUserClients(): Promise<any>;
2784
+
2785
+ createAuthenticatedUserClient(opts: {
2786
+ name?: string;
2787
+
2788
+ redirectUri?: Array<any>;
2789
+
2790
+ scopes?: Array<any>;
2791
+ }): Promise<any>;
2792
+
2793
+ updateAuthenticatedUserClient(opts: {
2794
+ id: string;
2795
+
2796
+ name?: string;
2797
+
2798
+ redirectUri?: Array<any>;
2799
+
2800
+ scopes?: Array<any>;
2801
+ }): Promise<any>;
2802
+
2803
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
2804
+
2767
2805
  getBridges(opts: {
2768
2806
  serial?: string;
2769
2807
 
@@ -3350,6 +3388,28 @@ export class AthomCloudAPI {
3350
3388
 
3351
3389
  getInstallerInformation(opts: { userId: string }): Promise<any>;
3352
3390
 
3391
+ getAuthenticatedUserClients(): Promise<any>;
3392
+
3393
+ createAuthenticatedUserClient(opts: {
3394
+ name?: string;
3395
+
3396
+ redirectUri?: Array<any>;
3397
+
3398
+ scopes?: Array<any>;
3399
+ }): Promise<any>;
3400
+
3401
+ updateAuthenticatedUserClient(opts: {
3402
+ id: string;
3403
+
3404
+ name?: string;
3405
+
3406
+ redirectUri?: Array<any>;
3407
+
3408
+ scopes?: Array<any>;
3409
+ }): Promise<any>;
3410
+
3411
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
3412
+
3353
3413
  getBridges(opts: {
3354
3414
  serial?: string;
3355
3415
 
@@ -6198,6 +6258,28 @@ export class AthomCloudAPI {
6198
6258
 
6199
6259
  getInstallerInformation(opts: { userId: string }): Promise<any>;
6200
6260
 
6261
+ getAuthenticatedUserClients(): Promise<any>;
6262
+
6263
+ createAuthenticatedUserClient(opts: {
6264
+ name?: string;
6265
+
6266
+ redirectUri?: Array<any>;
6267
+
6268
+ scopes?: Array<any>;
6269
+ }): Promise<any>;
6270
+
6271
+ updateAuthenticatedUserClient(opts: {
6272
+ id: string;
6273
+
6274
+ name?: string;
6275
+
6276
+ redirectUri?: Array<any>;
6277
+
6278
+ scopes?: Array<any>;
6279
+ }): Promise<any>;
6280
+
6281
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
6282
+
6201
6283
  getBridges(opts: {
6202
6284
  serial?: string;
6203
6285
 
@@ -6784,6 +6866,28 @@ export class AthomCloudAPI {
6784
6866
 
6785
6867
  getInstallerInformation(opts: { userId: string }): Promise<any>;
6786
6868
 
6869
+ getAuthenticatedUserClients(): Promise<any>;
6870
+
6871
+ createAuthenticatedUserClient(opts: {
6872
+ name?: string;
6873
+
6874
+ redirectUri?: Array<any>;
6875
+
6876
+ scopes?: Array<any>;
6877
+ }): Promise<any>;
6878
+
6879
+ updateAuthenticatedUserClient(opts: {
6880
+ id: string;
6881
+
6882
+ name?: string;
6883
+
6884
+ redirectUri?: Array<any>;
6885
+
6886
+ scopes?: Array<any>;
6887
+ }): Promise<any>;
6888
+
6889
+ deleteAuthenticatedUserClient(opts: { id: string }): Promise<any>;
6890
+
6787
6891
  getBridges(opts: {
6788
6892
  serial?: string;
6789
6893
 
@@ -10450,6 +10554,8 @@ export namespace HomeyAPIV3Local {
10450
10554
  virtualClass?: string;
10451
10555
 
10452
10556
  uiIndicator?: string;
10557
+
10558
+ hidden?: boolean;
10453
10559
  };
10454
10560
  }): Promise<HomeyAPIV3Local.ManagerDevices.Device>;
10455
10561
 
@@ -10472,6 +10578,42 @@ export namespace HomeyAPIV3Local {
10472
10578
 
10473
10579
  transactionId?: string;
10474
10580
  }): Promise<any>;
10581
+
10582
+ createGroup(opts: {
10583
+ group: {
10584
+ name: string;
10585
+
10586
+ class: string;
10587
+
10588
+ zoneId: string;
10589
+
10590
+ deviceIds: Array<any>;
10591
+
10592
+ iconOverride?: string;
10593
+
10594
+ iconDeviceId?: string;
10595
+ };
10596
+ }): Promise<any>;
10597
+
10598
+ deleteDeviceFromGroup(opts: {
10599
+ deviceId: string;
10600
+
10601
+ groupId: string;
10602
+ }): Promise<any>;
10603
+
10604
+ updateGroup(opts: {
10605
+ id: string;
10606
+
10607
+ group: {
10608
+ name?: string;
10609
+
10610
+ deviceIds?: Array<any>;
10611
+
10612
+ iconOverride?: string;
10613
+
10614
+ iconDeviceId?: string;
10615
+ };
10616
+ }): Promise<any>;
10475
10617
  }
10476
10618
 
10477
10619
  export class ManagerDevkit extends HomeyAPIV3.ManagerDevkit {
@@ -10647,6 +10789,14 @@ export namespace HomeyAPIV3Local {
10647
10789
 
10648
10790
  unsetOptionWaterPriceFixed(): Promise<any>;
10649
10791
 
10792
+ getOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
10793
+
10794
+ setOptionElectricityPriceDynamicPreferredInterval(opts: {
10795
+ value: any;
10796
+ }): Promise<any>;
10797
+
10798
+ unsetOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
10799
+
10650
10800
  getState(): Promise<any>;
10651
10801
 
10652
10802
  getLiveReport(opts: { zone?: string }): Promise<any>;
@@ -10691,6 +10841,38 @@ export namespace HomeyAPIV3Local {
10691
10841
  };
10692
10842
  }): Promise<any>;
10693
10843
 
10844
+ fetchDynamicElectricityPrices(opts: { date: string }): Promise<any>;
10845
+
10846
+ setDynamicElectricityPriceUserCosts(opts: {
10847
+ mathExpression: string;
10848
+
10849
+ type?: string;
10850
+ }): Promise<any>;
10851
+
10852
+ getDynamicElectricityPriceUserCosts(): Promise<any>;
10853
+
10854
+ unsetDynamicElectricityPriceUserCosts(): Promise<any>;
10855
+
10856
+ setElectricityPriceType(opts: { type: string }): Promise<any>;
10857
+
10858
+ getElectricityPriceType(): Promise<any>;
10859
+
10860
+ getDynamicPricesElectricityZones(): Promise<any>;
10861
+
10862
+ getDynamicPricesElectricityZone(): Promise<any>;
10863
+
10864
+ setDynamicPricesElectricityZone(opts: {
10865
+ options: {
10866
+ zoneId?: string;
10867
+
10868
+ zoneVersion?: string;
10869
+
10870
+ zoneName?: string;
10871
+
10872
+ zoneCountryKey?: string;
10873
+ };
10874
+ }): Promise<any>;
10875
+
10694
10876
  enableDummyEnergyReports(opts: {
10695
10877
  fromDate?: string;
10696
10878
 
@@ -10745,6 +10927,8 @@ export namespace HomeyAPIV3Local {
10745
10927
  persistent?: boolean;
10746
10928
 
10747
10929
  dataRequestActiveState?: string;
10930
+
10931
+ mode?: string;
10748
10932
  }): Promise<any>;
10749
10933
 
10750
10934
  checkFirmwareUpdateAvailable(opts: { deviceId: string }): Promise<any>;
@@ -11138,6 +11322,14 @@ export namespace HomeyAPIV3Local {
11138
11322
 
11139
11323
  revokeExisting?: boolean;
11140
11324
  }): Promise<any>;
11325
+
11326
+ getFabrics(opts: { deviceId: string }): Promise<any>;
11327
+
11328
+ deleteFabric(opts: {
11329
+ deviceId: string;
11330
+
11331
+ fabricIndex: number;
11332
+ }): Promise<any>;
11141
11333
  }
11142
11334
 
11143
11335
  export class ManagerMobile extends HomeyAPIV3.ManagerMobile {
@@ -11290,6 +11482,16 @@ export namespace HomeyAPIV3Local {
11290
11482
 
11291
11483
  export class ManagerSatellites extends HomeyAPIV3.ManagerSatellites {
11292
11484
  getState(): Promise<any>;
11485
+
11486
+ setDebugLogging(opts: {
11487
+ peripheral?: string;
11488
+
11489
+ enabled: boolean;
11490
+
11491
+ serial?: string;
11492
+ }): Promise<any>;
11493
+
11494
+ getDebugLog(opts: { serial: string }): Promise<any>;
11293
11495
  }
11294
11496
 
11295
11497
  export class ManagerSecurity extends HomeyAPIV3.ManagerSecurity {
@@ -11327,6 +11529,10 @@ export namespace HomeyAPIV3Local {
11327
11529
 
11328
11530
  getStorageInfo(): Promise<any>;
11329
11531
 
11532
+ getMemoryInfoTotal(): Promise<any>;
11533
+
11534
+ getStorageInfoTotal(): Promise<any>;
11535
+
11330
11536
  rebootOTA(): Promise<any>;
11331
11537
 
11332
11538
  setDebug(opts: { namespace: string }): Promise<any>;
@@ -11345,6 +11551,8 @@ export namespace HomeyAPIV3Local {
11345
11551
 
11346
11552
  getActiveDataset(): Promise<any>;
11347
11553
 
11554
+ setActiveDataset(opts: { tlvHex: string }): Promise<any>;
11555
+
11348
11556
  apiReset(): Promise<any>;
11349
11557
 
11350
11558
  executeCommand(opts: {
@@ -11360,6 +11568,12 @@ export namespace HomeyAPIV3Local {
11360
11568
  apiDisable(): Promise<any>;
11361
11569
 
11362
11570
  apiEnable(): Promise<any>;
11571
+
11572
+ getNetworkTopology(): Promise<any>;
11573
+
11574
+ getDiscoveredBorderRouters(): Promise<any>;
11575
+
11576
+ rescanBorderRouters(): Promise<any>;
11363
11577
  }
11364
11578
 
11365
11579
  export class ManagerUpdates extends HomeyAPIV3.ManagerUpdates {
@@ -11440,6 +11654,18 @@ export namespace HomeyAPIV3Local {
11440
11654
  }): Promise<any>;
11441
11655
 
11442
11656
  deletePersonalAccessToken(opts: { id: string }): Promise<any>;
11657
+
11658
+ grantInstallerAccess(): Promise<any>;
11659
+
11660
+ revokeInstallerAccess(): Promise<any>;
11661
+
11662
+ requestInstallerAccess(opts: { jwt: string }): Promise<any>;
11663
+
11664
+ swapOwnerInstaller(opts: {
11665
+ newOwnerUserId: string;
11666
+
11667
+ jwt: string;
11668
+ }): Promise<any>;
11443
11669
  }
11444
11670
 
11445
11671
  export class ManagerVirtualDevice extends HomeyAPIV3.ManagerVirtualDevice {
@@ -11515,27 +11741,9 @@ export namespace HomeyAPIV3Local {
11515
11741
  opts?: object;
11516
11742
  }): Promise<any>;
11517
11743
 
11518
- getFirmwareVersion(): Promise<any>;
11519
-
11520
- flashFirmware(opts: {
11521
- erase?: string;
11522
-
11523
- downgrade?: string;
11524
-
11525
- version?: string;
11526
-
11527
- firmware?: string;
11528
-
11529
- shasum?: string;
11530
- }): Promise<any>;
11531
-
11532
11744
  getLog(): Promise<any>;
11533
11745
 
11534
11746
  setLogEnabled(opts: { enabled: boolean }): Promise<any>;
11535
-
11536
- setLBTThreshold(opts: { threshold: number }): Promise<any>;
11537
-
11538
- attemptNvmFix(): Promise<any>;
11539
11747
  }
11540
11748
  }
11541
11749
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.12.0",
3
+ "version": "3.12.2",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [