-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- multiple cameras - new configuration file - MQTT password/username Signed-off-by: mbw <matthew@mh-white.com>
- Loading branch information
Showing
15 changed files
with
3,583 additions
and
1,103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ node_modules | |
_tmp | ||
lib/* | ||
.env | ||
env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
declare module "node-config-ts" { | ||
interface IConfig { | ||
mqtt: Mqtt | ||
cameras: Cameras | ||
} | ||
interface Cameras { | ||
camera_a: Cameraa | ||
} | ||
interface Cameraa { | ||
hostname: string | ||
onvif_port: string | ||
username: string | ||
password: string | ||
connect: Connect | ||
} | ||
interface Connect { | ||
retries: number | ||
delay: number | ||
} | ||
interface Mqtt { | ||
broker_host: string | ||
topic_root: string | ||
username: string | ||
password: string | ||
} | ||
export const config: Config | ||
export type Config = IConfig | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"mqtt":{ | ||
"broker_host":"", | ||
"topic_root":"", | ||
"username":"", | ||
"password":"" | ||
}, | ||
"cameras":{ | ||
"camera_a": { | ||
"hostname":"", | ||
"onvif_port":"", | ||
"username":"", | ||
"password":"", | ||
"connect":{ | ||
"retries":5, | ||
"delay":5000 | ||
} | ||
} | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.