- Probleme
- Lösungen
- Automatisierungslösungen
- Demo
- Q & A
NyanCat Wall
LED-Bars
LED-Regal
Ledboard
Alles ist ein Item
// type name title symbol { binding="config" }
// http
Switch wr_alarm "Alarm" { http=">[ON:POST:http://webrelais/relais/5]
>[OFF:DELETE:http://webrelais/relais/5]" }
Number th_hc_win_L "Hackcenter window left [%.1f °C]" { homematic="id=KEQ42231337,
channel=4, parameter=SET_TEMPERATURE" }
Switch Mpd_hc_playback "MPD Start/Pause" { mpd="ON:hackcenter:play,
OFF:hackcenter:pause" }
Beispielstruktur
items/
├── 00-groups.items
├── 01-groupswitches.items
├── 02-webrelais.items
├── 03-funkstrom.items
├── 04-snmp.items
├── 05-thermostats.items
└── 06-mpd.items
Text label="Lounge" icon="sofa" {
Frame label="Temperature" {
Text item=temp_lounge label="Temperatur Decke [%.2f °C]"
}
Frame label="Control" {
Switch item=ShutdownLounge label="Shutdown" mappings=[OFF="Engage"]
Switch item=fs_beamer
Switch item=fs_nyancat
}
Frame label="Information" {
Text item=account_balance
Text item=temp_outdoor
}
}
rule "inbound Call"
when Item Incoming_Call_No received update
then
val CallType call = Incoming_Call_No.state as CallType
val String mailSubject =
"Anruf von Nummer " + call.origNum + " -> " + call.destNum
sendMail( "us...@domain.de" , mailSubject , "");
end
rule "Switch on welcome light"
when
Item contactFrontDoorLock changed from CLOSED to OPEN
then
sendCommand(corridorLight, ON)
end
rule "checkForFridgeOpen"
when
Time cron "0 * * * * ?"
then
// do stuff
end
Demo Time