node-red-contrib-huemagic 4.2.2 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (515) hide show
  1. package/CHANGELOG.md +89 -5
  2. package/README.md +506 -123
  3. package/examples/Deutsch/Hue Automation.json +176 -0
  4. package/examples/Deutsch/Hue Bridge.json +256 -0
  5. package/examples/Deutsch/Hue Brightness.json +150 -0
  6. package/examples/Deutsch/Hue Buttons.json +88 -0
  7. package/examples/Deutsch/Hue Contact.json +150 -0
  8. package/examples/Deutsch/Hue Group.json +658 -0
  9. package/examples/Deutsch/Hue Light.json +893 -0
  10. package/examples/Deutsch/Hue Magic.json +148 -0
  11. package/examples/Deutsch/Hue Motion.json +150 -0
  12. package/examples/Deutsch/Hue Rules.json +150 -0
  13. package/examples/Deutsch/Hue Scene.json +178 -0
  14. package/examples/Deutsch/Hue Speaker.json +274 -0
  15. package/examples/Deutsch/Hue Sync Box.json +378 -0
  16. package/examples/Deutsch/Hue Temperature.json +150 -0
  17. package/examples/English/Hue Automation.json +176 -0
  18. package/examples/{Hue Bridge.json → English/Hue Bridge.json } +1 -1
  19. package/examples/{Hue Brightness.json → English/Hue Brightness.json } +1 -1
  20. package/examples/{Hue Buttons.json → English/Hue Buttons.json } +1 -1
  21. package/examples/English/Hue Contact.json +150 -0
  22. package/examples/{Hue Group.json → English/Hue Group.json } +1 -1
  23. package/examples/{Hue Light.json → English/Hue Light.json } +1 -1
  24. package/examples/{Hue Magic.json → English/Hue Magic.json } +1 -1
  25. package/examples/{Hue Motion.json → English/Hue Motion.json } +1 -1
  26. package/examples/{Hue Rules.json → English/Hue Rules.json } +1 -1
  27. package/examples/{Hue Scene.json → English/Hue Scene.json } +1 -1
  28. package/examples/English/Hue Speaker.json +274 -0
  29. package/examples/English/Hue Sync Box.json +378 -0
  30. package/examples/{Hue Temperature.json → English/Hue Temperature.json } +1 -1
  31. package/examples/Espa/303/261ol/Hue Automation.json" +176 -0
  32. package/examples/Espa/303/261ol/Hue Bridge.json" +256 -0
  33. package/examples/Espa/303/261ol/Hue Brightness.json" +150 -0
  34. package/examples/Espa/303/261ol/Hue Buttons.json" +88 -0
  35. package/examples/Espa/303/261ol/Hue Contact.json" +150 -0
  36. package/examples/Espa/303/261ol/Hue Group.json" +658 -0
  37. package/examples/Espa/303/261ol/Hue Light.json" +893 -0
  38. package/examples/Espa/303/261ol/Hue Magic.json" +148 -0
  39. package/examples/Espa/303/261ol/Hue Motion.json" +150 -0
  40. package/examples/Espa/303/261ol/Hue Rules.json" +150 -0
  41. package/examples/Espa/303/261ol/Hue Scene.json" +178 -0
  42. package/examples/Espa/303/261ol/Hue Speaker.json" +274 -0
  43. package/examples/Espa/303/261ol/Hue Sync Box.json" +378 -0
  44. package/examples/Espa/303/261ol/Hue Temperature.json" +150 -0
  45. package/examples/Fran/303/247ais/Hue Automation.json" +176 -0
  46. package/examples/Fran/303/247ais/Hue Bridge.json" +256 -0
  47. package/examples/Fran/303/247ais/Hue Brightness.json" +150 -0
  48. package/examples/Fran/303/247ais/Hue Buttons.json" +88 -0
  49. package/examples/Fran/303/247ais/Hue Contact.json" +150 -0
  50. package/examples/Fran/303/247ais/Hue Group.json" +658 -0
  51. package/examples/Fran/303/247ais/Hue Light.json" +893 -0
  52. package/examples/Fran/303/247ais/Hue Magic.json" +148 -0
  53. package/examples/Fran/303/247ais/Hue Motion.json" +150 -0
  54. package/examples/Fran/303/247ais/Hue Rules.json" +150 -0
  55. package/examples/Fran/303/247ais/Hue Scene.json" +178 -0
  56. package/examples/Fran/303/247ais/Hue Speaker.json" +274 -0
  57. package/examples/Fran/303/247ais/Hue Sync Box.json" +378 -0
  58. package/examples/Fran/303/247ais/Hue Temperature.json" +150 -0
  59. package/examples/Italiano/Hue Automation.json +176 -0
  60. package/examples/Italiano/Hue Bridge.json +256 -0
  61. package/examples/Italiano/Hue Brightness.json +150 -0
  62. package/examples/Italiano/Hue Buttons.json +88 -0
  63. package/examples/Italiano/Hue Contact.json +150 -0
  64. package/examples/Italiano/Hue Group.json +658 -0
  65. package/examples/Italiano/Hue Light.json +893 -0
  66. package/examples/Italiano/Hue Magic.json +148 -0
  67. package/examples/Italiano/Hue Motion.json +150 -0
  68. package/examples/Italiano/Hue Rules.json +150 -0
  69. package/examples/Italiano/Hue Scene.json +178 -0
  70. package/examples/Italiano/Hue Speaker.json +274 -0
  71. package/examples/Italiano/Hue Sync Box.json +378 -0
  72. package/examples/Italiano/Hue Temperature.json +150 -0
  73. package/examples/Nederlands/Hue Automation.json +176 -0
  74. package/examples/Nederlands/Hue Bridge.json +256 -0
  75. package/examples/Nederlands/Hue Brightness.json +150 -0
  76. package/examples/Nederlands/Hue Buttons.json +88 -0
  77. package/examples/Nederlands/Hue Contact.json +150 -0
  78. package/examples/Nederlands/Hue Group.json +658 -0
  79. package/examples/Nederlands/Hue Light.json +893 -0
  80. package/examples/Nederlands/Hue Magic.json +148 -0
  81. package/examples/Nederlands/Hue Motion.json +150 -0
  82. package/examples/Nederlands/Hue Rules.json +150 -0
  83. package/examples/Nederlands/Hue Scene.json +178 -0
  84. package/examples/Nederlands/Hue Speaker.json +274 -0
  85. package/examples/Nederlands/Hue Sync Box.json +378 -0
  86. package/examples/Nederlands/Hue Temperature.json +150 -0
  87. package/examples/Polski/Hue Automation.json +176 -0
  88. package/examples/Polski/Hue Bridge.json +256 -0
  89. package/examples/Polski/Hue Brightness.json +150 -0
  90. package/examples/Polski/Hue Buttons.json +88 -0
  91. package/examples/Polski/Hue Contact.json +150 -0
  92. package/examples/Polski/Hue Group.json +658 -0
  93. package/examples/Polski/Hue Light.json +893 -0
  94. package/examples/Polski/Hue Magic.json +148 -0
  95. package/examples/Polski/Hue Motion.json +150 -0
  96. package/examples/Polski/Hue Rules.json +150 -0
  97. package/examples/Polski/Hue Scene.json +178 -0
  98. package/examples/Polski/Hue Speaker.json +274 -0
  99. package/examples/Polski/Hue Sync Box.json +378 -0
  100. package/examples/Polski/Hue Temperature.json +150 -0
  101. package/examples/Portugu/303/252s/Hue Automation.json" +176 -0
  102. package/examples/Portugu/303/252s/Hue Bridge.json" +256 -0
  103. package/examples/Portugu/303/252s/Hue Brightness.json" +150 -0
  104. package/examples/Portugu/303/252s/Hue Buttons.json" +88 -0
  105. package/examples/Portugu/303/252s/Hue Contact.json" +150 -0
  106. package/examples/Portugu/303/252s/Hue Group.json" +658 -0
  107. package/examples/Portugu/303/252s/Hue Light.json" +893 -0
  108. package/examples/Portugu/303/252s/Hue Magic.json" +148 -0
  109. package/examples/Portugu/303/252s/Hue Motion.json" +150 -0
  110. package/examples/Portugu/303/252s/Hue Rules.json" +150 -0
  111. package/examples/Portugu/303/252s/Hue Scene.json" +178 -0
  112. package/examples/Portugu/303/252s/Hue Speaker.json" +274 -0
  113. package/examples/Portugu/303/252s/Hue Sync Box.json" +378 -0
  114. package/examples/Portugu/303/252s/Hue Temperature.json" +150 -0
  115. package/examples/T/303/274rk/303/247e/Hue Automation.json" +176 -0
  116. package/examples/T/303/274rk/303/247e/Hue Bridge.json" +256 -0
  117. package/examples/T/303/274rk/303/247e/Hue Brightness.json" +150 -0
  118. package/examples/T/303/274rk/303/247e/Hue Buttons.json" +88 -0
  119. package/examples/T/303/274rk/303/247e/Hue Contact.json" +150 -0
  120. package/examples/T/303/274rk/303/247e/Hue Group.json" +658 -0
  121. package/examples/T/303/274rk/303/247e/Hue Light.json" +893 -0
  122. package/examples/T/303/274rk/303/247e/Hue Magic.json" +148 -0
  123. package/examples/T/303/274rk/303/247e/Hue Motion.json" +150 -0
  124. package/examples/T/303/274rk/303/247e/Hue Rules.json" +150 -0
  125. package/examples/T/303/274rk/303/247e/Hue Scene.json" +178 -0
  126. package/examples/T/303/274rk/303/247e/Hue Speaker.json" +274 -0
  127. package/examples/T/303/274rk/303/247e/Hue Sync Box.json" +378 -0
  128. package/examples/T/303/274rk/303/247e/Hue Temperature.json" +150 -0
  129. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Automation.json" +176 -0
  130. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Bridge.json" +256 -0
  131. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Brightness.json" +150 -0
  132. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Buttons.json" +88 -0
  133. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Contact.json" +150 -0
  134. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Group.json" +658 -0
  135. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Light.json" +893 -0
  136. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Magic.json" +148 -0
  137. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Motion.json" +150 -0
  138. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Rules.json" +150 -0
  139. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Scene.json" +178 -0
  140. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Speaker.json" +274 -0
  141. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Sync Box.json" +378 -0
  142. package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Temperature.json" +150 -0
  143. package/huemagic/assets/huemagic-examples.gif +0 -0
  144. package/huemagic/hue-automation.html +218 -0
  145. package/huemagic/hue-automation.js +173 -0
  146. package/huemagic/hue-bridge-config.html +39 -32
  147. package/huemagic/hue-bridge-config.js +290 -99
  148. package/huemagic/hue-bridge.html +8 -8
  149. package/huemagic/hue-bridge.js +29 -4
  150. package/huemagic/hue-brightness.html +21 -9
  151. package/huemagic/hue-brightness.js +20 -10
  152. package/huemagic/hue-buttons.html +16 -9
  153. package/huemagic/hue-buttons.js +90 -27
  154. package/huemagic/hue-contact.html +218 -0
  155. package/huemagic/hue-contact.js +209 -0
  156. package/huemagic/hue-group.html +16 -9
  157. package/huemagic/hue-group.js +141 -179
  158. package/huemagic/hue-light.html +19 -12
  159. package/huemagic/hue-light.js +222 -167
  160. package/huemagic/hue-magic.html +3 -5
  161. package/huemagic/hue-motion.html +16 -9
  162. package/huemagic/hue-motion.js +37 -8
  163. package/huemagic/hue-rules.html +16 -9
  164. package/huemagic/hue-rules.js +16 -8
  165. package/huemagic/hue-scene.html +9 -5
  166. package/huemagic/hue-scene.js +52 -16
  167. package/huemagic/hue-speaker.html +218 -0
  168. package/huemagic/hue-speaker.js +257 -0
  169. package/huemagic/hue-syncbox-config.html +123 -0
  170. package/huemagic/hue-syncbox-config.js +179 -0
  171. package/huemagic/hue-syncbox.html +82 -0
  172. package/huemagic/hue-syncbox.js +274 -0
  173. package/huemagic/hue-temperature.html +21 -9
  174. package/huemagic/hue-temperature.js +18 -10
  175. package/huemagic/icons/hue-automation.png +0 -0
  176. package/huemagic/icons/hue-automation.svg +3 -0
  177. package/huemagic/icons/hue-contact.png +0 -0
  178. package/huemagic/icons/hue-contact.svg +4 -0
  179. package/huemagic/icons/hue-speaker.png +0 -0
  180. package/huemagic/icons/hue-speaker.svg +6 -0
  181. package/huemagic/icons/hue-syncbox.png +0 -0
  182. package/huemagic/icons/hue-syncbox.svg +7 -0
  183. package/huemagic/locales/de/hue-automation.html +59 -0
  184. package/huemagic/locales/de/hue-automation.json +33 -0
  185. package/huemagic/locales/de/hue-bridge-config.json +23 -12
  186. package/huemagic/locales/de/hue-bridge.html +7 -4
  187. package/huemagic/locales/de/hue-bridge.json +9 -10
  188. package/huemagic/locales/de/hue-brightness.html +9 -6
  189. package/huemagic/locales/de/hue-brightness.json +13 -9
  190. package/huemagic/locales/de/hue-buttons.html +5 -4
  191. package/huemagic/locales/de/hue-buttons.json +22 -8
  192. package/huemagic/locales/de/hue-contact.html +67 -0
  193. package/huemagic/locales/de/hue-contact.json +35 -0
  194. package/huemagic/locales/de/hue-group.html +17 -6
  195. package/huemagic/locales/de/hue-group.json +16 -9
  196. package/huemagic/locales/de/hue-light.html +6 -6
  197. package/huemagic/locales/de/hue-light.json +17 -9
  198. package/huemagic/locales/de/hue-magic.html +1 -1
  199. package/huemagic/locales/de/hue-magic.json +6 -8
  200. package/huemagic/locales/de/hue-motion.html +4 -4
  201. package/huemagic/locales/de/hue-motion.json +14 -9
  202. package/huemagic/locales/de/hue-rules.html +2 -2
  203. package/huemagic/locales/de/hue-rules.json +10 -9
  204. package/huemagic/locales/de/hue-scene.html +11 -3
  205. package/huemagic/locales/de/hue-scene.json +9 -9
  206. package/huemagic/locales/de/hue-speaker.html +80 -0
  207. package/huemagic/locales/de/hue-speaker.json +38 -0
  208. package/huemagic/locales/de/hue-syncbox-config.html +19 -0
  209. package/huemagic/locales/de/hue-syncbox-config.json +25 -0
  210. package/huemagic/locales/de/hue-syncbox.html +86 -0
  211. package/huemagic/locales/de/hue-syncbox.json +30 -0
  212. package/huemagic/locales/de/hue-temperature.html +7 -5
  213. package/huemagic/locales/de/hue-temperature.json +13 -9
  214. package/huemagic/locales/el/hue-automation.html +59 -0
  215. package/huemagic/locales/el/hue-automation.json +33 -0
  216. package/huemagic/locales/el/hue-bridge-config.html +31 -0
  217. package/huemagic/locales/el/hue-bridge-config.json +40 -0
  218. package/huemagic/locales/el/hue-bridge.html +96 -0
  219. package/huemagic/locales/el/hue-bridge.json +26 -0
  220. package/huemagic/locales/el/hue-brightness.html +70 -0
  221. package/huemagic/locales/el/hue-brightness.json +37 -0
  222. package/huemagic/locales/el/hue-buttons.html +59 -0
  223. package/huemagic/locales/el/hue-buttons.json +42 -0
  224. package/huemagic/locales/el/hue-contact.html +67 -0
  225. package/huemagic/locales/el/hue-contact.json +35 -0
  226. package/huemagic/locales/el/hue-group.html +87 -0
  227. package/huemagic/locales/el/hue-group.json +46 -0
  228. package/huemagic/locales/el/hue-light.html +97 -0
  229. package/huemagic/locales/el/hue-light.json +44 -0
  230. package/huemagic/locales/el/hue-magic.html +68 -0
  231. package/huemagic/locales/el/hue-magic.json +26 -0
  232. package/huemagic/locales/el/hue-motion.html +64 -0
  233. package/huemagic/locales/el/hue-motion.json +36 -0
  234. package/huemagic/locales/el/hue-rules.html +69 -0
  235. package/huemagic/locales/el/hue-rules.json +30 -0
  236. package/huemagic/locales/el/hue-scene.html +43 -0
  237. package/huemagic/locales/el/hue-scene.json +32 -0
  238. package/huemagic/locales/el/hue-speaker.html +80 -0
  239. package/huemagic/locales/el/hue-speaker.json +38 -0
  240. package/huemagic/locales/el/hue-syncbox-config.html +19 -0
  241. package/huemagic/locales/el/hue-syncbox-config.json +25 -0
  242. package/huemagic/locales/el/hue-syncbox.html +86 -0
  243. package/huemagic/locales/el/hue-syncbox.json +30 -0
  244. package/huemagic/locales/el/hue-temperature.html +69 -0
  245. package/huemagic/locales/el/hue-temperature.json +33 -0
  246. package/huemagic/locales/en/hue-automation.html +59 -0
  247. package/huemagic/locales/en/hue-automation.json +33 -0
  248. package/huemagic/locales/en/hue-bridge-config.json +40 -0
  249. package/huemagic/locales/{en-US → en}/hue-bridge.html +5 -2
  250. package/huemagic/locales/{en-US → en}/hue-bridge.json +8 -9
  251. package/huemagic/locales/{en-US → en}/hue-brightness.html +6 -3
  252. package/huemagic/locales/{en-US → en}/hue-brightness.json +11 -9
  253. package/huemagic/locales/{en-US → en}/hue-buttons.html +4 -3
  254. package/huemagic/locales/en/hue-buttons.json +42 -0
  255. package/huemagic/locales/en/hue-contact.html +67 -0
  256. package/huemagic/locales/en/hue-contact.json +35 -0
  257. package/huemagic/locales/{en-US → en}/hue-group.html +16 -5
  258. package/huemagic/locales/{en-US → en}/hue-group.json +15 -10
  259. package/huemagic/locales/{en-US → en}/hue-light.html +3 -3
  260. package/huemagic/locales/en/hue-light.json +44 -0
  261. package/huemagic/locales/{en-US → en}/hue-magic.html +1 -1
  262. package/huemagic/locales/{en-US → en}/hue-motion.html +2 -2
  263. package/huemagic/locales/{en-US → en}/hue-motion.json +12 -9
  264. package/huemagic/locales/{en-US → en}/hue-rules.html +2 -2
  265. package/huemagic/locales/{en-US → en}/hue-rules.json +10 -9
  266. package/huemagic/locales/{en-US → en}/hue-scene.html +11 -3
  267. package/huemagic/locales/{en-US → en}/hue-scene.json +9 -9
  268. package/huemagic/locales/en/hue-speaker.html +80 -0
  269. package/huemagic/locales/en/hue-speaker.json +38 -0
  270. package/huemagic/locales/en/hue-syncbox-config.html +19 -0
  271. package/huemagic/locales/en/hue-syncbox-config.json +25 -0
  272. package/huemagic/locales/en/hue-syncbox.html +86 -0
  273. package/huemagic/locales/en/hue-syncbox.json +30 -0
  274. package/huemagic/locales/{en-US → en}/hue-temperature.html +4 -2
  275. package/huemagic/locales/{en-US → en}/hue-temperature.json +11 -9
  276. package/huemagic/locales/es/hue-automation.html +59 -0
  277. package/huemagic/locales/es/hue-automation.json +33 -0
  278. package/huemagic/locales/es/hue-bridge-config.html +31 -0
  279. package/huemagic/locales/es/hue-bridge-config.json +40 -0
  280. package/huemagic/locales/es/hue-bridge.html +96 -0
  281. package/huemagic/locales/es/hue-bridge.json +26 -0
  282. package/huemagic/locales/es/hue-brightness.html +70 -0
  283. package/huemagic/locales/es/hue-brightness.json +37 -0
  284. package/huemagic/locales/es/hue-buttons.html +59 -0
  285. package/huemagic/locales/es/hue-buttons.json +42 -0
  286. package/huemagic/locales/es/hue-contact.html +67 -0
  287. package/huemagic/locales/es/hue-contact.json +35 -0
  288. package/huemagic/locales/es/hue-group.html +87 -0
  289. package/huemagic/locales/es/hue-group.json +46 -0
  290. package/huemagic/locales/es/hue-light.html +97 -0
  291. package/huemagic/locales/es/hue-light.json +44 -0
  292. package/huemagic/locales/es/hue-magic.html +68 -0
  293. package/huemagic/locales/es/hue-magic.json +26 -0
  294. package/huemagic/locales/es/hue-motion.html +64 -0
  295. package/huemagic/locales/es/hue-motion.json +36 -0
  296. package/huemagic/locales/es/hue-rules.html +69 -0
  297. package/huemagic/locales/es/hue-rules.json +30 -0
  298. package/huemagic/locales/es/hue-scene.html +43 -0
  299. package/huemagic/locales/es/hue-scene.json +32 -0
  300. package/huemagic/locales/es/hue-speaker.html +80 -0
  301. package/huemagic/locales/es/hue-speaker.json +38 -0
  302. package/huemagic/locales/es/hue-syncbox-config.html +19 -0
  303. package/huemagic/locales/es/hue-syncbox-config.json +25 -0
  304. package/huemagic/locales/es/hue-syncbox.html +86 -0
  305. package/huemagic/locales/es/hue-syncbox.json +30 -0
  306. package/huemagic/locales/es/hue-temperature.html +69 -0
  307. package/huemagic/locales/es/hue-temperature.json +33 -0
  308. package/huemagic/locales/fr/hue-automation.html +59 -0
  309. package/huemagic/locales/fr/hue-automation.json +33 -0
  310. package/huemagic/locales/fr/hue-bridge-config.html +31 -0
  311. package/huemagic/locales/fr/hue-bridge-config.json +40 -0
  312. package/huemagic/locales/fr/hue-bridge.html +96 -0
  313. package/huemagic/locales/fr/hue-bridge.json +26 -0
  314. package/huemagic/locales/fr/hue-brightness.html +70 -0
  315. package/huemagic/locales/fr/hue-brightness.json +37 -0
  316. package/huemagic/locales/fr/hue-buttons.html +59 -0
  317. package/huemagic/locales/fr/hue-buttons.json +42 -0
  318. package/huemagic/locales/fr/hue-contact.html +67 -0
  319. package/huemagic/locales/fr/hue-contact.json +35 -0
  320. package/huemagic/locales/fr/hue-group.html +87 -0
  321. package/huemagic/locales/fr/hue-group.json +46 -0
  322. package/huemagic/locales/fr/hue-light.html +97 -0
  323. package/huemagic/locales/fr/hue-light.json +44 -0
  324. package/huemagic/locales/fr/hue-magic.html +68 -0
  325. package/huemagic/locales/fr/hue-magic.json +26 -0
  326. package/huemagic/locales/fr/hue-motion.html +64 -0
  327. package/huemagic/locales/fr/hue-motion.json +36 -0
  328. package/huemagic/locales/fr/hue-rules.html +69 -0
  329. package/huemagic/locales/fr/hue-rules.json +30 -0
  330. package/huemagic/locales/fr/hue-scene.html +43 -0
  331. package/huemagic/locales/fr/hue-scene.json +32 -0
  332. package/huemagic/locales/fr/hue-speaker.html +80 -0
  333. package/huemagic/locales/fr/hue-speaker.json +38 -0
  334. package/huemagic/locales/fr/hue-syncbox-config.html +19 -0
  335. package/huemagic/locales/fr/hue-syncbox-config.json +25 -0
  336. package/huemagic/locales/fr/hue-syncbox.html +86 -0
  337. package/huemagic/locales/fr/hue-syncbox.json +30 -0
  338. package/huemagic/locales/fr/hue-temperature.html +69 -0
  339. package/huemagic/locales/fr/hue-temperature.json +33 -0
  340. package/huemagic/locales/it/hue-automation.html +59 -0
  341. package/huemagic/locales/it/hue-automation.json +33 -0
  342. package/huemagic/locales/it/hue-bridge-config.html +31 -0
  343. package/huemagic/locales/it/hue-bridge-config.json +40 -0
  344. package/huemagic/locales/it/hue-bridge.html +96 -0
  345. package/huemagic/locales/it/hue-bridge.json +26 -0
  346. package/huemagic/locales/it/hue-brightness.html +70 -0
  347. package/huemagic/locales/it/hue-brightness.json +37 -0
  348. package/huemagic/locales/it/hue-buttons.html +59 -0
  349. package/huemagic/locales/it/hue-buttons.json +42 -0
  350. package/huemagic/locales/it/hue-contact.html +67 -0
  351. package/huemagic/locales/it/hue-contact.json +35 -0
  352. package/huemagic/locales/it/hue-group.html +87 -0
  353. package/huemagic/locales/it/hue-group.json +46 -0
  354. package/huemagic/locales/it/hue-light.html +97 -0
  355. package/huemagic/locales/it/hue-light.json +44 -0
  356. package/huemagic/locales/it/hue-magic.html +68 -0
  357. package/huemagic/locales/it/hue-magic.json +26 -0
  358. package/huemagic/locales/it/hue-motion.html +64 -0
  359. package/huemagic/locales/it/hue-motion.json +36 -0
  360. package/huemagic/locales/it/hue-rules.html +69 -0
  361. package/huemagic/locales/it/hue-rules.json +30 -0
  362. package/huemagic/locales/it/hue-scene.html +43 -0
  363. package/huemagic/locales/it/hue-scene.json +32 -0
  364. package/huemagic/locales/it/hue-speaker.html +80 -0
  365. package/huemagic/locales/it/hue-speaker.json +38 -0
  366. package/huemagic/locales/it/hue-syncbox-config.html +19 -0
  367. package/huemagic/locales/it/hue-syncbox-config.json +25 -0
  368. package/huemagic/locales/it/hue-syncbox.html +86 -0
  369. package/huemagic/locales/it/hue-syncbox.json +30 -0
  370. package/huemagic/locales/it/hue-temperature.html +69 -0
  371. package/huemagic/locales/it/hue-temperature.json +33 -0
  372. package/huemagic/locales/nl/hue-automation.html +59 -0
  373. package/huemagic/locales/nl/hue-automation.json +33 -0
  374. package/huemagic/locales/nl/hue-bridge-config.html +31 -0
  375. package/huemagic/locales/nl/hue-bridge-config.json +40 -0
  376. package/huemagic/locales/nl/hue-bridge.html +96 -0
  377. package/huemagic/locales/nl/hue-bridge.json +26 -0
  378. package/huemagic/locales/nl/hue-brightness.html +70 -0
  379. package/huemagic/locales/nl/hue-brightness.json +37 -0
  380. package/huemagic/locales/nl/hue-buttons.html +59 -0
  381. package/huemagic/locales/nl/hue-buttons.json +42 -0
  382. package/huemagic/locales/nl/hue-contact.html +67 -0
  383. package/huemagic/locales/nl/hue-contact.json +35 -0
  384. package/huemagic/locales/nl/hue-group.html +87 -0
  385. package/huemagic/locales/nl/hue-group.json +46 -0
  386. package/huemagic/locales/nl/hue-light.html +97 -0
  387. package/huemagic/locales/nl/hue-light.json +44 -0
  388. package/huemagic/locales/nl/hue-magic.html +68 -0
  389. package/huemagic/locales/nl/hue-magic.json +26 -0
  390. package/huemagic/locales/nl/hue-motion.html +64 -0
  391. package/huemagic/locales/nl/hue-motion.json +36 -0
  392. package/huemagic/locales/nl/hue-rules.html +69 -0
  393. package/huemagic/locales/nl/hue-rules.json +30 -0
  394. package/huemagic/locales/nl/hue-scene.html +43 -0
  395. package/huemagic/locales/nl/hue-scene.json +32 -0
  396. package/huemagic/locales/nl/hue-speaker.html +80 -0
  397. package/huemagic/locales/nl/hue-speaker.json +38 -0
  398. package/huemagic/locales/nl/hue-syncbox-config.html +19 -0
  399. package/huemagic/locales/nl/hue-syncbox-config.json +25 -0
  400. package/huemagic/locales/nl/hue-syncbox.html +86 -0
  401. package/huemagic/locales/nl/hue-syncbox.json +30 -0
  402. package/huemagic/locales/nl/hue-temperature.html +69 -0
  403. package/huemagic/locales/nl/hue-temperature.json +33 -0
  404. package/huemagic/locales/pl/hue-automation.html +59 -0
  405. package/huemagic/locales/pl/hue-automation.json +33 -0
  406. package/huemagic/locales/pl/hue-bridge-config.html +31 -0
  407. package/huemagic/locales/pl/hue-bridge-config.json +40 -0
  408. package/huemagic/locales/pl/hue-bridge.html +96 -0
  409. package/huemagic/locales/pl/hue-bridge.json +26 -0
  410. package/huemagic/locales/pl/hue-brightness.html +70 -0
  411. package/huemagic/locales/pl/hue-brightness.json +37 -0
  412. package/huemagic/locales/pl/hue-buttons.html +59 -0
  413. package/huemagic/locales/pl/hue-buttons.json +42 -0
  414. package/huemagic/locales/pl/hue-contact.html +67 -0
  415. package/huemagic/locales/pl/hue-contact.json +35 -0
  416. package/huemagic/locales/pl/hue-group.html +87 -0
  417. package/huemagic/locales/pl/hue-group.json +46 -0
  418. package/huemagic/locales/pl/hue-light.html +97 -0
  419. package/huemagic/locales/pl/hue-light.json +44 -0
  420. package/huemagic/locales/pl/hue-magic.html +68 -0
  421. package/huemagic/locales/pl/hue-magic.json +26 -0
  422. package/huemagic/locales/pl/hue-motion.html +64 -0
  423. package/huemagic/locales/pl/hue-motion.json +36 -0
  424. package/huemagic/locales/pl/hue-rules.html +69 -0
  425. package/huemagic/locales/pl/hue-rules.json +30 -0
  426. package/huemagic/locales/pl/hue-scene.html +43 -0
  427. package/huemagic/locales/pl/hue-scene.json +32 -0
  428. package/huemagic/locales/pl/hue-speaker.html +80 -0
  429. package/huemagic/locales/pl/hue-speaker.json +38 -0
  430. package/huemagic/locales/pl/hue-syncbox-config.html +19 -0
  431. package/huemagic/locales/pl/hue-syncbox-config.json +25 -0
  432. package/huemagic/locales/pl/hue-syncbox.html +86 -0
  433. package/huemagic/locales/pl/hue-syncbox.json +30 -0
  434. package/huemagic/locales/pl/hue-temperature.html +69 -0
  435. package/huemagic/locales/pl/hue-temperature.json +33 -0
  436. package/huemagic/locales/pt/hue-automation.html +59 -0
  437. package/huemagic/locales/pt/hue-automation.json +33 -0
  438. package/huemagic/locales/pt/hue-bridge-config.html +31 -0
  439. package/huemagic/locales/pt/hue-bridge-config.json +40 -0
  440. package/huemagic/locales/pt/hue-bridge.html +96 -0
  441. package/huemagic/locales/pt/hue-bridge.json +26 -0
  442. package/huemagic/locales/pt/hue-brightness.html +70 -0
  443. package/huemagic/locales/pt/hue-brightness.json +37 -0
  444. package/huemagic/locales/pt/hue-buttons.html +59 -0
  445. package/huemagic/locales/pt/hue-buttons.json +42 -0
  446. package/huemagic/locales/pt/hue-contact.html +67 -0
  447. package/huemagic/locales/pt/hue-contact.json +35 -0
  448. package/huemagic/locales/pt/hue-group.html +87 -0
  449. package/huemagic/locales/pt/hue-group.json +46 -0
  450. package/huemagic/locales/pt/hue-light.html +97 -0
  451. package/huemagic/locales/pt/hue-light.json +44 -0
  452. package/huemagic/locales/pt/hue-magic.html +68 -0
  453. package/huemagic/locales/pt/hue-magic.json +26 -0
  454. package/huemagic/locales/pt/hue-motion.html +64 -0
  455. package/huemagic/locales/pt/hue-motion.json +36 -0
  456. package/huemagic/locales/pt/hue-rules.html +69 -0
  457. package/huemagic/locales/pt/hue-rules.json +30 -0
  458. package/huemagic/locales/pt/hue-scene.html +43 -0
  459. package/huemagic/locales/pt/hue-scene.json +32 -0
  460. package/huemagic/locales/pt/hue-speaker.html +80 -0
  461. package/huemagic/locales/pt/hue-speaker.json +38 -0
  462. package/huemagic/locales/pt/hue-syncbox-config.html +19 -0
  463. package/huemagic/locales/pt/hue-syncbox-config.json +25 -0
  464. package/huemagic/locales/pt/hue-syncbox.html +86 -0
  465. package/huemagic/locales/pt/hue-syncbox.json +30 -0
  466. package/huemagic/locales/pt/hue-temperature.html +69 -0
  467. package/huemagic/locales/pt/hue-temperature.json +33 -0
  468. package/huemagic/locales/tr/hue-automation.html +59 -0
  469. package/huemagic/locales/tr/hue-automation.json +33 -0
  470. package/huemagic/locales/tr/hue-bridge-config.html +31 -0
  471. package/huemagic/locales/tr/hue-bridge-config.json +40 -0
  472. package/huemagic/locales/tr/hue-bridge.html +96 -0
  473. package/huemagic/locales/tr/hue-bridge.json +26 -0
  474. package/huemagic/locales/tr/hue-brightness.html +70 -0
  475. package/huemagic/locales/tr/hue-brightness.json +37 -0
  476. package/huemagic/locales/tr/hue-buttons.html +59 -0
  477. package/huemagic/locales/tr/hue-buttons.json +42 -0
  478. package/huemagic/locales/tr/hue-contact.html +67 -0
  479. package/huemagic/locales/tr/hue-contact.json +35 -0
  480. package/huemagic/locales/tr/hue-group.html +87 -0
  481. package/huemagic/locales/tr/hue-group.json +46 -0
  482. package/huemagic/locales/tr/hue-light.html +97 -0
  483. package/huemagic/locales/tr/hue-light.json +44 -0
  484. package/huemagic/locales/tr/hue-magic.html +68 -0
  485. package/huemagic/locales/tr/hue-magic.json +26 -0
  486. package/huemagic/locales/tr/hue-motion.html +64 -0
  487. package/huemagic/locales/tr/hue-motion.json +36 -0
  488. package/huemagic/locales/tr/hue-rules.html +69 -0
  489. package/huemagic/locales/tr/hue-rules.json +30 -0
  490. package/huemagic/locales/tr/hue-scene.html +43 -0
  491. package/huemagic/locales/tr/hue-scene.json +32 -0
  492. package/huemagic/locales/tr/hue-speaker.html +80 -0
  493. package/huemagic/locales/tr/hue-speaker.json +38 -0
  494. package/huemagic/locales/tr/hue-syncbox-config.html +19 -0
  495. package/huemagic/locales/tr/hue-syncbox-config.json +25 -0
  496. package/huemagic/locales/tr/hue-syncbox.html +86 -0
  497. package/huemagic/locales/tr/hue-syncbox.json +30 -0
  498. package/huemagic/locales/tr/hue-temperature.html +69 -0
  499. package/huemagic/locales/tr/hue-temperature.json +33 -0
  500. package/huemagic/utils/api.js +158 -54
  501. package/huemagic/utils/color.js +20 -2
  502. package/huemagic/utils/merge.js +3 -2
  503. package/huemagic/utils/messages.js +506 -120
  504. package/huemagic/utils/sse.js +51 -0
  505. package/huemagic/utils/syncbox.js +84 -0
  506. package/package.json +19 -11
  507. package/.github/FUNDING.yml +0 -2
  508. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
  509. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  510. package/.github/workflows/npm.yml +0 -18
  511. package/huemagic/locales/en-US/hue-bridge-config.json +0 -29
  512. package/huemagic/locales/en-US/hue-buttons.json +0 -34
  513. package/huemagic/locales/en-US/hue-light.json +0 -38
  514. /package/huemagic/locales/{en-US → en}/hue-bridge-config.html +0 -0
  515. /package/huemagic/locales/{en-US → en}/hue-magic.json +0 -0
