-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathconfig-master.ini
60 lines (54 loc) · 1.44 KB
/
config-master.ini
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
[MQTT Broker]
;MQTT Server name
IP=mqtt.andc.nz
;MQTT Port
Port=1883
;MQTT username, without qoutes
User=
;MQTT password, without qoutes
Password=
;Base MQTT Topic
BaseTopic=CameraEvents
;Homebridge MQTT - send out messages for homebridge camera-ffmpeg
HomebridgeEvents=True
;https://sunoo.github.io/homebridge-camera-ffmpeg/automation/mqtt.html
;Messge to CameraEvents/motion with message of camera name
;End of event is CameraEvents/motion/reset
;Post an image to mqtt (True is default)
;With False the snapshot url is posted
PostImagesToMQTT=True
[Slack]
token=api_token_here
[Cameras]
camera1=Example1
camera2=Example2
[Example1]
host=192.168.1.108
protocol=http
name=NVR
isNVR=True
port=80
user=USER
pass=PASSWORD
#Auth digest or basic depending on the camera.
auth=digest
events=VideoMotion,CrossLineDetection,AlarmLocal,VideoLoss,VideoBlind
#If the service doesn't get the channel titles (/cgi-bin/configManager.cgi?action=getConfig&name=ChannelTitle)
#then create a list in this format to prepopulate it.
#Comment out if not needed (ie camera, not NVR)
channels=0:cam1|1:cam2
# Some Firmware/NVR firmware use Channel 0 = index 1 for snapshot, comment out of set to 0
# if your camera uses index 0 = channel 0.
#snapshotoffset=1
# Alerts on or off (defaults to True)
#alerts=False
[Example2]
host=192.168.1.109
protocol=http
name=IPC
port=80
isNVR=False
user=USER
pass=PASSWORD
auth=basic
events=VideoMotion,CrossLineDetection,AlarmLocal,VideoLoss,VideoBlind