First commit

This commit is contained in:
root 2021-01-19 12:38:39 +01:00
commit ad3335aef6
33 changed files with 715 additions and 0 deletions

5
html/index.html Normal file
View File

@ -0,0 +1,5 @@
<html>
<h1>openHAB user provided static content</h1>
<p>Serve your own static html pages or resources from here. Files stored in the openHAB configuration subfolder <tt>html</tt> will be available through the HTTP server of openHAB, e.g. <a href="http://device-address:8080/static/image.png">http://device-address:8080/static/image.png</a>.</p>
<p>Resources for sitemap elements (image, video,...) can also be provided though this folder.</p>
</html>

3
html/readme.txt Normal file
View File

@ -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.

6
icons/classic/readme.txt Normal file
View File

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

7
items/Items.items Normal file
View File

@ -0,0 +1,7 @@
Number timerPoolPump "Timer [JS(sectohms.js):%s]" <time> { http="<[http://192.168.99.74/status:3000:JSONPATH($.relays..timer_remaining)]" }
Number PeriodDsl
Number fboxDslUpstreamCurrRate "Upstream [%s mbit/s]" {fritzboxtr064="dslUpstreamCurrRate"}
Number fboxDslDownstreamCurrRate "Downstream [%s mbit/s]" {fritzboxtr064="dslDownstreamCurrRate"}
Number Emily_Temp_SW

5
items/readme.txt Normal file
View File

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

5
persistence/readme.txt Normal file
View File

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

37
persistence/rrd4j.persist Normal file
View File

@ -0,0 +1,37 @@
Strategies
{
everyMinute : "0 * * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
default = everyChange
}
Items
{
fboxDslUpstreamCurrRate : strategy = everyUpdate, everyMinute, restoreOnStartup
fboxDslDownstreamCurrRate : strategy = everyUpdate, everyMinute, restoreOnStartup
Garten_Temperature : strategy = everyMinute, restoreOnStartup
Garten_Luftfeuchtigkeit : strategy = everyMinute, restoreOnStartup
PoolPumpe_Meter_current : strategy = everyMinute, restoreOnStartup
PoolTemperatur_Temperature : strategy = everyMinute, restoreOnStartup
Wohnzimmer_Temperatur : strategy = everyMinute, restoreOnStartup
Wohnzimmer_Luftfeuchtigkeit : strategy = everyMinute, restoreOnStartup
Emily_Temperatur : strategy = everyMinute, restoreOnStartup
Emily_Luftfeuchtigkeit : strategy = everyMinute, restoreOnStartup
Weg_Energy : strategy = everyMinute, restoreOnStartup
Dachkasten_Energy : strategy = everyMinute, restoreOnStartup
Leonie_Temperatur : strategy = everyMinute, restoreOnStartup
Leonie_SollTemperatur : strategy = everyMinute, restoreOnStartup
Leonie_Luftfeuchtigkeit : strategy = everyMinute, restoreOnStartup
Schlafzimmer_Temperatur : strategy = everyMinute, restoreOnStartup
Schlafzimmer_SollTemperatur : strategy = everyMinute, restoreOnStartup
Schlafzimmer_Luftfeuchtigkeit : strategy = everyMinute, restoreOnStartup
}

5
rules/readme.txt Normal file
View File

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

5
scripts/readme.txt Normal file
View File

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

50
services/addons.cfg Normal file
View File

@ -0,0 +1,50 @@
# 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://<yourserver>: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 =
# A comma-separated list of UIs to install (e.g. "ui = basic,paper")
#ui =
# A comma-separated list of persistence services to install (e.g. "persistence = rrd4j,jpa")
#persistence =
# A comma-separated list of actions to install (e.g. "action = mail,pushover")
#action =
# A comma-separated list of transformation services to install (e.g. "transformation = map,jsonpath")
#transformation =
# 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 =

View File

@ -0,0 +1,39 @@
# 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.
#
# Valid options:
# - standard : Standard setup for normal use of openHAB
# - minimal : Installation of core components, but no UIs or other add-ons. Use this for special headless setups.
# - demo : A pre-configured demo setup which can be used for demonstration.
#
# See https://www.openhab.org/docs/configuration/packages.html for a detailed explanation of these packages.
#
package = standard
# Access Remote Add-on Repository
# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-ons. (default is true)
#
#remote = true
# A comma-separated list of automation services to install (e.g. "automation = groovyscripting")
#automation =
# A comma-separated list of bindings to install (e.g. "binding = knx,sonos,zwave")
#binding =
# A comma-separated list of miscellaneous services to install (e.g. "misc = openhabcloud")
#misc =
# A comma-separated list of persistence services to install (e.g. "persistence = jpa,rrd4j")
#persistence =
# A comma-separated list of transformation services to install (e.g. "transformation = jsonpath,map")
#transformation =
# A comma-separated list of UIs to install (e.g. "ui = basic,habpanel")
#ui =
# A comma-separated list of voice services to install (e.g. "voice = googletts,marytts")
#voice =

21
services/cometvisu.cfg Normal file
View File

@ -0,0 +1,21 @@
webFolder=../../../CometVisu/src/
webAlias=/cometvisu
icons>enableMapping=true
icons.mapping>firstfloor=control_building_int_og
icons.mapping>groundfloor=control_building_int_eg
icons.mapping>cellar=control_building_int_kg
icons.mapping>garden=scene_garden
icons.mapping>sun=weather_sun
icons.mapping>video=scene_livingroom
icons.mapping>kitchen=scene_dinner
icons.mapping>bath=scene_bath
icons.mapping>corridor=scene_hall
icons.mapping>office=scene_office
icons.mapping>boy1=scene_childs_room
icons.mapping>bedroom=scene_sleeping
icons.mapping>heating=sani_heating
icons.mapping>temperature=temp_temperature
icons.mapping>contact=fts_window_1w

5
services/fritzbox.cfg Normal file
View File

@ -0,0 +1,5 @@
# Please note: To be able to connect to the monitor port, the "CallMonitor" must be
# activated by dialing "#96*5*" once on a telephone that is connected to the Fritz!Box.
# IP address of Fritz!Box to connect to
#ip=

18
services/http.cfg Normal file
View File

@ -0,0 +1,18 @@
# timeout in milliseconds for the http requests (optional, defaults to 5000)
#timeout=
# the interval in milliseconds when to find new refresh candidates
# (optional, defaults to 1000)
#granularity=
# whether to substitute the current time or state value into the URL
# (optional, defaults to true)
#format=
# configuration of the first cache item
#<id1>.url=
#<id1>.updateInterval=
# configuration of the second cache item
#<id2>.url=
#<id2>.updateInterval=

View File

@ -0,0 +1,20 @@
# Name of the broker as it is defined in the openhab.cfg. If this property is not available, no event bus MQTT binding will be created.
broker=raspberrypi
# When available, all status updates which occur on the openHAB event bus are published to the provided topic. The message content will
# be the status. The variable ${item} will be replaced during publishing with the item name for which the state was received.
statePublishTopic=rc-switch/${item}/status
# When available, all commands which occur on the openHAB event bus are published to the provided topic. The message content will be the
# command. The variable ${item} will be replaced during publishing with the item name for which the command was received.
commandPublishTopic=rc-switch/${item}/command
# When available, all status updates received on this topic will be posted to the openHAB event bus. The message content is assumed to be
# a string representation of the status. The topic should include the variable ${item} to indicate which part of the topic contains the
# item name which can be used for posting the received value to the event bus.
#stateSubscribeTopic=
# When available, all commands received on this topic will be posted to the openHAB event bus. The message content is assumed to be a
# string representation of the command. The topic should include the variable ${item} to indicate which part of the topic contains the
# item name which can be used for posting the received value to the event bus.
#commandSubscribeTopic=

View File

@ -0,0 +1,8 @@
# Name of the broker as defined in mqtt.cfg
#broker=
# The MQTT topic to which the persistence messages should be sent.
#topic=
# A string representing the persistence message content.
#message=

41
services/mqtt.cfg Normal file
View File

@ -0,0 +1,41 @@
#
# Define your MQTT broker connections here for use in the MQTT Binding or MQTT
# Persistence bundles. Replace <broker> with an ID you choose.
#
# URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883
#<broker>.url=tcp://<host>:1883
raspberrypi.url=tcp://raspberrypi:1883
# Optional. Client id (max 23 chars) to use when connecting to the broker.
# If not provided a random default is generated.
#<broker>.clientId=<clientId>
# Optional. True or false. If set to true, allows the use of clientId values
# up to 65535 characters long. Defaults to false.
# NOTE: clientId values longer than 23 characters may not be supported by all
# MQTT servers. Check the server documentation.
#<broker>.allowLongerClientIds=false
# Optional. User id to authenticate with the broker.
#<broker>.user=mqtt
# Optional. Password to authenticate with the broker.
#<broker>.pwd=Emily2010!
# 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.
#<broker>.qos=<qos>
# Optional. True or false. Defines if the broker should retain the messages sent to
# it. Defaults to false.
#<broker>.retain=<retain>
# Optional. True or false. Defines if messages are published asynchronously or
# synchronously. Defaults to true.
#<broker>.async=<async>
# Optional. Defines the last will and testament that is sent when this client goes offline
# Format: topic:message:qos:retained <br/>
#<broker>.lwt=<last will definition>

19
services/openhabcloud.cfg Normal file
View File

@ -0,0 +1,19 @@
############################## openHAB Cloud Connector #############################
# The URL of the openHAB Cloud service to connect to.
# Optional, default is set to the service offered by the openHAB Foundation
# (https://myopenhab.org/)
#baseURL=
# Defines the mode in which you want to operate the connector.
# Possible values are:
# - notification: Only push notifications are enabled, no remote access is allowed.
# - remote: Push notifications and remote access are enabled.
# Optional, default is 'remote'.
#mode=
# A comma-separated list of items to be exposed to external services like IFTTT.
# Events of those items are pushed to the openHAB Cloud and commands received for
# these items from the openHAB Cloud service are accepted and sent to the local bus.
# Optional, default is an empty list.
#expose=

6
services/readme.txt Normal file
View File

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

10
services/rrd4j.cfg Normal file
View File

@ -0,0 +1,10 @@
# please note that currently the first archive in each RRD defines the consolidation
# function (e.g. AVERAGE) used by OpenHAB, thus only one consolidation function is
# fully supported
#
# default_numeric and default_other are internally defined defnames and are used as
# defaults when no other defname applies
#<defname>.def=[ABSOLUTE|COUNTER|DERIVE|GAUGE],<heartbeat>,[<min>|U],[<max>|U],<step>
#<defname>.archives=[AVERAGE|MIN|MAX|LAST|FIRST|TOTAL],<xff>,<steps>,<rows>
#<defname>.items=<list of items for this defname>

86
services/runtime.cfg Normal file
View File

@ -0,0 +1,86 @@
##################### 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.i18n: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.i18n: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=
################### EPHEMERIS ###################
# This parameter defines the default list of usual non workable days for the Ephemeris service.
# The value has to be surrounded by square brackets ('[' and ']') and optionally contain value delimiters - a comma ',' to be interpreted as a list of values.
# Example: [SATURDAY,SUNDAY]
#
org.openhab.ephemeris:dayset-weekend=[SATURDAY,SUNDAY]
# This parameter defines the default list of usual workable days for the Ephemeris service.
# The value has to be surrounded by square brackets ('[' and ']') and optionally contain value delimiters - a comma ',' to be interpreted as a list of values.
#
org.openhab.ephemeris:dayset-school=[MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY]
################ 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

