openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

All KNX commands will be send once on openHAB launch #2050

Closed tex4ever closed 8 years ago

tex4ever commented 9 years ago

On every lauch of openHAB all KNX binding commands will be activated once, so all my lights will be switch on or off, dependent on current status. After the launch, everything works fine.

I work with runtime 1.6.1 No rules, no scripts. KNX binding is in TUNNEL-mode. This is my items-file:

//Haupt-Gruppen Group gZ //Zentral Group gDG //Dachgeschoss Group gOG //Obergeschoss Group gEG //Erdgeschoss Group gKG //Kellergeschoss

//Unter-Gruppen OG Group OG_Schlafzimmer "Schlafzimmer" (gOG) Group OG_Moritz "Moritz" (gOG) Group OG_Lukas "Lukas" (gOG) Group OG_Bad "Bad" (gOG) Group OG_Diele "Diele" (gOG)

//Unter-Gruppen EG Group EG_Kueche "Küche" (gEG) Group EG_Wohnzimmer "Wohnzimmer" (gEG) Group EG_GaesteWC "Gäste-WC" (gEG) Group EG_Diele "Diele" (gEG)

//Unter-Gruppen KG Group KG_Buero "Büro" (gKG) Group KG_Hobby "Hobby" (gKG) Group KG_HWR "Waschraum" (gKG) Group KG_Technik "Technikraum" (gKG) Group KG_Diele "Diele" (gKG)

//----------------------------------------- // Zentral //----------------------------------------- Switch Z_Schlafzimmer_Licht "Zentral" (gZ) { knx="0/0/1+3/1/0+3/1/1+3/1/2+3/1/3+3/1/4+3/1/5+3/1/6+3/1/7+3/1/8+3/1/9+3/1/10+3/1/11+3/1/12+3/1/13+3/1/14+3/1/15+3/2/0+3/2/1+3/2/2+3/2/3+3/2/4+3/2/5+3/2/6+3/2/7+3/2/8+3/2/9+3/2/10+3/2/11+3/2/12+3/2/13+3/2/14+3/3/0+3/3/1+3/3/2+3/3/3+3/3/4+3/3/5+3/3/6+3/3/7+3/3/8+3/3/9+3/3/10+3/3/11+3/3/12+3/3/13+3/3/14+3/3/15+3/4/0+3/4/1+3/4/2+3/4/3+3/4/4+3/4/5+3/4/6+3/4/7+3/4/8+3/4/9+3/4/10+3/4/11+3/4/12+3/4/13+3/4/14+3/4/15+3/4/16 "}

//----------------------------------------- // DG //-----------------------------------------

//Studio Übersicht Group DG_Studio_Licht "Licht" (gDG) Group DG_Studio_Rolladen "Rolladen" (gDG) Contact DG_Kontakt_Fenster1 "Fenster rechts 1 [MAP(de.map):%s]" (gDG) { knx=" 10/4/2 "} Contact DG_Kontakt_Fenster2 "Fenster rechts 2 [MAP(de.map):%s]" (gDG) { knx=" 10/4/3 " } Contact DG_Kontakt_Fenster3 "Fenster rechts 3 [MAP(de.map):%s]" (gDG) { knx=" 10/4/4 "}

//Studio Licht //Switch DG_Studio_LichtCouch "Couch" (DG_Studio_Licht) //Switch DG_Studio_LichtTV "TV" (DG_Studio_Licht) //Switch DG_Studio_LichtTuer "Tür" (DG_Studio_Licht) //Switch DG_Studio_LichtBuecherei "Bücherei" (DG_Studio_Licht) //Switch DG_Studio_LichtSpielecke "Spielecke" (DG_Studio_Licht) //Switch DG_Studio_LichtFenster "Fenster" (DG_Studio_Licht) Switch DG_Studio_Licht1 "1" (DG_Studio_Licht) { knx=" 1/4/6+<3/4/6 "} Switch DG_Studio_Licht2 "2" (DG_Studio_Licht) { knx=" 1/4/7+<3/4/7 "} Switch DG_Studio_Licht3 "3" (DG_Studio_Licht) { knx=" 1/4/8+<3/4/8 "} Switch DG_Studio_Licht4 "4" (DG_Studio_Licht) { knx=" 1/4/9+<3/4/9 "} Switch DG_Studio_Licht5 "5" (DG_Studio_Licht) { knx=" 1/4/10+<3/4/10 "} Switch DG_Studio_Licht6 "6" (DG_Studio_Licht) { knx=" 1/4/11+<3/4/11 "} Switch DG_Studio_Licht7 "7" (DG_Studio_Licht) { knx=" 1/4/12+<3/4/12 "} Switch DG_Studio_Licht8 "8" (DG_Studio_Licht) { knx=" 1/4/13+<3/4/13 "}

//Studio Rolladen Rollershutter DG_Studio_Rolladen_Fenster_Links "Fenster links" (DG_Studio_Rolladen) { knx=" 6/1/10,6/2/10" } Rollershutter DG_Studio_Rolladen_Fenster_Rechts "Fenster rechts" (DG_Studio_Rolladen) { knx=" 6/1/11,6/2/11" } Rollershutter DG_Studio_Rolladen_DF_nord "Dachfenster nord" (DG_Studio_Rolladen) { knx=" 6/1/12,6/2/12" } Rollershutter DG_Studio_Rolladen_DF_sued "Dachfenster süd" (DG_Studio_Rolladen) { knx=" 6/1/13,6/2/13" }

//----------------------------------------- // OG //-----------------------------------------

//Schlafzimmer Switch OG_Schlafzimmer_Licht "Licht" (OG_Schlafzimmer) { knx=" 1/3/3+<3/3/3 "} Rollershutter OG_Schlafzimmer_Rolladen_Beide "Rolladen" (OG_Schlafzimmer) { knx=" 6/1/6,6/2/6" } Contact OG_Schlafzimmer_Kontakt_FensterL "Fenster links [MAP(de.map):%s]" (OG_Schlafzimmer) { knx=" 10/3/0+10/3/1 "} Contact OG_Schlafzimmer_FensterR "Fenster rechts [MAP(de.map):%s]" (OG_Schlafzimmer) { knx=" 10/3/2+10/3/3" } Contact OG_Schlafzimmer_Kontakt_Fenster1 "Fenster links 1 [MAP(de.map):%s]" (OG_Schlafzimmer) { knx=" 10/3/0 "} Contact OG_Schlafzimmer_Kontakt_Fenster2 "Fenster links 2 [MAP(de.map):%s]" (OG_Schlafzimmer) { knx=" 10/3/1" } Contact OG_Schlafzimmer_Kontakt_Fenster3 "Fenster rechts 1 [MAP(de.map):%s]" (OG_Schlafzimmer) { knx=" 10/3/2 "} Contact OG_Schlafzimmer_Kontakt_Fenster4 "Fenster rechts 2 [MAP(de.map):%s]" (OG_Schlafzimmer) { knx=" 10/3/3 " }

