...
 
Commits (3)
......@@ -28,7 +28,8 @@
],
"program": "${workspaceFolder}/node_modules/.bin/homebridge",
"env": {
"DEBUG": "*"
"DEBUG": "*",
"PATH": "/usr/local/bin:${env:PATH}"
},
"args": [
"-D",
......
This diff is collapsed.
{
"name": "homebridge-airport",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
......@@ -14,7 +14,7 @@
],
"engines": {
"node": ">=12",
"homebridge": "^0.4.53"
"homebridge": "^0.4.53 || ^1.0"
},
"files": [
"dist"
......@@ -23,11 +23,12 @@
"node-acp": "^0.7.0"
},
"devDependencies": {
"@types/node": "^12.12.35",
"@types/yaml": "^1.2.0",
"hap-nodejs": "^0.5.12-beta.2",
"homebridge": "^0.4.54-beta.23",
"typescript": "^3.8.3",
"yaml": "^1.8.3"
"@types/node": "~12.0.12",
"@types/node-persist": "0.0.33",
"@types/yaml": "^1.9.7",
"hap-nodejs": "^0.7.5",
"homebridge": "^1.1.1",
"typescript": "^3.9.5",
"yaml": "^1.10.0"
}
}
......@@ -14,11 +14,11 @@ export default function({Service, Characteristic, Formats, Perms}: typeof import
constructor() {
super('Wi-Fi Satellite Status', WiFiSatelliteStatus.UUID);
this.setProps({
format: 'uint8' as typeof Formats.UINT8,
format: Formats.UINT8,
maxValue: 2,
minValue: 0,
validValues: [0,1,2],
perms: ['pr' as typeof Perms.PAIRED_READ, 'ev' as typeof Perms.EVENTS],
perms: [Perms.PAIRED_READ, Perms.EVENTS],
});
this.value = this.getDefaultValue();
}
......@@ -49,9 +49,9 @@ export default function({Service, Characteristic, Formats, Perms}: typeof import
constructor() {
super('Wi-Fi Client List', WiFiClientList.UUID);
this.setProps({
format: 'dict' as typeof Formats.DICTIONARY,
format: Formats.DICTIONARY,
maxLen: 5000,
perms: ['pr' as typeof Perms.PAIRED_READ, 'ev' as typeof Perms.EVENTS],
perms: [Perms.PAIRED_READ, Perms.EVENTS],
});
this.value = this.getDefaultValue();
}
......@@ -67,9 +67,9 @@ export default function({Service, Characteristic, Formats, Perms}: typeof import
constructor() {
super('Full Wi-Fi Client List', FullWiFiClientList.UUID);
this.setProps({
format: 'dict' as typeof Formats.DICTIONARY,
format: Formats.DICTIONARY,
maxLen: 5000,
perms: ['pr' as typeof Perms.PAIRED_READ, 'ev' as typeof Perms.EVENTS],
perms: [Perms.PAIRED_READ, Perms.EVENTS],
});
this.value = this.getDefaultValue();
}
......
......@@ -2,7 +2,7 @@
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"declaration": true,
"sourceMap": true,
......
declare module 'fast-srp-hap' {
export type SrpParams = any;
export type SrpServer = any;
}