homey-api 3.12.1 → 3.12.3

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.
@@ -26,6 +26,27 @@
26
26
  "type": "string"
27
27
  }
28
28
  }
29
+ },
30
+ "getHourlyWeather": {
31
+ "path": "/forecast/hourly",
32
+ "method": "get",
33
+ "parameters": {
34
+ "latitude": {
35
+ "in": "query",
36
+ "type": "string",
37
+ "required": true
38
+ },
39
+ "longitude": {
40
+ "in": "query",
41
+ "type": "string",
42
+ "required": true
43
+ },
44
+ "homey": {
45
+ "in": "query",
46
+ "type": "string",
47
+ "required": true
48
+ }
49
+ }
29
50
  }
30
51
  }
31
52
  }
@@ -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
  }
@@ -3647,6 +3663,8 @@ export namespace HomeyAPIV3Local {
3647
3663
  virtualClass?: string;
3648
3664
 
3649
3665
  uiIndicator?: string;
3666
+
3667
+ hidden?: boolean;
3650
3668
  };
3651
3669
  }): Promise<HomeyAPIV3Local.ManagerDevices.Device>;
3652
3670
 
@@ -3669,6 +3687,42 @@ export namespace HomeyAPIV3Local {
3669
3687
 
3670
3688
  transactionId?: string;
3671
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>;
3672
3726
  }
3673
3727
 
3674
3728
  export class ManagerDevkit extends HomeyAPIV3.ManagerDevkit {
@@ -3844,6 +3898,14 @@ export namespace HomeyAPIV3Local {
3844
3898
 
3845
3899
  unsetOptionWaterPriceFixed(): Promise<any>;
3846
3900
 
3901
+ getOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
3902
+
3903
+ setOptionElectricityPriceDynamicPreferredInterval(opts: {
3904
+ value: any;
3905
+ }): Promise<any>;
3906
+
3907
+ unsetOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
3908
+
3847
3909
  getState(): Promise<any>;
3848
3910
 
3849
3911
  getLiveReport(opts: { zone?: string }): Promise<any>;
@@ -3887,6 +3949,38 @@ export namespace HomeyAPIV3Local {
3887
3949
  deviceIds?: Array<any>;
3888
3950
  };
3889
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>;
3890
3984
  }
3891
3985
 
3892
3986
  export class ManagerEnergyDongle extends HomeyAPIV3.ManagerEnergyDongle {
@@ -4251,6 +4345,14 @@ export namespace HomeyAPIV3Local {
4251
4345
  unsetOptionPaaSettings(): Promise<any>;
4252
4346
 
4253
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>;
4254
4356
  }
4255
4357
 
4256
4358
  export class ManagerMobile extends HomeyAPIV3.ManagerMobile {
@@ -4406,6 +4508,10 @@ export namespace HomeyAPIV3Local {
4406
4508
 
4407
4509
  getStorageInfo(): Promise<any>;
4408
4510
 
4511
+ getMemoryInfoTotal(): Promise<any>;
4512
+
4513
+ getStorageInfoTotal(): Promise<any>;
4514
+
4409
4515
  rebootOTA(): Promise<any>;
4410
4516
 
4411
4517
  setDebug(opts: { namespace: string }): Promise<any>;
@@ -4417,6 +4523,8 @@ export namespace HomeyAPIV3Local {
4417
4523
 
4418
4524
  export class ManagerThread extends HomeyAPIV3.ManagerThread {
4419
4525
  getState(): Promise<any>;
4526
+
4527
+ getNetworkTopology(): Promise<any>;
4420
4528
  }
4421
4529
 
4422
4530
  export class ManagerUpdates extends HomeyAPIV3.ManagerUpdates {
@@ -4497,6 +4605,18 @@ export namespace HomeyAPIV3Local {
4497
4605
  }): Promise<any>;
4498
4606
 
4499
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>;
4500
4620
  }
4501
4621
 
4502
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
  }
@@ -4732,6 +4748,14 @@ export class AthomWeatherAPI {
4732
4748
  language?: string;
4733
4749
  }): Promise<any>;
4734
4750
 
4751
+ getHourlyWeather(opts: {
4752
+ latitude: string;
4753
+
4754
+ longitude: string;
4755
+
4756
+ homey: string;
4757
+ }): Promise<any>;
4758
+
4735
4759
  getWeather(opts: {
4736
4760
  latitude: string;
4737
4761
 
@@ -4741,6 +4765,14 @@ export class AthomWeatherAPI {
4741
4765
 
4742
4766
  language?: string;
4743
4767
  }): Promise<any>;
4768
+
4769
+ getHourlyWeather(opts: {
4770
+ latitude: string;
4771
+
4772
+ longitude: string;
4773
+
4774
+ homey: string;
4775
+ }): Promise<any>;
4744
4776
  }
4745
4777
 
4746
4778
  export class AthomWebhooksAPI {
@@ -8210,6 +8242,14 @@ export class AthomWeatherAPI {
8210
8242
  language?: string;
8211
8243
  }): Promise<any>;
8212
8244
 
8245
+ getHourlyWeather(opts: {
8246
+ latitude: string;
8247
+
8248
+ longitude: string;
8249
+
8250
+ homey: string;
8251
+ }): Promise<any>;
8252
+
8213
8253
  getWeather(opts: {
8214
8254
  latitude: string;
8215
8255
 
@@ -8219,6 +8259,14 @@ export class AthomWeatherAPI {
8219
8259
 
8220
8260
  language?: string;
8221
8261
  }): Promise<any>;
8262
+
8263
+ getHourlyWeather(opts: {
8264
+ latitude: string;
8265
+
8266
+ longitude: string;
8267
+
8268
+ homey: string;
8269
+ }): Promise<any>;
8222
8270
  }
8223
8271
 
8224
8272
  export class AthomWebhooksAPI {
@@ -10538,6 +10586,8 @@ export namespace HomeyAPIV3Local {
10538
10586
  virtualClass?: string;
10539
10587
 
10540
10588
  uiIndicator?: string;
10589
+
10590
+ hidden?: boolean;
10541
10591
  };
10542
10592
  }): Promise<HomeyAPIV3Local.ManagerDevices.Device>;
10543
10593
 
@@ -10560,6 +10610,42 @@ export namespace HomeyAPIV3Local {
10560
10610
 
10561
10611
  transactionId?: string;
10562
10612
  }): Promise<any>;