//Moritz Switch OG_Moritz_Licht "Licht" (OG_Moritz) { knx=" 1/3/12+<3/3/12 " } Rollershutter OG_Moritz_Rolladen "Rolladen" (OG_Moritz) { knx=" 6/1/8,6/2/8" } Contact OG_Moritz_Kontakt_Fenster "Fenster" (OG_Moritz) { knx=" 10/3/5+10/3/8 " } Contact OG_Moritz_Kontakt_Fenster_1 "Fenster" (OG_Moritz) { knx=" 10/3/5 " } Contact OG_Moritz_Kontakt_Fenster_2 "Fenster" (OG_Moritz) { knx=" 10/3/8 " }

//Lukas Switch OG_Lukas_Licht "Licht" (OG_Lukas) { knx=" 1/3/14+<3/3/14 " } Rollershutter OG_Lukas_Rolladen "Rolladen" (OG_Lukas) { knx=" 6/1/9,6/2/9" } Contact OG_Lukas_Kontakt_Fenster "Fenster" (OG_Lukas) { knx=" 10/3/6+10/3/7 " } Contact OG_Lukas_Kontakt_Fenster_1 "Fenster" (OG_Lukas) { knx=" 10/3/6 " } Contact OG_Lukas_Kontakt_Fenster_2 "Fenster" (OG_Lukas) { knx=" 10/3/7 " }

//Bad Switch OG_Bad_Licht "Licht" (OG_Bad) Rollershutter OG_Bad_Rolladen "Rolladen" (OG_Bad) { knx=" 6/1/7,6/2/7" } Contact OG_Bad_Kontakt_Fenster "Fenster" (OG_Bad) { knx=" 10/3/4" }

//Diele Switch OG_Diele_Licht "Licht" (OG_Diele) { knx=" 1/3/8<3/3/8 " } Switch OG_Diele_LichtRewppw "Licht Treppe" (OG_Diele) { knx=" 1/3/8<3/3/8 " }

//----------------------------------------- // EG //-----------------------------------------

//Küche Switch EG_Kueche_Licht9 "Licht" (EG_Kueche) { knx="1/2/11+<3/2/11,1/2/12+<3/2/12 "} Group EG_Kueche_Rolladen "Rolladen" (EG_Kueche)

//Küche Rolla Rollershutter EG_Kueche_Rolladen_Beide "Fenster beide" (EG_Kueche_Rolladen) Rollershutter EG_Kueche_Rolladen_Links "Fenster links" (EG_Kueche_Rolladen) { knx=" 6/1/14,6/2/14 " } Rollershutter EG_Kueche_Rolladen_Rechts "Fenster rechts" (EG_Kueche_Rolladen) { knx=" 6/1/15,6//15 " }

//Wohnzimmer Group EG_Wohnzimmer_Licht "Licht" (EG_Wohnzimmer) Group EG_Wohnzimmer_Rolladen "Rolladen" (EG_Wohnzimmer) Contact EG_Wohnzimmer_Kontakt_Fenster1 "Fenster links 1 [MAP(de.map):%s]" (EG_Wohnzimmer) { knx=" 10/2/4 "} Contact EG_Wohnzimmer_Kontakt_Fenster2 "Fenster links 2 [MAP(de.map):%s]" (EG_Wohnzimmer) { knx=" 10/2/5" } Contact EG_Wohnzimmer_Kontakt_Fenster3 "Fenster rechts 1 [MAP(de.map):%s]" (EG_Wohnzimmer) { knx=" 10/2/6 "} Contact EG_Wohnzimmer_Kontakt_Fenster4 "Fenster rechts 2 [MAP(de.map):%s]" (EG_Wohnzimmer) { knx=" 10/2/7 " }

//Wohnzimmer Licht Switch EG_Wohnzimmer_Licht9 "Licht 9" (EG_Wohnzimmer_Licht) { knx="1/2/4+<3/2/4"} Switch EG_Wohnzimmer_Licht10 "Licht 10" (EG_Wohnzimmer_Licht) { knx="1/2/5+<3/2/5"} Switch EG_Wohnzimmer_Licht11 "Licht 11" (EG_Wohnzimmer_Licht) { knx="1/2/6+<3/2/6"} Switch EG_Wohnzimmer_Licht12 "Licht 12" (EG_Wohnzimmer_Licht) { knx="1/2/7+<3/2/7"} Switch EG_Wohnzimmer_Licht13 "Licht 13" (EG_Wohnzimmer_Licht) { knx="1/2/3+<3/2/3"} Switch EG_Wohnzimmer_Licht9u10 "Licht Esstisch" (EG_Wohnzimmer_Licht) { knx="1/2/8+<3/2/8"}

//Wohnzimmer Rolladen Rollershutter EG_Wohnzimmer_Rolladen_Beide "Fenster beide" (EG_Wohnzimmer_Rolladen) Rollershutter EG_Wohnzimmer_Rolladen_Links "Fenster links" (EG_Wohnzimmer_Rolladen) { knx=" 6/1/2,6/2/2" } Rollershutter EG_Wohnzimmer_Rolladen_Rechts "Fenster rechts" (EG_Wohnzimmer_Rolladen) { knx=" 6/1/3,6/2/3" }

//----------------------------------------- // KG //-----------------------------------------

//Büro Switch KG_Buero_Licht "Licht" (KG_Buero) { knx=" 1/1/4+<3/1/4 "}

Thanks a lot for your help Philipp

akileos commented 9 years ago

Hi,

Did you setup a persistance for KNX ? could it be the "restoreonstartup" causing this ?

tex4ever commented 9 years ago

Hi, thanks for your replace, but no, I don't use persistance. I removed the line "# The name of the default persistence service to use

persistence:default=rrd4j

" and now openHAB will auto refresh everything in some seconds, so now the commands will be sent on every autorefresh and all lights go on and off all the time.

Here is my config file:

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

################################## Chart Servlet ###################################### #

This section defines the configuration for the chart servlet.

chart:provider=default

#

Set the default height of a chart if the client doesn't provide this in the request

defaults to 240

chart:defaultHeight=240

#

Set the default width of a chart if the client doesn't provide this in the request

defaults to 480

chart:defaultWidth=480

#

Set a scale factor. This is used if the client sets the size in the request.

defaults to 1 (ie no scaling)

chart:scale=1

#######################################################################################

Action configurations

#######################################################################################

######################## Mail Action configuration #################################### #

The SMTP server hostname, e.g. "smtp.gmail.com"

mail:hostname=

the SMTP port to use (optional, defaults to 25 (resp. 587 for TLS))

mail:port=

the username and password if the SMTP server requires authentication

mail:username=

mail:password=

The email address to use for sending mails

mail:from=

set to "true", if TLS should be used for the connection

(optional, defaults to false)

mail:tls=

set to "true", if POP before SMTP (another authentication mechanism)

should be enabled. Username and Password are taken from the above

configuration (optional, default to false)

mail:popbeforesmtp=

########################## XMPP Action configuration ################################## #

The XMPP server to use, e.g. "jabber.org", "talk.google.com" or "talkx.l.google.com"

xmpp:servername=

The XMPP Proxyserver to use, e.g. "gmail.com"

xmpp:proxy=

the server port to use (optional, defaults to 5222)

xmpp:port=

the username and password for the sending XMPP account

xmpp:username=

xmpp:password=

a comma separated list of users that are allowed to use the XMPP console

xmpp:consoleusers=

the multi user chat to join, e.g. openhab@chat.example.com

xmpp:chatroom=

