-
Notifications
You must be signed in to change notification settings - Fork 23
Configuration
spacemanspiff2007 edited this page Jan 24, 2019
·
1 revision
Configuration is done through config.yml
The path can be specified with -c PATH
or run HABApp without parameters to see a list of folders where it can be placed.
directories:
logging: log # If the filename for the logfile is not absolute it will be placed in this directory
rules: rules # All *.py files in this folder (and subfolders) will be loaded
lib: lib # Custom modules and files can be placed there
openhab:
ping: # If enabled this item will show how long it takes to send an update from HABApp
enabled: true # and get the updated value back
item: 'HABApp_Ping' # Name of the item
interval: 10 # Seconds between pings
connection:
host: localhost
port: 8080
user: ''
password: ''
general:
timezone: '+1000'
mqtt:
connection:
client_id: HABApp
host: ''
port: 8883
user: ''
password: ''
tls: true
tls_insecure: false # do not check certificate
subscribe: # Changes to Subscribe get picked up without restarting HABApp
qos: 0 # Default QOS for subscribing
topics:
- '#' # Subscribe to this topic
- 0 # QOS for previous topic, can be omitted
publish:
qos: 0 # Default QOS when publishing values
retain: false # Default retain flag when publishing values