Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
- ############################### Modbus Binding ########################################
- # read nilan connection
- modbus:poll=2000
- modbus:serial.nilan1.connection=COM3:19200:8:even:1:rtu
- modbus:serial.nilan1.id=30
- modbus:serial.nilan1.start=200
- modbus:serial.nilan1.length=16
- modbus:serial.nilan1.type=input
- modbus:serial.nilan1.valuetype=int16
- # write out nilan connection
- modbus:writemultipleregisters=true
- modbus:serial.nilan2.connection=COM3:19200:8:even:1:rtu
- modbus:serial.nilan2.id=30
- modbus:serial.nilan2.start=1001
- modbus:serial.nilan2.length=4
- modbus:serial.nilan2.type=holding
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement