Guest User

items

a guest
Jan 14th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. //aanrecht_esp
  2. Switch motionAanrecht "Motion Aanrecht [%s]" {mqtt="<[pibroker:/1/motion/1:command:default]"}
  3.  
  4. //aanrecht_lamp
  5. Switch LampAanrecht "Lamp Aanrecht" (All) {pilight="kaku#aanrechtLinks"}
  6.  
  7.  
  8. //Huiskamer
  9. Dimmer lamp_kitchen_main "Lamp 1 [%d %%]" <slider> (groeptest) {pilight="kaku#lamp1"}
  10. Dimmer lamp_living_standing "Lamp 2 [%d %%]" <slider> (groeptest) {pilight="kaku#lamp2"}
  11. Dimmer lamp_living_TV "Lamp 3 [%d %%]" <slider> (groeptest) {pilight="kaku#lamp3"}
  12.  
  13. Dimmer KakuAlleLampen "Lamp 3 [%d %%]" <slider> (groeptest) {pilight="kaku#allelampen"}
  14.  
  15.  
  16. // NTP binding demo item
  17. DateTime Date "Date [%1$tA, %1$td.%1$tm.%1$tY]" <calendar> { ntp="Europe/Berlin:de_DE" }
  18.  
  19.  
  20.  
  21. // shows the sunrise
  22. DateTime Sunrise_Time "Sunrise [%1$tH:%1$tM]" <sun> {astro="planet=sun, type=rise, property=start"}
  23.  
  24. // schedules a event which starts at sunrise, updating the Switch with ON, followed by a OFF
  25. Switch Sunrise_Event {astro="planet=sun, type=rise, property=start"}
  26.  
  27. // schedules a event which starts 10 minutes AFTER sunrise
  28. Switch Sunrise_Event {astro="planet=sun, type=rise, property=start, offset=10"}
  29.  
  30. // schedules a event which starts 10 minutes BEFORE sunrise
  31. Switch Sunrise_Event {astro="planet=sun, type=rise, property=start, offset=-10"}
  32.  
  33. // shows the sunset
  34. DateTime Sunset_Time "Sunset [%1$tH:%1$tM]" <moon> {astro="planet=sun, type=set, property=end"}
  35.  
  36. // schedules a event which starts 30 minutes BEFORE sunset:
  37. Switch Sunset_Event {astro="planet=sun, type=set, property=end, offset=-30"}
  38.  
  39.  
  40. //xbmc
  41. String XbmcLiving_State "Living State [%s]" { xbmc="<[#livingRoom|Player.State]" }
  42. String XbmcLiving_Title "Living Title [%s]" { xbmc="<[#livingRoom|Player.Title]" }
  43. String XbmcLiving_ShowTitle "Living Show [%s]" { xbmc="<[#livingRoom|Player.ShowTitle]" }
  44. Switch XbmcLiving_PlayPause "Living Play/Pause" { xbmc=">[#livingRoom|Player.PlayPause]", autoupdate="false" }
  45. Switch XbmcLiving_Stop "Living Stop" { xbmc=">[#livingRoom|Player.Stop]", autoupdate="false" }
  46. String XbmcLiving_Notify "Living Notify [%s]" { xbmc="<[#livingRoom|GUI.ShowNotification]", autoupdate="false" }
Advertisement
Add Comment
Please, Sign In to add comment