Created
January 17, 2021 09:05
-
-
Save nickmacavoy/527784d551bba161f6583b7a6ba61548 to your computer and use it in GitHub Desktop.
PAI Config @ ~/home-assistant/pai/config/pai.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is very chatty and filled up my Pi, turn off when all set up | |
LOGGING_FILE = None | |
LOGGING_LEVEL_CONSOLE = 10 | |
LOGGING_LEVEL_FILE = 40 | |
LOGGING_DUMP_PACKETS = False | |
LOGGING_DUMP_MESSAGES = True | |
LOGGING_DUMP_STATUS = False | |
LOGGING_DUMP_EVENTS = False | |
CONNECTION_TYPE = 'IP' | |
#SERIAL_PORT = '/dev/ttyUSB0' | |
#SERIAL_BAUD = 9600 | |
IP_CONNECTION_HOST = '192.168.1.x' #IP of IP150 module | |
IP_CONNECTION_PORT = 10000 | |
IP_CONNECTION_PASSWORD = 'paradox' | |
IP_CONNECTION_SITEID = None | |
IP_CONNECTION_EMAIL = None | |
IP_CONNECTION_PANEL_SERIAL = None | |
IP_CONNECTION_BARE = False | |
LIMITS = {} | |
SYNC_TIME = True | |
PASSWORD = 'x' #This is your Paradox Master password that you enter on your panel. Note that a zero is "a". | |
MQTT_ENABLE = True | |
MQTT_HOST = '192.168.1.x' #MQTT Host | |
MQTT_PORT = 1883 | |
MQTT_KEEPALIVE = 60 | |
MQTT_USERNAME = 'x' #MQTT Username | |
MQTT_PASSWORD = 'x' #MQTT Password | |
MQTT_RETAIN = True | |
MQTT_BIND_ADDRESS = '' | |
MQTT_BIND_PORT = 0 | |
MQTT_REPUBLISH_INTERVAL = 60 * 60 * 12 | |
# https://community.home-assistant.io/t/community-hass-io-add-on-paradox-alarm-interface/154838/63 | |
### MQTT Topics | |
MQTT_BASE_TOPIC = 'paradox' # Root of all topics | |
MQTT_ZONE_TOPIC = 'zones' # Base for zone states | |
MQTT_PARTITION_TOPIC = 'partitions' # Base for partition states | |
MQTT_BUS_TOPIC = 'buses' # Base for buses states | |
MQTT_MODULE_TOPIC = 'bus-module' # Base for bus module states | |
MQTT_SYSTEM_TOPIC = 'system' # Base for panel states | |
MQTT_REPEATER_TOPIC = 'repeaters' # Base for repeater states | |
MQTT_USER_TOPIC = 'users' # Base for user states | |
MQTT_EVENTS_TOPIC = 'events' # Base for events | |
MQTT_CONTROL_TOPIC = 'control' # Base for control of other elements (ROOT/CONTROL/TYPE) | |
MQTT_DEFINITIONS_TOPIC = 'control' # Base for definitions | |
MQTT_HOMEASSISTANT_DISCOVERY_PREFIX = 'homeassistant' | |
MQTT_OUTPUT_TOPIC = 'outputs' | |
MQTT_DOOR_TOPIC = 'doors' | |
MQTT_KEYPAD_TOPIC = 'keypads' | |
MQTT_STATES_TOPIC = 'states' | |
MQTT_RAW_TOPIC = 'raw' | |
# | |
MQTT_NOTIFICATIONS_TOPIC = 'notifications' | |
MQTT_SEND_PANIC_TOPIC = 'panic' | |
MQTT_PUBLISH_RAW_EVENTS = True | |
MQTT_INTERFACE_TOPIC = 'interface' | |
MQTT_TOGGLE_CODES = {} | |
MQTT_USE_NUMERIC_STATES = False # use 0 and 1 instead of True and False | |
# | |
MQTT_PUBLISH_COMMAND_STATUS = False # Publish command statuses to MQTT | |
MQTT_COMMAND_STATUS_TOPIC = "command_status" | |
# | |
### MQTT Home Assistant Auto Discovery | |
MQTT_HOMEASSISTANT_AUTODISCOVERY_ENABLE = True | |
### Interfaces text command alias | |
COMMAND_ALIAS = { # alias for commands through text based interfaces | |
'arm': 'partition all arm', | |
'disarm': 'partition all disarm' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment