Skip to content

Commit

Permalink
Add override_http
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunoo committed Feb 21, 2021
1 parent d30f5c8 commit e1fc298
Show file tree
Hide file tree
Showing 6 changed files with 447 additions and 354 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Edit your `config.json` accordingly. Configuration sample:
#### Configuration Options

- `ftp_port`: The port to run the FTP server on. (Default: `5000`)
- `override_http`: If you need to override the HTTP port, or are not running homebridge-camera-ffmpeg.
- `bot_token`: The token given by @BotFather when creating the Telegram bot.
- `cameras`: _(Required)_ Array of Dafang Hacks camera configs (multiple supported).
- `name`: _(Required)_ Name of your camera. (Needs to be the same as in homebridge-camera-ffmpeg config)
Expand Down
8 changes: 7 additions & 1 deletion config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"placeholder": 5000,
"description": "The port to run the FTP server on."
},
"override_http": {
"title": "Override HTTP Port",
"type": "integer",
"description": "If you need to override the HTTP port, or are not running homebridge-camera-ffmpeg."
},
"bot_token": {
"title": "Telegram Bot Token",
"type": "string",
Expand Down Expand Up @@ -99,7 +104,8 @@
"expanded": true,
"items": [
"ftp_port",
"bot_token"
"bot_token",
"override_http"
]
},
{
Expand Down
Loading

0 comments on commit e1fc298

Please sign in to comment.