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,40 @@
1
+ {
2
+ "hue-bridge-config": {
3
+ "config": {
4
+ "name": "Name",
5
+ "apikey": "API Key",
6
+ "missing-ip": "Missing Hue Bridge IP…",
7
+ "disable-events": "Disable events",
8
+ "disable-events-info": "Disable events on all nodes",
9
+ "searching": "Searching for Hue Bridges…",
10
+ "none-found": "No Hue Bridges found!",
11
+ "unknown-error": "Something went wrong. Please retry.",
12
+ "invalid": "Sorry. Your selected Hue Bridge is invalid: ",
13
+ "error-select-first": "Please select your Hue Bridge before trying to create a new user!",
14
+ "waiting": "waiting for the link button…",
15
+ "new-user-press": "Please press the button on your Hue Bridge now to create a new user!",
16
+ "retry": "No button press detected. Please retry…",
17
+ "success": "User created successfully!",
18
+ "connecting": "Connecting with the bridge…",
19
+ "autoupdates": "Activate automatic firmware updates",
20
+ "bridge-ip": "Bridge IP",
21
+ "worker": "Worker"
22
+ },
23
+ "node": {
24
+ "title": "Hue Bridge",
25
+ "statusmsg": "Status queried successfully…",
26
+ "initializing": "Initializing the bridge (__bridge__)…",
27
+ "connected": "Connected to bridge",
28
+ "processing": "Processing bridge resources…",
29
+ "initial-emit": "Initial emit of resource states…",
30
+ "keep-updated": "Keeping nodes up-to-date…",
31
+ "subscribing": "Subscribing to bridge events…",
32
+ "unsubscribing": "Unsubscribing from bridge events…",
33
+ "no-legacy-api": "The bridge does not answer on the legacy API, continuing without its configuration…",
34
+ "request-error": "Error requesting info from the bridge (__error__)",
35
+ "connection-lost": "Connection to the bridge lost (__reason__). Trying to reconnect in __seconds__ seconds…",
36
+ "resources-changed": "Resources on the bridge have changed. Reloading…",
37
+ "not-connected": "The bridge is not connected."
38
+ }
39
+ }
40
+ }
@@ -27,7 +27,10 @@ With the "fetch" command you can output a list of specific devices that are curr
27
27
 
28
28
  ### Change Hue Bridge settings
29
29
 
30
- You can use the following command to change specific settings on the bridge. Please note that changing the network settings requires reconfiguring the bridge on HueMagic. Transfer the object `msg.payload.settings` with the following setting options to the node:
30
+ You can use the following command to change specific settings on the bridge. Transfer the object `msg.payload.settings` with the following setting options to the node:
31
+
32
+ > [!WARNING]
33
+ > Changing the network settings requires reconfiguring the bridge on HueMagic.
31
34
 
32
35
  : name (string): Changes the name of the bridge and must contain at least 4 to a maximum of 16 characters
33
36
  : zigbeeChannel (int): Changes the current ZigBee channel (either `11`, `15`, `20`, `25` or `0`)
@@ -89,5 +92,5 @@ If the status of the node has changed via a certain command, the entire command
89
92
 
90
93
  HueMagic provides some sample configurations for this node. To import a full featured example into your Node-RED interface, click on the Node-RED menu icon, then select "Import" and navigate to "Examples" in the sidebar of the popup. Then select the HueMagic folder and your desired node to import a sample flow.
91
94
 
