Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. [
  2. {
  3. "id": "70f72e17.02b55",
  4. "type": "tab",
  5. "label": "Day8_UDPadc",
  6. "disabled": true,
  7. "info": ""
  8. },
  9. {
  10. "id": "8642b347.e8bc9",
  11. "type": "udp in",
  12. "z": "70f72e17.02b55",
  13. "name": "",
  14. "iface": "",
  15. "port": "55056",
  16. "ipv": "udp4",
  17. "multicast": "false",
  18. "group": "",
  19. "datatype": "utf8",
  20. "x": 100,
  21. "y": 140,
  22. "wires": [
  23. [
  24. "500a1d79.82d6c4",
  25. "9f568678.eb1e48"
  26. ]
  27. ]
  28. },
  29. {
  30. "id": "baf726af.ce0978",
  31. "type": "switch",
  32. "z": "70f72e17.02b55",
  33. "name": "",
  34. "property": "payload.cmd",
  35. "propertyType": "msg",
  36. "rules": [
  37. {
  38. "t": "eq",
  39. "v": "trigger",
  40. "vt": "str"
  41. },
  42. {
  43. "t": "eq",
  44. "v": "adc",
  45. "vt": "str"
  46. }
  47. ],
  48. "checkall": "true",
  49. "repair": false,
  50. "outputs": 2,
  51. "x": 390,
  52. "y": 140,
  53. "wires": [
  54. [
  55. "2b26fa17.231f26"
  56. ],
  57. [
  58. "cf929191.b7cce"
  59. ]
  60. ]
  61. },
  62. {
  63. "id": "2b26fa17.231f26",
  64. "type": "trigger",
  65. "z": "70f72e17.02b55",
  66. "op1": "{\"cmd\":\"light_on\"}",
  67. "op2": "{\"cmd\":\"light_off\"}",
  68. "op1type": "str",
  69. "op2type": "str",
  70. "duration": "4",
  71. "extend": true,
  72. "units": "s",
  73. "reset": "",
  74. "bytopic": "all",
  75. "name": "",
  76. "x": 580,
  77. "y": 120,
  78. "wires": [
  79. [
  80. "dd6b6763.c2cd08"
  81. ]
  82. ]
  83. },
  84. {
  85. "id": "dd6b6763.c2cd08",
  86. "type": "udp out",
  87. "z": "70f72e17.02b55",
  88. "name": "",
  89. "addr": "192.168.178.255",
  90. "iface": "",
  91. "port": "55056",
  92. "ipv": "udp4",
  93. "outport": "",
  94. "base64": false,
  95. "multicast": "false",
  96. "x": 800,
  97. "y": 120,
  98. "wires": []
  99. },
  100. {
  101. "id": "f16cdd79.7c75f",
  102. "type": "ui_button",
  103. "z": "70f72e17.02b55",
  104. "name": "",
  105. "group": "c9b695b7.dc9628",
  106. "order": 0,
  107. "width": 0,
  108. "height": 0,
  109. "passthru": false,
  110. "label": "Staircase Trigger",
  111. "color": "",
  112. "bgcolor": "",
  113. "icon": "",
  114. "payload": "",
  115. "payloadType": "str",
  116. "topic": "",
  117. "x": 350,
  118. "y": 80,
  119. "wires": [
  120. [
  121. "2b26fa17.231f26"
  122. ]
  123. ]
  124. },
  125. {
  126. "id": "500a1d79.82d6c4",
  127. "type": "debug",
  128. "z": "70f72e17.02b55",
  129. "name": "",
  130. "active": true,
  131. "tosidebar": true,
  132. "console": false,
  133. "tostatus": false,
  134. "complete": "false",
  135. "x": 290,
  136. "y": 200,
  137. "wires": []
  138. },
  139. {
  140. "id": "9f568678.eb1e48",
  141. "type": "json",
  142. "z": "70f72e17.02b55",
  143. "name": "",
  144. "property": "payload",
  145. "action": "",
  146. "pretty": false,
  147. "x": 250,
  148. "y": 140,
  149. "wires": [
  150. [
  151. "baf726af.ce0978"
  152. ]
  153. ]
  154. },
  155. {
  156. "id": "cf929191.b7cce",
  157. "type": "template",
  158. "z": "70f72e17.02b55",
  159. "name": "Get Values",
  160. "field": "payload",
  161. "fieldType": "msg",
  162. "format": "handlebars",
  163. "syntax": "mustache",
  164. "template": "{{payload.value}}",
  165. "output": "str",
  166. "x": 590,
  167. "y": 180,
  168. "wires": [
  169. [
  170. "9a6491cf.8ede5"
  171. ]
  172. ]
  173. },
  174. {
  175. "id": "9a6491cf.8ede5",
  176. "type": "ui_gauge",
  177. "z": "70f72e17.02b55",
  178. "name": "",
  179. "group": "c9b695b7.dc9628",
  180. "order": 0,
  181. "width": 0,
  182. "height": 0,
  183. "gtype": "gage",
  184. "title": "ADC Values",
  185. "label": "RAW",
  186. "format": "{{value}}",
  187. "min": 0,
  188. "max": "4096",
  189. "colors": [
  190. "#00b500",
  191. "#e6e600",
  192. "#ca3838"
  193. ],
  194. "seg1": "1500",
  195. "seg2": "3000",
  196. "x": 770,
  197. "y": 180,
  198. "wires": []
  199. },
  200. {
  201. "id": "c9b695b7.dc9628",
  202. "type": "ui_group",
  203. "z": "",
  204. "name": "[Day 8] Staircase and ADC",
  205. "tab": "3956cd61.43b7f2",
  206. "order": 1,
  207. "disp": true,
  208. "width": "6",
  209. "collapse": false
  210. },
  211. {
  212. "id": "3956cd61.43b7f2",
  213. "type": "ui_tab",
  214. "z": "",
  215. "name": "Day8",
  216. "icon": "dashboard",
  217. "order": 4
  218. }
  219. ]