View File

@ -0,0 +1,79 @@
##################### 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.openhab.i18n: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.openhab.i18n:region=
################ PERSISTENCE ####################
# The persistence service to use if no other is specified.
#
#org.openhab.persistence:default=
################### AUDIO #######################
# This parameter defines the default audio source to use (if not set, the first available one will be used.
#
#org.openhab.audio:defaultSource=
# This parameter defines the default audio sink to use (if not set, the first available one will be used.
#
#org.openhab.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.openhab.voice:defaultTTS=
# This parameter defines the default speech-to-text service to use (if not set, the first available one will be used.
#
#org.openhab.voice:defaultSTT=
# The default voice to use if no specific TTS service or voice is specified.
#
#org.openhab.voice:defaultVoice=
# The default human language interpreter to use if no other is specified.
#
#org.openhab.voice:defaultHLI=
################### EPHEMERIS ###################
# This parameter defines the default list of usual non workable days for the Ephemeris service.
# The value has to be surrounded by square brackets ('[' and ']') and optionally contain value delimiters - a comma ',' to be interpreted as a list of values.
# Example: [SATURDAY,SUNDAY]
#
org.openhab.ephemeris:dayset-weekend=[SATURDAY,SUNDAY]
# This parameter defines the default list of usual workable days for the Ephemeris service.
# The value has to be surrounded by square brackets ('[' and ']') and optionally contain value delimiters - a comma ',' to be interpreted as a list of values.
#
org.openhab.ephemeris:dayset-school=[MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY]
################ 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.openhab.inbox:autoApprove=true

106
sitemaps/default.sitemap Normal file
View File

@ -0,0 +1,106 @@
sitemap default label="Haus" {
Frame {
Group item=Familie
Group item=Vorgarten {
Frame label=Licht {
Default item=Dachkasten_Dachkasten
Default item=Dachkasten_Energy
Default item=Weg_Weg
Default item=Weg_Energy
}
}
Group item=Obergeschoss
Group item=Bad
Group item=Emily {
Frame item=Klima_Emily {
Default item=Emily_Temperatur
Default item=Emily_Luftfeuchtigkeit
Switch item=Emily_Temp_SW label="Zeiteinheit" icon="time" mappings=[0="Stunde", 1="Tag", 2="Woche", 3="Jahr"]
Chart item=Emily_Temperatur label="Temperatur" period=h refresh=7200 visibility=[Emily_Temp_SW==0, Emily_Temp_SW=="Uninitialized"] legend=true
Chart item=Emily_Temperatur label="Temperatur" period=D refresh=14400 visibility=[Emily_Temp_SW==1] legend=true
Chart item=Emily_Temperatur label="Temperatur" period=W refresh=14400 visibility=[Emily_Temp_SW==2] legend=true
Chart item=Emily_Temperatur label="Temperatur" period=Y refresh=14400 visibility=[Emily_Temp_SW==3] legend=true
Chart item=Emily_Luftfeuchtigkeit label="Luftfeuchtigkeit" period=h refresh=7200 visibility=[Emily_Temp_SW==0, Emily_Temp_SW=="Uninitialized"] legend=true
Chart item=Emily_Luftfeuchtigkeit label="Luftfeuchtigkeit" period=D refresh=14400 visibility=[Emily_Temp_SW==1] legend=true
Chart item=Emily_Luftfeuchtigkeit label="Luftfeuchtigkeit" period=W refresh=14400 visibility=[Emily_Temp_SW==2] legend=true
Chart item=Emily_Luftfeuchtigkeit label="Luftfeuchtigkeit" period=Y refresh=14400 visibility=[Emily_Temp_SW==3] legend=true
}
}
Group item=ZimmerLeonie {
Frame item=Klima_Leonie {
Default item=Leonie_Temperatur
Default item=Leonie_Luftfeuchtigkeit
Chart item=TempLeonie label="Temperatur" period=D refresh=60000 legend=true
Chart item=Leonie_Luftfeuchtigkeit label="Luftfeuchtigkeit" period=D refresh=60000 legend=true
}
}
Group item=Schlafzimmer {
Frame item=Klima_Schlafzimmer {
Default item=Schlafzimmer_Temperatur
Default item=Schlafzimmer_Luftfeuchtigkeit
Chart item=TempSchlafzimmer label="Temperatur" period=D refresh=60000 legend=true
Chart item=Schlafzimmer_Luftfeuchtigkeit label="Luftfeuchtigkeit" period=D refresh=60000 legend=true
}
}
Group item=Kueche
Group item=Wohnzimmer {
Frame item=Wohnzimmer_Lampen {
Default item=Couch_Relay_Betrieb
Default item=Couch_Meter_current
Default item=StehlampeCouch_Relay_Betrieb
Default item=StehlampeCouch_Meter_current
Default item=Esstisch_Relay_Betrieb
Default item=Esstisch_Meter_current
}
Frame item=Klima_Wohnzimmer {
Default item=Wohnzimmer_Temperatur
Default item=Wohnzimmer_Luftfeuchtigkeit
Chart item=Wohnzimmer_Temperatur period=D refresh=60000 legend=true
Chart item=Wohnzimmer_Luftfeuchtigkeit period=D refresh=60000 legend=true
}
Frame item=Pioneer_VSX_922 {
Default item=VSX922_DisplayInformation_Display
Default item=Anlage_Fernbedienung
Default item=VSX922_Zone1_InputSource
Default item=Anlage_KNstler
Default item=Anlage_LautstRke
Default item=VSX922_Zone1_Power
Default item=Anlage_Titel
}
Frame item=GoogleHome_Wohnzimmer {
Default item=Wohnzimmer_Fernbedienung
Default item=Wohnzimmer_KNstler
Default item=Wohnzimmer_LautstRke
Default item=Wohnzimmer_Titel
}
}
Group item=Garten {
Frame label=Terrasse {
Default item=Terrasse_Relay_Betrieb
Default item=Terrasse_Meter_current
}
Frame label=Gartenhaus {
Default item=PoolPumpe_Relay_Betrieb
Default item=PoolPumpe_Meter_current
Text item=timerPoolPump
Chart item=PoolPumpe_Meter_current period=D refresh=60000 legend=true
}
Frame label=Garten {
Text item=Garten_Temperature
Text item=Garten_Luftfeuchtigkeit
Text item=Garten_Battery
Chart item=Garten_Temperature period=D refresh=60000 legend=true
Chart item=Garten_Luftfeuchtigkeit period=D refresh=60000 legend=true
}
Frame label=Pool {
Default item=PoolTemperatur_Temperature
Default item=PoolTemperatur_Battery
Chart item=PoolTemperatur_Temperature period=D refresh=60000 legend=true
}
}
}
}

View File