10613
+
10614
+ createGroup(opts: {
10615
+ group: {
10616
+ name: string;
10617
+
10618
+ class: string;
10619
+
10620
+ zoneId: string;
10621
+
10622
+ deviceIds: Array<any>;
10623
+
10624
+ iconOverride?: string;
10625
+
10626
+ iconDeviceId?: string;
10627
+ };
10628
+ }): Promise<any>;
10629
+
10630
+ deleteDeviceFromGroup(opts: {
10631
+ deviceId: string;
10632
+
10633
+ groupId: string;
10634
+ }): Promise<any>;
10635
+
10636
+ updateGroup(opts: {
10637
+ id: string;
10638
+
10639
+ group: {
10640
+ name?: string;
10641
+
10642
+ deviceIds?: Array<any>;
10643
+
10644
+ iconOverride?: string;
10645
+
10646
+ iconDeviceId?: string;
10647
+ };
10648
+ }): Promise<any>;
10563
10649
  }
10564
10650
 
10565
10651
  export class ManagerDevkit extends HomeyAPIV3.ManagerDevkit {
@@ -10735,6 +10821,14 @@ export namespace HomeyAPIV3Local {
10735
10821
 
10736
10822
  unsetOptionWaterPriceFixed(): Promise<any>;
10737
10823
 
10824
+ getOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
10825
+
10826
+ setOptionElectricityPriceDynamicPreferredInterval(opts: {
10827
+ value: any;
10828
+ }): Promise<any>;
10829
+
10830
+ unsetOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
10831
+
10738
10832
  getState(): Promise<any>;
10739
10833
 
10740
10834
  getLiveReport(opts: { zone?: string }): Promise<any>;
@@ -10779,6 +10873,38 @@ export namespace HomeyAPIV3Local {
10779
10873
  };
10780
10874
  }): Promise<any>;
10781
10875
 
10876
+ fetchDynamicElectricityPrices(opts: { date: string }): Promise<any>;
10877
+
10878
+ setDynamicElectricityPriceUserCosts(opts: {
10879
+ mathExpression: string;
10880
+
10881
+ type?: string;
10882
+ }): Promise<any>;
10883
+
10884
+ getDynamicElectricityPriceUserCosts(): Promise<any>;
10885
+
10886
+ unsetDynamicElectricityPriceUserCosts(): Promise<any>;
10887
+
10888
+ setElectricityPriceType(opts: { type: string }): Promise<any>;
10889
+
10890
+ getElectricityPriceType(): Promise<any>;
10891
+
10892
+ getDynamicPricesElectricityZones(): Promise<any>;
10893
+
10894
+ getDynamicPricesElectricityZone(): Promise<any>;
10895
+
10896
+ setDynamicPricesElectricityZone(opts: {
10897
+ options: {
10898
+ zoneId?: string;
10899
+
10900
+ zoneVersion?: string;
10901
+
10902
+ zoneName?: string;
10903
+
10904
+ zoneCountryKey?: string;
10905
+ };
10906
+ }): Promise<any>;
10907
+
10782
10908
  enableDummyEnergyReports(opts: {
10783
10909
  fromDate?: string;
10784
10910
 
@@ -10833,6 +10959,8 @@ export namespace HomeyAPIV3Local {
10833
10959
  persistent?: boolean;
10834
10960
 
10835
10961
  dataRequestActiveState?: string;
10962
+
10963
+ mode?: string;
10836
10964
  }): Promise<any>;
10837
10965
 
10838
10966
  checkFirmwareUpdateAvailable(opts: { deviceId: string }): Promise<any>;
@@ -11226,6 +11354,14 @@ export namespace HomeyAPIV3Local {
11226
11354
 
11227
11355
  revokeExisting?: boolean;
11228
11356
  }): Promise<any>;
