krasses Ding


Finde ich super was aus der Sache geworden ist.
Könntest Du mal ein paar Screenshots der Sitemap posten ?
Und auch mal erläutern was "Lambda" und "val Map" bedeutet?
Thanx
Gruß Peter
Code: Alles auswählen
rule "lambda beispiel"
when
Item myItem received command
then
myRollershutterGroup.members.forEach[ i | i.sendCommand(receivedCommand) ]
end
Code: Alles auswählen
sitemap meine label="Hauptmenü"
{
Frame label="Fenster" {
Text label="Zustand" icon="window" {
Frame label="Fenster EG" {
Text item=WZ_Fenster_02
Text item=WZ_Fenster_03
Text item=WZ_Fenster_04
Text item=EZ_Fenster_05
Text item=EZ_Fenster_06
Text item=Kue_Fenster_07
Text item=GastWC_Fenster_09
Text item=AZ_Fenster_10
Text item=AZ_Fenster_11
Text item=AZ_Fenster_12
Text item=AZ_Fenster_13
}
Frame label="Fenster OG" {
Text item=BZ_Fenster_22
Text item=BZ_Fenster_23
Text item=BadKind_Fenster_24
Text item=BadKind_Fenster_25
}
Frame label="Fenster KG" {
Text item=KG_Fenster_26
Text item=KG_Fenster_27
Text item=KG_Fenster_28
Text item=KG_Fenster_29
Text item=KG_Fenster_30
}
}
}
Frame label="Wetter und Astro-Daten" {
Text item=wetter_temperatur valuecolor=[Weather_LastUpdate=="NULL"="lightgray",Weather_LastUpdate>90="lightgray",>25="orange",>15="green",>5="orange",<=5="blue"] {
Frame {
Text item=wetter_temperatur_max valuecolor=[>25="orange",>15="green",>5="orange",<=5="blue"]
Text item=wetter_temperatur_min valuecolor=[>25="orange",>15="green",>5="orange",<=5="blue"]
//Text item=Weather_LastUpdate visibility=[Weather_LastUpdate>30]
//valuecolor=[Weather_LastUpdate>120="orange", Weather_LastUpdate>300="red"]
}
}
Text item=wetter_feuchtigkeit
Text item=wetter_luftdruck
Text item=wetter_bewoelkung
Text item=wetter_regen
Text item=wetter_schnee
Text label="Astro-Daten" icon="sun" {
Text item=astro_Sonnenaufgang
Text item=astro_Sonnenuntergang
Text item=astro_azimuth
Text item=astro_elevation
Text item=astro_Mondphase
}
}
Frame label="Verschattung" {
Text label="Konfiguration Verschattung Ostseite" icon="rollershutter" {
Frame label="Verschattung Ostseite" {
Switch item=rolloautomatik_ost
Setpoint item=rolloautomatik_zielwert minValue=0 maxValue=100 step=1 icon="rollershutter"
}
Frame label="Rollos Ostseite ab, wenn..." {
//Text item=Sollwerte_Ost
Text item=wetter_temperatur valuecolor=[Weather_LastUpdate=="NULL"="lightgray",Weather_LastUpdate>90="lightgray",>25="orange",>15="green",>5="orange",<=5="blue"]
Setpoint item=rolloautomatik_temp_min minValue=0 maxValue=35 step=1 icon="temperature"
Text item=wetter_bewoelkung
Setpoint item=rolloautomatik_wolken_max minValue=0 maxValue=100 step=1 icon="sun_clouds"
Text item=astro_azimuth
Setpoint item=rolloautomatik_azimuth_ost_start minValue=0 maxValue=360 step=1 icon="niveau"
Text item=rolloautomatik_ost_start_last icon="time"
}
Frame label="Rollo Ostseite hoch, wenn..." {
//Switch item=rolloautomatik_ost_oeffnen
Text item=astro_elevation label="Elevation"
Setpoint item=rolloautomatik_elevation_ost_ende minValue=-20 maxValue=60 step=1 icon="incline"
Setpoint item=rolloautomatik_elevation_ost_ende2 minValue=-20 maxValue=60 step=1 icon="incline"
Text item=rolloautomatik_ost_ende_last icon="time"
}
}
Text label="Konfiguration Verschattung Südseite" icon="rollershutter" {
Frame label="Verschattung Südseite" {
Switch item=rolloautomatik_sued
Setpoint item=rolloautomatik_zielwert minValue=0 maxValue=100 step=1 icon="rollershutter"
}
Frame label="Rollos Südseite ab, wenn..." {
//Text item=Sollwerte_Sued
Text item=wetter_temperatur valuecolor=[Weather_LastUpdate=="NULL"="lightgray",Weather_LastUpdate>90="lightgray",>25="orange",>15="green",>5="orange",<=5="blue"]
Setpoint item=rolloautomatik_temp_min minValue=0 maxValue=35 step=1 icon="temperature"
Text item=wetter_bewoelkung
Setpoint item=rolloautomatik_wolken_max minValue=0 maxValue=100 step=1 icon="sun_clouds"
Text item=astro_azimuth
Setpoint item=rolloautomatik_azimuth_sued_start minValue=0 maxValue=360 step=1 icon="niveau"
Text item=rolloautomatik_sued_start_last label="Letzte Ausführung Rollos Süd ab" icon="time"
}
Frame label="Rollo Südseite hoch, wenn..." {
//Switch item=rolloautomatik_sued_oeffnen
Text item=astro_elevation label="Elevation"
Setpoint item=rolloautomatik_elevation_sued_ende minValue=-20 maxValue=50 step=1 icon="incline"
Text item=rolloautomatik_sued_ende_last icon="time"
}
}
Text label="Konfiguration Verschattung Westseite" icon="rollershutter" {
Frame label="Verschattung Westseite" {
Switch item=rolloautomatik_west
Setpoint item=rolloautomatik_zielwert minValue=0 maxValue=100 step=1 icon="rollershutter"
}
Frame label="Rollos Westseite ab, wenn..." {
//Text item=Sollwerte_West
Text item=wetter_temperatur valuecolor=[Weather_LastUpdate=="NULL"="lightgray",Weather_LastUpdate>90="lightgray",>25="orange",>15="green",>5="orange",<=5="blue"]
Setpoint item=rolloautomatik_temp_min minValue=0 maxValue=35 step=1 icon="temperature"
Text item=wetter_bewoelkung
Setpoint item=rolloautomatik_wolken_max minValue=0 maxValue=100 step=1 icon="sun_clouds"
Text item=astro_azimuth
Setpoint item=rolloautomatik_azimuth_west_start minValue=0 maxValue=360 step=1 icon="niveau"
Text item=rolloautomatik_west_start_last label="Letzte Ausführung Rollos West ab" icon="time"
}
Frame label="Rollo Westseite hoch, wenn..." {
//Switch item=rolloautomatik_west_oeffnen
Text item=astro_elevation label="Elevation"
Setpoint item=rolloautomatik_elevation_west_ende minValue=-20 maxValue=50 step=1 icon="incline"
Text item=rolloautomatik_west_ende_last icon="time"
}
}
}
}