forked from seydx/homebridge-camera-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-config.json
96 lines (96 loc) · 2.58 KB
/
example-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"bridge": {
...
},
"accessories": [
...
],
"platforms": [
{
"platform": "CameraUI",
"debug": false,
"videoProcessor": "ffmpeg",
"cameras": [
{
"name": "Flur YI Home",
"active": true,
"yihackv4": true,
"videoConfig": {
"source": "-rtsp_transport tcp -re -i rtsp://192.168.178.21/ch0_0.h264",
"stillImageSource": "-i rtsp://192.168.178.21/ch0_0.h264",
"maxStreams": 3,
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 30
}
},
{
"name": "Schlafzimmer YI Dome",
"active": true,
"yihackv4": true,
"videoConfig": {
"source": "-rtsp_transport tcp -re -i rtsp://192.168.178.31/ch0_0.h264",
"stillImageSource": "-i rtsp://192.168.178.31/ch0_0.h264",
"maxStreams": 3,
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 30
},
"mqtt": {
"active": true,
"host": "192.168.178.123",
"port": 1883,
"username": "",
"password": "",
"topicPrefix": "yicam",
"topicSuffix": "motion",
"startMessage": "motion_start",
"stopMessage": "motion_stop",
"recordOnMovement": true,
"recordVideoSize": 30,
"interval": 0
}
},
{
"name": "Wohnzimmer IP Kamera",
"active": true,
"videoConfig": {
"source": "-re -i rtsp://192.168.178.31/ch0_0.h264",
"stillImageSource": "-i rtsp://192.168.178.31/ch0_0.h264",
"maxStreams": 3,
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 30
},
"ftp":{
"active":true,
"host":"192.168.178.1",
"username":"MyUsername",
"password":"MyPassword",
"secure":false,
"absolutePath":"Recordings",
"movementDuration":20,
"recordOnMovement": true,
"recordVideoSize": 30,
"interval": 120
}
}
],
"gui": {
"active": true,
"username": "MyUsername",
"password": "MySuperSecretPassword",
"port": 3000,
"wsport": 8100,
"removeAfter": 1440
},
"notifier":{
"active":true,
"token":"TelegramToken",
"chatID":"TelegramChatID",
"motion_start":"Motion *detected*",
"motion_stop":"*No* motion"
}
}
]
}