forked from Tertiush/ParadoxIP150v2
-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.master.ini
49 lines (42 loc) · 3.41 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
[IP150]
Pincode: 1234 ;PC Password (from Winload/Babyware)
Password: abcd
IP: 10.0.0.120
IP_Software_Port: 10000
[MQTT Broker]
IP: 127.0.0.1
Port: 1883
Mqtt_Username = '' ;MQTT username, without qoutes
Mqtt_Password = '' ;MQTT password, without qoutes
[Alarm]
Alarm_Model = ParadoxMG5050 ;Currently not used
Alarm_Registry_Map = ParadoxMG5050 ;This is used to map to the correct dictionary class within the ParadoxMap.py package. The word "Registers" is appended before loading.
Alarm_Event_Map = ParadoxMG5050 ;This is used to map to the correct dictionary class within the ParadoxMap.py package. The word "EventMap" is appended before loading.
Zone_Amount = 32
[MQTT Topics]
Topic_Publish_Events = Paradox/Events ;The main topic used to publish all events
Events_Payload_Numeric = 0 ;1=Events are reported using numeric value [not replaced by the dictionary]. 0=Events are translated to more meaningful text from the dictionary, if your alarm is supported.
Topic_Subscribe_Control=Paradox/C/ ;All controls are given through this high-level topic
Startup_Publish_All_Info = False ;Upon startup publish all labels from the alarm (configured names of things), only application when reading (updating) labels
Topic_Publish_Labels = Paradox/Labels ;The topic used to publish labels
Topic_Publish_AppState = Paradox/State ;Publishes the scripts internal states, useful to check if connection is alive
Topic_Publish_ZoneState = Paradox/Zone ;Publishes the zone status' with the zone name as the next topic group (1 for open, 0 for closed)
Topic_Publish_ArmState = Paradox/Partition ; Publishes the partition status 1 for armed, 0 for disarmed.
Topic_Publish_Heartbeat = Paradox/Heartbeat ; Publishes a periodic message, and it a last will and teastament of the mqtt connection
Topic_Publish_Status = Paradox/Status ; publishes specific parts of the 6 zone status messages (0 - 5)
Publish_Status_Factor = 10 ; A keepalive sequence is 6 seconds, this factory will publish the Status/0 message every factor x 6, 1 is everytime
Publish_Static_Topic = 1 ;Publish events emulated as topics, E.g. Paradox/Events/0/20
Publish_Zones_OpenClosed = 1 ; Publish OPEN and CLOSED for zones if 1, or ON and OFF is 0 (openhab contact items)
[Alarm_Partition_States] ; User configuratble states for systems
ARMED=ARMED ; Normal Full armed state
DISARMED=DISARMED ; Normal Full disarmed state (off)
SLEEP=SLEEP ; Sleep Arm
STAY=STAY ; Stay Arm
ARMING=ARMING ; Being Armed or Disarmed
TRIGGERED=TRIGGERED ; Event happening.
[Application]
Debug_Mode = 2 ;0=Minimal, 1=Basic, 2=Verbose
Startup_Update_All_Labels = False ;Upon startup collect all labels from the alarm (configured names of things). Required for config item: Topic_Publish_Labels. If you see the script stuck at trying to update the labels, then disable this option
Log_File = /opt/paradoxip/paradoxip.log ; can also use Log_File = stream://sys.stderr for stderr stream (for docker)
Auto_Logoff = True ;When detecting another 3rd party connection to the IP module, logoff for the Logoff_Delay duration (3rd party connection may need to re-attempt their connections
Logoff_Delay = 120 ;Delay before reconnection after a 3rd party connection attempt