# This is the default configuration file, which comes with every openHAB distribution. # You should do a copy of it with the name 'openhab.cfg' and configure your personal # settings in there. This way you can be sure that they are not overwritten, if you # update openHAB one day. ####################################################################################### ##### General configurations ##### ####################################################################################### # Configuration folders (must exist as a subdirectory of "configurations"; the value # tells the number of seconds for the next scan of the directory for changes. A # value of -1 deactivates the scan). # A comma separated list can follow after the refresh value. This list defines a filter # for valid file extensions for the models. folder:items=10,items folder:sitemaps=10,sitemap folder:rules=10,rules folder:scripts=10,script folder:persistence=10,persist # configures the security options. The following values are valid: # ON = security is switched on generally # OFF = security is switched off generally # EXTERNAL = security is switched on for external requests # (e.g. originating from the Internet) only # (optional, defaults to 'OFF') #security:option= # the Netmask to define a range of internal IP-Addresses which doesn't require # authorization (optional, defaults to '192.168.1.0/24') #security:netmask= # The name of the default persistence service to use #persistence:default=rrd4j # The refresh interval for the main configuration file. A value of '-1' # deactivates the scan (optional, defaults to '-1' hence scanning is deactivated) #mainconfig:refresh= # Bind service discovery to specific hostname or IP address #servicediscovery:bind_address=127.0.0.1 ################################# MQTT Transport ###################################### # # Define your MQTT broker connections here for use in the MQTT Binding or MQTT # Persistence bundles. Replace with a id you choose. # # URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883 #mqtt:.url=tcp://:1883 mqtt:charleyhuman.url=tcp://localhost:1883 # Optional. Client id (max 23 chars) to use when connecting to the broker. # If not provided a default one is generated. mqtt:charleyhuman.clientId=openhab # Optional. Password to authenticate with the broker. #mqtt:.pwd= # Optional. Set the quality of service level for sending messages to this broker. # Possible values are 0 (Deliver at most once),1 (Deliver at least once) or 2 # (Deliver exactly once). Defaults to 0. mqtt:charleyhuman.qos=1 # Optional. True or false. Defines if the broker should retain the messages sent to # it. Defaults to false. #mqtt:charleyhuman.retain=false # Optional. True or false. Defines if messages are published asynchronously or # synchronously. Defaults to true. #mqtt:charleyhuman.async=false