11357
+
11358
+ getFabrics(opts: { deviceId: string }): Promise<any>;
11359
+
11360
+ deleteFabric(opts: {
11361
+ deviceId: string;
11362
+
11363
+ fabricIndex: number;
11364
+ }): Promise<any>;
11229
11365
  }
11230
11366
 
11231
11367
  export class ManagerMobile extends HomeyAPIV3.ManagerMobile {
@@ -11378,6 +11514,16 @@ export namespace HomeyAPIV3Local {
11378
11514
 
11379
11515
  export class ManagerSatellites extends HomeyAPIV3.ManagerSatellites {
11380
11516
  getState(): Promise<any>;
11517
+
11518
+ setDebugLogging(opts: {
11519
+ peripheral?: string;
11520
+
11521
+ enabled: boolean;
11522
+
11523
+ serial?: string;
11524
+ }): Promise<any>;
11525
+
11526
+ getDebugLog(opts: { serial: string }): Promise<any>;
11381
11527
  }
11382
11528
 
11383
11529
  export class ManagerSecurity extends HomeyAPIV3.ManagerSecurity {
@@ -11415,6 +11561,10 @@ export namespace HomeyAPIV3Local {
11415
11561
 
11416
11562
  getStorageInfo(): Promise<any>;
11417
11563
 
11564
+ getMemoryInfoTotal(): Promise<any>;
11565
+
11566
+ getStorageInfoTotal(): Promise<any>;
11567
+
11418
11568
  rebootOTA(): Promise<any>;
11419
11569
 
11420
11570
  setDebug(opts: { namespace: string }): Promise<any>;
@@ -11433,6 +11583,8 @@ export namespace HomeyAPIV3Local {
11433
11583
 
11434
11584
  getActiveDataset(): Promise<any>;
11435
11585
 
11586
+ setActiveDataset(opts: { tlvHex: string }): Promise<any>;
11587
+
11436
11588
  apiReset(): Promise<any>;
11437
11589
 
11438
11590
  executeCommand(opts: {
@@ -11448,6 +11600,12 @@ export namespace HomeyAPIV3Local {
11448
11600
  apiDisable(): Promise<any>;
11449
11601
 
11450
11602
  apiEnable(): Promise<any>;
11603
+
11604
+ getNetworkTopology(): Promise<any>;
11605
+
11606
+ getDiscoveredBorderRouters(): Promise<any>;
11607
+
11608
+ rescanBorderRouters(): Promise<any>;
11451
11609
  }
11452
11610
 
11453
11611
  export class ManagerUpdates extends HomeyAPIV3.ManagerUpdates {
@@ -11528,6 +11686,18 @@ export namespace HomeyAPIV3Local {
11528
11686
  }): Promise<any>;
11529
11687
 
11530
11688
  deletePersonalAccessToken(opts: { id: string }): Promise<any>;
11689
+
11690
+ grantInstallerAccess(): Promise<any>;
11691
+
11692
+ revokeInstallerAccess(): Promise<any>;
11693
+
11694
+ requestInstallerAccess(opts: { jwt: string }): Promise<any>;
11695
+
11696
+ swapOwnerInstaller(opts: {
11697
+ newOwnerUserId: string;
11698
+
11699
+ jwt: string;
11700
+ }): Promise<any>;
11531
11701
  }
11532
11702
 
11533
11703
  export class ManagerVirtualDevice extends HomeyAPIV3.ManagerVirtualDevice {
@@ -11603,27 +11773,9 @@ export namespace HomeyAPIV3Local {
11603
11773
  opts?: object;
11604
11774
  }): Promise<any>;
11605
11775
 
11606
- getFirmwareVersion(): Promise<any>;
11607
-
11608
- flashFirmware(opts: {
11609
- erase?: string;
11610
-
11611
- downgrade?: string;
11612
-
11613
- version?: string;
11614
-
11615
- firmware?: string;
11616
-
11617
- shasum?: string;
11618
- }): Promise<any>;
11619
-
11620
11776
  getLog(): Promise<any>;
11621
11777
 
11622
11778
  setLogEnabled(opts: { enabled: boolean }): Promise<any>;
11623
-
11624
- setLBTThreshold(opts: { threshold: number }): Promise<any>;
11625
-
11626
- attemptNvmFix(): Promise<any>;
11627
11779
  }
11628
11780
  }
11629
11781
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.12.1",
3
+ "version": "3.12.3",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [