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.
- package/CHANGELOG.md +89 -5
- package/README.md +506 -123
- package/examples/Deutsch/Hue Automation.json +176 -0
- package/examples/Deutsch/Hue Bridge.json +256 -0
- package/examples/Deutsch/Hue Brightness.json +150 -0
- package/examples/Deutsch/Hue Buttons.json +88 -0
- package/examples/Deutsch/Hue Contact.json +150 -0
- package/examples/Deutsch/Hue Group.json +658 -0
- package/examples/Deutsch/Hue Light.json +893 -0
- package/examples/Deutsch/Hue Magic.json +148 -0
- package/examples/Deutsch/Hue Motion.json +150 -0
- package/examples/Deutsch/Hue Rules.json +150 -0
- package/examples/Deutsch/Hue Scene.json +178 -0
- package/examples/Deutsch/Hue Speaker.json +274 -0
- package/examples/Deutsch/Hue Sync Box.json +378 -0
- package/examples/Deutsch/Hue Temperature.json +150 -0
- package/examples/English/Hue Automation.json +176 -0
- package/examples/{Hue Bridge.json → English/Hue Bridge.json } +1 -1
- package/examples/{Hue Brightness.json → English/Hue Brightness.json } +1 -1
- package/examples/{Hue Buttons.json → English/Hue Buttons.json } +1 -1
- package/examples/English/Hue Contact.json +150 -0
- package/examples/{Hue Group.json → English/Hue Group.json } +1 -1
- package/examples/{Hue Light.json → English/Hue Light.json } +1 -1
- package/examples/{Hue Magic.json → English/Hue Magic.json } +1 -1
- package/examples/{Hue Motion.json → English/Hue Motion.json } +1 -1
- package/examples/{Hue Rules.json → English/Hue Rules.json } +1 -1
- package/examples/{Hue Scene.json → English/Hue Scene.json } +1 -1
- package/examples/English/Hue Speaker.json +274 -0
- package/examples/English/Hue Sync Box.json +378 -0
- package/examples/{Hue Temperature.json → English/Hue Temperature.json } +1 -1
- package/examples/Espa/303/261ol/Hue Automation.json" +176 -0
- package/examples/Espa/303/261ol/Hue Bridge.json" +256 -0
- package/examples/Espa/303/261ol/Hue Brightness.json" +150 -0
- package/examples/Espa/303/261ol/Hue Buttons.json" +88 -0
- package/examples/Espa/303/261ol/Hue Contact.json" +150 -0
- package/examples/Espa/303/261ol/Hue Group.json" +658 -0
- package/examples/Espa/303/261ol/Hue Light.json" +893 -0
- package/examples/Espa/303/261ol/Hue Magic.json" +148 -0
- package/examples/Espa/303/261ol/Hue Motion.json" +150 -0
- package/examples/Espa/303/261ol/Hue Rules.json" +150 -0
- package/examples/Espa/303/261ol/Hue Scene.json" +178 -0
- package/examples/Espa/303/261ol/Hue Speaker.json" +274 -0
- package/examples/Espa/303/261ol/Hue Sync Box.json" +378 -0
- package/examples/Espa/303/261ol/Hue Temperature.json" +150 -0
- package/examples/Fran/303/247ais/Hue Automation.json" +176 -0
- package/examples/Fran/303/247ais/Hue Bridge.json" +256 -0
- package/examples/Fran/303/247ais/Hue Brightness.json" +150 -0
- package/examples/Fran/303/247ais/Hue Buttons.json" +88 -0
- package/examples/Fran/303/247ais/Hue Contact.json" +150 -0
- package/examples/Fran/303/247ais/Hue Group.json" +658 -0
- package/examples/Fran/303/247ais/Hue Light.json" +893 -0
- package/examples/Fran/303/247ais/Hue Magic.json" +148 -0
- package/examples/Fran/303/247ais/Hue Motion.json" +150 -0
- package/examples/Fran/303/247ais/Hue Rules.json" +150 -0
- package/examples/Fran/303/247ais/Hue Scene.json" +178 -0
- package/examples/Fran/303/247ais/Hue Speaker.json" +274 -0
- package/examples/Fran/303/247ais/Hue Sync Box.json" +378 -0
- package/examples/Fran/303/247ais/Hue Temperature.json" +150 -0
- package/examples/Italiano/Hue Automation.json +176 -0
- package/examples/Italiano/Hue Bridge.json +256 -0
- package/examples/Italiano/Hue Brightness.json +150 -0
- package/examples/Italiano/Hue Buttons.json +88 -0
- package/examples/Italiano/Hue Contact.json +150 -0
- package/examples/Italiano/Hue Group.json +658 -0
- package/examples/Italiano/Hue Light.json +893 -0
- package/examples/Italiano/Hue Magic.json +148 -0
- package/examples/Italiano/Hue Motion.json +150 -0
- package/examples/Italiano/Hue Rules.json +150 -0
- package/examples/Italiano/Hue Scene.json +178 -0
- package/examples/Italiano/Hue Speaker.json +274 -0
- package/examples/Italiano/Hue Sync Box.json +378 -0
- package/examples/Italiano/Hue Temperature.json +150 -0
- package/examples/Nederlands/Hue Automation.json +176 -0
- package/examples/Nederlands/Hue Bridge.json +256 -0
- package/examples/Nederlands/Hue Brightness.json +150 -0
- package/examples/Nederlands/Hue Buttons.json +88 -0
- package/examples/Nederlands/Hue Contact.json +150 -0
- package/examples/Nederlands/Hue Group.json +658 -0
- package/examples/Nederlands/Hue Light.json +893 -0
- package/examples/Nederlands/Hue Magic.json +148 -0
- package/examples/Nederlands/Hue Motion.json +150 -0
- package/examples/Nederlands/Hue Rules.json +150 -0
- package/examples/Nederlands/Hue Scene.json +178 -0
- package/examples/Nederlands/Hue Speaker.json +274 -0
- package/examples/Nederlands/Hue Sync Box.json +378 -0
- package/examples/Nederlands/Hue Temperature.json +150 -0
- package/examples/Polski/Hue Automation.json +176 -0
- package/examples/Polski/Hue Bridge.json +256 -0
- package/examples/Polski/Hue Brightness.json +150 -0
- package/examples/Polski/Hue Buttons.json +88 -0
- package/examples/Polski/Hue Contact.json +150 -0
- package/examples/Polski/Hue Group.json +658 -0
- package/examples/Polski/Hue Light.json +893 -0
- package/examples/Polski/Hue Magic.json +148 -0
- package/examples/Polski/Hue Motion.json +150 -0
- package/examples/Polski/Hue Rules.json +150 -0
- package/examples/Polski/Hue Scene.json +178 -0
- package/examples/Polski/Hue Speaker.json +274 -0
- package/examples/Polski/Hue Sync Box.json +378 -0
- package/examples/Polski/Hue Temperature.json +150 -0
- package/examples/Portugu/303/252s/Hue Automation.json" +176 -0
- package/examples/Portugu/303/252s/Hue Bridge.json" +256 -0
- package/examples/Portugu/303/252s/Hue Brightness.json" +150 -0
- package/examples/Portugu/303/252s/Hue Buttons.json" +88 -0
- package/examples/Portugu/303/252s/Hue Contact.json" +150 -0
- package/examples/Portugu/303/252s/Hue Group.json" +658 -0
- package/examples/Portugu/303/252s/Hue Light.json" +893 -0
- package/examples/Portugu/303/252s/Hue Magic.json" +148 -0
- package/examples/Portugu/303/252s/Hue Motion.json" +150 -0
- package/examples/Portugu/303/252s/Hue Rules.json" +150 -0
- package/examples/Portugu/303/252s/Hue Scene.json" +178 -0
- package/examples/Portugu/303/252s/Hue Speaker.json" +274 -0
- package/examples/Portugu/303/252s/Hue Sync Box.json" +378 -0
- package/examples/Portugu/303/252s/Hue Temperature.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Automation.json" +176 -0
- package/examples/T/303/274rk/303/247e/Hue Bridge.json" +256 -0
- package/examples/T/303/274rk/303/247e/Hue Brightness.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Buttons.json" +88 -0
- package/examples/T/303/274rk/303/247e/Hue Contact.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Group.json" +658 -0
- package/examples/T/303/274rk/303/247e/Hue Light.json" +893 -0
- package/examples/T/303/274rk/303/247e/Hue Magic.json" +148 -0
- package/examples/T/303/274rk/303/247e/Hue Motion.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Rules.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Scene.json" +178 -0
- package/examples/T/303/274rk/303/247e/Hue Speaker.json" +274 -0
- package/examples/T/303/274rk/303/247e/Hue Sync Box.json" +378 -0
- package/examples/T/303/274rk/303/247e/Hue Temperature.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Automation.json" +176 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Bridge.json" +256 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Brightness.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Buttons.json" +88 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Contact.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Group.json" +658 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Light.json" +893 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Magic.json" +148 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Motion.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Rules.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Scene.json" +178 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Speaker.json" +274 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Sync Box.json" +378 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Temperature.json" +150 -0
- package/huemagic/assets/huemagic-examples.gif +0 -0
- package/huemagic/hue-automation.html +218 -0
- package/huemagic/hue-automation.js +173 -0
- package/huemagic/hue-bridge-config.html +39 -32
- package/huemagic/hue-bridge-config.js +290 -99
- package/huemagic/hue-bridge.html +8 -8
- package/huemagic/hue-bridge.js +29 -4
- package/huemagic/hue-brightness.html +21 -9
- package/huemagic/hue-brightness.js +20 -10
- package/huemagic/hue-buttons.html +16 -9
- package/huemagic/hue-buttons.js +90 -27
- package/huemagic/hue-contact.html +218 -0
- package/huemagic/hue-contact.js +209 -0
- package/huemagic/hue-group.html +16 -9
- package/huemagic/hue-group.js +141 -179
- package/huemagic/hue-light.html +19 -12
- package/huemagic/hue-light.js +222 -167
- package/huemagic/hue-magic.html +3 -5
- package/huemagic/hue-motion.html +16 -9
- package/huemagic/hue-motion.js +37 -8
- package/huemagic/hue-rules.html +16 -9
- package/huemagic/hue-rules.js +16 -8
- package/huemagic/hue-scene.html +9 -5
- package/huemagic/hue-scene.js +52 -16
- package/huemagic/hue-speaker.html +218 -0
- package/huemagic/hue-speaker.js +257 -0
- package/huemagic/hue-syncbox-config.html +123 -0
- package/huemagic/hue-syncbox-config.js +179 -0
- package/huemagic/hue-syncbox.html +82 -0
- package/huemagic/hue-syncbox.js +274 -0
- package/huemagic/hue-temperature.html +21 -9
- package/huemagic/hue-temperature.js +18 -10
- package/huemagic/icons/hue-automation.png +0 -0
- package/huemagic/icons/hue-automation.svg +3 -0
- package/huemagic/icons/hue-contact.png +0 -0
- package/huemagic/icons/hue-contact.svg +4 -0
- package/huemagic/icons/hue-speaker.png +0 -0
- package/huemagic/icons/hue-speaker.svg +6 -0
- package/huemagic/icons/hue-syncbox.png +0 -0
- package/huemagic/icons/hue-syncbox.svg +7 -0
- package/huemagic/locales/de/hue-automation.html +59 -0
- package/huemagic/locales/de/hue-automation.json +33 -0
- package/huemagic/locales/de/hue-bridge-config.json +23 -12
- package/huemagic/locales/de/hue-bridge.html +7 -4
- package/huemagic/locales/de/hue-bridge.json +9 -10
- package/huemagic/locales/de/hue-brightness.html +9 -6
- package/huemagic/locales/de/hue-brightness.json +13 -9
- package/huemagic/locales/de/hue-buttons.html +5 -4
- package/huemagic/locales/de/hue-buttons.json +22 -8
- package/huemagic/locales/de/hue-contact.html +67 -0
- package/huemagic/locales/de/hue-contact.json +35 -0
- package/huemagic/locales/de/hue-group.html +17 -6
- package/huemagic/locales/de/hue-group.json +16 -9
- package/huemagic/locales/de/hue-light.html +6 -6
- package/huemagic/locales/de/hue-light.json +17 -9
- package/huemagic/locales/de/hue-magic.html +1 -1
- package/huemagic/locales/de/hue-magic.json +6 -8
- package/huemagic/locales/de/hue-motion.html +4 -4
- package/huemagic/locales/de/hue-motion.json +14 -9
- package/huemagic/locales/de/hue-rules.html +2 -2
- package/huemagic/locales/de/hue-rules.json +10 -9
- package/huemagic/locales/de/hue-scene.html +11 -3
- package/huemagic/locales/de/hue-scene.json +9 -9
- package/huemagic/locales/de/hue-speaker.html +80 -0
- package/huemagic/locales/de/hue-speaker.json +38 -0
- package/huemagic/locales/de/hue-syncbox-config.html +19 -0
- package/huemagic/locales/de/hue-syncbox-config.json +25 -0
- package/huemagic/locales/de/hue-syncbox.html +86 -0
- package/huemagic/locales/de/hue-syncbox.json +30 -0
- package/huemagic/locales/de/hue-temperature.html +7 -5
- package/huemagic/locales/de/hue-temperature.json +13 -9
- package/huemagic/locales/el/hue-automation.html +59 -0
- package/huemagic/locales/el/hue-automation.json +33 -0
- package/huemagic/locales/el/hue-bridge-config.html +31 -0
- package/huemagic/locales/el/hue-bridge-config.json +40 -0
- package/huemagic/locales/el/hue-bridge.html +96 -0
- package/huemagic/locales/el/hue-bridge.json +26 -0
- package/huemagic/locales/el/hue-brightness.html +70 -0
- package/huemagic/locales/el/hue-brightness.json +37 -0
- package/huemagic/locales/el/hue-buttons.html +59 -0
- package/huemagic/locales/el/hue-buttons.json +42 -0
- package/huemagic/locales/el/hue-contact.html +67 -0
- package/huemagic/locales/el/hue-contact.json +35 -0
- package/huemagic/locales/el/hue-group.html +87 -0
- package/huemagic/locales/el/hue-group.json +46 -0
- package/huemagic/locales/el/hue-light.html +97 -0
- package/huemagic/locales/el/hue-light.json +44 -0
- package/huemagic/locales/el/hue-magic.html +68 -0
- package/huemagic/locales/el/hue-magic.json +26 -0
- package/huemagic/locales/el/hue-motion.html +64 -0
- package/huemagic/locales/el/hue-motion.json +36 -0
- package/huemagic/locales/el/hue-rules.html +69 -0
- package/huemagic/locales/el/hue-rules.json +30 -0
- package/huemagic/locales/el/hue-scene.html +43 -0
- package/huemagic/locales/el/hue-scene.json +32 -0
- package/huemagic/locales/el/hue-speaker.html +80 -0
- package/huemagic/locales/el/hue-speaker.json +38 -0
- package/huemagic/locales/el/hue-syncbox-config.html +19 -0
- package/huemagic/locales/el/hue-syncbox-config.json +25 -0
- package/huemagic/locales/el/hue-syncbox.html +86 -0
- package/huemagic/locales/el/hue-syncbox.json +30 -0
- package/huemagic/locales/el/hue-temperature.html +69 -0
- package/huemagic/locales/el/hue-temperature.json +33 -0
- package/huemagic/locales/en/hue-automation.html +59 -0
- package/huemagic/locales/en/hue-automation.json +33 -0
- package/huemagic/locales/en/hue-bridge-config.json +40 -0
- package/huemagic/locales/{en-US → en}/hue-bridge.html +5 -2
- package/huemagic/locales/{en-US → en}/hue-bridge.json +8 -9
- package/huemagic/locales/{en-US → en}/hue-brightness.html +6 -3
- package/huemagic/locales/{en-US → en}/hue-brightness.json +11 -9
- package/huemagic/locales/{en-US → en}/hue-buttons.html +4 -3
- package/huemagic/locales/en/hue-buttons.json +42 -0
- package/huemagic/locales/en/hue-contact.html +67 -0
- package/huemagic/locales/en/hue-contact.json +35 -0
- package/huemagic/locales/{en-US → en}/hue-group.html +16 -5
- package/huemagic/locales/{en-US → en}/hue-group.json +15 -10
- package/huemagic/locales/{en-US → en}/hue-light.html +3 -3
- package/huemagic/locales/en/hue-light.json +44 -0
- package/huemagic/locales/{en-US → en}/hue-magic.html +1 -1
- package/huemagic/locales/{en-US → en}/hue-motion.html +2 -2
- package/huemagic/locales/{en-US → en}/hue-motion.json +12 -9
- package/huemagic/locales/{en-US → en}/hue-rules.html +2 -2
- package/huemagic/locales/{en-US → en}/hue-rules.json +10 -9
- package/huemagic/locales/{en-US → en}/hue-scene.html +11 -3
- package/huemagic/locales/{en-US → en}/hue-scene.json +9 -9
- package/huemagic/locales/en/hue-speaker.html +80 -0
- package/huemagic/locales/en/hue-speaker.json +38 -0
- package/huemagic/locales/en/hue-syncbox-config.html +19 -0
- package/huemagic/locales/en/hue-syncbox-config.json +25 -0
- package/huemagic/locales/en/hue-syncbox.html +86 -0
- package/huemagic/locales/en/hue-syncbox.json +30 -0
- package/huemagic/locales/{en-US → en}/hue-temperature.html +4 -2
- package/huemagic/locales/{en-US → en}/hue-temperature.json +11 -9
- package/huemagic/locales/es/hue-automation.html +59 -0
- package/huemagic/locales/es/hue-automation.json +33 -0
- package/huemagic/locales/es/hue-bridge-config.html +31 -0
- package/huemagic/locales/es/hue-bridge-config.json +40 -0
- package/huemagic/locales/es/hue-bridge.html +96 -0
- package/huemagic/locales/es/hue-bridge.json +26 -0
- package/huemagic/locales/es/hue-brightness.html +70 -0
- package/huemagic/locales/es/hue-brightness.json +37 -0
- package/huemagic/locales/es/hue-buttons.html +59 -0
- package/huemagic/locales/es/hue-buttons.json +42 -0
- package/huemagic/locales/es/hue-contact.html +67 -0
- package/huemagic/locales/es/hue-contact.json +35 -0
- package/huemagic/locales/es/hue-group.html +87 -0
- package/huemagic/locales/es/hue-group.json +46 -0
- package/huemagic/locales/es/hue-light.html +97 -0
- package/huemagic/locales/es/hue-light.json +44 -0
- package/huemagic/locales/es/hue-magic.html +68 -0
- package/huemagic/locales/es/hue-magic.json +26 -0
- package/huemagic/locales/es/hue-motion.html +64 -0
- package/huemagic/locales/es/hue-motion.json +36 -0
- package/huemagic/locales/es/hue-rules.html +69 -0
- package/huemagic/locales/es/hue-rules.json +30 -0
- package/huemagic/locales/es/hue-scene.html +43 -0
- package/huemagic/locales/es/hue-scene.json +32 -0
- package/huemagic/locales/es/hue-speaker.html +80 -0
- package/huemagic/locales/es/hue-speaker.json +38 -0
- package/huemagic/locales/es/hue-syncbox-config.html +19 -0
- package/huemagic/locales/es/hue-syncbox-config.json +25 -0
- package/huemagic/locales/es/hue-syncbox.html +86 -0
- package/huemagic/locales/es/hue-syncbox.json +30 -0
- package/huemagic/locales/es/hue-temperature.html +69 -0
- package/huemagic/locales/es/hue-temperature.json +33 -0
- package/huemagic/locales/fr/hue-automation.html +59 -0
- package/huemagic/locales/fr/hue-automation.json +33 -0
- package/huemagic/locales/fr/hue-bridge-config.html +31 -0
- package/huemagic/locales/fr/hue-bridge-config.json +40 -0
- package/huemagic/locales/fr/hue-bridge.html +96 -0
- package/huemagic/locales/fr/hue-bridge.json +26 -0
- package/huemagic/locales/fr/hue-brightness.html +70 -0
- package/huemagic/locales/fr/hue-brightness.json +37 -0
- package/huemagic/locales/fr/hue-buttons.html +59 -0
- package/huemagic/locales/fr/hue-buttons.json +42 -0
- package/huemagic/locales/fr/hue-contact.html +67 -0
- package/huemagic/locales/fr/hue-contact.json +35 -0
- package/huemagic/locales/fr/hue-group.html +87 -0
- package/huemagic/locales/fr/hue-group.json +46 -0
- package/huemagic/locales/fr/hue-light.html +97 -0
- package/huemagic/locales/fr/hue-light.json +44 -0
- package/huemagic/locales/fr/hue-magic.html +68 -0
- package/huemagic/locales/fr/hue-magic.json +26 -0
- package/huemagic/locales/fr/hue-motion.html +64 -0
- package/huemagic/locales/fr/hue-motion.json +36 -0
- package/huemagic/locales/fr/hue-rules.html +69 -0
- package/huemagic/locales/fr/hue-rules.json +30 -0
- package/huemagic/locales/fr/hue-scene.html +43 -0
- package/huemagic/locales/fr/hue-scene.json +32 -0
- package/huemagic/locales/fr/hue-speaker.html +80 -0
- package/huemagic/locales/fr/hue-speaker.json +38 -0
- package/huemagic/locales/fr/hue-syncbox-config.html +19 -0
- package/huemagic/locales/fr/hue-syncbox-config.json +25 -0
- package/huemagic/locales/fr/hue-syncbox.html +86 -0
- package/huemagic/locales/fr/hue-syncbox.json +30 -0
- package/huemagic/locales/fr/hue-temperature.html +69 -0
- package/huemagic/locales/fr/hue-temperature.json +33 -0
- package/huemagic/locales/it/hue-automation.html +59 -0
- package/huemagic/locales/it/hue-automation.json +33 -0
- package/huemagic/locales/it/hue-bridge-config.html +31 -0
- package/huemagic/locales/it/hue-bridge-config.json +40 -0
- package/huemagic/locales/it/hue-bridge.html +96 -0
- package/huemagic/locales/it/hue-bridge.json +26 -0
- package/huemagic/locales/it/hue-brightness.html +70 -0
- package/huemagic/locales/it/hue-brightness.json +37 -0
- package/huemagic/locales/it/hue-buttons.html +59 -0
- package/huemagic/locales/it/hue-buttons.json +42 -0
- package/huemagic/locales/it/hue-contact.html +67 -0
- package/huemagic/locales/it/hue-contact.json +35 -0
- package/huemagic/locales/it/hue-group.html +87 -0
- package/huemagic/locales/it/hue-group.json +46 -0
- package/huemagic/locales/it/hue-light.html +97 -0
- package/huemagic/locales/it/hue-light.json +44 -0
- package/huemagic/locales/it/hue-magic.html +68 -0
- package/huemagic/locales/it/hue-magic.json +26 -0
- package/huemagic/locales/it/hue-motion.html +64 -0
- package/huemagic/locales/it/hue-motion.json +36 -0
- package/huemagic/locales/it/hue-rules.html +69 -0
- package/huemagic/locales/it/hue-rules.json +30 -0
- package/huemagic/locales/it/hue-scene.html +43 -0
- package/huemagic/locales/it/hue-scene.json +32 -0
- package/huemagic/locales/it/hue-speaker.html +80 -0
- package/huemagic/locales/it/hue-speaker.json +38 -0
- package/huemagic/locales/it/hue-syncbox-config.html +19 -0
- package/huemagic/locales/it/hue-syncbox-config.json +25 -0
- package/huemagic/locales/it/hue-syncbox.html +86 -0
- package/huemagic/locales/it/hue-syncbox.json +30 -0
- package/huemagic/locales/it/hue-temperature.html +69 -0
- package/huemagic/locales/it/hue-temperature.json +33 -0
- package/huemagic/locales/nl/hue-automation.html +59 -0
- package/huemagic/locales/nl/hue-automation.json +33 -0
- package/huemagic/locales/nl/hue-bridge-config.html +31 -0
- package/huemagic/locales/nl/hue-bridge-config.json +40 -0
- package/huemagic/locales/nl/hue-bridge.html +96 -0
- package/huemagic/locales/nl/hue-bridge.json +26 -0
- package/huemagic/locales/nl/hue-brightness.html +70 -0
- package/huemagic/locales/nl/hue-brightness.json +37 -0
- package/huemagic/locales/nl/hue-buttons.html +59 -0
- package/huemagic/locales/nl/hue-buttons.json +42 -0
- package/huemagic/locales/nl/hue-contact.html +67 -0
- package/huemagic/locales/nl/hue-contact.json +35 -0
- package/huemagic/locales/nl/hue-group.html +87 -0
- package/huemagic/locales/nl/hue-group.json +46 -0
- package/huemagic/locales/nl/hue-light.html +97 -0
- package/huemagic/locales/nl/hue-light.json +44 -0
- package/huemagic/locales/nl/hue-magic.html +68 -0
- package/huemagic/locales/nl/hue-magic.json +26 -0
- package/huemagic/locales/nl/hue-motion.html +64 -0
- package/huemagic/locales/nl/hue-motion.json +36 -0
- package/huemagic/locales/nl/hue-rules.html +69 -0
- package/huemagic/locales/nl/hue-rules.json +30 -0
- package/huemagic/locales/nl/hue-scene.html +43 -0
- package/huemagic/locales/nl/hue-scene.json +32 -0
- package/huemagic/locales/nl/hue-speaker.html +80 -0
- package/huemagic/locales/nl/hue-speaker.json +38 -0
- package/huemagic/locales/nl/hue-syncbox-config.html +19 -0
- package/huemagic/locales/nl/hue-syncbox-config.json +25 -0
- package/huemagic/locales/nl/hue-syncbox.html +86 -0
- package/huemagic/locales/nl/hue-syncbox.json +30 -0
- package/huemagic/locales/nl/hue-temperature.html +69 -0
- package/huemagic/locales/nl/hue-temperature.json +33 -0
- package/huemagic/locales/pl/hue-automation.html +59 -0
- package/huemagic/locales/pl/hue-automation.json +33 -0
- package/huemagic/locales/pl/hue-bridge-config.html +31 -0
- package/huemagic/locales/pl/hue-bridge-config.json +40 -0
- package/huemagic/locales/pl/hue-bridge.html +96 -0
- package/huemagic/locales/pl/hue-bridge.json +26 -0
- package/huemagic/locales/pl/hue-brightness.html +70 -0
- package/huemagic/locales/pl/hue-brightness.json +37 -0
- package/huemagic/locales/pl/hue-buttons.html +59 -0
- package/huemagic/locales/pl/hue-buttons.json +42 -0
- package/huemagic/locales/pl/hue-contact.html +67 -0
- package/huemagic/locales/pl/hue-contact.json +35 -0
- package/huemagic/locales/pl/hue-group.html +87 -0
- package/huemagic/locales/pl/hue-group.json +46 -0
- package/huemagic/locales/pl/hue-light.html +97 -0
- package/huemagic/locales/pl/hue-light.json +44 -0
- package/huemagic/locales/pl/hue-magic.html +68 -0
- package/huemagic/locales/pl/hue-magic.json +26 -0
- package/huemagic/locales/pl/hue-motion.html +64 -0
- package/huemagic/locales/pl/hue-motion.json +36 -0
- package/huemagic/locales/pl/hue-rules.html +69 -0
- package/huemagic/locales/pl/hue-rules.json +30 -0
- package/huemagic/locales/pl/hue-scene.html +43 -0
- package/huemagic/locales/pl/hue-scene.json +32 -0
- package/huemagic/locales/pl/hue-speaker.html +80 -0
- package/huemagic/locales/pl/hue-speaker.json +38 -0
- package/huemagic/locales/pl/hue-syncbox-config.html +19 -0
- package/huemagic/locales/pl/hue-syncbox-config.json +25 -0
- package/huemagic/locales/pl/hue-syncbox.html +86 -0
- package/huemagic/locales/pl/hue-syncbox.json +30 -0
- package/huemagic/locales/pl/hue-temperature.html +69 -0
- package/huemagic/locales/pl/hue-temperature.json +33 -0
- package/huemagic/locales/pt/hue-automation.html +59 -0
- package/huemagic/locales/pt/hue-automation.json +33 -0
- package/huemagic/locales/pt/hue-bridge-config.html +31 -0
- package/huemagic/locales/pt/hue-bridge-config.json +40 -0
- package/huemagic/locales/pt/hue-bridge.html +96 -0
- package/huemagic/locales/pt/hue-bridge.json +26 -0
- package/huemagic/locales/pt/hue-brightness.html +70 -0
- package/huemagic/locales/pt/hue-brightness.json +37 -0
- package/huemagic/locales/pt/hue-buttons.html +59 -0
- package/huemagic/locales/pt/hue-buttons.json +42 -0
- package/huemagic/locales/pt/hue-contact.html +67 -0
- package/huemagic/locales/pt/hue-contact.json +35 -0
- package/huemagic/locales/pt/hue-group.html +87 -0
- package/huemagic/locales/pt/hue-group.json +46 -0
- package/huemagic/locales/pt/hue-light.html +97 -0
- package/huemagic/locales/pt/hue-light.json +44 -0
- package/huemagic/locales/pt/hue-magic.html +68 -0
- package/huemagic/locales/pt/hue-magic.json +26 -0
- package/huemagic/locales/pt/hue-motion.html +64 -0
- package/huemagic/locales/pt/hue-motion.json +36 -0
- package/huemagic/locales/pt/hue-rules.html +69 -0
- package/huemagic/locales/pt/hue-rules.json +30 -0
- package/huemagic/locales/pt/hue-scene.html +43 -0
- package/huemagic/locales/pt/hue-scene.json +32 -0
- package/huemagic/locales/pt/hue-speaker.html +80 -0
- package/huemagic/locales/pt/hue-speaker.json +38 -0
- package/huemagic/locales/pt/hue-syncbox-config.html +19 -0
- package/huemagic/locales/pt/hue-syncbox-config.json +25 -0
- package/huemagic/locales/pt/hue-syncbox.html +86 -0
- package/huemagic/locales/pt/hue-syncbox.json +30 -0
- package/huemagic/locales/pt/hue-temperature.html +69 -0
- package/huemagic/locales/pt/hue-temperature.json +33 -0
- package/huemagic/locales/tr/hue-automation.html +59 -0
- package/huemagic/locales/tr/hue-automation.json +33 -0
- package/huemagic/locales/tr/hue-bridge-config.html +31 -0
- package/huemagic/locales/tr/hue-bridge-config.json +40 -0
- package/huemagic/locales/tr/hue-bridge.html +96 -0
- package/huemagic/locales/tr/hue-bridge.json +26 -0
- package/huemagic/locales/tr/hue-brightness.html +70 -0
- package/huemagic/locales/tr/hue-brightness.json +37 -0
- package/huemagic/locales/tr/hue-buttons.html +59 -0
- package/huemagic/locales/tr/hue-buttons.json +42 -0
- package/huemagic/locales/tr/hue-contact.html +67 -0
- package/huemagic/locales/tr/hue-contact.json +35 -0
- package/huemagic/locales/tr/hue-group.html +87 -0
- package/huemagic/locales/tr/hue-group.json +46 -0
- package/huemagic/locales/tr/hue-light.html +97 -0
- package/huemagic/locales/tr/hue-light.json +44 -0
- package/huemagic/locales/tr/hue-magic.html +68 -0
- package/huemagic/locales/tr/hue-magic.json +26 -0
- package/huemagic/locales/tr/hue-motion.html +64 -0
- package/huemagic/locales/tr/hue-motion.json +36 -0
- package/huemagic/locales/tr/hue-rules.html +69 -0
- package/huemagic/locales/tr/hue-rules.json +30 -0
- package/huemagic/locales/tr/hue-scene.html +43 -0
- package/huemagic/locales/tr/hue-scene.json +32 -0
- package/huemagic/locales/tr/hue-speaker.html +80 -0
- package/huemagic/locales/tr/hue-speaker.json +38 -0
- package/huemagic/locales/tr/hue-syncbox-config.html +19 -0
- package/huemagic/locales/tr/hue-syncbox-config.json +25 -0
- package/huemagic/locales/tr/hue-syncbox.html +86 -0
- package/huemagic/locales/tr/hue-syncbox.json +30 -0
- package/huemagic/locales/tr/hue-temperature.html +69 -0
- package/huemagic/locales/tr/hue-temperature.json +33 -0
- package/huemagic/utils/api.js +158 -54
- package/huemagic/utils/color.js +20 -2
- package/huemagic/utils/merge.js +3 -2
- package/huemagic/utils/messages.js +506 -120
- package/huemagic/utils/sse.js +51 -0
- package/huemagic/utils/syncbox.js +84 -0
- package/package.json +19 -11
- package/.github/FUNDING.yml +0 -2
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/workflows/npm.yml +0 -18
- package/huemagic/locales/en-US/hue-bridge-config.json +0 -29
- package/huemagic/locales/en-US/hue-buttons.json +0 -34
- package/huemagic/locales/en-US/hue-light.json +0 -38
- /package/huemagic/locales/{en-US → en}/hue-bridge-config.html +0 -0
- /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.
|
|
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
|
-

|
|
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
|
|
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
|
-

|
|
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
|
-

|
|
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
|
+

|
|
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.
|
|
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
|
|
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.
|
|
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
|
-

|
|
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
|
|
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
|
|
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
|
-

|
|
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
|
-

|
|
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
|
-

|
|
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
|
-

|
|
69
69
|
</script>
|