Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //aanrecht_esp
- Switch motionAanrecht "Motion Aanrecht [%s]" {mqtt="<[pibroker:/1/motion/1:command:default]"}
- //aanrecht_lamp
- Switch LampAanrecht "Lamp Aanrecht" (All) {pilight="kaku#aanrechtLinks"}
- //Huiskamer
- Dimmer lamp_kitchen_main "Lamp 1 [%d %%]" <slider> (groeptest) {pilight="kaku#lamp1"}
- Dimmer lamp_living_standing "Lamp 2 [%d %%]" <slider> (groeptest) {pilight="kaku#lamp2"}
- Dimmer lamp_living_TV "Lamp 3 [%d %%]" <slider> (groeptest) {pilight="kaku#lamp3"}
- Dimmer KakuAlleLampen "Lamp 3 [%d %%]" <slider> (groeptest) {pilight="kaku#allelampen"}
- // NTP binding demo item
- DateTime Date "Date [%1$tA, %1$td.%1$tm.%1$tY]" <calendar> { ntp="Europe/Berlin:de_DE" }
- // shows the sunrise
- DateTime Sunrise_Time "Sunrise [%1$tH:%1$tM]" <sun> {astro="planet=sun, type=rise, property=start"}
- // schedules a event which starts at sunrise, updating the Switch with ON, followed by a OFF
- Switch Sunrise_Event {astro="planet=sun, type=rise, property=start"}
- // schedules a event which starts 10 minutes AFTER sunrise
- Switch Sunrise_Event {astro="planet=sun, type=rise, property=start, offset=10"}
- // schedules a event which starts 10 minutes BEFORE sunrise
- Switch Sunrise_Event {astro="planet=sun, type=rise, property=start, offset=-10"}
- // shows the sunset
- DateTime Sunset_Time "Sunset [%1$tH:%1$tM]" <moon> {astro="planet=sun, type=set, property=end"}
- // schedules a event which starts 30 minutes BEFORE sunset:
- Switch Sunset_Event {astro="planet=sun, type=set, property=end, offset=-30"}
- //xbmc
- String XbmcLiving_State "Living State [%s]" { xbmc="<[#livingRoom|Player.State]" }
- String XbmcLiving_Title "Living Title [%s]" { xbmc="<[#livingRoom|Player.Title]" }
- String XbmcLiving_ShowTitle "Living Show [%s]" { xbmc="<[#livingRoom|Player.ShowTitle]" }
- Switch XbmcLiving_PlayPause "Living Play/Pause" { xbmc=">[#livingRoom|Player.PlayPause]", autoupdate="false" }
- Switch XbmcLiving_Stop "Living Stop" { xbmc=">[#livingRoom|Player.Stop]", autoupdate="false" }
- String XbmcLiving_Notify "Living Notify [%s]" { xbmc="<[#livingRoom|GUI.ShowNotification]", autoupdate="false" }
Advertisement
Add Comment
Please, Sign In to add comment