commit af9f0c794075b043e2afb8ee6a1cf2087bf6815f Author: root Date: Sun Apr 7 15:14:49 2019 +0200 Initial setup diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0622f02 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "openhab.useRestApi": true +} \ No newline at end of file diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..58ba0e9 --- /dev/null +++ b/html/index.html @@ -0,0 +1,5 @@ + +

openHAB user provided static content

+

Serve your own static html pages or resources from here. Files stored in the openHAB configuration subfolder html will be available through the HTTP server of openHAB, e.g. http://device-address:8080/static/image.png.

+

Resources for sitemap elements (image, video,...) can also be provided though this folder.

+ diff --git a/html/readme.txt b/html/readme.txt new file mode 100644 index 0000000..5eeeb99 --- /dev/null +++ b/html/readme.txt @@ -0,0 +1,3 @@ +Serve your own static html pages or resources from here. +Files stored in this folder will be available through the HTTP server of openHAB, e.g. "http://device-address:8080/static/image.png". +Resources for sitemap elements (image, video,...) can also be provided though this folder. diff --git a/icons/classic/readme.txt b/icons/classic/readme.txt new file mode 100644 index 0000000..7fc793f --- /dev/null +++ b/icons/classic/readme.txt @@ -0,0 +1,6 @@ +Your additional icons go here. +Icons can be provided as png (32x32) or preferably as svg files. +ClassicUI and BasicUI can be configured to accept svg (default) or png icons. + +Check out the openHAB documentation for more details: +https://www.openhab.org/docs/configuration/items.html#icons diff --git a/items/readme.txt b/items/readme.txt new file mode 100644 index 0000000..b214510 --- /dev/null +++ b/items/readme.txt @@ -0,0 +1,5 @@ +Your item definitions go here. +All items files have to have the ".items" file extension and must follow a special syntax. + +Check out the openHAB documentation for more details: +https://www.openhab.org/docs/configuration/items.html diff --git a/persistence/readme.txt b/persistence/readme.txt new file mode 100644 index 0000000..b1df35b --- /dev/null +++ b/persistence/readme.txt @@ -0,0 +1,5 @@ +Your persistence configuration goes here. +All persistence files have to have the ".persist" file extension and must follow a special syntax. + +Check out the openHAB documentation for more details: +https://www.openhab.org/docs/configuration/persistence.html diff --git a/rules/readme.txt b/rules/readme.txt new file mode 100644 index 0000000..f7952e1 --- /dev/null +++ b/rules/readme.txt @@ -0,0 +1,5 @@ +Your rules go here. +All rule files have to have the ".rules" file extension and must follow a special syntax. + +Check out the openHAB documentation for more details: +https://www.openhab.org/docs/configuration/rules-dsl.html diff --git a/scripts/readme.txt b/scripts/readme.txt new file mode 100644 index 0000000..0faff68 --- /dev/null +++ b/scripts/readme.txt @@ -0,0 +1,5 @@ +Your scripts go here. +All script files have to have the ".script" file extension and must follow a special syntax. + +Check out the openHAB documentation for more details: +https://www.openhab.org/docs/configuration/rules-dsl.html#scripts diff --git a/services/addons.cfg b/services/addons.cfg new file mode 100644 index 0000000..5861a2a --- /dev/null +++ b/services/addons.cfg @@ -0,0 +1,51 @@ +# The installation package of this openHAB instance +# Note: This is only regarded at the VERY FIRST START of openHAB +# Note: If you want to specify your add-ons yourself through entries below, set the package to "minimal" +# as otherwise your definition might be in conflict with what the installation package defines. +# +# Optional. If not set, the dashboard (https://:8080/) will ask you to choose a package. +# +# Valid options: +# - minimal : Installation only with dashboard, but no UIs or other add-ons. Use this for custom setups. +# - simple : Setup for using openHAB purely through UIs - you need to expect MANY constraints in functionality! +# - standard : Default setup for normal users, best for textual setup +# - expert : Setup for expert users, especially for people migrating from openHAB 1.x +# - demo : A demo setup which includes UIs, a few bindings, config files etc. +# +# See https://www.openhab.org/docs/configuration/packages.html for a detailed explanation of these packages. +# +#package = minimal + +# Access Remote Add-on Repository +# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-ons. +# This not only makes latest snapshots of add-ons available, it is also required for the installation of +# any legacy 1.x add-on. (default is true) +# +#remote = true + +# Include legacy 1.x bindings. If set to true, it also allows the installation of 1.x bindings for which there is +# already a 2.x version available (requires remote repo access, see above). (default is false) +# +#legacy = true + +# A comma-separated list of bindings to install (e.g. "binding = sonos,knx,zwave") +binding = chromecast,mqtt,http1,exec,systeminfo + +# A comma-separated list of UIs to install (e.g. "ui = basic,paper") +ui = basic,habmin,habpanel,paper + +# A comma-separated list of persistence services to install (e.g. "persistence = rrd4j,jpa") +#persistence = influxdb + +# A comma-separated list of actions to install (e.g. "action = mail,pushover") +action = mail + +# A comma-separated list of transformation services to install (e.g. "transformation = map,jsonpath") +transformation = jsonpath,map,regex,scale,xpath + +# A comma-separated list of voice services to install (e.g. "voice = marytts,freetts") +#voice = + +# A comma-separated list of miscellaneous services to install (e.g. "misc = myopenhab") +misc = #restdocs + diff --git a/services/readme.txt b/services/readme.txt new file mode 100644 index 0000000..62ba811 --- /dev/null +++ b/services/readme.txt @@ -0,0 +1,6 @@ +Your service configurations will reside here. +All configuration files have to have the ".cfg" file extension. +Service configuration files are automatically created as soon as you install an add-on that can be configured. + +Check out the openHAB documentation for more details: +https://www.openhab.org/docs/configuration/services.html diff --git a/services/runtime.cfg b/services/runtime.cfg new file mode 100644 index 0000000..079ff7b --- /dev/null +++ b/services/runtime.cfg @@ -0,0 +1,73 @@ +##################### LOCALE #################### + +# The default language that should be used. If not specified, the system default locale is used. +# The ISO 639 alpha-2 or alpha-3 language code (if there is no alpha-2 one). +# Example: "en" (English), "de" (German), "ja" (Japanese), "kok" (Konkani) +# +#org.eclipse.smarthome.core.localeprovider:language= + +# The region that should be used. +# ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code. +# Example: "US" (United States), "DE" (Germany), "FR" (France), "029" (Caribbean) +# +#org.eclipse.smarthome.core.localeprovider:region= + +################ PERSISTENCE #################### + +# The persistence service to use if no other is specified. +# +#org.eclipse.smarthome.persistence:default= + +################### AUDIO ####################### + +# This parameter defines the default audio source to use (if not set, the first available one will be used. +# +#org.eclipse.smarthome.audio:defaultSource= + +# This parameter defines the default audio sink to use (if not set, the first available one will be used. +# +#org.eclipse.smarthome.audio:defaultSink= + +##################### VOICE #################### + +# This parameter defines the default text-to-speech service to use (if not set, the first available one will be used. +# +#org.eclipse.smarthome.voice:defaultTTS= + +# This parameter defines the default speech-to-text service to use (if not set, the first available one will be used. +# +#org.eclipse.smarthome.voice:defaultSTT= + +# The default voice to use if no specific TTS service or voice is specified. +# +#org.eclipse.smarthome.voice:defaultVoice= + +# The default human language interpreter to use if no other is specified. +# +#org.eclipse.smarthome.voice:defaultHLI= + +################ MISCELLANOUS #################### + +# The karaf sshHost parameter configures the bind address for the ssh login to karaf. +# Default is 127.0.0.1 (localhost), so it is only possible to login from the local machine. +# +# Setting this to the address of another network interfaces will allow login from this network. +# Setting this to 0.0.0.0 will allow login from all network interfaces. +# +# !!! Security warning !!! +# Remember to change default login/password, if you allow external login. +# See https://www.openhab.org/docs/administration/console.html for details. +# +#org.apache.karaf.shell:sshHost = 0.0.0.0 + +# Setting this to true will automatically approve all inbox entries and create Things for them, +# so that they are immediately available in the system (default is false) +# +#org.eclipse.smarthome.inbox:autoApprove=true + +# This setting allows to switch between a "simple" and an "advanced" mode for item management. +# In simple mode (autoLinks=true), links and their according items are automatically created for new Things. +# In advanced mode (autoLinks=false), the user has the full control about which items channels are linked to. +# Existing links will remain untouched. (default is true) +# +org.eclipse.smarthome.links:autoLinks=false diff --git a/sitemaps/readme.txt b/sitemaps/readme.txt new file mode 100644 index 0000000..85c7a47 --- /dev/null +++ b/sitemaps/readme.txt @@ -0,0 +1,5 @@ +Your sitemap definitions go here. +All sitemap files have to have the ".sitemap" file extension and must follow a special syntax. + +Check out the openHAB documentation for more details: +https://www.openhab.org/docs/configuration/sitemaps.html diff --git a/sounds/barking.mp3 b/sounds/barking.mp3 new file mode 100644 index 0000000..5a3c41d Binary files /dev/null and b/sounds/barking.mp3 differ diff --git a/sounds/doorbell.mp3 b/sounds/doorbell.mp3 new file mode 100644 index 0000000..7a8a5a3 Binary files /dev/null and b/sounds/doorbell.mp3 differ diff --git a/things/readme.txt b/things/readme.txt new file mode 100644 index 0000000..27b6689 --- /dev/null +++ b/things/readme.txt @@ -0,0 +1,5 @@ +Your thing definitions go here. +All thing files have to have the ".things" file extension and must follow a special syntax. + +Check out the openHAB documentation for more details: +https://www.openhab.org/docs/configuration/things.html diff --git a/transform/de.map b/transform/de.map new file mode 100644 index 0000000..8cc1579 --- /dev/null +++ b/transform/de.map @@ -0,0 +1,3 @@ +CLOSED=zu +OPEN=offen +NULL=undefiniert diff --git a/transform/en.map b/transform/en.map new file mode 100644 index 0000000..bd08f17 --- /dev/null +++ b/transform/en.map @@ -0,0 +1,4 @@ +CLOSED=closed +OPEN=open +NULL=unknown + \ No newline at end of file diff --git a/transform/readme.txt b/transform/readme.txt new file mode 100644 index 0000000..6933c16 --- /dev/null +++ b/transform/readme.txt @@ -0,0 +1,5 @@ +Transformations like map or jsonpath can utilize configuration files with data definitions. +These files have their specific file extensions and syntax definition. + +Check out the openHAB documentation for more details: +https://www.openhab.org/docs/configuration/transformations.html