Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. [
  2. {
  3. "id": "24a32eb3.2f60b2",
  4. "type": "mqtt in",
  5. "z": "77bb0eda.e443e",
  6. "name": "button 3 clicked",
  7. "topic": "cmnd/tx1/POWER3",
  8. "qos": "0",
  9. "datatype": "auto",
  10. "broker": "d2a1995f.bf0fd8",
  11. "x": 140,
  12. "y": 600,
  13. "wires": [
  14. [
  15. "26c56413.51621c"
  16. ]
  17. ]
  18. },
  19. {
  20. "id": "26c56413.51621c",
  21. "type": "switch",
  22. "z": "77bb0eda.e443e",
  23. "name": "Check input",
  24. "property": "payload",
  25. "propertyType": "msg",
  26. "rules": [
  27. {
  28. "t": "eq",
  29. "v": "TOGGLE",
  30. "vt": "str"
  31. },
  32. {
  33. "t": "eq",
  34. "v": "HOLD",
  35. "vt": "str"
  36. }
  37. ],
  38. "checkall": "true",
  39. "repair": false,
  40. "outputs": 2,
  41. "x": 340,
  42. "y": 600,
  43. "wires": [
  44. [],
  45. []
  46. ]
  47. },
  48. {
  49. "id": "2b60a62f.003d3a",
  50. "type": "mqtt in",
  51. "z": "77bb0eda.e443e",
  52. "name": "button 2 clicked",
  53. "topic": "cmnd/tx1/POWER2",
  54. "qos": "0",
  55. "datatype": "auto",
  56. "broker": "d2a1995f.bf0fd8",
  57. "x": 140,
  58. "y": 540,
  59. "wires": [
  60. [
  61. "113c08ff.c67597"
  62. ]
  63. ]
  64. },
  65. {
  66. "id": "113c08ff.c67597",
  67. "type": "switch",
  68. "z": "77bb0eda.e443e",
  69. "name": "Check input",
  70. "property": "payload",
  71. "propertyType": "msg",
  72. "rules": [
  73. {
  74. "t": "eq",
  75. "v": "TOGGLE",
  76. "vt": "str"
  77. },
  78. {
  79. "t": "eq",
  80. "v": "HOLD",
  81. "vt": "str"
  82. }
  83. ],
  84. "checkall": "true",
  85. "repair": false,
  86. "outputs": 2,
  87. "x": 340,
  88. "y": 540,
  89. "wires": [
  90. [],
  91. []
  92. ]
  93. },
  94. {
  95. "id": "62c1a79.db26e58",
  96. "type": "mqtt in",
  97. "z": "77bb0eda.e443e",
  98. "name": "button 1 clicked",
  99. "topic": "cmnd/tx1/POWER1",
  100. "qos": "0",
  101. "datatype": "auto",
  102. "broker": "d2a1995f.bf0fd8",
  103. "x": 140,
  104. "y": 480,
  105. "wires": [
  106. [
  107. "68bba8ff.eea838"
  108. ]
  109. ]
  110. },
  111. {
  112. "id": "68bba8ff.eea838",
  113. "type": "switch",
  114. "z": "77bb0eda.e443e",
  115. "name": "Check input",
  116. "property": "payload",
  117. "propertyType": "msg",
  118. "rules": [
  119. {
  120. "t": "eq",
  121. "v": "TOGGLE",
  122. "vt": "str"
  123. },
  124. {
  125. "t": "eq",
  126. "v": "HOLD",
  127. "vt": "str"
  128. }
  129. ],
  130. "checkall": "true",
  131. "repair": false,
  132. "outputs": 2,
  133. "x": 340,
  134. "y": 480,
  135. "wires": [
  136. [],
  137. []
  138. ]
  139. },
  140. {
  141. "id": "d2a1995f.bf0fd8",
  142. "type": "mqtt-broker",
  143. "z": "",
  144. "name": "MQTT mosquitto",
  145. "broker": "192.168.11.61",
  146. "port": "1883",
  147. "clientid": "",
  148. "usetls": false,
  149. "compatmode": true,
  150. "keepalive": "60",
  151. "cleansession": true,
  152. "birthTopic": "",
  153. "birthQos": "0",
  154. "birthPayload": "",
  155. "closeTopic": "",
  156. "closeQos": "0",
  157. "closePayload": "",
  158. "willTopic": "",
  159. "willQos": "0",
  160. "willPayload": ""
  161. }
  162. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement