-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.example
27 lines (24 loc) · 1.09 KB
/
config.example
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
// DOMOTICZ-IPCC Example Configuration
// rename to config.js
// All Configuration options are made here
// BEGIN CONFIG
var options = {
nightSwitch : false, // IDX for Domoticz Swiitch to toggle Night/Day.
contactSwitch : [ 213 ], // IDX for Input Contact Switches (default: Motion Detectors)
idx : [ ], // Init IDX Array, dont touch
host : 'localhost', // MQTT Broker Host
status : 'ipcc/connected', // MQTT Status Path
log : false, // Extra Debug Logging
syslog : false, // Log to Syslog
};
// Dahua IP Cameras - NAME : [HOST,PORT,USERNAME,PASSWORD,MD IDX,TAMPER IDX,INPUT #1 IDX, INPUT #2 IDX, OUTPUT IDX]
var dahuaIPC = {
// NAME HOST PORT USERNAME PASSWORD MDIDX TIDX i1IDX i2IDX oIDX
WestPTZ : [ 'west-ptz' ,80 ,'admin' ,'pass' ,214 ,218 ,212 ,213 ,false ],
NorthIPC: [ 'north-ptc' ,80 ,'admin' ,'pass' ,215 ,219 ,false ,false ,false ],
SouthIPC: [ 'south-ipc' ,80 ,'admin' ,'pass' ,216 ,220 ,false ,false ,false ],
EastIPC : [ 'east-ipc' ,80 ,'admin' ,'pass' ,217 ,221 ,false ,false ,false ],
};
// END CONFIG
exports.options = options
exports.dahuaIPC = dahuaIPC