@ -0,0 +1,89 @@
sitemap default label="Haus" {
Frame {
Group item=Familie
Group item=Vorgarten {
Frame label=Licht {
Default item=Dachkasten_Dachkasten
Default item=Dachkasten_Energy
Default item=Weg_Weg
Default item=Weg_Energy
}
}
Group item=Obergeschoss
Group item=Bad
Group item=Emily {
Frame item=Klima_Emily {
Default item=Emily_Temperatur
Default item=Emily_Luftfeuchtigkeit
Chart item=Emily_Temperatur label="Temperatur" period=D refresh=60000 legend=true
Chart item=Emily_Luftfeuchtigkeit label="Luftfeuchtigkeit" period=D refresh=60000 legend=true
}
}
Group item=ZimmerLeonie {
Frame item=Klima_Leonie {
Default item=Leonie_Temperatur
Default item=Leonie_Luftfeuchtigkeit
Chart item=TempLeonie label="Temperatur" period=D refresh=60000 legend=true
Chart item=Leonie_Luftfeuchtigkeit label="Luftfeuchtigkeit" period=D refresh=60000 legend=true
}
}
Group item=
Group item=Kueche
Group item=Wohnzimmer {
Frame item=Wohnzimmer_Lampen {
Default item=Couch_Relay_Betrieb
Default item=Couch_Meter_current
Default item=StehlampeCouch_Relay_Betrieb
Default item=StehlampeCouch_Meter_current
Default item=Esstisch_Relay_Betrieb
Default item=Esstisch_Meter_current
}
Frame item=Klima_Wohnzimmer {
Default item=Wohnzimmer_Temperatur
Default item=Wohnzimmer_Luftfeuchtigkeit
Chart item=Wohnzimmer_Temperatur period=D refresh=60000 legend=true
Chart item=Wohnzimmer_Luftfeuchtigkeit period=D refresh=60000 legend=true
}
Frame item=Pioneer_VSX_922 {
Default item=VSX922_DisplayInformation_Display
Default item=Anlage_Fernbedienung
Default item=VSX922_Zone1_InputSource
Default item=Anlage_KNstler
Default item=Anlage_LautstRke
Default item=VSX922_Zone1_Power
Default item=Anlage_Titel
}
Frame item=GoogleHome_Wohnzimmer {
Default item=Wohnzimmer_Fernbedienung
Default item=Wohnzimmer_KNstler
Default item=Wohnzimmer_LautstRke
Default item=Wohnzimmer_Titel
}
}
Group item=Garten {
Frame label=Terrasse {
Default item=Terrasse_Relay_Betrieb
Default item=Terrasse_Meter_current
}
Frame label=Gartenhaus {
Default item=PoolPumpe_Relay_Betrieb
Default item=PoolPumpe_Meter_current
Text item=timerPoolPump
Chart item=PoolPumpe_Meter_current period=D refresh=60000 legend=true
}
Frame label=Garten {
Text item=Garten_Temperature
Text item=Garten_Luftfeuchtigkeit
Text item=Garten_Battery
Chart item=Garten_Temperature period=D refresh=60000 legend=true
Chart item=Garten_Luftfeuchtigkeit period=D refresh=60000 legend=true
}
Frame label=Pool {
Default item=PoolTemperatur_Temperature
Default item=PoolTemperatur_Battery
Chart item=PoolTemperatur_Temperature period=D refresh=60000 legend=true
}
}
}
}

5
sitemaps/readme.txt Normal file
View File

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

BIN
sounds/barking.mp3 Normal file

Binary file not shown.

BIN
sounds/doorbell.mp3 Normal file

Binary file not shown.

5
things/readme.txt Normal file
View File

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

3
transform/de.map Normal file
View File

@ -0,0 +1,3 @@
CLOSED=zu
OPEN=offen
NULL=undefiniert

4
transform/en.map Normal file
View File

@ -0,0 +1,4 @@
CLOSED=closed
OPEN=open
NULL=unknown

1
transform/pool-pumpe.js Normal file
View File

@ -0,0 +1 @@
JSON.parse(input).unixtime;

5
transform/readme.txt Normal file
View File

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

17
transform/sectohms.js Normal file
View File

@ -0,0 +1,17 @@
(function(seconds){
var retval = "";
var days = Math.floor(seconds / 3600 / 24)
var hours = Math.floor(seconds / 3600)
var minutes = Math.floor(seconds / 60)
hours = hours % 24
minutes = minutes % 60
seconds = seconds % 60
retval = retval + days + "d " + hours + "h ";
if (minutes < 10)
retval = retval + "0";
retval = retval + minutes + "m ";
if (seconds < 10)
retval = retval + "0";
retval = retval + seconds + "s";
return retval;
})(input)