sample.conf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ### Sample Settings for DVB-IR-Remote
  2. #
  3. # the code can be found in output of command evtest /dev/input/eventX
  4. # Sampleoutput :
  5. # ~> evtest /dev/input/eventX
  6. #
  7. # Event: time 1322401114.481388, type 4 (Misc), code 3 (?), value 1900585
  8. # Event: time 1322401114.481396, type 4 (Misc), code 4 (?), value 41
  9. # Event: time 1322401114.595003, type 4 (Misc), code 3 (?), value 1900585
  10. # Event: time 1322401114.595006, type 4 (Misc), code 4 (?), value 41
  11. # Define the inputevent handler
  12. # The input device
  13. # | Miliseconds between repeated commands ignored (Default 150)
  14. # | |
  15. define DVB_Remote inputevent /dev/input/event4 160
  16. attr DVB_Remote comment DVB-Remote IR Receiver at /dev/input/event4. Repeated commands within 150 miliseconds was ignored.
  17. # Define a FS20 actor
  18. define st1 FS20 44444444 1111
  19. attr st1 follow-on-for-timer
  20. attr st1 comment Steckdose 1
  21. attr st1 model FS20 ST-2
  22. # Define some notify handler to receive the remote commands
  23. # Sample settings for FS20 Device st1 Steckdose 1
  24. # The IR-Code (see above)
  25. # |
  26. # |
  27. define xsight_st1_off notify DVB_Remote.*value:.*1900586 set st1 off
  28. define xsight_st1_on notify DVB_Remote.*value:.*1900585 set st1 on
  29. # Wohnzimmer Licht 1
  30. define xsight_wzLicht1_off notify DVB_Remote.*value:.*1900570 set wzLicht1 off
  31. define xsight_wzLicht1_on notify DVB_Remote.*value:.*1900569 set wzLicht1 on
  32. define xsight_wzLicht1_dim06 notify DVB_Remote.*value:.*1900590 set wzLicht1 dim06%%
  33. define xsight_wzLicht1_dim25 notify DVB_Remote.*value:.*1900589 set wzLicht1 dim25%%
  34. define xsight_wzLicht1_dim43 notify DVB_Remote.*value:.*1900574 set wzLicht1 dim43%%
  35. define xsight_wzLicht1_dim62 notify DVB_Remote.*value:.*1900573 set wzLicht1 dim62%%
  36. define xsight_wzLicht1_dim81 notify DVB_Remote.*value:.*1900558 set wzLicht1 dim81%%
  37. define xsight_wzLicht1_dim100 notify DVB_Remote.*value:.*1900557 set wzLicht1 dim100%%