the nickname used in the multi user chat (optional, defaults to openhab-bot)

xmpp:chatnickname=

the password required to join the multi user chat

xmpp:chatpassword=

########################## Prowl Action configuration ################################# #

the apikey for authentication (generated on the Prowl website)

prowl:apikey=

the default priority of a Prowl notifications (optional, defaults to '0')

prowl:defaultpriority=

the url of the Prowl public api

(optional, defaults to 'https://prowl.weks.net/publicapi/')

prowl:url=

#################### Pushover Action configuration ##################### #

The timeout for the communication with the Pushover service (optional, defaults

to 10000 milliseconds)

pushover:defaultTimeout=

You need to provide a Pushover API token to send to devices. If not here, than during

the action call itself.

pushover:defaultToken=

You need to provide a Pushover User Key to send to devices. If not here, than during

the action call itself.

pushover:defaultUser=

Name of the sending application (optional). Defaults to 'openHAB'.

pushover:defaultTitle=openHAB

The priority to use for messages if not specified otherwise. Can range from

-2 (lowest) to 2 (highest)

pushover:defaultPriority=

Url to attach to the message if not specified in the command (optional). Can be left empty.

pushover:defaultUrl=

Url Title to attach to the message if not specified in the command (optional). Can be left empty.

pushover:defaultUrlTitle=

When priority is high priority (2), how often in seconds should messages be resent. Defaults to 300 seconds.

pushover:defaultRetry=

When priority is high priority (2), how long to continue resending messages until acknowledged. Defaults to 3600 seconds.

pushover:defaultExpire=

########################### Twitter Action configuration ############################## #

The ConsumerKey, ConsumerSecret combination (optional, defaults to official Twitter-App

Key-Secret-Combination)

twitter:key=

twitter:secret=

Flag to enable/disable the Twitter client (optional, defaults to 'false')

twitter:enabled=

#################### Notify my Android (NAM) Action configuration ##################### #

The timeout for the communication with the NMA service (optional, defaults

to 10000 milliseconds)

nma:timeout=

If you have a developerKey from NMA you can set it here, but this completely optional

nma:developerKey=

The default api key to send messages to. Api keys can be created in your accounts dashboard.

nma:apiKey=

The application name which NMA will show (optional, defaults to 'openHAB').

nma:appName=

The priority to use for messages if not specified otherwise. Can range from

-2 (lowest) to 2 (highest)

nma:defaultPriority=

The URL to attach to NMA messages by default if not specified otherwise. Can be left empty.

nma:defaultUrl=

####################### OpenWebIf Action configuration ######################## #

openwebif:receiver..host=

openwebif:receiver..port=

openwebif:receiver..user=

openwebif:receiver..password=

openwebif:receiver..https=

#######################################################################################

I/O component configurations

#######################################################################################

########################## Google Calendar configuration ############################## #

the username and password for Google Calendar Account

gcal:username=

gcal:password=

the url of the calendar feed

gcal:url=

the filter criteria for full text query (optional)

gcal:filter=

refresh interval in milliseconds (optional, defaults to 900000 [15 minutes])

gcal:refresh=

############################# Dropbox configuration ################################### #

Operates the Synchronizer in fake mode which avoids up- or downloading files to and from Dropbox.

This is meant as testMode for the filter settings (optional, defaults to false)

dropbox:fakemode=

the up- and download interval as Cron-Expression. See the Quartz-Tutorial

http://quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-06

for more information on how to use them best (optional, defaults to '0 0/5 * * * ?'

which means every 5 minutes)

dropbox:uploadInterval=

dropbox:downloadInterval=

the AppKey, AppSecret combination (optional, defaults to official Dropbox-App

Key-Secret-Combination)

dropbox:appkey=

dropbox:appsecret=

defines the mode how files are synchronized with dropbox. Valid SyncModes are

'DROPBOX_TO_LOCAL', 'LOCAL_TO_DROPBOX' and 'BIDIRECTIONAL' (optional, defaults

to 'LOCAL_TO_DROPBOX')

dropbox:syncmode=

the base directory to synchronize with openHAB, configure 'filter' to select

files (optional, defaults to '.')

dropbox:contentdir=

defines a comma separated list of regular expressions which matches the

filenames to upload to Dropbox (optional, defaults to '/configurations/.*,

/logs/., /etc/.')

dropbox:uploadfilter=

defines a comma separated list of regular expressions which matches the

filenames to download from Dropbox (optional, defaults to '/configurations/.*')

dropbox:downloadfilter=

############################# MaryTTS configuration ################################### #

the default voice used by the MaryTTS engine. Available voices are: bits1-hsmm

(german, female), bits3-hsmm (german, male), cmu-slt-hsmm (english, male) (optional,

defaults to the systems' default voice or the first available voice)

marytts:voice=

###################### Speech-Dispatcher TTS configuration ############################ #

Hostname or ip of the first Speech Dispatcher device to control

speechdispatcher:.host=

Port of the Speech Dispatcher to control (optional, defaults to 6560)

speechdispatcher:.port=6560

#######################################################################################

Persistence configurations

#######################################################################################

######################## Open.Sen.se Persistence Service ############################## #

the url of the Open.Sen.se public api (optional, defaults to

'http://api.sen.se/events/?sense_key=')

sense:url=

the Open.Sen.se API-Key for authentication (generated on the Open.Sen.se website)

sense:apikey=

######################### Logging Persistence Service ################################# #

the logback encoder pattern to use to write log entries

see http://logback.qos.ch/manual/layouts.html#ClassicPatternLayout for all options

the item name is available as the "logger" name, the state as the "msg"

logging:pattern=%date{ISO8601} - %-25logger: %msg%n

########################### Db4o Persistence Service ################################## #

the backup interval as Cron-Expression (optional, defaults to '0 0 1 * * ?'

which means every morning at 1 o'clock)

db4o:backupinterval=

the commit interval in seconds (optional, default to '5')

db4o:commitinterval=

the amount of backup files allowed in DB_FOLDER_NAME (optional, defaults

to '7')

db4o:maxbackups=

############################ SQL Persistence Service ##################################

the database url like 'jdbc:mysql://:/'

mysql:url=

the database user

mysql:user=

the database password

mysql:password=

the reconnection counter

mysql:reconnectCnt=

the connection timeout (in seconds)

mysql:waitTimeout=

############################ Cosm Persistence Service ################################# #

the url of the Cosm feed (optional, defaults to 'http://api.cosm.com/v2/feeds/')

cosm:url=

the Cosm API-Key for authentication (generated on the Cosm website)

cosm:apikey=

############################ GCal Persistence Service ################################# #

the username and password for Google Calendar Account

gcal-persistence:username=

gcal-persistence:password=

the url of the calendar feed

gcal-persistence:url=

the offset (in days) new calendar entries will be created in future (optional,

defaults to 14)

gcal-persistence:offset=

the base script which is written to the newly created Calendar-Events by

the GCal-based presence simulation. It must contain two format markers '%s'.

The first marker represents the Item to send the command to and the second

represents the State (optional, defaults to

'> if (PresenceSimulation.state == ON) sendCommand(%s,%s)')

gcal-persistence:executescript=

################################# MQTT Persistence ######################################### #

Name of the broker as defined in the section MQTT Transport

mqtt-persistence:broker=

The MQTT topic to which the persistence messages should be sent.

mqtt-persistence:topic=

A string representing the persistence message content.

mqtt-persistence:message=

############################ MongoDB Persistence Service ################################## #

the database url

mongodb:url=

the database name

mongodb:database=

the collection name

mongodb:collection=

############################ InfluxDB Persistence Service ############################# #

The database URL, e.g. http://127.0.0.1:8086 or https://127.0.0.1:8084 .

Defaults to: http://127.0.0.1:8086

influxdb:url=http(s)://:

The name of the database user, e.g. openhab.

Defaults to: openhab

influxdb:user=

The password of the database user.

influxdb:password=

The name of the database, e.g. openhab.

Defaults to: openhab

influxdb:db=

############################ JPA Persistence Service ##################################

connection string url

jpa:url=jdbc:postgresql://:5432/

jpa:url=jdbc:derby://:1527/;create=true

driver class name

jpa:driver=org.postgresql.Driver

jpa:driver=org.apache.derby.jdbc.ClientDriver

username

jpa:user=

password

jpa:password=

#######################################################################################

Transport configurations

#######################################################################################

################################# 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

Optional. Client id (max 23 chars) to use when connecting to the broker.

If not provided a default one is generated.

mqtt:.clientId=

Optional. User id to authenticate with the broker.

mqtt:.user=

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:.qos=

Optional. True or false. Defines if the broker should retain the messages sent to

it. Defaults to false.

mqtt:.retain=

Optional. True or false. Defines if messages are published asynchronously or

synchronously. Defaults to true.

mqtt:.async=

Optional. Defines the last will and testament that is sent when this client goes offline

Format: topic:message:qos:retained

mqtt:.lwt=

#######################################################################################

Binding configurations

#######################################################################################

################################ KNX Binding ########################################## #

KNX gateway IP address

(optional, if serialPort or connection type 'ROUTER' is specified)

knx:ip=192.168.178.61

KNX IP connection type. Could be either TUNNEL or ROUTER (optional, defaults to TUNNEL)

Note: If you cannot get the ROUTER mode working (even if it claims it is connected),

use TUNNEL mode instead with setting both the ip of the KNX gateway and the localIp.

knx:type=TUNNEL

KNX gateway port (optional, defaults to 3671)

Note: If you use eibd, setting to 6720

knx:port=

Local endpoint to specify the multicast interface, no port is used (optional)

knx:localIp=192.168.178.62

Serial port of FT1.2 KNX interface (ignored, if ip is specified)

Valid values are e.g. COM1 for Windows and /dev/ttyS0 or /dev/ttyUSB0 for Linux

knx:serialPort=

Pause in milliseconds between two read requests on the KNX bus during

initialization (optional, defaults to 50)

knx:pause=

Timeout in milliseconds to wait for a response from the KNX bus (optional,

defaults to 10000)

knx:timeout

Number of read retries while initialization items from the KNX bus (optional,

defaults to 3)

knx:readRetries

Seconds between connect retries when KNX link has been lost

0 means never retry, it will only reconnect on next write or read request

Note: without periodic retries all events will be lost up to the next read/write

request

(optional, default is 0)

knx:autoReconnectPeriod=30

Auto refresh feature

Number of entries permissible in the item refresher queue.

(optional, defaults to 10000)

knx:maxRefreshQueueEntries=

Number of parallel threads for refreshing items. (optional, defaults to 5)

knx:numberOfThreads=

Seconds to wait for an orderly shutdown of the auto refresher's

ScheduledExecutorService. (optional, defaults to 5)

knx:scheduledExecutorServiceShutdownTimeoutString=

############################### DSC Alarm Binding ##################################### #

DSC Alarm port name for a serial connection.

Valid values are e.g. COM1 for Windows and /dev/ttyS0 or /dev/ttyUSB0 for Linux.

Leave undefined if not connecting by serial port.

dscalarm:serialPort=

DSC Alarm baud rate for serial connections.

Leave undefined if using default.

dscalarm:baud=

DSC Alarm IP address for a TCP connection.

Leave undefined if not connecting by network connection.

dscalarm:ip=

DSC Alarm password for logging into the EyezOn Envisalink 3/2DS interface.

Leave undefined if using default.

dscalarm:password=

DSC Alarm user code for logging certain DSC Alarm commands.

Leave undefined if using default.

dscalarm:usercode=

############################# Bluetooth Binding ####################################### #

Bluetooth refresh rate in seconds

(defines, how often a new device detection scan is performed)

bluetooth:refresh=20

############################## OneWire Binding ######################################## #

OwServer IP address

onewire:ip=

OwServer Port (optional, defaults to 4304)

onewire:port=

refresh interval in milliseconds (optional, defaults to 60000)

onewire:refresh=

the retry count in case no valid value was returned

upon read (optional, defaults to 3)

onewire:retry=

defines which temperature scale owserver should return temperatures in. Valid

values are CELSIUS, FAHRENHEIT, KELVIN, RANKIN (optional, defaults to CELSIUS).

onewire:tempscale=

########################### NetworkHealth Binding ##################################### #

Default timeout in milliseconds if none is specified in binding configuration

(optional, default to 5000)

networkhealth:timeout=

refresh interval in milliseconds (optional, default to 60000)

networkhealth:refresh=

############################### HTTP Binding ########################################## #

timeout in milliseconds for the http requests (optional, defaults to 5000)

http:timeout=

the interval in milliseconds when to find new refresh candidates

(optional, defaults to 1000)

http:granularity=

configuration of the first cache item

http:.url=

http:.updateInterval=

configuration of the second cache item

http:.url=

http:.updateInterval=

############################# Fritz!Box Binding ####################################### #

Please note: To be able to connect to the monitor port, the "CallMonitor" must be

activated by dialing "#965" once on a telephone that is connected to the Fritz!Box.

IP address of Fritz!Box to connect to

fritzbox:ip=fritz.box

############################### Asterisk Binding ###################################### #

Please note: The Asterisk Management Interface (AMI) has to be activated in the

manager.conf file of your Asterisk PBX.

hostname of the AMI

asterisk:host=

the username and password to login to the AMI

asterisk:username=

asterisk:password=

################################ NTP Binding ########################################## #

refresh interval in milliseconds (optional, defaults to 900000 [15 minutes])

ntp:refresh=

the hostname of the timeserver

ntp:hostname=ptbtime1.ptb.de

################################ MPD Binding ########################################## #

Host and port of the first MPD to control

mpd:.host=

mpd:.port=

The password to authenticate against the MPD server (optional, can be null to

indicate that no authentication is required)

mpd:.password=

Host and port of the second MPD to control

mpd:.host=

mpd:.port=

The password to authenticate against the MPD server (optional, can be null to

indicate that no authentication is required)

mpd:.password=

################################ VDR Binding ########################################## #

Host and port of the first VDR to control

vdr:.host=

vdr:.port=6419

Host and port of the second VDR to control

vdr:.host=

vdr:.port=6419

################################ SNMP Binding ######################################### #

Listening Port (optional, defaults to '162')

snmp:port=

The SNMP community to listen to (optional, defaults to 'public')

snmp:community=

The SNMP retry timeout (in milliseconds). Defaults to 1500.

Sets the number of milliseconds between retries.

snmp:timeout=

The SNMP number of retries. Defaults to 0.

Sets the number of retries before aborting the request.

snmp:retries=

######################## Novelan (Siemens) Heatpump Binding ########################### #

IP address of the Novelan (Siemens) Heatpump to connect to

novelanheatpump:ip=

refresh interval in milliseconds (optional, defaults to 60000)

novelanheatpump:refresh=

############################### Cups Binding ########################################## #

CupsServer IP address or Host name

cups:host=

CupsServer Port (optional, defaults to 631)

cups:port=

refresh interval in milliseconds (optional, defaults to 60000)

cups:refresh=

############################ IHC / ELKO LS Binding #################################### #

Controller IP address

ihc:ip=

Username and password for Controller

ihc:username=

ihc:password=

Timeout for controller communication

ihc:timeout=5000

############################## Plugwise Binding ####################################### #

"stick" is reserved plug wise id

plugwise:stick.port=

interval in ms to wait between messages sent on the ZigBee network

plugwise:stick.interval=150

"circleplus" is reserved plug wise id

plugwise:circleplus.mac=

plugwise:.mac=

############################### Modbus Binding ######################################## #

sets refresh interval to Modbus polling service.

Value in milliseconds (optional, defaults to 200)

modbus:poll=

host (mandatory)

modbus:slave1.host=

The data type, can be "coil" "discrete" "holding" "input"

modbus:slave1.type=

the TCP port (optional, defaults to '502')

modbus:slave1.port=

The slave id (optional, defaults to '1')

modbus:slave1.id=

The slave start address (optional, defaults to '0')

modbus:slave1.start=

The number of data item to read

(optional, defaults to '0' - but set it to something meaningful)

modbus:slave1.length=

Value type, required for combined registers (details: http://www.simplymodbus.ca/FAQ.htm#Types)

Can be "bit", "int8", "uint8", "int16", "uint16", "int32", "uint32", "float32"

(optional, defaults to 'uint16')

modbus:slave1.valuetype=

############################### PLC Bus Binding ####################################### #

PLCBus adapter serial port

plcbus:port=

################################# DMX Binding ######################################### #

The combined connection String, e.g. 'localhost:9010' (optional, defaults to

'localhost:9010' or 'localhost:9020' depending on the choosen connection type)

dmx:connection=

############################### Philips Hue Binding ################################### #

IP address of Hue Bridge (optional, default is auto-discovery)

hue:ip=

Default secret key for the pairing of the Philips Hue Bridge.

It has to be between 10-40 (alphanumeric) characters

This may be changed by the user for security reasons.

hue:secret=openHABRuntime

Polling interval in msec to retrieve Philips bulb status.

Other apps can change Hue status or a physical switch can turn on / off lamp status.

If this happens the status of hue lamps within OpenHAB won't reflect the real status.

Currently (September 2014) there is no push technology available, so the only option is

to poll Philips bulbs to retrieve status and update items accordingly to reflect changes.

Polling is enabled if refresh is specified, by commenting out "hue:refresh=10000" statement.

Be aware that polling will consume resources, so a small refresh interval will increase cpu load.

hue:refresh=10000

################################ RFXCOM Binding ####################################### #

Serial port of RFXCOM interface

Valid values are e.g. COM1 for Windows and /dev/ttyS0 or /dev/ttyUSB0 for Linux

rfxcom:serialPort=

Set mode command for controller (optional)

E.g. rfxcom:setMode=0D000000035300000C2F00000000

rfxcom:setMode=

############################## Pulseaudio Binding ##################################### #

PulseaudioServer IP address

pulseaudio:Main.host=

PulseaudioServer Port (optional, defaults to 4712)

pulseaudio:Main.port=

############################### Homematic Binding ##################################### #

Hostname / IP address of the Homematic CCU

homematic:host=

Hostname / IP address for the callback server (optional, default is auto-discovery)

This is normally the IP / hostname of the local host (but not "localhost" or "127.0.0.1").

homematic:callback.host=

Port number for the callback server. (optional, default is 9123)

homematic:callback.port=

The interval in seconds to check if the communication with the CCU is still alive.

If no message receives from the CCU, the binding restarts. (optional, default is 300)

homematic:alive.interval=

################################ Koubachi Binding ##################################### #

refresh interval in milliseconds (optional, defaults to 900000ms, 15m)

koubachi:refresh

The URL of the Device list (optional, defaults to

'https://api.koubachi.com/v2/user/smart_devices?user_credentials=%1$s&app_key=%2$s')

koubachi:deviceurl

The URL of the Plant list (optional, defaults to

'https://api.koubachi.com/v2/plants?user_credentials=%1$s&app_key=%2$s')

koubachi:planturl

The URL for care actions (optional, defaults to

'https://api.koubachi.com/v2/plants/%3$s/tasks?user_credentials=%1$s&app_key=%2$s')

koubachi:tasksurl

The single access token configured at http://labs.kpubachi.com

koubachi:credentials

The personal appKey configured at http://labs.koubachi.com

koubachi:appkey

################################ Sonos Binding ######################################## #

Add a line for each Sonos device you want to pre-define

The format is .udn=

#

sonos:office.udn=RINCON_000XXXXXXXXX01400

sonos:living.udn=RINCON_000YYYYYYYYY01400

#

Interval, in milliseconds, to poll the Sonos devices for status variables

sonos:pollingPeriod=1000

################################ SAMSUNG TV Binding ################################### #

Host of the first TV to control

samsungtv:.host=

Port of the TV to control (optional, defaults to 55000)

samsungtv:.port=

Host of the second TV to control

samsungtv:.host=

Port of the TV to control (optional, defaults to 55000)

samsungtv:.port=

################################# Onkyo Binding ###################################### #

Host of the first Onkyo device to control

onkyo:.host=

Port of the Onkyo to control (optional, defaults to 60128)

onkyo:.port=

Host of the second Onkyo device to control

onkyo:.host=

Port of the Onkyo to control (optional, defaults to 60128)

onkyo:.port=

################################ OpenSprinkler Binding ################################ #

The type of OpenSprinkler connection to make (optional, defaults to 'gpio').

There are two valid options:

#

gpio: this mode is only applicable when running openHAB on a Raspberry Pi, which

is connected directly to an OpenSprinkler Pi. In this mode the communication

is directly over the GPIO pins of the Raspberry Pi

http: this mode is applicable to both OpenSprinkler and OpenSprinkler Pi, as long as

they are running the interval program. Realistically though if you have an

OpenSprinkler Pi, it makes more sense to directly connect via gpio mode.

openSprinkler:mode=

If the http mode is used, you need to specify the url of the internal program,

and the password to access it. By default the password is 'opendoor'.

openSprinkler:httpUrl=http://localhost:8080/

openSprinkler:httpPassword=opendoor

The number of stations available. By default this is 8, but for each expansion board

installed this number will can be incremented by 8 (optional, defaults to 8).

openSprinkler:numberOfStations=

The number of milliseconds between checks of the Open Sprinkler device

(optional, defaults to 60 seconds).

openSprinkler:refreshInterval=60000

############################ Epson Projector Binding ################################## #

Serial port or Host and port of the first Epson projector to control

epsonprojector:.serialPort=

epsonprojector:.host=

Port of the Epson projector to control (optional, defaults to 60128)

epsonprojector:.port=

Serial port or Host and port of the second Epson projector to control

epsonprojector:.serialPort=

epsonprojector:.host=

Port of the Epson projector to control (optional, defaults to 60128)

epsonprojector:.port=

################################# Zehnder ComfoAir #################################### #

Serial port of the Zehnder ComfoAir to connect to

comfoair:port=/dev/ttyS0

refresh interval in milliseconds (optional, defaults to 60000)

comfoair:refresh=

############################### EDS OWSever Binding ################################### #

Host of the first OWServer device to control

owserver:.host=

Host of the second OWServer device to control

owserver:.host=

################################ digitalSTROM Binding ################################# #

URI of the digitalSTROM server (dSS)

digitalstrom:uri=https://dss.local:8080

Connect timeout (defaults to 4000 ms)

digitalstrom:connectTimeout=

Connect timeout (defaults to 10000 ms)

digitalstrom:readTimeout=

to login without a user and password; loginToken must be enabled once

digitalstrom:loginToken=

to login with username and password; default user is dssadmin and default password

is dssadmin if you have loginToken and username with password the loginToken will

be prefered by default

digitalstrom:user=

digitalstrom:password=

##################################### xPL Binding ##################################### #

The instance name of the xPL server on the xPL Network

xpl:instance=somemachinename

################################## Squeezebox Binding ################################# #

Host address of your Logitech Media Server

squeeze:.host=

Port of cli interface of your Logitech Media Server

(optional, defaults to 9090)

squeeze:.cliport=

Webport interface of the your Logitech Media Server

(optional, defaults to 9000)

squeeze:.webport=

Language used by squeezeboxSpeak as used by google ttl (en, de, fr,...)

You can hear result in your browser with this link :

http://translate.google.com/translate_tts?tl=en&q=hello

(defaults to en)

squeeze:language=

Id (MAC address) of your first Squeezebox

squeeze:.id=

Id (MAC address) of your nth Squeezebox

squeeze:.id=

################################### Milight Binding ################################### #

Host of the first Milight bridge to control

milight:.host=

Port of the bridge to control (optional, defaults to 50000)

milight:.port=

#

Host of the second Milight bridge to control

milight:.host=

Port of the bridge to control (optional, defaults to 50000)

milight:.port=

############################### Systeminfo Binding #################################### #

Interval in milliseconds when to find new refresh candidates

(optional, defaults to 1000)

systeminfo:granularity=

Data Storage Unit, where B=Bytes, K=kB, M=MB, T=TB (optional, defaults to M)

systeminfo:units=

################################### PiFace Binding #################################### #

Watchdog polling interval (optional, defaults to 60000)

piface:watchdog.interval=

Host of the first Raspberry PI carrying a PiFace board

piface:.host=

Port of the Piface listener of the first RasPi (optional, defaults to 15432)

piface:.listenerport=

Port of the Piface monitor of the first RasPi (optional, defaults to 15433)

piface:.monitorport=

Socket timeout when sending packets to the first RasPi (optional, defaults to 1000ms)

piface:.sockettimeout=

Number of retry attempts before failing a packet for the first RasPi (optional, defaults to 3)

piface:.maxretries=

############################# Fritz AHA Binding ####################################### #

refresh interval in milliseconds (optional, defaults to 10000)

fritzaha:refresh=

Binding supports multiple AHA hosts (e.g. FRITZ!Box, Fritz!Powerline 546E). Format is

fritzaha:.

Host name of the first AHA host (e.g. fritz.box)

fritzaha:.host=

Port of the first AHA host (optional, defaults to protocol-specific default port)

fritzaha:.port=

Protocol to connect to web interface. Supports https and http.

Use of https requires SSL certificate to be trusted by the JRE.

(optional, defaults to http)

fritzaha:.protocol=

Username of the first AHA host. User must have HomeAuto permissions.

(optional for local networks, required for remote access)

fritzaha:.username=

Password of the first AHA host's web interface.

(optional, but required if password is set in host)

fritzaha:.password=

timeout for synchronous http-connections (optional, default 2000)

fritzaha:.synctimeout=

timeout for asynchronous http-connections (optional, default 4000)

fritzaha:.asynctimeout=

############################## Tinkerforge Binding ################################### #

IP addresses / Hostnames of the hosts running the brickd (optional port

separated by a colon, defaults to 4223)

tinkerforge:hosts=

######################## NIBE HEAT PUMP Binding ####################################### #

UDP port of the Heatpump Monitor (optional, defaults to 9999)

nibeheatpump:udpPort=

Switch on the Nibe HeatPump Simulator (for testing purpose only)

nibeheatpump:simulate=true

################################ Z-Wave Binding ###################################### #

The Z-Wave controller port. Valid values are e.g. COM1 for Windows and /dev/ttyS0 or

/dev/ttyUSB0 for Linux

zwave:port=

Z-Wave nightly heal time. This is the hour (eg 2AM) at which the automatic nightly

network heal will be performed.

zwave:healtime=2

################################ Nikobus Binding ###################################### #

Serial Port connected to pc-link. Valid values are e.g. COM1 for Windows and /dev/ttyS0 or

/dev/ttyUSB0 for Linux

nikobus:serial.port=

Directory path where the command cache file should be created.

Optional. Defaults to the users' home directory.

nikobus:cache.location=

Perform a module status query every x seconds (optional, defaults to 600 (10 minutes)).

nikobus:refresh=

################################# EnOcean Binding ##################################### #

EnOcean USB adapter serial port

enocean:serialPort=

################################# TCP - UDP Binding ################################### #

all parameters can be applied to both the TCP and UDP binding unless

specified otherwise

Port to listen for incoming connections

tcp:port=25001

Cron-like string to reconnect remote ends, e.g for unstable connection or remote ends

tcp:reconnectcron=0 0 0 * * ?

Interval between reconnection attempts when recovering from a communication error,

in seconds

tcp:retryinterval=5

Queue data whilst recovering from a connection problem (TCP only)

tcp:queue=true

Maximum buffer size whilst reading incoming data

tcp:buffersize=1024

Share connections within the Item binding configurations

tcp:itemsharedconnections=true

Share connections between Item binding configurations

tcp:bindingsharedconnections=true

Share connections between inbound and outbound connections

tcp:directionssharedconnections=false

Allow masks in ip:port addressing, e.g. 192.168.0.1:* etc

tcp:addressmask=true

Pre-amble that will be put in front of data being sent

tcp:preamble=

Post-amble that will be appended to data being sent

tcp:postamble=\r\n

Perform all write/read (send/receive) operations in a blocking mode, e.g. the binding

will wait for a reply from the remote end after data has been sent

tcp:blocking=false

timeout, in milliseconds, to wait for a reply when initiating a blocking write/read

operation

tcp:timeout=3000

Update the status of Items using the response received from the remote end (if the

remote end sends replies to commands)

tcp:updatewithresponse=true

Timeout - or 'refresh interval', in milliseconds, of the worker thread

tcp:refreshinterval=250

Timeout, in milliseconds, to wait when "Selecting" IO channels ready for communication

tcp:selecttimeout=1000

Used character set

tcp:charset=ASCII

################################# Mqttitude Binding ################################### #

Mqttitude can track your presence in two ways;

#

1. Regions - by defining a region in your Mqttitude app (on your phone) you specify

a set of lat/lon coordinates, a geofence, and a name - by using this name

in your item binding openHAB will listen for enter/leave events for this

region and thus allow you to track your presence in multiple locations

2. Home - by defining the lat/lon of your home, along with a geofence radius (below),

the binding will listen for location publishes from the Mqttitude app and

manually calculate the distance from your 'home'

#

Optional. The latitude/longitude coordinates of 'home'.

mqttitude:home.lat=

mqttitude:home.lon=

Optional. The geofence radius.

mqttitude:geofence=

############################### OpenPaths Binding ##################################### #

The latitude/longitude coordinates of 'home'.

openpaths:home.lat=

openpaths:home.long=

openpaths:home.geofence=

You may define any number of additional locations. If no geofence is given

for a location, the default geofence configuration below is used

The latitude/longitude coordinates of 'work'.

openpaths:work.lat=

openpaths:work.long=

openpaths:work.geofence=

The latitude/longitude coordinates of 'anyplace'.

openpaths:anyplace.lat=

openpaths:anyplace.long=

openpaths:anyplace.geofence=

Interval in milliseconds to poll for user location (optional, defaults to 5mins).

openpaths:refresh=

Distance in metres a user must be from 'home' to be considered inside the

geofence (optional, defaults to 100m).

openpaths:geofence=

OpenPaths access/secret keys for each user.

openpaths:.accesskey=

openpaths:.secretkey=

######################## Swegon ventilation Binding ################################### #

UDP port (optional, defaults to 9998)

swegonventilation:udpPort=

Switch on the Swegon Simulator (for testing purpose only)

swegonventilation:simulate=true

############################### Pioneer AVR Binding ################################### #

Hostname/IP of the first Pioneer device to control

pioneeravr:livingroom.host=

Portnumber of the Pioneer device to control (optional, defaults to 23)

pioneeravr:livingroom.port=

Switch for disabling the connection check (optional, defaults to 1)

pioneeravr:livingroom.checkconn=

################################ Heatmiser Binding #################################### #

Refresh interval in milliseconds (optional, defaults to 2000ms)

heatmiser:refresh

Set the heatmiser network address

heatmiser:address=

Set the port number for the Heatmiser interface

heatmiser:port=

################################ NeoHub Binding ####################################### #

Refresh interval in milliseconds (optional, defaults to 60000ms)

neohub:refresh=60000

Set the NeoHub network address

neohub:hostname=

Set the port number for the NeoHub interface (optional, defaults to 4242)

neohub:port=4242

########################### Open Energy Monitor Binding ############################### #

UDP port of the Open Energy Monitor devices (optional, defaults to 9997)

openenergymonitor:udpPort=9997

For testing purposes

openenergymonitor:simulate=true

################################ Netatmo Binding ###################################### #

Refresh interval in milliseconds (optional, defaults to 300000)

netatmo:refresh=

The Netatmo client id (see http://dev.netatmo.com/dev/listapps)

netatmo:clientid=

The Netatmo client secret (see http://dev.netatmo.com/dev/listapps)

netatmo:clientsecret=

The Netatmo refresh token (see http://dev.netatmo.com/doc/authentication/usercred)

netatmo:refreshtoken=

########################### HDanywhere Binding ######################################## #

Optional, specify the number of input and output ports for a given HDanywhere matrix

hdanywhere:192.168.0.88.ports=4

################################# Omnilink ############################################ #

Enter the port (4369) host ip or name and the two crypto keys for your omni panel.

The two keys may be found in the installer menu on a HAI keypad or touchscreen. Each

key is 16 hex characters in pairs separated by colons (aa:bb:cc)

#

Ff generateItems is set to true then the binding will print all known items and a

sample sitemap to the log file (INFO). Useful when setting up for the first time.

#

omnilink:port=4369

omnilink:host=panel.yourdomain.com

omnilink:key1=00:AA:BB:CC:DD:EE:FF:11

omnilink:key2=00:AA:BB:CC:DD:EE:FF:11

omnilink:generateItems=true

####################### Freeswitch Action configuration ############################### #

Host or ip of your freeswitch server

freeswitch:host=

Port that your freeswitch server is listening for ESL connections on

(optional, defaults to 8021)

freeswitch:port=

Password set for ESL connections

freeswitch:password=

################################ MAX!Cube Binding ##################################### #

MAX!Cube LAN gateway IP address (Optional, can be auto-discovered)

maxcube:ip=192.168.0.222

MAX!Cube port (Optional, default to 62910)

maxcube:port=62910

MAX!Cube refresh interval in ms (Optional, default to 10000)

maxcube:refreshInterval=10000

Max!Cube exclusive mode. (Optional, default to false)

When true, the binding keeps the connection to the Cube open

and polls more efficiently. No other application can use the Cube while the binding is running

in exclusive mode, including Android and Desktop Max! Software.

With this mode, the refreshInterval can easily set to 500 or 1000ms if you

want the window contacts or eco button more responsive.

maxcube:exclusive=false

Max!Cube maximum requests per connection. (Optional, default to 1000)

In exclusive mode, the binding will open the connection to the Cube and polls with

refreshInterval maxRequestsPerConnection times. When maxRequestsPerConnection is reached

it will disconnect and reconnect. This may work around issues with long going connections

like slow reaction on events.

When set to 0, the binding will keep the connection open as long as possible.

maxcube:maxRequestsPerConnection=1000

################################# IRtrans Binding ############################################# #

Timeout - or 'refresh interval', in milliseconds, of the worker thread

(mandatory parameter to enable the IRtrans binding)

irtrans:refreshinterval=250

Timeout, in milliseconds, to wait for a reply when sending a command (default is 1000)

irtrans:timeout=3000

The IRtrans binding also takes all the configuration parameters of the TCP/UDP binding

except that some of these items, for internal purposes, will be overruled by the binding itself

############################### Daikin Binding ######################################## #

Require a KKRP01A Online Controller and a Daikin heat pump.

Refresh interval in milliseconds (optional, defaults to 60000)

daikin:refresh=

Daikin Online Controller - host address and optional username/password

NOTE: currently the username/password are ignored - you must configure

the KKRP01A with no security - i.e. empty password for all logins

daikin:.host=

daikin:.username=

daikin:.password=

################################# Astro Binding ####################################### #

The latitude

astro:latitude=

The longitude

astro:longitude=

Refresh interval for azimuth and elevation calculation in seconds

(optional, defaults to disabled)

astro:interval=

############################### Insteon PLM Binding ################################### #

The insteon PLM controller port. Valid values are e.g. COM1 for Windows and

/dev/ttyS0 or /dev/ttyUSB0 for Linux. Using multiple modems is possible, but has never

been tested.

Use multiple modems at your own peril.

#

insteonplm:port_0=/dev/insteon

Poll interval (optional, in milliseconds, defaults to 300000).

Poll too often and you will overload the insteon network,

leading to sluggish or no response when trying to send messages to devices.

The default poll interval of 300s has been tested and found to be a good

compromise in a configuration of about 110 switches/dimmers.

#

insteonplm:poll_interval=300000

Refresh value (optional, in milliseconds, defaults to 600000)

The refresh interval is not critical, since only device statistics are logged

upon refresh (the polling operates under different timers).

#

insteonplm:refresh=600000

optional file with additional device types. The syntax of

the file is identical to the device_types.xml file in the

source tree. Please remember to post successfully added

device types to the openhab group so the developers

can include them into the device_types.xml file!

insteonplm:more_devices=/path_to_file/more_devices.xml

optional file with additional feature templates, like

in the device_features.xml file in the source tree.

insteonplm:more_features=/path_to_file/more_features.xml

################################ K8055 Binding ######################################## #

refresh interval in milliseconds (optional, defaults to 1000ms)

k8055:refresh=1000

Board Number. Defaults to 0

k8055:boardno=0

############################## Withings Binding ####################################### #

Data refresh interval in ms (optional, defaults to 60000)

withings:refresh=

############################# IEC 620562-21 Meter Binding ############################ #

the serial port to use for connecting to the metering device e.g. COM1 for Windows

and /dev/ttyS0 or /dev/ttyUSB0 for Linux

iec6205621meter:.serialPort=/dev/ttyS0

Delay of baud rate change in ms. Default is 0. USB to serial converters often

require a delay of up to 250ms default is 0ms

iec6205621meter:.baudRateChangeDelay=

Enable handling of echos caused by some optical tranceivers

default is true

iec6205621meter:.echoHandling=true

Perform a module status query every x miliseconds (optional, defaults to 60000)

iec6205621meter:refresh=

################################### GPIO Binding ######################################

Optional directory path where "sysfs" pseudo file system is mounted, when isn't

specified it will be determined automatically if "procfs" is mounted

gpio:sysfs=/sys

Optional time interval in miliseconds when pin interrupts are ignored to

prevent bounce effect, mainly on buttons. Global option for all pins, can be

overwritten per pin in item configuration. Default value if omitted: 0

gpio:debounce=10

############################## Waterkotte EcoTouch Binding ############################ #

Data refresh interval in ms (optional, defaults to 60000)

ecotouch:refresh=

The IP address of the Waterkotte EcoTouch display unit (required)

ecotouch:ip=

These are the login credentials (required).

There is no way to change them at the EcoTouch display unit (as far as I know).

ecotouch:username=admin

ecotouch:password=wtkadmin

############################# Yamaha Receiver Binding ################################# #

The IP address of the Yamaha Receiver (required)

yamahareceiver:.host=

The refresh interval in ms (optional, defaults to 60000)

yamahareceiver:refresh=60000

############################## alarmdecoder binding ################################### #

how to connect to the alarmdecoder: either via serial port or tcp connection

alarmdecoder:connect=tcp:ad2pihostname.mydomain.com:port

alarmdecoder:connect=serial:/dev/ttyUSB0

time (in milliseconds) between attempts to reconnect to the alarmdecoder

in case the connection goes down

alarmdecoder:reconnect=10000

set this to true if you want to send commands to the alarm panel as well

alarmdecoder:send_commands_and_compromise_security=false

################################# Davis Binding ####################################### #

The Davis weather station port. Valid values are e.g. COM1 for Windows and

/dev/ttyS0 or /dev/ttyUSB0 for Linux.

#

davis:port=COM7

refresh value (optional, in milliseconds, defaults to 10000)

davis:refresh=10000

############################# BenqProjector Binding ##################################

Define the Serial to Ethernet device location

benqprojector:deviceId=:

Define polling interval in milliseconds

benqprojector:refresh=15000

following is default, non-network mode is not implemented

benqprojector:networkMode=true

############################### Libelium eHealth ###################################### #

Configures the serial port where the eHealth kit is attached to

(e.g. '/dev/tty.usbmodem1411')

ehealth:serialPort=

########################## Anel NET-PwrCtrl Binding ################################### #

must a an identifier that is also used for the item bindings.

Example configuration: anel:anel1.host=net-control

Example item binding: Switch f1 { anel="anel1:F1" }

IP or network address (optional but recommended, defaults to 'net-control')

anel:.host=anel1

UDP receive port (optional, defaults to 77)

anel:.udpReceivePort=7777

UDP send port (optional, defaults to 75)

anel:.udpSendPort=7775

User name (optional, defaults to 'user7')

anel:.user=user1

Password (optional, defaults to 'anel')

anel:.password=anel

Global refresh interval in ms (optional, defaults to 60000 = 1min, disable with '0')

anel:refresh=60

Cache the state for n minutes so only changes are posted (optional, defaults to 0 = disabled)

Example: if period is 60, once per hour all states are posted to the event bus;

changes are always and immediately posted to the event bus.

The recommended value is 60 minutes.

anel:cachePeriod=60

################################## LgTV Binding ###################################### #

The ip address of the lgtv

lgtv:.host=

The TCP port address to use

lgtv:.port=

The the pairkey / if it's wrong the device shows the right pairkey

at every connection attempt

lgtv:.pairkey=

The TCP port address of the openhab system to receive lgtv status messages

(only first occurance is used for all tvs)

lgtv:.serverport=

The location to put xml files with the information of availiable

channels and apps (optional)

lgtv:.xmldatafiles=./

The check alive interval (optional, defaults to 60secs)

lgtv:.checkalive=

############################### Enigma2 Binding ####################################### #

Refresh interval for state updates in milliseconds (configured once, valid

for each device), e.g.

enigma2:refresh=10000

#

The following configs must be configured separate for each device, where

ist a placeholder for the device identifier

#

IP or network address of the Enigma2 device, e.g.

enigma2::hostname=192.168.178.25

enigma2::hostname=vusolo2

#

User name for the web interface of the Enigma2 device, e.g.

enigma2::username=

#

Password for the web interface of the Enigma2 device, e.g.

enigma2::password=

#

############################### pilight Binding ####################################### #

pilight:.=

#

IP address of the pilight daemon

pilight:kaku.host=192.168.1.22

Port of the pilight daemon

pilight:kaku.port=5000

Optional delay (in millisecond) between consecutive commands.

Recommended value without band pass filter: 1000

Recommended value with band pass filter: somewhere between 200-500

pilight:kaku.delay=1000

################################### Weather Binding ################################### #

The apikey for the different weather providers, at least one must be specified

Note: Hamweather requires two apikeys: client_id=apikey, client_secret=apikey2

weather:apikey.ForecastIo=

weather:apikey.OpenWeatherMap=

weather:apikey.WorldWeatherOnline=

weather:apikey.Wunderground=

weather:apikey.Hamweather=

weather:apikey2.Hamweather=

location configuration, you can specify multiple locations

weather:location..latitude=

weather:location..longitude=

weather:location..provider=

weather:location..language=

weather:location..updateInterval=

weather:location..latitude=

weather:location..longitude=

weather:location..provider=

weather:location..language=

weather:location..updateInterval=

udo1toni commented 9 years ago

tex4ever, can this issue be closed? (I think this is the same in german support forum?) http://knx-user-forum.de/459901-post10.html

tex4ever commented 9 years ago

yes can be closed thx a lot!

Am 03.02.2015 um 17:52 schrieb Udo Hartmann notifications@github.com:

tex4ever, can this issue be closed? (I think this is the same in german support forum?) http://knx-user-forum.de/459901-post10.html

— Reply to this email directly or view it on GitHub.