@@ -0,0 +1,893 @@
1
+ [
2
+ {
3
+ "id": "bfc496b5dc528777",
4
+ "type": "tab",
5
+ "label": "Hue Light (example)",
6
+ "disabled": false,
7
+ "info": "Voorbeeld van het gebruik van de node \"Hue Light\""
8
+ },
9
+ {
10
+ "id": "fd1b0ea2e9b0c530",
11
+ "type": "comment",
12
+ "z": "bfc496b5dc528777",
13
+ "name": "EERSTE STAPPEN (dubbelklik hier)",
14
+ "info": "Klik op de node \"Hue Lamp\" en kies uit de lijst zowel uw bridge als een lamp. Hebt u nog geen bridge ingesteld, dan wordt u gevraagd er eerst een in te stellen voordat u de configuratie van de node kunt afronden.\n\nZodra de node met uw bridge en de lamp is verbonden en u de wijzigingen in Node-RED hebt gedeployed, kan de node uw commando's ontvangen en uitvoeren. De node \"Hue Lamp\" stuurt daarnaast automatisch een bericht zodra de status van de lamp op de bridge is bijgewerkt. De bijgewerkte status en alle informatie ontvangt u in het uitgegeven bericht.\n\nWilt u meer informatie over deze node, de mogelijke commando's en uitvoerwaarden, klik er dan één keer op in uw flow en ga naar het boekpictogram van Node-RED (rechtsboven).",
15
+ "x": 150,
16
+ "y": 40,
17
+ "wires": [],
18
+ "icon": "font-awesome/fa-question-circle"
19
+ },
20
+ {
21
+ "id": "2af2dc166c3bb8f2",
22
+ "type": "debug",
23
+ "z": "bfc496b5dc528777",
24
+ "name": "Informatie",
25
+ "active": true,
26
+ "tosidebar": true,
27
+ "console": false,
28
+ "tostatus": false,
29
+ "complete": "true",
30
+ "targetType": "full",
31
+ "statusVal": "",
32
+ "statusType": "auto",
33
+ "x": 770,
34
+ "y": 160,
35
+ "wires": [],
36
+ "icon": "font-awesome/fa-info-circle"
37
+ },
38
+ {
39
+ "id": "eaadbf2396415deb",
40
+ "type": "comment",
41
+ "z": "bfc496b5dc528777",
42
+ "name": "Huidige status opvragen",
43
+ "info": "",
44
+ "x": 120,
45
+ "y": 120,
46
+ "wires": []
47
+ },
48
+ {
49
+ "id": "b1aab91f47400d0a",
50
+ "type": "inject",
51
+ "z": "bfc496b5dc528777",
52
+ "name": "Status",
53
+ "props": [
54
+ {
55
+ "p": "payload"
56
+ }
57
+ ],
58
+ "repeat": "",
59
+ "crontab": "",
60
+ "once": false,
61
+ "onceDelay": 0.1,
62
+ "topic": "",
63
+ "payload": "{\"status\":true}",
64
+ "payloadType": "json",
65
+ "x": 110,
66
+ "y": 160,
67
+ "wires": [
68
+ [
69
+ "736b63eb9b5c3731"
70
+ ]
71
+ ],
72
+ "icon": "node-red/alert.svg"
73
+ },
74
+ {
75
+ "id": "78b75b84ed839cfd",
76
+ "type": "comment",
77
+ "z": "bfc496b5dc528777",
78
+ "name": "Lamp aan-/uitzetten",
79
+ "info": "",
80
+ "x": 110,
81
+ "y": 220,
82
+ "wires": []
83
+ },
84
+ {
85
+ "id": "6bcf026ef5794bcd",
86
+ "type": "inject",
87
+ "z": "bfc496b5dc528777",
88
+ "name": "Aanzetten",
89
+ "props": [
90
+ {
91
+ "p": "payload"
92
+ }
93
+ ],
94
+ "repeat": "",
95
+ "crontab": "",
96
+ "once": false,
97
+ "onceDelay": 0.1,
98
+ "topic": "",
99
+ "payload": "true",
100
+ "payloadType": "bool",
101
+ "x": 110,
102
+ "y": 260,
103
+ "wires": [
104
+ [
105
+ "736b63eb9b5c3731"
106
+ ]
107
+ ],
108
+ "icon": "font-awesome/fa-circle"
109
+ },
110
+ {
111
+ "id": "c24ad6204076c4cb",
112
+ "type": "inject",
113
+ "z": "bfc496b5dc528777",
114
+ "name": "Uitzetten",
115
+ "props": [
116
+ {
117
+ "p": "payload"
118
+ }
119
+ ],
120
+ "repeat": "",
121
+ "crontab": "",
122
+ "once": false,
123
+ "onceDelay": 0.1,
124
+ "topic": "",
125
+ "payload": "false",
126
+ "payloadType": "bool",
127
+ "x": 110,
128
+ "y": 300,
129
+ "wires": [
130
+ [
131
+ "736b63eb9b5c3731"
132
+ ]
133
+ ],
134
+ "icon": "font-awesome/fa-circle-o"
135
+ },
136
+ {
137
+ "id": "3bf60cb5d6cd549a",
138
+ "type": "comment",
139
+ "z": "bfc496b5dc528777",
140
+ "name": "Effecten op de lamp afspelen",
141
+ "info": "",
142
+ "x": 120,
143
+ "y": 660,
144
+ "wires": []
145
+ },
146
+ {
147
+ "id": "bc3258d179d76888",
148
+ "type": "inject",
149
+ "z": "bfc496b5dc528777",
150
+ "name": "Rood alarm gedurende 3 seconden",
151
+ "props": [
152
+ {
153
+ "p": "payload"
154
+ }
155
+ ],
156
+ "repeat": "",
157
+ "crontab": "",
158
+ "once": false,
159
+ "onceDelay": 0.1,
160
+ "topic": "",
161
+ "payload": "{\"on\":true,\"alert\":3,\"color\":\"red\"}",
162
+ "payloadType": "json",
163
+ "x": 160,
164
+ "y": 700,
165
+ "wires": [
166
+ [
167
+ "736b63eb9b5c3731"
168
+ ]
169
+ ],
170
+ "icon": "font-awesome/fa-warning"
171
+ },
172
+ {
173
+ "id": "7829a2ce62655ecf",
174
+ "type": "inject",
175
+ "z": "bfc496b5dc528777",
176
+ "name": "5 seconden lang door alle kleuren lopen",
177
+ "props": [
178
+ {
179
+ "p": "payload"
180
+ }
181
+ ],
182
+ "repeat": "",
183
+ "crontab": "",
184
+ "once": false,
185
+ "onceDelay": 0.1,
186
+ "topic": "",
187
+ "payload": "{\"colorloop\":5,\"brightness\":100}",
188
+ "payloadType": "json",
189
+ "x": 200,
190
+ "y": 740,
191
+ "wires": [
192
+ [
193
+ "736b63eb9b5c3731"
194
+ ]
195
+ ],
196
+ "icon": "node-red-contrib-huemagic/hue-scene.svg"
197
+ },
198
+ {
199
+ "id": "b024d72eb9b7776c",
200
+ "type": "comment",
201
+ "z": "bfc496b5dc528777",
202
+ "name": "Kleur van de lamp wijzigen",
203
+ "info": "",
204
+ "x": 130,
205
+ "y": 800,
206
+ "wires": []
207
+ },
208
+ {
209
+ "id": "3b804f60a04c3a7b",
210
+ "type": "inject",
211
+ "z": "bfc496b5dc528777",
212
+ "name": "Rode kleur via de naam",
213
+ "props": [
214
+ {
215
+ "p": "payload"
216
+ }
217
+ ],
218
+ "repeat": "",
219
+ "crontab": "",
220
+ "once": false,
221
+ "onceDelay": 0.1,
222
+ "topic": "",
223
+ "payload": "{\"color\":\"red\"}",
224
+ "payloadType": "json",
225
+ "x": 150,
226
+ "y": 840,
227
+ "wires": [
228
+ [
229
+ "736b63eb9b5c3731"
230
+ ]
231
+ ],
232
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
233
+ },
234
+ {
235
+ "id": "b2f8f62480275d8a",
236
+ "type": "inject",
237
+ "z": "bfc496b5dc528777",
238
+ "name": "Groene kleur via HEX",
239
+ "props": [
240
+ {
241
+ "p": "payload"
242
+ }
243
+ ],
244
+ "repeat": "",
245
+ "crontab": "",
246
+ "once": false,
247
+ "onceDelay": 0.1,
248
+ "topic": "",
249
+ "payload": "{\"hex\":\"#00FF00\"}",
250
+ "payloadType": "json",
251
+ "x": 150,
252
+ "y": 880,
253
+ "wires": [
254
+ [
255
+ "736b63eb9b5c3731"
256
+ ]
257
+ ],
258
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
259
+ },
260
+ {
261
+ "id": "6f19d2c69ee5753c",
262
+ "type": "inject",
263
+ "z": "bfc496b5dc528777",
264
+ "name": "Blauwe kleur via RGB",
265
+ "props": [
266
+ {
267
+ "p": "payload"
268
+ }
269
+ ],
270
+ "repeat": "",
271
+ "crontab": "",
272
+ "once": false,
273
+ "onceDelay": 0.1,
274
+ "topic": "",
275
+ "payload": "{\"rgb\":[0,0,255]}",
276
+ "payloadType": "json",
277
+ "x": 150,
278
+ "y": 920,
279
+ "wires": [
280
+ [
281
+ "736b63eb9b5c3731"
282
+ ]
283
+ ],
284
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
285
+ },
286
+ {
287
+ "id": "f15b96643d181980",
288
+ "type": "comment",
289
+ "z": "bfc496b5dc528777",
290
+ "name": "Kleurtemperatuur van de lamp wijzigen",
291
+ "info": "",
292
+ "x": 170,
293
+ "y": 1300,
294
+ "wires": []
295
+ },
296
+ {
297
+ "id": "e2f4f9c624637c41",
298
+ "type": "inject",
299
+ "z": "bfc496b5dc528777",
300
+ "name": "Koude kleurtemperatuur",
301
+ "props": [
302
+ {
303
+ "p": "payload"
304
+ }
305
+ ],
306
+ "repeat": "",
307
+ "crontab": "",
308
+ "once": false,
309
+ "onceDelay": 0.1,
310
+ "topic": "",
311
+ "payload": "{\"colorTemp\":\"cold\",\"brightness\":100}",
312
+ "payloadType": "json",
313
+ "x": 160,
314
+ "y": 1380,
315
+ "wires": [
316
+ [
317
+ "736b63eb9b5c3731"
318
+ ]
319
+ ],
320
+ "icon": "node-red-contrib-huemagic/hue-temperature.svg"
321
+ },
322
+ {
323
+ "id": "a0fb4dee0110b1b4",
324
+ "type": "inject",
325
+ "z": "bfc496b5dc528777",
326
+ "name": "Normale kleurtemperatuur",
327
+ "props": [
328
+ {
329
+ "p": "payload"
330
+ }
331
+ ],
332
+ "repeat": "",
333
+ "crontab": "",
334
+ "once": false,
335
+ "onceDelay": 0.1,
336
+ "topic": "",
337
+ "payload": "{\"colorTemp\":\"normal\",\"brightness\":100}",
338
+ "payloadType": "json",
339
+ "x": 170,
340
+ "y": 1420,
341
+ "wires": [
342
+ [
343
+ "736b63eb9b5c3731"
344
+ ]
345
+ ],
346
+ "icon": "node-red-contrib-huemagic/hue-temperature.svg"
347
+ },
348
+ {
349
+ "id": "0c72f77de7b888a9",
350
+ "type": "inject",
351
+ "z": "bfc496b5dc528777",
352
+ "name": "Warme kleurtemperatuur",
353
+ "props": [
354
+ {
355
+ "p": "payload"
356
+ }
357
+ ],
358
+ "repeat": "",
359
+ "crontab": "",
360
+ "once": false,
361
+ "onceDelay": 0.1,
362
+ "topic": "",
363
+ "payload": "{\"colorTemp\":\"warm\",\"brightness\":100}",
364
+ "payloadType": "json",
365
+ "x": 170,
366
+ "y": 1460,
367
+ "wires": [
368
+ [
369
+ "736b63eb9b5c3731"
370
+ ]
371
+ ],
372
+ "icon": "node-red-contrib-huemagic/hue-temperature.svg"
373
+ },
374
+ {
375
+ "id": "bf88a3c2c20c5206",
376
+ "type": "inject",
377
+ "z": "bfc496b5dc528777",
378
+ "name": "Zeer warme kleurtemperatuur",
379
+ "props": [
380
+ {
381
+ "p": "payload"
382
+ }
383
+ ],
384
+ "repeat": "",
385
+ "crontab": "",
386
+ "once": false,
387
+ "onceDelay": 0.1,
388
+ "topic": "",
389
+ "payload": "{\"colorTemp\":\"hot\",\"brightness\":100}",
390
+ "payloadType": "json",
391
+ "x": 160,
392
+ "y": 1500,
393
+ "wires": [
394
+ [
395
+ "736b63eb9b5c3731"
396
+ ]
397
+ ],
398
+ "icon": "node-red-contrib-huemagic/hue-temperature.svg"
399
+ },
400
+ {
401
+ "id": "968d22b4ae536233",
402
+ "type": "inject",
403
+ "z": "bfc496b5dc528777",
404
+ "name": "Normale temperatuur via exacte waarde",
405
+ "props": [
406
+ {
407
+ "p": "payload"
408
+ }
409
+ ],
410
+ "repeat": "",
411
+ "crontab": "",
412
+ "once": false,
413
+ "onceDelay": 0.1,
414
+ "topic": "",
415
+ "payload": "{\"colorTemp\":240,\"brightness\":100}",
416
+ "payloadType": "json",
417
+ "x": 200,
418
+ "y": 1540,
419
+ "wires": [
420
+ [
421
+ "736b63eb9b5c3731"
422
+ ]
423
+ ],
424
+ "icon": "node-red-contrib-huemagic/hue-temperature.svg"
425
+ },
426
+ {
427
+ "id": "7321a6f9e0121315",
428
+ "type": "inject",
429
+ "z": "bfc496b5dc528777",
430
+ "name": "Automatisch (op basis van het huidige tijdstip)",
431
+ "props": [
432
+ {
433
+ "p": "payload"
434
+ }
435
+ ],
436
+ "repeat": "",
437
+ "crontab": "",
438
+ "once": false,
439
+ "onceDelay": 0.1,
440
+ "topic": "",
441
+ "payload": "{\"colorTemp\":\"auto\",\"brightness\":100}",
442
+ "payloadType": "json",
443
+ "x": 200,
444
+ "y": 1340,
445
+ "wires": [
446
+ [
447
+ "736b63eb9b5c3731"
448
+ ]
449
+ ],
450
+ "icon": "node-red-contrib-huemagic/hue-temperature.svg"
451
+ },
452
+ {
453
+ "id": "1b68cc5d584de2f2",
454
+ "type": "comment",
455
+ "z": "bfc496b5dc528777",
456
+ "name": "Helderheid van de lamp wijzigen",
457
+ "info": "",
458
+ "x": 140,
459
+ "y": 400,
460
+ "wires": []
461
+ },
462
+ {
463
+ "id": "c6bdf85c484f37c2",
464
+ "type": "inject",
465
+ "z": "bfc496b5dc528777",
466
+ "name": "Op 100 % zetten",
467
+ "props": [
468
+ {
469
+ "p": "payload"
470
+ }
471
+ ],
472
+ "repeat": "",
473
+ "crontab": "",
474
+ "once": false,
475
+ "onceDelay": 0.1,
476
+ "topic": "",
477
+ "payload": "{\"brightness\":100}",
478
+ "payloadType": "json",
479
+ "x": 130,
480
+ "y": 480,
481
+ "wires": [
482
+ [
483
+ "736b63eb9b5c3731"
484
+ ]
485
+ ],
486
+ "icon": "font-awesome/fa-sun-o"
487
+ },
488
+ {
489
+ "id": "60cbd0cf886f9213",
490
+ "type": "inject",
491
+ "z": "bfc496b5dc528777",
492
+ "name": "Op 25 % zetten",
493
+ "props": [
494
+ {
495
+ "p": "payload"
496
+ }
497
+ ],
498
+ "repeat": "",
499
+ "crontab": "",
500
+ "once": false,
501
+ "onceDelay": 0.1,
502
+ "topic": "",
503
+ "payload": "{\"brightness\":25}",
504
+ "payloadType": "json",
505
+ "x": 130,
506
+ "y": 440,
507
+ "wires": [
508
+ [
509
+ "736b63eb9b5c3731"
510
+ ]
511
+ ],
512
+ "icon": "font-awesome/fa-moon-o"
513
+ },
514
+ {
515
+ "id": "f2f9d1903643268b",
516
+ "type": "inject",
517
+ "z": "bfc496b5dc528777",
518
+ "name": "Aan/uit omschakelen",
519
+ "props": [
520
+ {
521
+ "p": "payload"
522
+ }
523
+ ],
524
+ "repeat": "",
525
+ "crontab": "",
526
+ "once": false,
527
+ "onceDelay": 0.1,
528
+ "topic": "",
529
+ "payload": "{\"toggle\":true}",
530
+ "payloadType": "json",
531
+ "x": 130,
532
+ "y": 340,
533
+ "wires": [
534
+ [
535
+ "736b63eb9b5c3731"
536
+ ]
537
+ ],
538
+ "icon": "font-awesome/fa-dot-circle-o"
539
+ },
540
+ {
541
+ "id": "54accf85a04c2304",
542
+ "type": "inject",
543
+ "z": "bfc496b5dc528777",
544
+ "name": "Willekeurige kleur",
545
+ "props": [
546
+ {
547
+ "p": "payload"
548
+ }
549
+ ],
550
+ "repeat": "",
551
+ "crontab": "",
552
+ "once": false,
553
+ "onceDelay": 0.1,
554
+ "topic": "",
555
+ "payload": "{\"color\":\"random\"}",
556
+ "payloadType": "json",
557
+ "x": 130,
558
+ "y": 1240,
559
+ "wires": [
560
+ [
561
+ "736b63eb9b5c3731"
562
+ ]
563
+ ],
564
+ "icon": "node-red/swap.svg"
565
+ },
566
+ {
567
+ "id": "5647ce83310616b2",
568
+ "type": "inject",
569
+ "z": "bfc496b5dc528777",
570
+ "name": "Node-RED-themakleur via XY",
571
+ "props": [
572
+ {
573
+ "p": "payload"
574
+ }
575
+ ],
576
+ "repeat": "",
577
+ "crontab": "",
578
+ "once": false,
579
+ "onceDelay": 0.1,
580
+ "topic": "",
581
+ "payload": "{\"xyColor\":{\"x\":0.7401,\"y\":0.2718}}",
582
+ "payloadType": "json",
583
+ "x": 180,
584
+ "y": 960,
585
+ "wires": [
586
+ [
587
+ "736b63eb9b5c3731"
588
+ ]
589
+ ],
590
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
591
+ },
592
+ {
593
+ "id": "af76f17f661aa0a5",
594
+ "type": "inject",
595
+ "z": "bfc496b5dc528777",
596
+ "name": "Dominante kleur uit een afbeeldings-URL",
597
+ "props": [
598
+ {
599
+ "p": "payload"
600
+ }
601
+ ],
602
+ "repeat": "",
603
+ "crontab": "",
604
+ "once": false,
605
+ "onceDelay": 0.1,
606
+ "topic": "",
607
+ "payload": "{\"image\":\"https://user-images.githubusercontent.com/5302050/148616400-b7e7b35d-c779-4b6d-baff-c91ac2980d8f.jpg\"}",
608
+ "payloadType": "json",
609
+ "x": 180,
610
+ "y": 1000,
611
+ "wires": [
612
+ [
613
+ "736b63eb9b5c3731"
614
+ ]
615
+ ],
616
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
617
+ },
618
+ {
619
+ "id": "736b63eb9b5c3731",
620
+ "type": "hue-light",
621
+ "z": "bfc496b5dc528777",
622
+ "colornamer": true,
623
+ "skipevents": false,
624
+ "initevents": false,
625
+ "x": 600,
626
+ "y": 160,
627
+ "wires": [
628
+ [
629
+ "2af2dc166c3bb8f2"
630
+ ]
631
+ ]
632
+ },
633
+ {
634
+ "id": "55973d3aa06fc9e6",
635
+ "type": "inject",
636
+ "z": "bfc496b5dc528777",
637
+ "name": "Helderheid met 50 % verhogen",
638
+ "props": [
639
+ {
640
+ "p": "payload"
641
+ }
642
+ ],
643
+ "repeat": "",
644
+ "crontab": "",
645
+ "once": false,
646
+ "onceDelay": 0.1,
647
+ "topic": "",
648
+ "payload": "{\"incrementBrightness\":50}",
649
+ "payloadType": "json",
650
+ "x": 180,
651
+ "y": 520,
652
+ "wires": [
653
+ [
654
+ "736b63eb9b5c3731"
655
+ ]
656
+ ],
657
+ "icon": "font-awesome/fa-plus-square"
658
+ },
659
+ {
660
+ "id": "b97b12cf862e3eae",
661
+ "type": "inject",
662
+ "z": "bfc496b5dc528777",
663
+ "name": "Helderheid met 25 % verlagen",
664
+ "props": [
665
+ {
666
+ "p": "payload"
667
+ }
668
+ ],
669
+ "repeat": "",
670
+ "crontab": "",
671
+ "once": false,
672
+ "onceDelay": 0.1,
673
+ "topic": "",
674
+ "payload": "{\"decrementBrightness\":25}",
675
+ "payloadType": "json",
676
+ "x": 190,
677
+ "y": 560,
678
+ "wires": [
679
+ [
680
+ "736b63eb9b5c3731"
681
+ ]
682
+ ],
683
+ "icon": "font-awesome/fa-minus-square"
684
+ },
685
+ {
686
+ "id": "73599da840b5c18f",
687
+ "type": "inject",
688
+ "z": "bfc496b5dc528777",
689
+ "name": "Kleurtemperatuur met 50 verhogen",
690
+ "props": [
691
+ {
692
+ "p": "payload"
693
+ }
694
+ ],
695
+ "repeat": "",
696
+ "crontab": "",
697
+ "once": false,
698
+ "onceDelay": 0.1,
699
+ "topic": "",
700
+ "payload": "{\"incrementColorTemp\":50}",
701
+ "payloadType": "json",
702
+ "x": 200,
703
+ "y": 1580,
704
+ "wires": [
705
+ [
706
+ "736b63eb9b5c3731"
707
+ ]
708
+ ],
709
+ "icon": "font-awesome/fa-plus-square"
710
+ },
711
+ {
712
+ "id": "b7f6d89717fcee28",
713
+ "type": "inject",
714
+ "z": "bfc496b5dc528777",
715
+ "name": "Kleurtemperatuur met 50 verlagen",
716
+ "props": [
717
+ {
718
+ "p": "payload"
719
+ }
720
+ ],
721
+ "repeat": "",
722
+ "crontab": "",
723
+ "once": false,
724
+ "onceDelay": 0.1,
725
+ "topic": "",
726
+ "payload": "{\"decrementColorTemp\":50}",
727
+ "payloadType": "json",
728
+ "x": 200,
729
+ "y": 1620,
730
+ "wires": [
731
+ [
732
+ "736b63eb9b5c3731"
733
+ ]
734
+ ],
735
+ "icon": "font-awesome/fa-minus-square"
736
+ },
737
+ {
738
+ "id": "97b9b1051bdee695",
739
+ "type": "inject",
740
+ "z": "bfc496b5dc528777",
741
+ "name": "Verzadiging met 50 % verhogen",
742
+ "props": [
743
+ {
744
+ "p": "payload"
745
+ }
746
+ ],
747
+ "repeat": "",
748
+ "crontab": "",
749
+ "once": false,
750
+ "onceDelay": 0.1,
751
+ "topic": "",
752
+ "payload": "{\"saturation\":90}",
753
+ "payloadType": "json",
754
+ "x": 180,
755
+ "y": 1040,
756
+ "wires": [
757
+ [
758
+ "736b63eb9b5c3731"
759
+ ]
760
+ ],
761
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
762
+ },
763
+ {
764
+ "id": "567501938ec6efe1",
765
+ "type": "inject",
766
+ "z": "bfc496b5dc528777",
767
+ "name": "Gradiënt uit twee kleuren instellen",
768
+ "props": [
769
+ {
770
+ "p": "payload"
771
+ }
772
+ ],
773
+ "repeat": "",
774
+ "crontab": "",
775
+ "once": false,
776
+ "onceDelay": 0.1,
777
+ "topic": "",
778
+ "payload": "{\"gradient\":{\"hex\":[\"#03adfc\",\"#fc037b\"]}}",
779
+ "payloadType": "json",
780
+ "x": 180,
781
+ "y": 1200,
782
+ "wires": [
783
+ [
784
+ "736b63eb9b5c3731"
785
+ ]
786
+ ],
787
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
788
+ },
789
+ {
790
+ "id": "ea044d3b72784ff7",
791
+ "type": "inject",
792
+ "z": "bfc496b5dc528777",
793
+ "name": "Huidige kleur met rood mengen (HEX)",
794
+ "props": [
795
+ {
796
+ "p": "payload"
797
+ }
798
+ ],
799
+ "repeat": "",
800
+ "crontab": "",
801
+ "once": false,
802
+ "onceDelay": 0.1,
803
+ "topic": "",
804
+ "payload": "{\"mixColor\":{\"hex\":\"#ff0000\"}}",
805
+ "payloadType": "json",
806
+ "x": 190,
807
+ "y": 1080,
808
+ "wires": [
809
+ [
810
+ "736b63eb9b5c3731"
811
+ ]
812
+ ],
813
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
814
+ },
815
+ {
816
+ "id": "2b12d720883fa1c5",
817
+ "type": "inject",
818
+ "z": "bfc496b5dc528777",
819
+ "name": "Huidige kleur met blauw mengen (RGB)",
820
+ "props": [
821
+ {
822
+ "p": "payload"
823
+ }
824
+ ],
825
+ "repeat": "",
826
+ "crontab": "",
827
+ "once": false,
828
+ "onceDelay": 0.1,
829
+ "topic": "",
830
+ "payload": "{\"mixColor\":{\"rgb\":[0,0,255]}}",
831
+ "payloadType": "json",
832
+ "x": 190,
833
+ "y": 1160,
834
+ "wires": [
835
+ [
836
+ "736b63eb9b5c3731"
837
+ ]
838
+ ],
839
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
840
+ },
841
+ {
842
+ "id": "2bae389d87f650c8",
843
+ "type": "inject",
844
+ "z": "bfc496b5dc528777",
845
+ "name": "Huidige kleur met 70 % groen mengen (naam + aandeel)",
846
+ "props": [
847
+ {
848
+ "p": "payload"
849
+ }
850
+ ],
851
+ "repeat": "",
852
+ "crontab": "",
853
+ "once": false,
854
+ "onceDelay": 0.1,
855
+ "topic": "",
856
+ "payload": "{\"mixColor\":{\"color\":\"green\",\"amount\":70}}",
857
+ "payloadType": "json",
858
+ "x": 250,
859
+ "y": 1120,
860
+ "wires": [
861
+ [
862
+ "736b63eb9b5c3731"
863
+ ]
864
+ ],
865
+ "icon": "node-red-contrib-huemagic/hue-group.svg"
866
+ },
867
+ {
868
+ "id": "2187049b0e0584b3",
869
+ "type": "inject",
870
+ "z": "bfc496b5dc528777",
871
+ "name": "Automatische helderheid",
872
+ "props": [
873
+ {
874
+ "p": "payload"
875
+ }
876
+ ],
877
+ "repeat": "",
878
+ "crontab": "",
879
+ "once": false,
880
+ "onceDelay": 0.1,
881
+ "topic": "",
882
+ "payload": "{\"brightness\":\"auto\"}",
883
+ "payloadType": "json",
884
+ "x": 160,
885
+ "y": 600,
886
+ "wires": [
887
+ [
888
+ "736b63eb9b5c3731"
889
+ ]
890
+ ],
891
+ "icon": "node-red-contrib-huemagic/hue-magic.svg"
892
+ }
893
+ ]