diff --git a/package-lock.json b/package-lock.json index 25a5019..c082660 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-prettier": "^4.2.1", - "hap-nodejs": "^0.10.4", + "hap-nodejs": "^0.11.0", "homebridge": "^1.3.5", "homebridge-cmdswitch2": "^0.2.10", "jest": "^29.3.0", @@ -802,9 +802,9 @@ } }, "node_modules/@homebridge/dbus-native": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@homebridge/dbus-native/-/dbus-native-0.4.2.tgz", - "integrity": "sha512-rg6DUg6xOttzn73HA1+3G2o1ezRj0+DzPMEJqasrpq7FcAxMcTyOZ96GfcDN4pLUz62hMuywIeVZ4F6cc/g6Ig==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@homebridge/dbus-native/-/dbus-native-0.5.0.tgz", + "integrity": "sha512-ei0jyHE/uNDl/6D6heRwsqnESrrXuSlfp+xlwGfg3mo1OqhKvyb/Kp73uxQyOJ3f1T1ocLSyA5uzoR1AbfaXIQ==", "dev": true, "dependencies": { "@homebridge/long": "^5.2.1", @@ -5488,16 +5488,16 @@ } }, "node_modules/hap-nodejs": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.10.4.tgz", - "integrity": "sha512-+ydtdh7Mw0Ttjv1ylWoGUMfU1Qhi0CVBAdABco+gdzOOkl9j2V1JKZKOduWvyAdhc73ZpElyREoTTVPQ7H0UoA==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.11.0.tgz", + "integrity": "sha512-ZKSc/DIECXH1vSlruv6tBVcO+LF/BDtjdVk7IIiAAS+KKjw9PylkXbtdU23mmLhM69BsWl9u+BuToAfkf0voSw==", "dev": true, "dependencies": { "@homebridge/ciao": "^1.1.5", - "@homebridge/dbus-native": "^0.4.2", - "bonjour-hap": "~3.6.3", + "@homebridge/dbus-native": "^0.5.0", + "bonjour-hap": "~3.6.4", "debug": "^4.3.4", - "fast-srp-hap": "2.0.4", + "fast-srp-hap": "~2.0.4", "futoin-hkdf": "~1.4.3", "node-persist": "^0.0.11", "source-map-support": "^0.5.21", @@ -5659,6 +5659,45 @@ "node": ">=0.12.0" } }, + "node_modules/homebridge/node_modules/@homebridge/dbus-native": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@homebridge/dbus-native/-/dbus-native-0.4.2.tgz", + "integrity": "sha512-rg6DUg6xOttzn73HA1+3G2o1ezRj0+DzPMEJqasrpq7FcAxMcTyOZ96GfcDN4pLUz62hMuywIeVZ4F6cc/g6Ig==", + "dev": true, + "dependencies": { + "@homebridge/long": "^5.2.1", + "@homebridge/put": "~0.0.8", + "event-stream": "^4.0.0", + "hexy": "^0.2.10", + "minimist": "^1.2.6", + "safe-buffer": "^5.1.1", + "xml2js": "^0.4.17" + }, + "bin": { + "dbus2js": "bin/dbus2js.js" + } + }, + "node_modules/homebridge/node_modules/hap-nodejs": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.10.4.tgz", + "integrity": "sha512-+ydtdh7Mw0Ttjv1ylWoGUMfU1Qhi0CVBAdABco+gdzOOkl9j2V1JKZKOduWvyAdhc73ZpElyREoTTVPQ7H0UoA==", + "dev": true, + "dependencies": { + "@homebridge/ciao": "^1.1.5", + "@homebridge/dbus-native": "^0.4.2", + "bonjour-hap": "~3.6.3", + "debug": "^4.3.4", + "fast-srp-hap": "2.0.4", + "futoin-hkdf": "~1.4.3", + "node-persist": "^0.0.11", + "source-map-support": "^0.5.21", + "tslib": "^2.4.0", + "tweetnacl": "^1.0.3" + }, + "engines": { + "node": ">=10.17.0" + } + }, "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", @@ -11523,9 +11562,9 @@ } }, "@homebridge/dbus-native": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@homebridge/dbus-native/-/dbus-native-0.4.2.tgz", - "integrity": "sha512-rg6DUg6xOttzn73HA1+3G2o1ezRj0+DzPMEJqasrpq7FcAxMcTyOZ96GfcDN4pLUz62hMuywIeVZ4F6cc/g6Ig==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@homebridge/dbus-native/-/dbus-native-0.5.0.tgz", + "integrity": "sha512-ei0jyHE/uNDl/6D6heRwsqnESrrXuSlfp+xlwGfg3mo1OqhKvyb/Kp73uxQyOJ3f1T1ocLSyA5uzoR1AbfaXIQ==", "dev": true, "requires": { "@homebridge/long": "^5.2.1", @@ -15060,16 +15099,16 @@ } }, "hap-nodejs": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.10.4.tgz", - "integrity": "sha512-+ydtdh7Mw0Ttjv1ylWoGUMfU1Qhi0CVBAdABco+gdzOOkl9j2V1JKZKOduWvyAdhc73ZpElyREoTTVPQ7H0UoA==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.11.0.tgz", + "integrity": "sha512-ZKSc/DIECXH1vSlruv6tBVcO+LF/BDtjdVk7IIiAAS+KKjw9PylkXbtdU23mmLhM69BsWl9u+BuToAfkf0voSw==", "dev": true, "requires": { "@homebridge/ciao": "^1.1.5", - "@homebridge/dbus-native": "^0.4.2", - "bonjour-hap": "~3.6.3", + "@homebridge/dbus-native": "^0.5.0", + "bonjour-hap": "~3.6.4", "debug": "^4.3.4", - "fast-srp-hap": "2.0.4", + "fast-srp-hap": "~2.0.4", "futoin-hkdf": "~1.4.3", "node-persist": "^0.0.11", "source-map-support": "^0.5.21", @@ -15167,6 +15206,41 @@ "qrcode-terminal": "^0.12.0", "semver": "^7.3.7", "source-map-support": "^0.5.21" + }, + "dependencies": { + "@homebridge/dbus-native": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@homebridge/dbus-native/-/dbus-native-0.4.2.tgz", + "integrity": "sha512-rg6DUg6xOttzn73HA1+3G2o1ezRj0+DzPMEJqasrpq7FcAxMcTyOZ96GfcDN4pLUz62hMuywIeVZ4F6cc/g6Ig==", + "dev": true, + "requires": { + "@homebridge/long": "^5.2.1", + "@homebridge/put": "~0.0.8", + "event-stream": "^4.0.0", + "hexy": "^0.2.10", + "minimist": "^1.2.6", + "safe-buffer": "^5.1.1", + "xml2js": "^0.4.17" + } + }, + "hap-nodejs": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.10.4.tgz", + "integrity": "sha512-+ydtdh7Mw0Ttjv1ylWoGUMfU1Qhi0CVBAdABco+gdzOOkl9j2V1JKZKOduWvyAdhc73ZpElyREoTTVPQ7H0UoA==", + "dev": true, + "requires": { + "@homebridge/ciao": "^1.1.5", + "@homebridge/dbus-native": "^0.4.2", + "bonjour-hap": "~3.6.3", + "debug": "^4.3.4", + "fast-srp-hap": "2.0.4", + "futoin-hkdf": "~1.4.3", + "node-persist": "^0.0.11", + "source-map-support": "^0.5.21", + "tslib": "^2.4.0", + "tweetnacl": "^1.0.3" + } + } } }, "homebridge-cmdswitch2": { diff --git a/package.json b/package.json index 14ae4fd..6e8899e 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-prettier": "^4.2.1", - "hap-nodejs": "^0.10.4", + "hap-nodejs": "^0.11.0", "homebridge": "^1.3.5", "homebridge-cmdswitch2": "^0.2.10", "jest": "^29.3.0", diff --git a/src/generated/services.ts b/src/generated/services.ts index 52d46b0..92a4e80 100644 --- a/src/generated/services.ts +++ b/src/generated/services.ts @@ -29,6 +29,7 @@ export const Uuids: Record = { '000000B7-0000-1000-8000-0026BB765291': 'Fanv2', '000000D7-0000-1000-8000-0026BB765291': 'Faucet', '000000BA-0000-1000-8000-0026BB765291': 'FilterMaintenance', + '00000236-0000-1000-8000-0026BB765291': 'FirmwareUpdate', '00000041-0000-1000-8000-0026BB765291': 'GarageDoorOpener', '000000BC-0000-1000-8000-0026BB765291': 'HeaterCooler', '000000BD-0000-1000-8000-0026BB765291': 'HumidifierDehumidifier', @@ -59,6 +60,7 @@ export const Uuids: Record = { '00000088-0000-1000-8000-0026BB765291': 'StatefulProgrammableSwitch', '00000089-0000-1000-8000-0026BB765291': 'StatelessProgrammableSwitch', '00000049-0000-1000-8000-0026BB765291': 'Switch', + '0000022E-0000-1000-8000-0026BB765291': 'TapManagement', '00000125-0000-1000-8000-0026BB765291': 'TargetControl', '00000122-0000-1000-8000-0026BB765291': 'TargetControlManagement', '000000D8-0000-1000-8000-0026BB765291': 'Television', @@ -109,6 +111,7 @@ export const Services: Record = { Fanv2: '000000B7-0000-1000-8000-0026BB765291', Faucet: '000000D7-0000-1000-8000-0026BB765291', FilterMaintenance: '000000BA-0000-1000-8000-0026BB765291', + FirmwareUpdate: '00000236-0000-1000-8000-0026BB765291', GarageDoorOpener: '00000041-0000-1000-8000-0026BB765291', HeaterCooler: '000000BC-0000-1000-8000-0026BB765291', HumidifierDehumidifier: '000000BD-0000-1000-8000-0026BB765291', @@ -140,6 +143,7 @@ export const Services: Record = { StatefulProgrammableSwitch: '00000088-0000-1000-8000-0026BB765291', StatelessProgrammableSwitch: '00000089-0000-1000-8000-0026BB765291', Switch: '00000049-0000-1000-8000-0026BB765291', + TapManagement: '0000022E-0000-1000-8000-0026BB765291', TargetControl: '00000125-0000-1000-8000-0026BB765291', TargetControlManagement: '00000122-0000-1000-8000-0026BB765291', Television: '000000D8-0000-1000-8000-0026BB765291',