Skip to content

Commit

Permalink
Version 2.1.1
Browse files Browse the repository at this point in the history
* Added additional switches.
* Bump @typescript-eslint/eslint-plugin to 3.9.1
* Bump @typescript-eslint/parser to 3.9.1
* Bump @types/node to 14.6.0
* Bump eslint to 7.7.0
* Bump homebridge to 1.1.2
* Bump mqtt to 4.2.0
* Bump typescript to 4.0.2

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
Sunoo and dependabot[bot] authored Aug 23, 2020
1 parent c396a01 commit d2c9656
Show file tree
Hide file tree
Showing 7 changed files with 181 additions and 92 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
ref: beta
- uses: actions/[email protected]
with:
node-version: 10
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ Edit your `config.json` accordingly. Configuration sample:
- `motorsHorizontal`: Exposes panning left and right as switches.
- `recording`: Exposes video recording as a switch.
- `snapshot`: Exposes snapshot as a switch.
- `rtsp_mjpeg_server`: Exposes RTSP MJPEG server as a switch.
- `rtsp_h264_server`: Exposes RTSP H264 server as a switch.
- `remount_sdcard`: Exposes remounting SD card as a switch.
- `reboot`: Exposes rebotting as a switch.
16 changes: 16 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,22 @@
{ "title": "Hardware", "enum": ["hw"] },
{ "title": "Virtual", "enum": ["virtual"] }
]
},
"rtsp_mjpeg_server": {
"title": "RTSP MJPEG Server",
"type": "boolean"
},
"rtsp_h264_server": {
"title": "RTSP H264 Server",
"type": "boolean"
},
"remount_sdcard": {
"title": "Remount SD Card",
"type": "boolean"
},
"reboot": {
"title": "Reboot",
"type": "boolean"
}
}
}
Expand Down
148 changes: 60 additions & 88 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "Homebridge Dafang MQTT Republish",
"name": "homebridge-dafang-mqtt-republish",
"version": "2.1.0",
"version": "2.1.1",
"description": "Routes Dafang Hacks Motion Messages to homebridge-camera-ffmpeg and Exposes Features to HomeKit",
"main": "dist/index.js",
"repository": {
Expand Down Expand Up @@ -35,13 +35,20 @@
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"@types/node": "14.0.25",
"@types/node": "14.6.0",
"eslint": "^7.5.0",
"homebridge": "^1.1.1",
"markdownlint-cli": "^0.23.2",
"rimraf": "^3.0.2",
"typescript": "^3.9.7"
"typescript": "^4.0.2"
},
"files": [
"config.schema.json",
"dist/**/*",
"LICENSE",
"package.json",
"README.md"
],
"engines": {
"node": ">=10",
"homebridge": ">=1.0.0"
Expand Down
4 changes: 4 additions & 0 deletions src/configTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ export type AccessoriesConfig = {
recording: boolean;
snapshot: boolean;
brightness: string;
rtsp_mjpeg_server: boolean;
rtsp_h264_server: boolean;
remount_sdcard: boolean;
reboot: boolean;
};
Loading

0 comments on commit d2c9656

Please sign in to comment.