Zitat von erru
Beitrag anzeigen
Zitat von aggie89go
Beitrag anzeigen
Code:
rule "Shutdown Rollershutter when dark and late enough" when Item Wetter_Helligkeit changed then var still_open = G_Rollaeden_DG_Pos.state < 100 var dark_enough = Wetter_Helligkeit.state <= brightness_threshold var late_enough = now.getHourOfDay >= 15 var to_late = now.getHourOfDay == 20 if (Mode_Auto_Rollershutter.state == ON && still_open && (to_late || (dark_enough && late_enough))) { G_Rollaeden_DG.sendCommand(DOWN) } end
Code:
rule "Notify BMA Alarm" when Item BMA_Alarm changed then if (!pushNotification("BMA", "Feueralarm ("+ BMA_Alarm.state.toString +")!!")) { sendMail("thomas at openhab.org", "BMA", "Feueralarm ("+ BMA_Alarm.state.toString +")!!") } end
Wir sind gerade dabei eine geeignete Plattform dafür zu finden die vorhandenen Regeln zu teilen. Aktuell schauen wir bei gist.github.com bzw. smippel.net ... mal sehen, was da kommt.
Am 19. August wird es übrigens das Release 1.0 geben. Was drin steckt, findest Du hier (ReleaseNotes10 - openhab - Release Notes of openHAB version 1.0 - empowering the smart home - Google Project Hosting).
Gruß,
Thomas E.-E.
Kommentar