-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_sample.py
43 lines (35 loc) · 1.12 KB
/
config_sample.py
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
#!/usr/bin/env python
import logging
# Default configuration.
# Do not edit this. Copy config_sample.py to config.py and edit that.
# Logging
# LOGGING_LEVEL_CONSOLE = logging.INFO
# LOGGING_LEVEL_FILE = logging.ERROR
# LOGGING_FILE=None #or set to file path LOGGING_FILE="/var/log/paradox_mqtt.log"
# Connection Type
# CONNECTION_TYPE = "Serial" #Only serial for now
# Serial Connection Details
# SERIAL_PORT = "/dev/ttyUSB0"
# Paradox
# KEEP_ALIVE_SECONDS = 9
# ZONES = 32
# USERS = 32
# OUTPUTS = 16
# READ_LABELS_SECONDS = 15 * 60
# OUTPUT_PULSE_SECONDS = 1
# UPDATE_ALARM_TIME_DIFF_MINUTES = 2 #minimum 2. Lower values will cause constant time updates.
# MQTT
# MQTT_HOST='localhost'
# MQTT_PORT=1883
# MQTT_KEEPALIVE=60
# MQTT user and password below only set if used
# MQTT_USERNAME = "user"
# MQTT_PASSWORD = "password"
# HASS
# Hass device ID should be unique on your HASS setup
HASS_DEVICE_ID = "987654321"
# Home Assistant (Code requirements)
# HASS_ALARM_CODE = "0000" # only set if you are using it
# HASS_ALARM_CODE_ARM_REQUIRED = False
# HASS_ALARM_CODE_DISARM_REQUIRED = False
# HASS_ALARM_CODE_TRIGGER_REQUIRED = False