Advertisement
Guest User

Pimatic Denon AVR Control Rules

a guest
Oct 23rd, 2015
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.01 KB | None | 0 0
  1. {
  2. "id": "denon-volume-up",
  3. "name": "Denon Volume up",
  4. "rule": "if denon-volup is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MVUP\"",
  5. "active": true,
  6. "logging": false
  7. },
  8. {
  9. "id": "denon-volume-down",
  10. "name": "Denon Volume down",
  11. "rule": "if denon-voldown is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MVDOWN\"",
  12. "active": true,
  13. "logging": false
  14. },
  15. {
  16. "id": "denon-volume-mute",
  17. "name": "Denon Volume mute",
  18. "rule": "if denon-mute is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppMute.xml?1+MuteOn\"",
  19. "active": true,
  20. "logging": false
  21. },
  22. {
  23. "id": "denon-volume-unmute",
  24. "name": "Denon Volume unmute",
  25. "rule": "if denon-unmute is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppMute.xml?1+MuteOff\"",
  26. "active": true,
  27. "logging": false
  28. },
  29. {
  30. "id": "denon-volume-15",
  31. "name": "Denon Volume 15",
  32. "rule": "if denon-vol15 is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MV15\"",
  33. "active": true,
  34. "logging": false
  35. },
  36. {
  37. "id": "denon-volume-30",
  38. "name": "Denon Volume 30",
  39. "rule": "if denon-vol30 is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MV30\"",
  40. "active": true,
  41. "logging": false
  42. },
  43. {
  44. "id": "denon-volume-45",
  45. "name": "Denon Volume 45",
  46. "rule": "if denon-vol45 is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MV45\"",
  47. "active": true,
  48. "logging": false
  49. },
  50. {
  51. "id": "denon-power-on",
  52. "name": "Denon Power on",
  53. "rule": "if denon-poweron pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppPower.xml?1+PowerOn\"",
  54. "active": true,
  55. "logging": false
  56. },
  57. {
  58. "id": "denon-power-off",
  59. "name": "Denon Power off",
  60. "rule": "if denon-poweroff pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppPower.xml?1+PowerStandby\"",
  61. "active": true,
  62. "logging": false
  63. },
  64. {
  65. "id": "denon-input-sat",
  66. "name": "Denon Input SAT",
  67. "rule": "if denon-sat is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?SISAT\"",
  68. "active": true,
  69. "logging": false
  70. },
  71. {
  72. "id": "denon-input-ps3",
  73. "name": "Denon Input PS3",
  74. "rule": "if denon-ps3 is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?SIMPLAY\"",
  75. "active": true,
  76. "logging": false
  77. },
  78. {
  79. "id": "denon-input-iradio",
  80. "name": "Denon Input IRadio",
  81. "rule": "if denon-radio is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?SIIRP\"",
  82. "active": true,
  83. "logging": false
  84. },
  85. {
  86. "id": "denon-input-mp3",
  87. "name": "Denon Input MP3",
  88. "rule": "if denon-mp3 is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?SINET\"",
  89. "active": true,
  90. "logging": false
  91. },
  92. {
  93. "id": "denon-player-controls-play",
  94. "name": "Denon Player Controls Play",
  95. "rule": "if denon-play is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?NS9A\"",
  96. "active": true,
  97. "logging": false
  98. },
  99. {
  100. "id": "denon-player-skip-forward",
  101. "name": "Denon Player Controls Skip Forward",
  102. "rule": "if denon-skipforward is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?NS9D\"",
  103. "active": true,
  104. "logging": false
  105. },
  106. {
  107. "id": "denon-player-controls-stop",
  108. "name": "Denon Player Controls Stop",
  109. "rule": "if denon-stop is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?NS9C\"",
  110. "active": true,
  111. "logging": false
  112. },
  113. {
  114. "id": "denon-player-skip-back",
  115. "name": "Denon Player Controls Skip Back",
  116. "rule": "if denon-skipback is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?NS9E\"",
  117. "active": true,
  118. "logging": false
  119. },
  120. {
  121. "id": "denon-repeat-toggle",
  122. "name": "Denon Repeat Toggle",
  123. "rule": "if denon-repeat is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?NSRPT\"",
  124. "active": true,
  125. "logging": false
  126. },
  127. {
  128. "id": "denon-random-toggle",
  129. "name": "Denon Random Toggle",
  130. "rule": "if denon-random is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?NSRND\"",
  131. "active": true,
  132. "logging": false
  133. },
  134. {
  135. "id": "denon-cursor-left",
  136. "name": "Denon Cursor Left",
  137. "rule": "if denon-left is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MNCLT\"",
  138. "active": true,
  139. "logging": false
  140. },
  141. {
  142. "id": "denon-cursor-right",
  143. "name": "Denon Cursor Right",
  144. "rule": "if denon-right is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MNCRT\"",
  145. "active": true,
  146. "logging": false
  147. },
  148. {
  149. "id": "denon-cursor-up",
  150. "name": "Denon Cursor Up",
  151. "rule": "if denon-up is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MNCUP\"",
  152. "active": true,
  153. "logging": false
  154. },
  155. {
  156. "id": "denon-cursor-down",
  157. "name": "Denon Cursor Down",
  158. "rule": "if denon-down is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MNCDN\"",
  159. "active": true,
  160. "logging": false
  161. },
  162. {
  163. "id": "denon-enter-button",
  164. "name": "Denon Enter Button",
  165. "rule": "if denon-enter is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MNENT\"",
  166. "active": true,
  167. "logging": false
  168. },
  169. {
  170. "id": "denon-back-button",
  171. "name": "Denon Back Button",
  172. "rule": "if denon-back is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MNRTN\"",
  173. "active": true,
  174. "logging": false
  175. },
  176. {
  177. "id": "denon-option-button",
  178. "name": "Denon Option Button",
  179. "rule": "if denon-option is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MNOPT\"",
  180. "active": true,
  181. "logging": false
  182. },
  183. {
  184. "id": "denon-info-button",
  185. "name": "Denon Info Button",
  186. "rule": "if denon-info is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MNINF\"",
  187. "active": true,
  188. "logging": false
  189. },
  190. {
  191. "id": "denon-page-up",
  192. "name": "Denon Page Up",
  193. "rule": "if denon-pageup is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?NS9Y\"",
  194. "active": true,
  195. "logging": false
  196. },
  197. {
  198. "id": "denon-page-down",
  199. "name": "Denon Page Down",
  200. "rule": "if denon-pagedown is pressed then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?NS9X\"",
  201. "active": true,
  202. "logging": false
  203. },
  204. {
  205. "id": "denon-copy-title-to-file",
  206. "name": "Denon Copy Title to File",
  207. "rule": "if denon-copy-title is pressed then execute \"echo '$datetime.time : $denon-status1.line1' >> /home/pi/pimatic-logs/denon-iradio-title.log\"",
  208. "active": true,
  209. "logging": false
  210. },
  211. {
  212. "id": "denon-set-mastervolume",
  213. "name": "Denon set Mastervolume",
  214. "rule": "if $denon-volume-slider.dimlevel changes then execute \"curl -s http://192.168.178.67/goform/formiPhoneAppDirect.xml?MV$denon-mastervolume\"",
  215. "active": true,
  216. "logging": true
  217. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement