This repository has been archived by the owner on May 3, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59ce4d0
commit 64989b0
Showing
18 changed files
with
894 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/* 20180926 | ||
* Marianne M. Spiller <marianne@spiller.me> | ||
* https://www.smarthome-mit-openhab2.de/ | ||
* 6.1 Das Demohaus | ||
* (S. 95 ff.) | ||
*/ | ||
|
||
// Eine Gruppe für das gesamte Haus | ||
Group Home | ||
"Demo-Haus" | ||
<house> | ||
|
||
// Gruppen repräsentieren die Geschosse | ||
Group UG | ||
"Untergeschoss" | ||
<cellar> | ||
(Home) | ||
|
||
Group GF | ||
"Erdgeschoss" | ||
<groundfloor> | ||
(Home) | ||
|
||
Group FF | ||
"Erster Stock" | ||
<firstfloor> | ||
(Home) | ||
|
||
// Gruppen repräsentieren die Räume | ||
Group GF_Bedroom | ||
"Schlafzimmer" | ||
<bedroom> | ||
(GF) | ||
|
||
Group GF_Bathroom | ||
"Badezimmer" | ||
<bath> | ||
(GF) | ||
|
||
Group GF_Balcony | ||
"Balkon" | ||
<terrace> | ||
(GF) | ||
|
||
Group GF_LivingRoom | ||
"Wohnzimmer" | ||
<sofa> | ||
(GF) | ||
|
||
Group GF_Kitchen | ||
"Küche" | ||
<kitchen> | ||
(GF) | ||
|
||
Group GF_Hallway | ||
"Flur" | ||
<corridor> | ||
(GF) | ||
|
||
Group FF_Attic | ||
"Dachgeschoss" | ||
<attic> | ||
(FF) | ||
|
||
Group UG_Waschkeller | ||
"Waschkeller" | ||
<washingmachine> | ||
(UG) | ||
|
||
Group UG_Heizungsraum | ||
"Heizungsraum" | ||
<fire> | ||
(UG) | ||
|
||
// Administrative Gruppen | ||
Group gSignalstaerke | ||
"Signalstärken" | ||
<qualityofservice> | ||
(Home) | ||
|
||
Group:Switch:OR(ON, OFF) gBatterie | ||
"Batteriestände [%d]" | ||
<battery> | ||
(Home) | ||
|
||
Group:Switch:OR(ON, OFF) gLampen | ||
"Alle Lampen im Haus [%d]" | ||
<light> | ||
(Home) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* 20180926 | ||
* Marianne M. Spiller <marianne@spiller.me> | ||
* https://www.smarthome-mit-openhab2.de/ | ||
* 6.2 Rheinwerk-Sonne via Astro-Binding | ||
* (S. 104 ff.) | ||
*/ | ||
|
||
Group gSonne | ||
"Sonne via Astro-Binding" | ||
<sun> | ||
(GF_Balcony) | ||
|
||
//--- Sonnenaufgang | ||
DateTime Sonnenaufgang_Zeit | ||
"Sonnenaufgang [%1$tH:%1$tM]" | ||
<sunrise> | ||
(gSonne) | ||
{channel="astro:sun:rheinwerk-sonne:rise#start"} | ||
|
||
//--- Sonnenuntergang | ||
DateTime Sonnenuntergang_Zeit | ||
"Sonnenuntergang [%1$tH:%1$tM]" | ||
<sunset> | ||
(gSonne) | ||
{channel="astro:sun:rheinwerk-sonne:set#start"} | ||
|
||
//--- Azimut | ||
Number Azimut | ||
"Azimut [%.2f°]" | ||
<sun> | ||
(gSonne) | ||
{channel="astro:sun:rheinwerk-sonne:position#azimuth"} | ||
|
||
//--- Sonnenhoehe | ||
Number Sonnenhoehe | ||
"Sonnenhöhe [%.2f°]" | ||
<sun> | ||
(gSonne) | ||
{channel="astro:sun:rheinwerk-sonne:position#elevation"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
/* 20180926 | ||
* Marianne M. Spiller <marianne@spiller.me> | ||
* https://www.smarthome-mit-openhab2.de/ | ||
* 6.3 Das Weather Binding - die Items | ||
* (S. 116 ff.) | ||
*/ | ||
|
||
String SummaryStateWind | ||
String SummaryStateVorhersage | ||
String SummaryStateAktuell | ||
|
||
Group gWetter | ||
"Wetterbericht" | ||
<sun_clouds> | ||
(GF_Balcony) | ||
|
||
Number Aussentemperatur | ||
"Außentemperatur [%.1f °C]" | ||
<temperature> | ||
(gWetter) | ||
{ weather="locationId=Rheinwerk, | ||
type=temperature, | ||
property=current" } | ||
|
||
// Die relative Luftfeuchtigkeit | ||
Number Luftfeuchtigkeit | ||
"Relative Luftfeuchtigkeit [%.0f %%]" | ||
<humidity> | ||
(gWetter) | ||
{ weather="locationId=Rheinwerk, | ||
type=atmosphere, | ||
property=humidity" } | ||
|
||
// Die aktuelle Wetterlage in Form eines Strings | ||
String Wetterlage | ||
"Wetterlage [%s]" | ||
<sun_clouds> | ||
(gWetter) | ||
{ weather="locationId=Rheinwerk, | ||
type=condition, | ||
property=commonId" } | ||
|
||
String Windrichtung | ||
"Windrichtung [%s]" | ||
<wind> | ||
(gWetter) | ||
{ weather="locationId=Rheinwerk, | ||
type=wind, | ||
property=direction" } | ||
|
||
Number Windgeschwindigkeit | ||
"Windgewschwindigkeit [%dkm/h]" | ||
<wind> | ||
(gWetter) | ||
{ weather="locationId=Rheinwerk, | ||
type=wind, | ||
property=speed" } | ||
|
||
|
||
// Vorhersage für morgen | ||
String Vorhersage_Wetterlage | ||
"Morgen [%s]" | ||
<temperature> | ||
(gWetter) | ||
{ weather="locationId=Rheinwerk, | ||
forecast=1, | ||
type=condition, | ||
property=commonId" } | ||
|
||
// Minimale Temperatur morgen | ||
Number Vorhersage_Temperatur_Min | ||
"Minimale Temperatur [%.1f°C]" | ||
<temperature> | ||
(gWetter) | ||
{ weather="locationId=Rheinwerk, | ||
forecast=1, | ||
type=temperature, | ||
property=min"} | ||
|
||
// Maximale Temperatur morgen | ||
Number Vorhersage_Temperatur_Max | ||
"Maximale Temperatur [%.1f°C]" | ||
<temperature> | ||
(gWetter) | ||
{ weather="locationId=Rheinwerk, | ||
forecast=1, | ||
type=temperature, | ||
property=max" } | ||
|
||
/* UV-Index | ||
Erklärung der Werte: | ||
https://de.wikipedia.org/wiki/UV-Index | ||
*/ | ||
Number UvIndex | ||
"UV-Index [5]" | ||
<sun> | ||
(gWetter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* 20180926 | ||
* Marianne M. Spiller <marianne@spiller.me> | ||
* https://www.smarthome-mit-openhab2.de/ | ||
* 7.4 Das Lichtband | ||
* (S. 140 ff.) | ||
*/ | ||
|
||
// Items für Lichtband | ||
Group gLichtband | ||
"Lichtband im Wohnzimmer" | ||
<light> | ||
(GF_LivingRoom) | ||
|
||
Dimmer Lichtband_Farbtemperatur | ||
"Lichtband Farbtemperatur" | ||
<rgb> | ||
(gLichtband) | ||
// Anpassen: {channel="hue:...:color_temperature"} | ||
|
||
Color Lichtband_Farbe | ||
"Lichtband Farbe" | ||
<colorwheel> | ||
(gLichtband) | ||
// Anpassen: {channel="hue:...:color"} | ||
|
||
Dimmer Lichtband_Helligkeit | ||
"Lichtband Helligkeit" | ||
<light> | ||
(gLichtband) | ||
["Lighting"] | ||
// Anpassen: {channel="hue:...:color"} | ||
|
||
Switch Lichtband_Schalter | ||
"Lichtband Schalter" | ||
<light> | ||
(gLichtband, gLampen) | ||
// Anpassen: {channel="hue:...:color"} | ||
|
||
// 13.3.1 - Item für Szenenbeleuchtung | ||
Number Beleuchtung_Szene | ||
"Szenenbeleuchtung Wohnzimmer" | ||
<sofa> | ||
(GF_LivingRoom) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* 20180926 | ||
* Marianne M. Spiller <marianne@spiller.me> | ||
* https://www.smarthome-mit-openhab2.de/ | ||
* 7.5 Der Lichtwecker | ||
* (S. 144 ff.) | ||
*/ | ||
|
||
Switch Urlaub | ||
"Urlaub" | ||
<vacation> | ||
(gLichtwecker) | ||
|
||
Group gLichtwecker | ||
"Lichtwecker" | ||
<time> | ||
(GF_Bedroom) | ||
|
||
Dimmer Lichtwecker_Helligkeit | ||
"Lichtwecker Helligkeit" | ||
<light> | ||
(gLichtwecker) | ||
// Anpassen: {channel="hue:...:color"} | ||
|
||
Switch Lichtwecker_Schalter | ||
"Lichtwecker Schalter" | ||
<light> | ||
(gLichtwecker, gLampen) | ||
// Anpassen: {channel="hue:...:color"} | ||
|
||
Dimmer Lichtwecker_Farbtemperatur | ||
"Lichtwecker Farbtemperatur" | ||
<colorwheel> | ||
(gLichtwecker) | ||
// Anpassen: {channel="hue:...:color_temperature"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* 20180926 | ||
* Marianne M. Spiller <marianne@spiller.me> | ||
* https://www.smarthome-mit-openhab2.de/ | ||
* 8 Integration Ihrer FRITZ!Box | ||
* (S. 149 ff.) | ||
*/ | ||
|
||
Group gFritzbox | ||
"Meine FRITZ!Box" | ||
<network> | ||
(GF_Hallway) | ||
|
||
Contact meinPhone | ||
"iPhone zu Hause [MAP(Presence.map):%s]" | ||
<network> | ||
(gFritzbox) | ||
// Anpassen: {fritzboxtr064="maconline:CC-00-FF-FF-EE-EE"} | ||
|
||
Switch fbAnrufbeantworter | ||
"Anrufbeantworter" | ||
(gFritzbox) | ||
{fritzboxtr064="tamSwitch:0"} | ||
|
||
Number fbNeueNachrichten | ||
"Neue Nachrichten [%s]" | ||
(gFritzbox) | ||
{fritzboxtr064="tamNewMessages:0"} | ||
|
||
String fbDslStatus | ||
"FBox DSL Status [%s]" | ||
<line> | ||
(gFritzbox) | ||
{fritzboxtr064="dslStatus"} | ||
|
||
String fbExternalIp | ||
"FBox WAN IP [%s]" | ||
<network> | ||
(gFritzbox) | ||
{fritzboxtr064="wanip"} | ||
|
||
Number fbDslUpstream | ||
"DSL Upstream [%s mbit/s]" | ||
<line> | ||
(gFritzbox) | ||
{fritzboxtr064="dslUpstreamCurrRate"} | ||
|
||
Number fbDslDownstream | ||
"DSL Downstream [%s mbit/s]" | ||
<line> | ||
(gFritzbox) | ||
{fritzboxtr064="dslDownstreamCurrRate"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* 20180926 | ||
* Marianne M. Spiller <marianne@spiller.me> | ||
* https://www.smarthome-mit-openhab2.de/ | ||
* 9.2 Schaltaktor HM-LC-Sw1-Pl-2 | ||
* (S. 165 ff.) | ||
*/ | ||
|
||
Group gPflanzenlampe | ||
"Pflanzenlampe" | ||
<lawnmower> | ||
(GF_Kitchen) | ||
|
||
Switch Pflanzenlampe_Schalter | ||
"Stromversorgung Pflanzenlampe" | ||
<lawnmower> | ||
(gPflanzenlampe) | ||
// Anpassen: {channel="homematic:HM-LC-Sw1-Pl-2:...#STATE"} | ||
|
||
Number Pflanzenlampe_Signalstaerke | ||
"Signalstärke Pflanzenlampe [%s]" | ||
<qualityofservice> | ||
(gPflanzenlampe, gSignalstaerke) | ||
// Anpassen: {channel="homematic:HM-LC-Sw1-Pl-2:...#SIGNAL_STRENGTH"} |
Oops, something went wrong.