92
- ![examples](https://user-images.githubusercontent.com/5302050/148681840-2275c15a-7c0c-4a37-b817-199608e571d2.gif)
95
+ ![examples](hue/assets/huemagic-examples.gif)
93
96
  </script>
@@ -1,15 +1,13 @@
1
1
  {
2
- "hue-bridge":
3
- {
4
- "config":
5
- {
2
+ "hue-bridge": {
3
+ "config": {
6
4
  "name": "Name",
7
5
  "input-name": "Hue Bridge name",
8
6
  "skipglobalevents-info": "Skip global device updates / messages on this node",
9
- "sendinitevents-node": "Do not suppress initialization event"
7
+ "sendinitevents-node": "Do not suppress initialization event",
8
+ "bridge": "Bridge"
10
9
  },
11
- "node":
12
- {
10
+ "node": {
13
11
  "title": "Hue Bridge",
14
12
  "not-configured": "not configured",
15
13
  "connecting": "connecting…",
@@ -21,7 +19,8 @@
21
19
  "settings-updated": "settings updated",
22
20
  "input": "settings / fetch",
23
21
  "output": "bridge information",
24
- "statusmsg": "Status queried successfully…"
22
+ "statusmsg": "Status queried successfully…",
23
+ "error-not-available": "The bridge is not yet available. Please wait until HueMagic has established a connection with the bridge."
25
24
  }
26
25
  }
27
- }
26
+ }
@@ -3,7 +3,9 @@ The "Hue Brightness" node can read the current light level from a suitable senso
3
3
 
4
4
  ### Setup
5
5
 
6
- Select the pre-configured Hue Bridge and click the search button to find all the available sensors. If you already know the ID of the sensor, you can also enter it here manually. You can either assign a new name for the sensor internally or choose the predefined name of the sensor. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue device updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected sensor after each deployment.
6
+ Select the pre-configured Hue Bridge and click the search button to find all the available sensors. If you already know the ID of the sensor, you can also enter it here manually. You can either assign a new name for the sensor internally or choose the predefined name of the sensor. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue device updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected sensor after each deployment. If you would rather have the node stay silent until you send it something, activate "Only report after a command". It then ignores changes from the app or a switch and only answers your own commands.
7
+
8
+ The setting "Dark below" determines from which light level the node considers a room to be dark. A room with a bright lamp needs a completely different value than a hallway without a window, so simply enter the number of lux that suits your room. The values `dark` and `daylight` then follow your setting instead of the default of 90 lux.
7
9
 
8
10
  If you do not select a sensor and use the node configuration in this way, the node works in the so-called "universal mode". In this mode, the node receives and outputs all status messages of the same type. You can also apply settings in universal mode to a specific sensor by transferring the corresponding sensor ID as a string in `msg.topic` together with your settings.
9
11
 
@@ -27,11 +29,12 @@ As soon as the sensor has detected a change in the light level, the following st
27
29
 
28
30
  : active (boolean): Indicates whether the sensor is turned on or off
29
31
  : reachable (boolean | string): `true` if the sensor is connected to the bridge, `unknown` if the connection status deviates
30
- : connectionStatus (string): The current connection status with the bridge in the form of a string. Can contain `connected`,` disconnected`, `connectivity_issue` or `unidirectional_incoming` as a value
32
+ : connectionStatus (string): The current connection status with the bridge in the form of a string. Can contain `connected`, `disconnected`, `connectivity_issue` or `unidirectional_incoming` as a value
31
33
  : lux (int): Indicates the real LUX value of the light level
32
34
  : lightLevel (int): Indicates the light intensity of the sensor
33
35
  : dark (boolean): `true`, if darkness was registered
34
36
  : daylight (boolean): `true`, if daylight was registered
37
+ : darkThreshold (int): The light level in lux below which the node reports darkness
35
38
  : updated (string): Time of the last update of the resource by HueMagic (ISO 8601)
36
39
 
37
40
  #### Information about the sensor under `msg.info`
@@ -63,5 +66,5 @@ If the status of the node has changed via a certain command, the entire command
63
66
 
64
67
  HueMagic provides some sample configurations for this node. To import a full featured example into your Node-RED interface, click on the Node-RED menu icon, then select "Import" and navigate to "Examples" in the sidebar of the popup. Then select the HueMagic folder and your desired node to import a sample flow.
65
68
 
66
- ![examples](https://user-images.githubusercontent.com/5302050/148681840-2275c15a-7c0c-4a37-b817-199608e571d2.gif)
69
+ ![examples](hue/assets/huemagic-examples.gif)
67
70
  </script>
@@ -1,22 +1,22 @@
1
1
  {
2
- "hue-brightness":
3
- {
4
- "config":
5
- {
2
+ "hue-brightness": {
3
+ "config": {
6
4
  "name": "Name",
7
5
  "input-name": "Brightness sensor name",
8
6
  "skipevents-node": "Skip events from node",
9
7
  "sendinitevents-node": "Do not suppress initialization event",
8
+ "onlycommands-node": "Only report after a command",
10
9
  "searching": "Searching sensors…",
11
10
  "none-found": "No brightness sensors found!",
12
11
  "unknown-error": "Something went wrong. Please retry.",
13
12
  "sensor": "Sensor",
14
13
  "all": "All groups / lights",
15
14
  "universalevents": "Universal Events",
16
- "universalevents-node": "Receives all messages from other nodes of the same type (only in universal mode)"
15
+ "universalevents-node": "Receives all messages from other nodes of the same type (only in universal mode)",
16
+ "bridge": "Bridge",
17
+ "darkthreshold": "Dark below"
17
18
  },
18
- "node":
19
- {
19
+ "node": {
20
20
  "title": "Hue Brightness",
21
21
  "not-configured": "not configured",
22
22
  "deactivated": "deactivated",
@@ -29,7 +29,9 @@
29
29
  "output": "brightness (changed)",
30
30
  "universal": "universal mode",
31
31
  "command": "executing command…",
32
- "statusmsg": "Status queried successfully…"
32
+ "statusmsg": "Status queried successfully…",
33
+ "error-no-id": "Please submit a valid sensor ID.",
34
+ "error-not-available": "The sensor is not yet available. Please wait until HueMagic has established a connection with the bridge or check whether the resource ID in the configuration is valid."
33
35
  }
34
36
  }
35
- }
37
+ }
@@ -3,7 +3,7 @@ The "Hue Buttons" node receives switching events from input devices connected to
3
3
 
4
4
  ### Setup
5
5
 
6
- Select the pre-configured Hue Bridge and hit the search button to find all the available switches/buttons. If you already know the ID of the switches/buttons, you can also enter it here manually. You can either assign a new name for the switches/buttons internally or keep the predefined name of the device. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer output any switching events. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected switches/buttons after each deployment.
6
+ Select the pre-configured Hue Bridge and hit the search button to find all the available switches/buttons. If you already know the ID of the switches/buttons, you can also enter it here manually. You can either assign a new name for the switches/buttons internally or keep the predefined name of the device. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer output any switching events. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected switches/buttons after each deployment. If you would rather have the node stay silent until you send it something, activate "Only report after a command". It then ignores changes from the app or a switch and only answers your own commands.
7
7
 
8
8
  If you do not select a switch/button and use the node configuration in this way, the node works in the so-called "universal mode". In this mode, the node receives and outputs all status messages of the same type.
9
9
 
@@ -22,7 +22,8 @@ As soon as a key has been pressed, the following status message is returned by t
22
22
  : reachable (boolean | string): `true` if the switch/button is connected to the bridge, `unknown` if the connection status deviates
23
23
  : connectionStatus (string): The current connection status with the bridge in the form of a string. Can contain `connected`, `disconnected`, `connectivity_issue` or `unidirectional_incoming` as a value
24
24
  : button (int | boolean): Numeric ID of the key that was last pressed or `false` if no key was pressed
25
- : action (string | boolean): `false` if no key was pressed or `initial_press`, `repeat` , `short_release`, `long_release` or `double_short_release` in the form of a string
25
+ : action (string | boolean): `false` if no key was pressed or `initial_press`, `repeat` , `short_release`, `long_press`, `long_release` or `double_short_release` in the form of a string
26
+ : rotation (object | boolean): `false` if the device has no dial or was not turned, otherwise an object with `action` (`start` or `repeat`), `direction` (`clock_wise` or `counter_clock_wise`), `clockwise` (boolean), `steps` (1000 steps are a full rotation), `degrees` and `duration` in milliseconds
26
27
  : updated (string): Time of the last update of the resource by HueMagic (ISO 8601)
27
28
 
28
29
  #### Information about the switch/button under `msg.info`
@@ -54,5 +55,5 @@ If the status of the node has changed via a certain command, the entire command
54
55
 
55
56
  HueMagic provides some sample configurations for this node. To import a full featured example into your Node-RED interface, click on the Node-RED menu icon, then select "Import" and navigate to "Examples" in the sidebar of the popup. Then select the HueMagic folder and your desired node to import a sample flow.
56
57
 
57
- ![examples](https://user-images.githubusercontent.com/5302050/148681840-2275c15a-7c0c-4a37-b817-199608e571d2.gif)
58
+ ![examples](hue/assets/huemagic-examples.gif)
58
59
  </script>
@@ -0,0 +1,42 @@
1
+ {
2
+ "hue-buttons": {
3
+ "config": {
4
+ "name": "Name",
5
+ "input-name": "Button name",
6
+ "skipevents-node": "Skip events from node",
7
+ "sendinitevents-node": "Do not suppress initialization event",
8
+ "onlycommands-node": "Only report after a command",
9
+ "searching": "Searching Hue Buttons…",
10
+ "none-found": "No Hue Button found!",
11
+ "unknown-error": "Something went wrong. Please retry.",
12
+ "button": "Button",
13
+ "universalevents": "Universal Events",
14
+ "universalevents-node": "Receives all messages from other nodes of the same type (only in universal mode)",
15
+ "bridge": "Bridge"
16
+ },
17
+ "node": {
18
+ "title": "Hue Buttons",
19
+ "not-configured": "not configured",
20
+ "waiting": "waiting…",
21
+ "button-on": "On",
22
+ "action-pressed": "pressed",
23
+ "action-holded": "held",
24
+ "action-shortreleased": "short released",
25
+ "action-longreleased": "long released",
26
+ "input": "status query",
27
+ "output": "pressed button",
28
+ "universal": "universal mode",
29
+ "command": "executing command…",
30
+ "statusmsg": "Status queried successfully…",
31
+ "error-no-id": "Please submit a valid button ID.",
32
+ "error-not-available": "The button/switch is not yet available. Please wait until HueMagic has established a connection with the bridge or check whether the resource ID in the configuration is valid.",
33
+ "action-repeated": "repeated",
34
+ "action-doublepressed": "double pressed",
35
+ "dial-clockwise": "Dial ↻ __degrees__°",
36
+ "dial-counterclockwise": "Dial ↺ __degrees__°",
37
+ "button-status": "Button #__button__ (__action__)",
38
+ "error-no-switchmode": "This device has no configurable switch mode.",
39
+ "error-invalid-switchmode": "Invalid switch mode. This device supports: __modes__"
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,67 @@
1
+ <script type="text/markdown" data-help-name="hue-contact">
2
+ The "Hue Contact" node reports whether a contact sensor (e.g. Hue Secure) is currently open or closed.
3
+
4
+ ### Setup
5
+
6
+ Select the pre-configured Hue Bridge and click the search button to find all the available sensors. If you already know the ID of the sensor, you can also enter it here manually. You can either assign a new name for the sensor internally or choose the predefined name of the sensor. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue device updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected sensor after each deployment. If you would rather have the node stay silent until you send it something, activate "Only report after a command". It then ignores changes from the app or a switch and only answers your own commands.
7
+
8
+ If you do not select a sensor and use the node configuration in this way, the node works in the so-called "universal mode". In this mode, the node receives and outputs all status messages of the same type. You can also apply settings in universal mode to a specific sensor by transferring the corresponding sensor ID as a string in `msg.topic` together with your settings.
9
+
10
+ ### Get status
11
+
12
+ Outputs the current status of the sensor as soon as a `msg.payload` object with the following content has been transferred to the node. Alternatively, you can also press the button in the Node-RED interface without having to pass a message to the node beforehand.
13
+
14
+ : status (boolean): Returns the current status of the sensor
15
+
16
+ ### Turn the sensor on / off
17
+
18
+ If necessary, the sensor can be turned on and off remotely. If the sensor has been turned off, it no longer registers any contact changes and accordingly no longer outputs them. To do this, pass an object with the following content:
19
+
20
+ : payload (boolean): `true` turns the sensor on, `false` turns it off
21
+
22
+ ### Status messages from the node
23
+
24
+ As soon as the contact changes, the following status message is returned by the node:
25
+
26
+ #### Status object under `msg.payload`
27
+
28
+ : active (boolean): Indicates whether the sensor is switched on or off
29
+ : reachable (boolean | string): `true` if the sensor is connected to the bridge, `unknown` if the connection status deviates
30
+ : connectionStatus (string): The current connection status with the bridge in the form of a string. Can contain `connected`, `disconnected`, `connectivity_issue` or `unidirectional_incoming` as a value
31
+ : contact (string | boolean): `contact` if the contact is closed, `no_contact` if it is open or `false` if the sensor has not reported yet
32
+ : changed (string | boolean): Time of the last contact change (ISO 8601) or `false` if the sensor has not reported yet
33
+ : tampered (boolean): Only available on sensors with tamper detection, `true` if the sensor has been tampered with
34
+ : updated (string): Time of the last update of the resource by HueMagic (ISO 8601)
35
+
36
+ #### Information about the sensor under `msg.info`
37
+
38
+ : id (string): Indicates the new ID of the sensor
39
+ : idV1 (string | boolean): Indicates the old ID of the sensor
40
+ : uniqueId (string): The unique ID of the sensor
41
+ : deviceId (string): The unique ID of the device
42
+ : name (string): The currently set name of the sensor
43
+ : type (string): The type of the sensor (always `contact`)
44
+ : softwareVersion (string): The current firmware of the sensor
45
+ : battery (float | boolean): The current battery level of the sensor, `false` when there is no battery
46
+ : batteryState (string | boolean): The current status of the battery level. Can contain `normal`, `low` or `critical` as a value, `false` when there is no battery
47
+ : model (object): Contains the model information of the sensor under `id`, `manufacturer`, `name`, `type` and `certified`
48
+
49
+ #### Status changes under `msg.updated`
50
+
51
+ Lists individual parameters in the form of an object that have changed compared to the last state of the sensor. If no changes have been registered, this object is empty.
52
+
53
+ #### Last status of the sensor under `msg.lastState`
54
+
55
+ Contains the complete status object (see output values above) of the last status before the last registered change. If the last state of HueMagic has not yet been registered, it will output `false`.
56
+
57
+ #### Last command under `msg.command` (optional)
58
+
59
+ If the status of the node has changed via a certain command, the entire command that was executed is also output. Otherwise this object will not be output by the node.
60
+
61
+ ### Examples from HueMagic
62
+
63
+ HueMagic provides some sample configurations for this node. To import a full featured example into your Node-RED interface, click on the Node-RED menu icon, then select "Import" and navigate to "Examples" in the sidebar of the popup. Then select the HueMagic folder and your desired node to import a sample flow.
64
+
65
+ ![examples](hue/assets/huemagic-examples.gif)
66
+
67
+ </script>
@@ -0,0 +1,35 @@
1
+ {
2
+ "hue-contact": {
3
+ "config": {
4
+ "name": "Name",
5
+ "input-name": "Sensor name",
6
+ "skipevents-node": "Skip events from node",
7
+ "sendinitevents-node": "Do not suppress initialization event",
8
+ "onlycommands-node": "Only report after a command",
9
+ "searching": "Searching contact sensors…",
10
+ "none-found": "No contact sensors found!",
11
+ "unknown-error": "Something went wrong. Please retry.",
12
+ "sensor": "Sensor",
13
+ "universalevents": "Universal Events",
14
+ "universalevents-node": "Receives all messages from other nodes of the same type (only in universal mode)",
15
+ "bridge": "Bridge"
16
+ },
17
+ "node": {
18
+ "title": "Hue Contact",
19
+ "not-configured": "not configured",
20
+ "not-reachable": "not reachable",
21
+ "contact": "contact",
22
+ "no-contact": "no contact",
23
+ "activated": "activated",
24
+ "deactivated": "deactivated",
25
+ "input": "activate / deactivate / status",
26
+ "output": "contact",
27
+ "universal": "universal mode",
28
+ "command": "executing command…",
29
+ "statusmsg": "Status queried successfully…",
30
+ "error-no-id": "Please submit a valid sensor ID.",
31
+ "error-not-available": "The sensor is not yet available. Please wait until HueMagic has established a connection with the bridge or check whether the resource ID in the configuration is valid.",
32
+ "tampered": "tampered"
33
+ }
34
+ }
35
+ }
@@ -3,7 +3,7 @@ The "Hue Group" node can control several lights behind a group on the bridge at
3
3
 
4
4
  ### Setup
5
5
 
6
- Select the pre-configured Hue Bridge and hit the search button to find all available groups. If you already know the ID of a group, you can also enter it here manually. You can either assign a new name for the group internally or choose the predefined name. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue any updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected group after each deployment.
6
+ Select the pre-configured Hue Bridge and hit the search button to find all available groups. If you already know the ID of a group, you can also enter it here manually. You can either assign a new name for the group internally or choose the predefined name. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue any updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected group after each deployment. If you would rather have the node stay silent until you send it something, activate "Only report after a command". It then ignores changes from the app or a switch and only answers your own commands.
7
7
 
8
8
  If you do not select a group and use the node configuration in this way, the node works in the so-called "universal mode". In this mode, the node receives and outputs all status messages of the same type. You can also apply settings in universal mode to a specific group by transferring the corresponding group ID as a string in `msg.topic` together with your settings.
9
9
 
@@ -15,7 +15,7 @@ Outputs the current status of the group as soon as a `msg.payload` object with t
15
15
 
16
16
  ### Turn on / off (simple)
17
17
 
18
- To quickly turn an entire group on or off in simple mode, pass an object with the following content to the node. Please note that the command will only be executed if the current status of the group does not match your desired status. This means that all lights have to be switched off before you can switch them on with the `true` command.
18
+ To quickly turn an entire group on or off in simple mode, pass an object with the following content to the node.
19
19
 
20
20
  : payload (boolean): `true` switches the whole group on, `false` switches them off
21
21
 
@@ -23,10 +23,12 @@ To quickly turn an entire group on or off in simple mode, pass an object with th
23
23
 
24
24
  In addition to simply switching it on and off, there are also many other options available for controlling the group. All nodes in HueMagic can be controlled with additive commands. This means that you can first pass one setting and then another setting in a later command without discarding the previous setting. Transfer the following parameters to an `msg.payload` object to make more extensive settings for the group:
25
25
 
26
- : on (boolean): `true` switches the entire group on, `false` switches it off (please note the note above)
26
+ : on (boolean): `true` switches the entire group on, `false` switches it off
27
27
  : toggle (boolean | any): Toggles between switching on and off, depending on the previous status of the group
28
28
  : brightness (int | string): Percentage value of the light brightness (0-100) or a string with the value `auto` to automatically set the light brightness based on the current time
29
29
  : brightnessLevel (int): Numerical value of the light brightness (0-254)
30
+ : incrementBrightness (int): Percentage value of a relative brightness change. Valid range is from -100% to +100%. Positive values will increase brightness. Default is +10%
31
+ : decrementBrightness (int): Percentage value of a relative brightness change. Valid range is from -100% to +100%. Positive values will decrease brightness. Default is +10%
30
32
  : color (string): `random` to set a random color or an English color name (e.g. `red`)
31
33
  : hex (string): Color value in hexadecimal in the form of a string
32
34
  : rgb (array [0,0,0]): Color value in RGB format in the form of an array
@@ -39,13 +41,22 @@ In addition to simply switching it on and off, there are also many other options
39
41
 
40
42
  ### Status messages from the node
41
43
 
42
- If a change in the group is detected, the following status message is returned from the node. Please note that the group only outputs status messages when either the last light is switched off or when the first light is switched on (if all were switched off beforehand).
44
+ If a change in the group is detected, the following status message is returned from the node.
45
+
46
+ > [!NOTE]
47
+ > The group only outputs status messages when either the last light is switched off or when the first light is switched on (if all were switched off beforehand).
43
48
 
44
49
  In contrast to the "Hue Light" node, you have much less status information available here, as a group can contain many different device types with different values that cannot be combined.
45
50
 
46
51
  #### Status object under `msg.payload`
47
52
 
48
53
  : on (boolean): State of the group, where `true` stands for on and `false` for off
54
+ : brightness (float | boolean): Brightness of the group in percent or `false` if the group cannot be dimmed
55
+ : brightnessLevel (int | boolean): Brightness of the group as a numerical value (0-254) or `false` if the group cannot be dimmed
56
+ : rgb (array [0,0,0]): Current color of the group in RGB format (only if available)
57
+ : hex (string): Current color of the group in hexadecimal format (only if available)
58
+ : xyColor (object {x [float], y [float]}): Current color of the group in the XY color format (only if available)
59
+ : colorTemp (int): Currently set color temperature of the group (only if available)
49
60
  : updated (string): Time of the last update of the resource by HueMagic (ISO 8601)
50
61
 
51
62
  #### Information about the group under `msg.info`
@@ -72,5 +83,5 @@ If the status of the node has changed via a certain command, the entire command
72
83
 
73
84
  HueMagic provides some sample configurations for this node. To import a full featured example into your Node-RED interface, click on the Node-RED menu icon, then select "Import" and navigate to "Examples" in the sidebar of the popup. Then select the HueMagic folder and your desired node to import a sample flow.
74
85
 
75
- ![examples](https://user-images.githubusercontent.com/5302050/148681840-2275c15a-7c0c-4a37-b817-199608e571d2.gif)
86
+ ![examples](hue/assets/huemagic-examples.gif)
76
87
  </script>
@@ -1,12 +1,11 @@
1
1
  {
2
- "hue-group":
3
- {
4
- "config":
5
- {
2
+ "hue-group": {
3
+ "config": {
6
4
  "name": "Name",
7
5
  "input-name": "Group name",
8
6
  "skipevents-node": "Skip events from node",
9
7
  "sendinitevents-node": "Do not suppress initialization event",
8
+ "onlycommands-node": "Only report after a command",
10
9
  "searching": "Searching groups…",
11
10
  "none-found": "No groups found!",
12
11
  "unknown-error": "Something went wrong. Please retry.",
@@ -15,10 +14,10 @@
15
14
  "colornamer-info": "Activate color naming",
16
15
  "all": "All groups / lights",
17
16
  "universalevents": "Universal Events",
18
- "universalevents-node": "Receives all messages from other nodes of the same type (only in universal mode)"
17
+ "universalevents-node": "Receives all messages from other nodes of the same type (only in universal mode)",
18
+ "bridge": "Bridge"
19
19
  },
20
- "node":
21
- {
20
+ "node": {
22
21
  "title": "Hue Group",
23
22
  "not-configured": "not configured",
24
23
  "init": "initializing…",
@@ -31,11 +30,17 @@
31
30
  "error-input": "input error",
32
31
  "error-no-id": "No group Id specified.",
33
32
  "error-invalid-sat": "Invalid saturation setting. Only 0 - 254 allowed.",
34
- "error-invalid-temp": "Invalid color temprature. Only 153 - 500 allowed.",
33
+ "error-invalid-temp": "Invalid color temperature. Only 153 - 500 allowed.",
35
34
  "input": "turn on / off",
36
35
  "output": "status",
37
36
  "command": "executing command…",
38
- "statusmsg": "Status queried successfully…"
37
+ "statusmsg": "Status queried successfully…",
38
+ "error-not-available": "The group is not yet available. Please wait until HueMagic has established a connection with the bridge or check whether the resource ID in the configuration is valid.",
39
+ "error-invalid-brightness": "Invalid brightness setting. Only 0 - 100 percent allowed.",
40
+ "error-invalid-brightness-level": "Invalid brightness setting. Only 0 - 254 allowed.",
41
+ "error-invalid-increment": "Invalid incrementBrightness setting. Only -100% to 100% allowed.",
42
+ "error-invalid-decrement": "Invalid decrementBrightness setting. Only -100% to 100% allowed.",
43
+ "error-no-colorloop": "The colorloop effect is not available for this group."
39
44
  }
40
45
  }
41
- }
46
+ }
@@ -3,7 +3,7 @@ The "Hue Light" node can control lights connected to the bridge and receive thei
3
3
 
4
4
  ### Setup
5
5
 
6
- Select the pre-configured Hue Bridge and hit the search button to find all the available lights. If you already know the ID of a light, you can also enter it here manually. You can either assign a new name for the light internally or choose the predefined name. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue device updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected light after each deployment.
6
+ Select the pre-configured Hue Bridge and hit the search button to find all the available lights. If you already know the ID of a light, you can also enter it here manually. You can either assign a new name for the light internally or choose the predefined name. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue device updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected light after each deployment. If you would rather have the node stay silent until you send it something, activate "Only report after a command". It then ignores changes from the app or a switch and only answers your own commands.
7
7
 
8
8
  If you activate the setting "Activate color naming", the node will try to describe the currently set light color for each status message. You will then receive an additional parameter with the English description of the currently set color in the output.
9
9
 
@@ -35,7 +35,7 @@ In addition to simply switching it on and off, there are also many other options
35
35
  : hex (string): Color value in hexadecimal in the form of a string
36
36
  : rgb (array [0,0,0]): Color value in RGB format in the form of an array
37
37
  : xyColor (object {x [float], y [float]}): Color value in the XY color format in the form of an object
38
- : gradient (object {hex […]}): An object with a supported color object (e.g. `hex`,` rgb`, ...) and several colors to set a gradient to supported lights
38
+ : gradient (object {hex […]}): An object with a supported color object (e.g. `hex`, `rgb`, ...) and several colors to set a gradient to supported lights
39
39
  : mixColor (object): A color to be mixed with the current light color. Can accept `color`, `hex`, `rgb` or `xyColor` objects and optionally `amount` (int) to indicate the mixing ratio in percent
40
40
  : image (string): Path of an image (local or on the web) to set the current color of the light to the average color of the image
41
41
  : saturation (int): Percentage of the saturation of the current color (beta)
@@ -93,5 +93,5 @@ If the status of the node has changed via a certain command, the entire command
93
93
 
94
94
  HueMagic provides some sample configurations for this node. To import a full featured example into your Node-RED interface, click on the Node-RED menu icon, then select "Import" and navigate to "Examples" in the sidebar of the popup. Then select the HueMagic folder and your desired node to import a sample flow.
95
95
 
96
- ![examples](https://user-images.githubusercontent.com/5302050/148681840-2275c15a-7c0c-4a37-b817-199608e571d2.gif)
96
+ ![examples](hue/assets/huemagic-examples.gif)
97
97
  </script>
@@ -0,0 +1,44 @@
1
+ {
2
+ "hue-light": {
3
+ "config": {
4
+ "name": "Name",
5
+ "input-name": "Light name",
6
+ "skipevents-node": "Skip events from node",
7
+ "sendinitevents-node": "Do not suppress initialization event",
8
+ "onlycommands-node": "Only report after a command",
9
+ "searching": "Searching lights…",
10
+ "none-found": "No lights found!",
11
+ "unknown-error": "Something went wrong. Please retry.",
12
+ "light": "Light",
13
+ "colornamer": "Colornamer",
14
+ "colornamer-info": "Activate color naming",
15
+ "universalevents": "Universal Events",
16
+ "universalevents-node": "Receives all messages from other nodes of the same type (only in universal mode)",
17
+ "bridge": "Bridge"
18
+ },
19
+ "node": {
20
+ "title": "Hue Light",
21
+ "not-configured": "not configured",
22
+ "init": "initializing…",
23
+ "not-reachable": "not reachable",
24
+ "universal": "universal mode",
25
+ "turned-on": "turned on",
26
+ "turned-on-percent": "turned on (__percent__%)",
27
+ "turned-off": "turned off",
28
+ "error-no-id": "No light Id defined. Please check the docs.",
29
+ "error-input": "input error",
30
+ "error-invalid-temp": "Invalid color temperature. Only 153 - 500 allowed.",
31
+ "input": "turn on / off",
32
+ "output": "status",
33
+ "command": "executing command…",
34
+ "statusmsg": "Status queried successfully…",
35
+ "error-not-available": "The light is not yet available. Please wait until HueMagic has established a connection with the bridge or check whether the resource ID in the configuration is valid.",
36
+ "error-invalid-brightness": "Invalid brightness setting. Only 0 - 100 percent allowed.",
37
+ "error-invalid-brightness-level": "Invalid brightness setting. Only 0 - 254 allowed.",
38
+ "error-invalid-sat": "Invalid saturation setting. Only 0 - 100 allowed.",
39
+ "error-no-colorloop": "The colorloop effect is not available for this light.",
40
+ "error-invalid-effect": "Invalid effect. This light supports: __effects__",
41
+ "error-invalid-powerup": "Invalid power up setting. Allowed presets are: __presets__"
42
+ }
43
+ }
44
+ }
@@ -64,5 +64,5 @@ This node does not output any status messages. Please connect the output of the
64
64
 
65
65
  HueMagic provides some sample configurations for this node. To import a full featured example into your Node-RED interface, click on the Node-RED menu icon, then select "Import" and navigate to "Examples" in the sidebar of the popup. Then select the HueMagic folder and your desired node to import a sample flow.
66
66
 
67
- ![examples](https://user-images.githubusercontent.com/5302050/148681840-2275c15a-7c0c-4a37-b817-199608e571d2.gif)
67
+ ![examples](hue/assets/huemagic-examples.gif)
68
68
  </script>
@@ -3,7 +3,7 @@ The "Hue motion" node can register and report movements from a suitable sensor o
3
3
 
4
4
  ### Setup
5
5
 
6
- Select the pre-configured Hue Bridge and click the search button to find all the available sensors. If you already know the ID of the sensor, you can also enter it here manually. You can either assign a new name for the sensor internally or choose the predefined name of the sensor. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue device updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected sensor after each deployment.
6
+ Select the pre-configured Hue Bridge and click the search button to find all the available sensors. If you already know the ID of the sensor, you can also enter it here manually. You can either assign a new name for the sensor internally or choose the predefined name of the sensor. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue device updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you activate this setting, you will receive a status message for the currently selected sensor after each deployment. If you would rather have the node stay silent until you send it something, activate "Only report after a command". It then ignores changes from the app or a switch and only answers your own commands.
7
7
 
8
8
  If you do not select a sensor and use the node configuration in this way, the node works in the so-called "universal mode". In this mode, the node receives and outputs all status messages of the same type. You can also apply settings in universal mode to a specific sensor by transferring the corresponding sensor ID as a string in `msg.topic` together with your settings.
9
9
 
@@ -60,5 +60,5 @@ If the status of the node has changed via a certain command, the entire command
60
60
 
61
61
  HueMagic provides some sample configurations for this node. To import a full featured example into your Node-RED interface, click on the Node-RED menu icon, then select "Import" and navigate to "Examples" in the sidebar of the popup. Then select the HueMagic folder and your desired node to import a sample flow.
62
62
 
63
- ![examples](https://user-images.githubusercontent.com/5302050/148681840-2275c15a-7c0c-4a37-b817-199608e571d2.gif)
63
+ ![examples](hue/assets/huemagic-examples.gif)
64
64
  </script>
@@ -1,21 +1,20 @@
1
1
  {
2
- "hue-motion":
3
- {
4
- "config":
5
- {
2
+ "hue-motion": {
3
+ "config": {
6
4
  "name": "Name",
7
5
  "input-name": "Sensor name",
8
6
  "skipevents-node": "Skip events from node",
9
7
  "sendinitevents-node": "Do not suppress initialization event",
8
+ "onlycommands-node": "Only report after a command",
10
9
  "searching": "Searching motion sensors…",
11
10
  "none-found": "No motion sensors found!",
12
11
  "unknown-error": "Something went wrong. Please retry.",
13
12
  "sensor": "Sensor",
14
13
  "universalevents": "Universal Events",
15
- "universalevents-node": "Receives all messages from other nodes of the same type (only in universal mode)"
14
+ "universalevents-node": "Receives all messages from other nodes of the same type (only in universal mode)",
15
+ "bridge": "Bridge"
16
16
  },
17
- "node":
18
- {
17
+ "node": {
19
18
  "title": "Hue Motion",
20
19
  "not-configured": "not configured",
21
20
  "not-reachable": "not reachable",
@@ -27,7 +26,11 @@
27
26
  "output": "motion detected",
28
27
  "universal": "universal mode",
29
28
  "command": "executing command…",
30
- "statusmsg": "Status queried successfully…"
29
+ "statusmsg": "Status queried successfully…",
30
+ "error-no-id": "Please submit a valid sensor ID.",
31
+ "error-not-available": "The sensor is not yet available. Please wait until HueMagic has established a connection with the bridge or check whether the resource ID in the configuration is valid.",
32
+ "error-no-sensitivity": "This motion source has no adjustable sensitivity.",
33
+ "error-invalid-sensitivity": "Invalid sensitivity. Only 0 - __max__ allowed."
31
34
  }
32
35
  }
33
- }
36
+ }
@@ -3,7 +3,7 @@ The "Hue Rule" node can activate or deactivate rules saved in the bridge and cal
3
3
 
4
4
  ### Setup
5
5
 
6
- Select the pre-configured Hue Bridge and hit the search button to find all the available rules. If you already know the ID of the rule, you can also enter it here manually. Alternatively, you can also assign a new name or choose the predefined name of the rule.
6
+ Select the pre-configured Hue Bridge and hit the search button to find all the available rules. If you already know the ID of the rule, you can also enter it here manually. Alternatively, you can also assign a new name or choose the predefined name of the rule. Optionally, you can also deactivate all automatic status messages for this node by clicking the setting "Skip events from node". The node will then no longer issue any updates. Alternatively, you can also choose whether the node's initialization message should not be suppressed when Node-RED is started. If you would rather have the node stay silent until you send it something, activate "Only report after a command". It then ignores changes from the app or a switch and only answers your own commands.
7
7
 
8
8
  If you do not select a rule and use the node configuration in this way, the node works in the so-called "universal mode". In this mode, the node receives and outputs all status messages of the same type. You can also apply settings in universal mode to a specific rule by transferring the corresponding rule ID as a string in `msg.topic` together with your settings.
9
9
 
@@ -65,5 +65,5 @@ If the status of the node has changed via a certain command, the entire command
65
65
 
66
66
  HueMagic provides some sample configurations for this node. To import a full featured example into your Node-RED interface, click on the Node-RED menu icon, then select "Import" and navigate to "Examples" in the sidebar of the popup. Then select the HueMagic folder and your desired node to import a sample flow.
67
67
 
68
- ![examples](https://user-images.githubusercontent.com/5302050/148681840-2275c15a-7c0c-4a37-b817-199608e571d2.gif)
68
+ ![examples](hue/assets/huemagic-examples.gif)
69
69
  </script>