Martin,
I don’t know exactly what you mean with “NAS status” and “second definition” - I only have that one and only thing definition I wrote on the top. Maybe it helps to see my whole files (caution, now a long file follows…)
ITEMS - FILE
GNU nano 2.7.4 Datei: mittag.items
Group gWeather
Number Graz_Temperatur "Aussentemperatur [%.1f °C]" <temperature> (gWeather) { channel="yahooweather:weather:graz:temperature" }
Number Graz_Humidity "Luftfeuchtigkeit [%d %%]" <humidity> (gWeather) { channel="yahooweather:weather:graz:temperature" }
Number Graz_Pressure "Luftdruck [%.1f mbar]" <pressure> (gWeather) { channel="yahooweather:weather:graz:pressure" }
// GROUPS
Group:Switch:OR(ON,OFF) alllamps "All Lights"
// WOHNZIMMER
String dose_00011_1 "Stehlampe Schreibtisch" <light> (Alle_Lampen) [ "Switchable" ] { channel="exec:command:funkdose_control_1:input", channel="exec:command:device-nas-status:output", autoupdate="false" }
String dose_00011_2 "Stehlampe Sofa" <light> (Alle_Lampen) [ "Switchable" ] { channel="exec:command:funkdose_control_2:input", channel="exec:command:device-nas-status:output", autoupdate="false" }
String dose_00010_1 "Schreibtischlampe" <network> [ "Switchable" ] { channel="exec:command:funkdose_control_3:input", channel="exec:command:device-nas-status:output", autoupdate="false" }
String dose_00010_2 "Lowboard Lampe" <network> [ "Switchable" ] { channel="exec:command:funkdose_control_4:input", channel="exec:command:device-nas-status:output", autoupdate="false" }
String dose_00010_3 "Couchtisch Beleuchtung" <network> (licht, gMyLights) [ "Switchable" ] { channel="exec:command:funkdose_control_5:input", channel="exec:command:device-nas-status:output", autoupdate="false" }
String dose_00010_4 "LED Lowboard" <network> (licht, gMyLights) [ "Switchable" ] { channel="exec:command:funkdose_control_6:input", channel="exec:command:device-nas-status:output", autoupdate="false" }
String dose_00010_5 "Vitrine" <network> (licht, gMyLights) [ "Switchable" ] { channel="exec:command:funkdose_control_7:input", channel="exec:command:device-nas-status:output", autoupdate="false" }
THINGS - FILE
Thing exec:command:funkdose_control_1 [ command="sudo /opt/raspberry-remote/send 00011 1 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_2 [ command="sudo /opt/raspberry-remote/send 00011 2 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_3 [ command="sudo /opt/raspberry-remote/send 00010 1 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_4 [ command="sudo /opt/raspberry-remote/send 00010 2 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_5 [ command="sudo /opt/raspberry-remote/send 00010 3 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_6 [ command="sudo /opt/raspberry-remote/send 00010 4 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_7 [ command="sudo /opt/raspberry-remote/send 00010 5 %2$s", interval=0, autorun=true ]
SITEMAPS - FILE
sitemap default label="Dominik und Helena"
{
Frame label="Wohnzimmer" {
//Switch item=alllamps
Switch item=dose_00010_1 mappings=[1="An", 0="Aus"]
Switch item=dose_00010_2 mappings=[1="An", 0="Aus"]
Switch item=dose_00010_3 mappings=[1="An", 0="Aus"]
Switch item=dose_00010_4 mappings=[1="An", 0="Aus"]
Switch item=dose_00011_1 mappings=[1="An", 0="Aus"]
Switch item=dose_00011_2 mappings=[1="An", 0="Aus"]
Switch item=dose_00010_5 mappings=[1="An", 0="Aus"]
}
Frame label="Wetter in Graz von Yahoo" {
Text item=Graz_Temperatur
Text item=Graz_Humidity
Text item=Graz_Pressure
Text item=Date
}
}
Not be confused with the group “alllaps” - this doesn’t work yet !