Advertisement
xtree1

wol_yaml

Jul 18th, 2021
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. gpio:
  2. drivers:
  3. ez:
  4. type: ezcoo
  5. device: /dev/ttyUSB0
  6. partaker_wol:
  7. type: wol
  8. mac: 00:e8:4c:68:48:57
  9. asrock_wol:
  10. type: wol
  11. mac: a0:36:9f:03:51:6c
  12. scheme:
  13. ch0_led:
  14. driver: ez
  15. pin: 0
  16. mode: input
  17. ch1_led:
  18. driver: ez
  19. pin: 1
  20. mode: input
  21. ch2_led:
  22. driver: ez
  23. pin: 2
  24. mode: input
  25. ch3_led:
  26. driver: ez
  27. pin: 3
  28. mode: input
  29. ch0_button:
  30. driver: ez
  31. pin: 0
  32. mode: output
  33. switch: false
  34. ch1_button:
  35. driver: ez
  36. pin: 1
  37. mode: output
  38. switch: false
  39. ch2_button:
  40. driver: ez
  41. pin: 2
  42. mode: output
  43. ch3_button:
  44. driver: ez
  45. pin: 3
  46. mode: output
  47. switch: false
  48. partaker_wol:
  49. driver: partaker_wol
  50. pin: 0
  51. mode: output
  52. switch: false
  53. asrock_wol:
  54. driver: asrock_wol
  55. pin: 0
  56. mode: output
  57. switch: false
  58. view:
  59. table:
  60. - ["#x270 1", ch0_led, ch0_button]
  61. - ["#smos 2", ch1_led, ch1_button]
  62. - ["#open 3", ch2_led, ch2_button]
  63. - ["#open 4", ch3_led, ch3_button]
  64. - ["#partaker", "partaker_wol|Send Wake-on-LAN"]
  65. - ["#asrock", "asrock_wol|Send Wake-on-LAN"]
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement