node-red-contrib-huemagic 4.2.2 → 5.0.1
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 +94 -5
- package/README.md +525 -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 +227 -11
- package/huemagic/hue-buttons.js +183 -28
- 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 +7 -4
- package/huemagic/locales/de/hue-buttons.json +42 -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 +61 -0
- package/huemagic/locales/el/hue-buttons.json +62 -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 +6 -3
- package/huemagic/locales/en/hue-buttons.json +62 -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 +61 -0
- package/huemagic/locales/es/hue-buttons.json +62 -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 +61 -0
- package/huemagic/locales/fr/hue-buttons.json +62 -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 +61 -0
- package/huemagic/locales/it/hue-buttons.json +62 -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 +61 -0
- package/huemagic/locales/nl/hue-buttons.json +62 -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 +61 -0
- package/huemagic/locales/pl/hue-buttons.json +62 -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 +61 -0
- package/huemagic/locales/pt/hue-buttons.json +62 -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 +61 -0
- package/huemagic/locales/tr/hue-buttons.json +62 -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,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-syncbox": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Nome",
|
|
5
|
+
"skipevents-node": "Ignora i messaggi del nodo",
|
|
6
|
+
"sendinitevents-node": "Non sopprimere l'evento di inizializzazione",
|
|
7
|
+
"onlycommands-node": "Segnala solo dopo un comando",
|
|
8
|
+
"input-name": "Nome della Sync Box",
|
|
9
|
+
"syncbox": "Sync Box"
|
|
10
|
+
},
|
|
11
|
+
"node": {
|
|
12
|
+
"not-configured": "non configurato",
|
|
13
|
+
"command": "esecuzione del comando…",
|
|
14
|
+
"statusmsg": "Stato interrogato correttamente…",
|
|
15
|
+
"title": "Hue Sync Box",
|
|
16
|
+
"connecting": "connessione…",
|
|
17
|
+
"powersave": "spenta",
|
|
18
|
+
"passthrough": "passaggio diretto",
|
|
19
|
+
"syncing": "__mode__ (__intensity__)",
|
|
20
|
+
"input": "controlla la sync box",
|
|
21
|
+
"output": "sync box",
|
|
22
|
+
"error-not-available": "La sync box non è ancora disponibile. Attenda che HueMagic abbia stabilito la connessione con essa.",
|
|
23
|
+
"error-invalid-mode": "Modalità non valida. Sono consentite: __modes__",
|
|
24
|
+
"error-invalid-intensity": "Intensità non valida. Sono consentite: __intensities__",
|
|
25
|
+
"error-invalid-brightness": "Impostazione di luminosità non valida. Sono consentiti solo valori da 0 a 100 percento.",
|
|
26
|
+
"error-invalid-brightness-level": "Impostazione di luminosità non valida. Sono consentiti solo valori da 0 a 200.",
|
|
27
|
+
"error-invalid-input": "Ingresso HDMI non valido. Sono consentiti solo da input1 a input4."
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-temperature">
|
|
2
|
+
Il nodo «Hue Temperatura» può richiedere e comunicare la temperatura ambiente attuale da un sensore adatto collegato al bridge.
|
|
3
|
+
|
|
4
|
+
### Configurazione
|
|
5
|
+
|
|
6
|
+
Selezioni il Hue Bridge preconfigurato e faccia clic sul pulsante di ricerca per trovare tutti i sensori disponibili. Se conosce già l'ID del sensore, può anche inserirlo qui manualmente. Può assegnare internamente un nuovo nome al sensore oppure mantenere quello predefinito. Facoltativamente può disattivare tutti i messaggi di stato automatici di questo nodo tramite l'impostazione «Ignora i messaggi del nodo». Il nodo non emetterà più aggiornamenti del dispositivo. In alternativa può scegliere che il messaggio di inizializzazione del nodo non venga soppresso all'avvio di Node-RED. Attivando questa impostazione riceverà un messaggio di stato del sensore selezionato dopo ogni deploy. Se preferisce che il nodo resti in silenzio finché non gli invia qualcosa, attivi «Segnala solo dopo un comando». In tal caso ignorerà le modifiche provenienti dall'app o da un interruttore e risponderà solo ai suoi comandi.
|
|
7
|
+
|
|
8
|
+
I sensori di movimento vengono di solito montati in un angolo della stanza e spesso misurano una temperatura leggermente troppo alta a causa della loro elettronica. Con l'impostazione «Correzione» può calibrare il sensore senza giri di parole: il valore che inserisce qui (ad es. `-1.5`) viene sommato a ogni valore misurato prima che il nodo lo emetta. La correzione vale contemporaneamente per tutte le unità di temperatura.
|
|
9
|
+
|
|
10
|
+
Se non seleziona alcun sensore e utilizza così la configurazione del nodo, il nodo funziona nella cosiddetta «modalità universale». In questa modalità il nodo riceve ed emette tutti i messaggi di stato dello stesso tipo. Può anche applicare impostazioni in modalità universale a un sensore specifico trasmettendo il relativo ID sensore come stringa in `msg.topic` insieme alle sue impostazioni.
|
|
11
|
+
|
|
12
|
+
### Richiedere lo stato
|
|
13
|
+
|
|
14
|
+
Emette lo stato attuale del sensore non appena al nodo viene trasmesso un oggetto `msg.payload` con il seguente contenuto. In alternativa può anche premere il pulsante nell'interfaccia di Node-RED senza dover inviare prima un messaggio al nodo.
|
|
15
|
+
|
|
16
|
+
: status (boolean): Restituisce lo stato attuale del sensore
|
|
17
|
+
|
|
18
|
+
### Accendere / spegnere il sensore
|
|
19
|
+
|
|
20
|
+
Se necessario, il sensore può essere acceso e spento da remoto. Se il sensore è spento, non registra più alcuna variazione di temperatura e di conseguenza non la emette. A tal fine, trasmetta un oggetto con il seguente contenuto:
|
|
21
|
+
|
|
22
|
+
: payload (boolean): `true` accende il sensore, `false` lo spegne
|
|
23
|
+
|
|
24
|
+
### Messaggi di stato del nodo
|
|
25
|
+
|
|
26
|
+
Non appena il sensore registra una variazione di temperatura, il nodo restituisce il seguente messaggio di stato:
|
|
27
|
+
|
|
28
|
+
#### Oggetto di stato in `msg.payload`
|
|
29
|
+
|
|
30
|
+
: active (boolean): Indica se il sensore è acceso o spento
|
|
31
|
+
: reachable (boolean | string): `true` se il sensore è collegato al bridge, `unknown` se lo stato della connessione è diverso
|
|
32
|
+
: connectionStatus (string): Lo stato attuale della connessione con il bridge sotto forma di stringa. Può contenere `connected`, `disconnected`, `connectivity_issue` o `unidirectional_incoming` come valore
|
|
33
|
+
: celsius (float): Indica la temperatura ambiente attuale in °C (gradi Celsius)
|
|
34
|
+
: fahrenheit (float): Indica la temperatura ambiente attuale in °F (gradi Fahrenheit)
|
|
35
|
+
: temperatureIs (string): Descrive la temperatura attuale con i valori `very cold`, `cold`, `slightly cold`, `comfortable`, `slightly warm`, `warm`, `hot` o `very hot`
|
|
36
|
+
: deviceValue (float): Il valore originale della temperatura fornito dal sensore
|
|
37
|
+
: updated (string): Momento dell'ultimo aggiornamento della risorsa da parte di HueMagic (ISO 8601)
|
|
38
|
+
|
|
39
|
+
#### Informazioni sul sensore in `msg.info`
|
|
40
|
+
|
|
41
|
+
: id (string): Indica il nuovo ID del sensore
|
|
42
|
+
: idV1 (string | boolean): Indica il vecchio ID del sensore
|
|
43
|
+
: uniqueId (string): L'ID univoco del sensore
|
|
44
|
+
: deviceId (string): L'ID univoco del dispositivo
|
|
45
|
+
: name (string): Il nome attualmente assegnato al sensore
|
|
46
|
+
: type (string): Il tipo di sensore (sempre `temperature`)
|
|
47
|
+
: softwareVersion (string): Il firmware attuale del sensore
|
|
48
|
+
: battery (float): Il livello attuale della batteria del sensore
|
|
49
|
+
: batteryState (string): Lo stato attuale del livello della batteria. Può contenere `normal`, `low` o `critical` come valore
|
|
50
|
+
: model (object): Contiene le informazioni sul modello del sensore in `id`, `manufacturer`, `name`, `type` e `certified`
|
|
51
|
+
|
|
52
|
+
#### Variazioni di stato in `msg.updated`
|
|
53
|
+
|
|
54
|
+
Elenca sotto forma di oggetto i singoli parametri modificati rispetto all'ultimo stato del sensore. Se non è stata registrata alcuna modifica, questo oggetto è vuoto.
|
|
55
|
+
|
|
56
|
+
#### Ultimo stato del sensore in `msg.lastState`
|
|
57
|
+
|
|
58
|
+
Contiene l'oggetto di stato completo (vedi i valori di uscita sopra) dell'ultimo stato prima dell'ultima modifica registrata. Se HueMagic non ha ancora registrato l'ultimo stato, viene emesso `false`.
|
|
59
|
+
|
|
60
|
+
#### Ultimo comando in `msg.command` (facoltativo)
|
|
61
|
+
|
|
62
|
+
Se lo stato del nodo è cambiato a seguito di un determinato comando, viene emesso anche l'intero comando eseguito. In caso contrario, il nodo non emette questo oggetto.
|
|
63
|
+
|
|
64
|
+
### Esempi di HueMagic
|
|
65
|
+
|
|
66
|
+
HueMagic mette a disposizione alcune configurazioni di esempio per questo nodo. Per importare un esempio completo nella sua interfaccia Node-RED, faccia clic sull'icona del menu di Node-RED, selezioni «Importa» e navighi fino a «Esempi» nella barra laterale della finestra. Selezioni quindi la cartella HueMagic e il nodo desiderato per importare un flusso di esempio.
|
|
67
|
+
|
|
68
|
+

|
|
69
|
+
</script>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-temperature": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Nome",
|
|
5
|
+
"skipevents-node": "Ignora i messaggi del nodo",
|
|
6
|
+
"sendinitevents-node": "Non sopprimere l'evento di inizializzazione",
|
|
7
|
+
"onlycommands-node": "Segnala solo dopo un comando",
|
|
8
|
+
"unknown-error": "Qualcosa è andato storto. Riprovi.",
|
|
9
|
+
"bridge": "Bridge",
|
|
10
|
+
"universalevents": "Eventi universali",
|
|
11
|
+
"universalevents-node": "Riceve tutti i messaggi dagli altri nodi dello stesso tipo (solo in modalità universale)",
|
|
12
|
+
"input-name": "Nome del sensore",
|
|
13
|
+
"searching": "ricerca di sensori di temperatura…",
|
|
14
|
+
"none-found": "Nessun sensore di temperatura trovato.",
|
|
15
|
+
"sensor": "Sensore",
|
|
16
|
+
"offset": "Correzione"
|
|
17
|
+
},
|
|
18
|
+
"node": {
|
|
19
|
+
"not-configured": "non configurato",
|
|
20
|
+
"init": "inizializzazione…",
|
|
21
|
+
"not-reachable": "non raggiungibile",
|
|
22
|
+
"universal": "modalità universale",
|
|
23
|
+
"command": "esecuzione del comando…",
|
|
24
|
+
"deactivated": "disattivato",
|
|
25
|
+
"statusmsg": "Stato interrogato correttamente…",
|
|
26
|
+
"title": "Hue Temperatura",
|
|
27
|
+
"input": "richiesta di stato",
|
|
28
|
+
"output": "temperatura (modificata)",
|
|
29
|
+
"error-no-id": "Indichi un ID sensore valido.",
|
|
30
|
+
"error-not-available": "Il sensore non è ancora disponibile. Attenda che HueMagic abbia stabilito la connessione con il bridge oppure verifichi se l'ID della risorsa indicato nella configurazione è valido."
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-automation">
|
|
2
|
+
De node "Hue Automatisering" kan de automatiseringen die u in de Philips Hue-app hebt gemaakt in- en uitschakelen.
|
|
3
|
+
|
|
4
|
+
### Instellen
|
|
5
|
+
|
|
6
|
+
Selecteer de vooraf geconfigureerde Hue Bridge en klik op de zoekknop om alle beschikbare automatiseringen te vinden. Als u het ID van de automatisering al kent, kunt u het hier ook handmatig invoeren. U kunt de automatisering intern een nieuwe naam geven of de vooraf ingestelde naam gebruiken. Optioneel kunt u alle automatische statusberichten van deze node uitschakelen met de instelling "Berichten van de node negeren". De node geeft dan geen updates meer uit. U kunt ook kiezen of het initialisatiebericht van de node bij het starten van Node-RED niet wordt onderdrukt. Als u deze instelling activeert, ontvangt u na elke deploy een statusbericht van de geselecteerde automatisering. Wilt u liever dat de node stil blijft totdat u er iets naartoe stuurt, activeer dan "Alleen na een commando melden". De node negeert dan wijzigingen vanuit de app of een schakelaar en antwoordt alleen op uw eigen commando's.
|
|
7
|
+
|
|
8
|
+
Als u geen automatisering selecteert en de nodeconfiguratie zo gebruikt, werkt de node in de zogenoemde "universele modus". In deze modus ontvangt en verstuurt de node alle statusberichten van hetzelfde type. U kunt in de universele modus ook instellingen op een specifieke automatisering toepassen door het bijbehorende automatiserings-ID als tekenreeks in `msg.topic` samen met uw instellingen mee te geven.
|
|
9
|
+
|
|
10
|
+
### Automatisering in-/uitschakelen
|
|
11
|
+
|
|
12
|
+
Een uitgeschakelde automatisering blijft op de bridge staan en kan op elk moment weer worden ingeschakeld. Geef hiervoor een object met de volgende inhoud mee:
|
|
13
|
+
|
|
14
|
+
: payload (boolean): `true` schakelt de automatisering in, `false` schakelt haar uit
|
|
15
|
+
: enabled (boolean): Zoals hierboven, als u liever een object meegeeft
|
|
16
|
+
: toggle (boolean | any): Wisselt tussen in- en uitgeschakeld, afhankelijk van de vorige status
|
|
17
|
+
|
|
18
|
+
### Statusberichten van de node
|
|
19
|
+
|
|
20
|
+
Zodra de automatisering verandert, geeft de node het volgende statusbericht terug:
|
|
21
|
+
|
|
22
|
+
#### Statusobject onder `msg.payload`
|
|
23
|
+
|
|
24
|
+
: enabled (boolean): Geeft aan of de automatisering is ingeschakeld
|
|
25
|
+
: running (boolean): `true` zolang de bridge de automatisering daadwerkelijk uitvoert
|
|
26
|
+
: status (string | boolean): De huidige status. Kan `initializing`, `running`, `disabled` of `errored` als waarde bevatten
|
|
27
|
+
: lastError (string | boolean): De laatste door de bridge gemelde fout of `false`
|
|
28
|
+
: updated (string): Tijdstip van de laatste update van de bron door HueMagic (ISO 8601)
|
|
29
|
+
|
|
30
|
+
#### Informatie over de automatisering onder `msg.info`
|
|
31
|
+
|
|
32
|
+
: id (string): Geeft het ID van de automatisering aan
|
|
33
|
+
: idV1 (string | boolean): Geeft het oude ID van de automatisering aan
|
|
34
|
+
: name (string | boolean): De naam die u de automatisering in de Philips Hue-app hebt gegeven
|
|
35
|
+
: type (string): Het type van de bron (altijd `automation`)
|
|
36
|
+
: script (string | boolean): Het ID van het gedragsscript achter de automatisering
|
|
37
|
+
|
|
38
|
+
#### Configuratie onder `msg.configuration`
|
|
39
|
+
|
|
40
|
+
Bevat de instellingen van de automatisering zoals de Philips Hue-app die heeft opgeslagen. De structuur hangt af van het type automatisering en wordt ongewijzigd doorgegeven.
|
|
41
|
+
|
|
42
|
+
#### Statuswijzigingen onder `msg.updated`
|
|
43
|
+
|
|
44
|
+
Somt in de vorm van een object de afzonderlijke parameters op die ten opzichte van de vorige toestand van de automatisering zijn gewijzigd. Als er geen wijzigingen zijn geregistreerd, is dit object leeg.
|
|
45
|
+
|
|
46
|
+
#### Laatste toestand van de automatisering onder `msg.lastState`
|
|
47
|
+
|
|
48
|
+
Bevat het volledige statusobject (zie de uitvoerwaarden hierboven) van de laatste toestand vóór de laatst geregistreerde wijziging. Als HueMagic de laatste toestand nog niet heeft geregistreerd, wordt `false` uitgegeven.
|
|
49
|
+
|
|
50
|
+
#### Laatste commando onder `msg.command` (optioneel)
|
|
51
|
+
|
|
52
|
+
Als de status van de node door een bepaald commando is gewijzigd, wordt ook het volledige uitgevoerde commando meegegeven. Anders geeft de node dit object niet uit.
|
|
53
|
+
|
|
54
|
+
### Voorbeelden van HueMagic
|
|
55
|
+
|
|
56
|
+
HueMagic stelt enkele voorbeeldconfiguraties voor deze node beschikbaar. Om een volledig voorbeeld in uw Node-RED-interface te importeren, klikt u op het menupictogram van Node-RED, kiest u "Import" en navigeert u in de zijbalk van het pop-upvenster naar "Examples". Selecteer vervolgens de map HueMagic en de gewenste node om een voorbeeldflow te importeren.
|
|
57
|
+
|
|
58
|
+

|
|
59
|
+
</script>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-automation": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Naam",
|
|
5
|
+
"skipevents-node": "Berichten van de node negeren",
|
|
6
|
+
"sendinitevents-node": "Initialisatiebericht niet onderdrukken",
|
|
7
|
+
"onlycommands-node": "Alleen na een commando melden",
|
|
8
|
+
"unknown-error": "Er is iets misgegaan. Probeer het opnieuw.",
|
|
9
|
+
"bridge": "Bridge",
|
|
10
|
+
"universalevents": "Universele gebeurtenissen",
|
|
11
|
+
"universalevents-node": "Ontvangt alle berichten van andere nodes van hetzelfde type (alleen in universele modus)",
|
|
12
|
+
"input-name": "Naam van de automatisering",
|
|
13
|
+
"searching": "Automatiseringen zoeken…",
|
|
14
|
+
"none-found": "Geen automatiseringen gevonden!",
|
|
15
|
+
"automation": "Automatisering"
|
|
16
|
+
},
|
|
17
|
+
"node": {
|
|
18
|
+
"not-configured": "niet geconfigureerd",
|
|
19
|
+
"init": "initialiseren…",
|
|
20
|
+
"universal": "universele modus",
|
|
21
|
+
"command": "commando uitvoeren…",
|
|
22
|
+
"statusmsg": "Status succesvol opgevraagd…",
|
|
23
|
+
"title": "Hue Automatisering",
|
|
24
|
+
"enabled": "ingeschakeld",
|
|
25
|
+
"disabled": "uitgeschakeld",
|
|
26
|
+
"errored": "fout",
|
|
27
|
+
"input": "in-/uitschakelen",
|
|
28
|
+
"output": "automatisering",
|
|
29
|
+
"error-no-id": "Geef een geldig automatisering-ID op.",
|
|
30
|
+
"error-not-available": "De automatisering is nog niet beschikbaar. Wacht tot HueMagic verbinding met de bridge heeft gemaakt of controleer of het bron-ID in de configuratie geldig is."
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-bridge">
|
|
2
|
+
Maakt verbinding met een Philips Hue Bridge.
|
|
3
|
+
|
|
4
|
+
### Naam
|
|
5
|
+
|
|
6
|
+
U kunt de bridge een alternatieve, interne naam geven of de standaardnaam behouden.
|
|
7
|
+
|
|
8
|
+
### IP en poort van de bridge
|
|
9
|
+
|
|
10
|
+
Voer het IP-adres van de Hue Bridge handmatig in of druk op de knop om alle lokaal beschikbare bridges op te halen (een statische IP-configuratie op de Hue Bridge wordt aanbevolen). Optioneel kunt u ook een andere poort voor de bridge opgeven door een dubbele punt aan het IP-adres toe te voegen.
|
|
11
|
+
|
|
12
|
+
### API-sleutel
|
|
13
|
+
|
|
14
|
+
Voer de API-sleutel van de Hue Bridge handmatig in of druk op de knop om een nieuwe sleutel aan te maken. Wilt u een nieuwe sleutel aanmaken, dan moet u binnen 20 seconden op de fysieke knop van de bridge drukken om het proces af te ronden.
|
|
15
|
+
|
|
16
|
+
### Workers
|
|
17
|
+
|
|
18
|
+
De waarde "Workers" bepaalt hoeveel parallelle commando's HueMagic tegelijk naar de bridge mag sturen. Volgens de officiële documentatie van de Philips Hue Bridge mogen er niet meer dan 10 commando's per seconde worden verstuurd, anders bestaat het risico dat de bridge de aanvragen niet snel genoeg kan verwerken en fouten teruggeeft.
|
|
19
|
+
|
|
20
|
+
Worden er tegelijk meer commando's verstuurd dan hier is ingesteld, dan voert HueMagic de commando's na elkaar uit zodra er weer doorvoer mogelijk is.
|
|
21
|
+
|
|
22
|
+
Stel deze waarde lager dan 10 in (bijv. 4 tot 7) als u ook buiten HueMagic om commando's naar de bridge stuurt, om de door Philips Hue aanbevolen doorvoer van commando's per seconde aan te houden.
|
|
23
|
+
|
|
24
|
+
### Automatische firmware-updates
|
|
25
|
+
|
|
26
|
+
HueMagic controleert regelmatig op beschikbare Philips Hue firmware-updates en installeert deze automatisch zodra ze beschikbaar zijn. U kunt dit gedrag uitschakelen door het bijbehorende selectievakje aan te klikken.
|
|
27
|
+
|
|
28
|
+
### Meldingen uitschakelen
|
|
29
|
+
|
|
30
|
+
Als u deze instelling activeert, ontvangen alle nodes achter deze bridge geen automatische statusberichten meer.
|
|
31
|
+
</script>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-bridge-config": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Naam",
|
|
5
|
+
"apikey": "API-sleutel",
|
|
6
|
+
"missing-ip": "IP van de Hue Bridge ontbreekt…",
|
|
7
|
+
"disable-events": "Gebeurtenissen uitschakelen",
|
|
8
|
+
"disable-events-info": "Gebeurtenissen op alle nodes uitschakelen",
|
|
9
|
+
"searching": "Zoeken naar Hue Bridges…",
|
|
10
|
+
"none-found": "Geen Hue Bridges gevonden!",
|
|
11
|
+
"unknown-error": "Er is iets misgegaan. Probeer het opnieuw.",
|
|
12
|
+
"invalid": "Sorry. De geselecteerde Hue Bridge is ongeldig: ",
|
|
13
|
+
"error-select-first": "Selecteer uw Hue Bridge voordat u een nieuwe gebruiker aanmaakt!",
|
|
14
|
+
"waiting": "wachten op de koppelknop…",
|
|
15
|
+
"new-user-press": "Druk nu op de knop van uw Hue Bridge om een nieuwe gebruiker aan te maken!",
|
|
16
|
+
"retry": "Geen druk op de knop gedetecteerd. Probeer het opnieuw…",
|
|
17
|
+
"success": "Gebruiker succesvol aangemaakt!",
|
|
18
|
+
"connecting": "Verbinden met de bridge…",
|
|
19
|
+
"autoupdates": "Automatische firmware-updates activeren",
|
|
20
|
+
"bridge-ip": "IP van de bridge",
|
|
21
|
+
"worker": "Workers"
|
|
22
|
+
},
|
|
23
|
+
"node": {
|
|
24
|
+
"title": "Hue Bridge",
|
|
25
|
+
"statusmsg": "Status succesvol opgevraagd…",
|
|
26
|
+
"initializing": "Bridge initialiseren (__bridge__)…",
|
|
27
|
+
"connected": "Verbonden met de bridge",
|
|
28
|
+
"processing": "Bridge-bronnen verwerken…",
|
|
29
|
+
"initial-emit": "Eerste uitgifte van de brontoestanden…",
|
|
30
|
+
"keep-updated": "Nodes actueel houden…",
|
|
31
|
+
"subscribing": "Abonneren op bridge-gebeurtenissen…",
|
|
32
|
+
"unsubscribing": "Abonnement op bridge-gebeurtenissen opzeggen…",
|
|
33
|
+
"no-legacy-api": "De bridge antwoordt niet op de oude API, er wordt doorgegaan zonder de configuratie ervan…",
|
|
34
|
+
"request-error": "Fout bij het opvragen van informatie van de bridge (__error__)",
|
|
35
|
+
"connection-lost": "Verbinding met de bridge verbroken (__reason__). Nieuwe poging over __seconds__ seconden…",
|
|
36
|
+
"resources-changed": "De bronnen op de bridge zijn gewijzigd. Herladen…",
|
|
37
|
+
"not-connected": "De bridge is niet verbonden."
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-bridge-node">
|
|
2
|
+
De node "Hue Bridge" is een universele node die alle instellingen van de bridge en de statusberichten van andere nodes kan uitgeven.
|
|
3
|
+
|
|
4
|
+
### Instellen
|
|
5
|
+
|
|
6
|
+
Selecteer eerst de gewenste Hue Bridge. Optioneel kunt u alle automatische statusberichten van deze node uitschakelen met de instelling "Globale apparaatupdates en -berichten op deze node overslaan". De node geeft dan geen apparaatupdates meer uit.
|
|
7
|
+
|
|
8
|
+
U kunt ook kiezen of de initialisatieberichten van alle nodes bij het starten van Node-RED niet worden onderdrukt. Als u deze instelling activeert, ontvangt u na elke deploy een statusbericht van alle bronnen die met de bridge zijn verbonden.
|
|
9
|
+
|
|
10
|
+
### Instellingen en status opvragen
|
|
11
|
+
|
|
12
|
+
Geeft de huidige status en instellingen van de bridge uit zodra het volgende bericht naar de node is gestuurd. U kunt ook op de knop in de Node-RED-interface drukken zonder eerst een bericht naar de node te sturen.
|
|
13
|
+
|
|
14
|
+
: payload (boolean): Geeft de huidige status van de bridge terug
|
|
15
|
+
|
|
16
|
+
### TouchLink-scan starten
|
|
17
|
+
|
|
18
|
+
Met een "TouchLink-scan" kunt u nieuwe of oude apparaten aan de bridge koppelen (bijv. na een reset). Geef hiervoor het object `msg.payload` met de volgende inhoud mee:
|
|
19
|
+
|
|
20
|
+
: touchLink (boolean): Koppelt oude of nieuwe apparaten aan de bridge
|
|
21
|
+
|
|
22
|
+
### Alle apparaten en bronnen opvragen
|
|
23
|
+
|
|
24
|
+
Met het commando "fetch" kunt u een lijst van bepaalde apparaten opvragen die momenteel met de bridge verbonden zijn. Geef hiervoor het object `msg.payload` met de volgende inhoud mee:
|
|
25
|
+
|
|
26
|
+
: fetch (string | array [string, ...]): Accepteert `light`, `group`, `button`, `motion`, `temperature`, `light_level` of `rule` als waarde(n)
|
|
27
|
+
|
|
28
|
+
### Instellingen van de Hue Bridge wijzigen
|
|
29
|
+
|
|
30
|
+
Met het volgende commando kunt u bepaalde instellingen op de bridge wijzigen. Geef de node het object `msg.payload.settings` met de volgende instelmogelijkheden mee:
|
|
31
|
+
|
|
32
|
+
> [!WARNING]
|
|
33
|
+
> Het wijzigen van de netwerkinstellingen vereist dat de bridge in HueMagic opnieuw wordt geconfigureerd.
|
|
34
|
+
|
|
35
|
+
: name (string): Wijzigt de naam van de bridge en moet minimaal 4 en maximaal 16 tekens bevatten
|
|
36
|
+
: zigbeeChannel (int): Wijzigt het huidige ZigBee-kanaal (`11`, `15`, `20`, `25` of `0`)
|
|
37
|
+
: ipAddress (string): Wijzigt het IP-adres in de netwerkinstellingen
|
|
38
|
+
: dhcpEnabled (boolean): `true` schakelt DHCP in de netwerkinstellingen in, `false` schakelt het uit
|
|
39
|
+
: netmask (string): Wijzigt het netwerkmasker in de netwerkinstellingen
|
|
40
|
+
: gateway (string): Bepaalt de gateway in de netwerkinstellingen
|
|
41
|
+
: proxyAddress (string): Stelt een proxyadres in de netwerkinstellingen in
|
|
42
|
+
: proxyPort (string | int): Bepaalt de poort van de proxy in de netwerkinstellingen
|
|
43
|
+
: timeZone (string): Wijzigt de momenteel ingestelde tijdzone op de bridge
|
|
44
|
+
|
|
45
|
+
### Statusberichten van de node
|
|
46
|
+
|
|
47
|
+
De statusberichten van de node "Hue Bridge" zijn dynamisch. Ze volgen weliswaar een bepaald patroon, maar hun uitvoer kan variëren afhankelijk van welke actie er zojuist op de node is uitgevoerd.
|
|
48
|
+
|
|
49
|
+
#### Statusobject onder `msg.payload`
|
|
50
|
+
|
|
51
|
+
: id (string): Uniek ID van de Hue Bridge
|
|
52
|
+
: name (string): Momenteel ingestelde naam
|
|
53
|
+
: factoryNew (boolean): Geeft aan of de bridge fabrieksnieuw is
|
|
54
|
+
: replacesBridgeId (string | boolean): Geeft het oude bridge-ID terug (als er een migratie heeft plaatsgevonden) of `false`
|
|
55
|
+
: dataStoreVersion (string): Versie van de gegevensopslag
|
|
56
|
+
: starterKitId (string | boolean): Naam van het in de fabriek aangemaakte starterpakket of `false`
|
|
57
|
+
: softwareVersion (string): Softwareversie van de bridge
|
|
58
|
+
: apiVersion (string): API-versie van de bridge
|
|
59
|
+
: zigbeeChannel (int): Momenteel gebruikt ZigBee-kanaal
|
|
60
|
+
: macAddress (string): MAC-adres van de bridge
|
|
61
|
+
: ipAddress (string): IP-adres van de bridge
|
|
62
|
+
: dhcpEnabled (boolean): Geeft aan of DHCP is ingeschakeld
|
|
63
|
+
: netmask (string): Netwerkmasker van de bridge
|
|
64
|
+
: gateway (string): Gateway van de bridge
|
|
65
|
+
: proxyAddress (string | boolean): Momenteel gebruikt proxyadres of `false`
|
|
66
|
+
: proxyPort (string): Momenteel gebruikte proxypoort
|
|
67
|
+
: utcTime (string): UTC-tijd op de bridge
|
|
68
|
+
: timeZone (string): Momenteel ingestelde tijdzone op de bridge
|
|
69
|
+
: localTime (string): Lokale tijdzone
|
|
70
|
+
: portalServicesEnabled (boolean): Geeft aan of de portaldiensten zijn ingeschakeld
|
|
71
|
+
: portalConnected (boolean): Geeft aan of de bridge met het portaal is verbonden
|
|
72
|
+
: linkButtonEnabled (boolean): Geeft aan of de koppelknop is ingeschakeld
|
|
73
|
+
: touchlinkEnabled (boolean): Geeft aan of TouchLink is ingeschakeld
|
|
74
|
+
: autoUpdatesEnabled (boolean): Geeft aan of HueMagic automatisch op updates controleert
|
|
75
|
+
: users (array [object, ...]): Lijst van alle gebruikers op de bridge (array met objecten)
|
|
76
|
+
: updated (string): Tijdstip van de laatste update van de bron door HueMagic (ISO 8601)
|
|
77
|
+
: model (object): Bevat de modelinformatie van de bridge onder `id`, `manufacturer` en `name`
|
|
78
|
+
|
|
79
|
+
#### Fetch-resultaten onder `msg.results` (optioneel)
|
|
80
|
+
|
|
81
|
+
Als het commando "fetch" op de node is gebruikt, geeft de bridge de bijbehorende resultaten uit in het object `msg.results`. Het object bevat de opgevraagde brongroepen, die op hun beurt alle bijbehorende bronnen in de vorm van een array bevatten.
|
|
82
|
+
|
|
83
|
+
#### Globale statusberichten onder `msg.updated` (optioneel)
|
|
84
|
+
|
|
85
|
+
Tenzij uitgeschakeld geeft de node voor elke bron op de bridge een bijgewerkt statusbericht uit. Het statusbericht onder `msg.updated` volgt het patroon van de betreffende bron en varieert afhankelijk van het type apparaat dat het laatst is bijgewerkt.
|
|
86
|
+
|
|
87
|
+
#### Laatste commando onder `msg.command` (optioneel)
|
|
88
|
+
|
|
89
|
+
Als de status van de node door een bepaald commando is gewijzigd, wordt ook het volledige uitgevoerde commando meegegeven. Anders geeft de node dit object niet uit.
|
|
90
|
+
|
|
91
|
+
### Voorbeelden van HueMagic
|
|
92
|
+
|
|
93
|
+
HueMagic stelt enkele voorbeeldconfiguraties voor deze node beschikbaar. Om een volledig voorbeeld in uw Node-RED-interface te importeren, klikt u op het menupictogram van Node-RED, kiest u "Import" en navigeert u in de zijbalk van het pop-upvenster naar "Examples". Selecteer vervolgens de map HueMagic en de gewenste node om een voorbeeldflow te importeren.
|
|
94
|
+
|
|
95
|
+

|
|
96
|
+
</script>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-bridge": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Naam",
|
|
5
|
+
"input-name": "Naam van de Hue Bridge",
|
|
6
|
+
"skipglobalevents-info": "Globale apparaatupdates en -berichten op deze node overslaan",
|
|
7
|
+
"sendinitevents-node": "Initialisatiebericht niet onderdrukken",
|
|
8
|
+
"bridge": "Bridge"
|
|
9
|
+
},
|
|
10
|
+
"node": {
|
|
11
|
+
"title": "Hue Bridge",
|
|
12
|
+
"not-configured": "niet geconfigureerd",
|
|
13
|
+
"connecting": "verbinden…",
|
|
14
|
+
"connected": "verbonden",
|
|
15
|
+
"starting-tl": "TouchLink starten…",
|
|
16
|
+
"started-tl": "TouchLink gestart…",
|
|
17
|
+
"f-resources": "bronnen ophalen…",
|
|
18
|
+
"updating-settings": "instellingen bijwerken…",
|
|
19
|
+
"settings-updated": "instellingen bijgewerkt",
|
|
20
|
+
"input": "instellingen / ophalen",
|
|
21
|
+
"output": "bridge-informatie",
|
|
22
|
+
"statusmsg": "Status succesvol opgevraagd…",
|
|
23
|
+
"error-not-available": "De bridge is nog niet beschikbaar. Wacht tot HueMagic verbinding met de bridge heeft gemaakt."
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-brightness">
|
|
2
|
+
De node "Hue Lichtsterkte" kan het actuele lichtniveau van een geschikte sensor op de bridge uitlezen.
|
|
3
|
+
|
|
4
|
+
### Instellen
|
|
5
|
+
|
|
6
|
+
Selecteer de vooraf geconfigureerde Hue Bridge en klik op de zoekknop om alle beschikbare sensoren te vinden. Als u het ID van de sensor al kent, kunt u het hier ook handmatig invoeren. U kunt de sensor intern een nieuwe naam geven of de vooraf ingestelde naam gebruiken. Optioneel kunt u alle automatische statusberichten van deze node uitschakelen met de instelling "Berichten van de node negeren". De node geeft dan geen apparaatupdates meer uit. U kunt ook kiezen of het initialisatiebericht van de node bij het starten van Node-RED niet wordt onderdrukt. Als u deze instelling activeert, ontvangt u na elke deploy een statusbericht van de geselecteerde sensor. Wilt u liever dat de node stil blijft totdat u er iets naartoe stuurt, activeer dan "Alleen na een commando melden". De node negeert dan wijzigingen vanuit de app of een schakelaar en antwoordt alleen op uw eigen commando's.
|
|
7
|
+
|
|
8
|
+
De instelling "Donker onder" bepaalt vanaf welk lichtniveau de node een ruimte als donker beschouwt. Een kamer met een felle lamp heeft een heel andere waarde nodig dan een gang zonder raam; voer dus gewoon het aantal lux in dat bij uw ruimte past. De waarden `dark` en `daylight` volgen dan uw instelling in plaats van de standaardwaarde van 90 lux.
|
|
9
|
+
|
|
10
|
+
Als u geen sensor selecteert en de nodeconfiguratie zo gebruikt, werkt de node in de zogenoemde "universele modus". In deze modus ontvangt en verstuurt de node alle statusberichten van hetzelfde type. U kunt in de universele modus ook instellingen op een specifieke sensor toepassen door het bijbehorende sensor-ID als tekenreeks in `msg.topic` samen met uw instellingen mee te geven.
|
|
11
|
+
|
|
12
|
+
### Status opvragen
|
|
13
|
+
|
|
14
|
+
Geeft de huidige status van de sensor uit zodra een `msg.payload`-object met de volgende inhoud aan de node is doorgegeven. U kunt ook op de knop in de Node-RED-interface drukken zonder eerst een bericht naar de node te sturen.
|
|
15
|
+
|
|
16
|
+
: status (boolean): Geeft de huidige status van de sensor terug
|
|
17
|
+
|
|
18
|
+
### Sensor in-/uitschakelen
|
|
19
|
+
|
|
20
|
+
Indien nodig kan de sensor op afstand in- en uitgeschakeld worden. Als de sensor is uitgeschakeld, registreert hij geen veranderingen van het lichtniveau meer en geeft die dus ook niet meer uit. Geef hiervoor een object met de volgende inhoud mee:
|
|
21
|
+
|
|
22
|
+
: payload (boolean): `true` schakelt de sensor in, `false` schakelt hem uit
|
|
23
|
+
|
|
24
|
+
### Statusberichten van de node
|
|
25
|
+
|
|
26
|
+
Zodra de sensor een verandering van het lichtniveau heeft vastgesteld, wordt het volgende statusbericht teruggegeven:
|
|
27
|
+
|
|
28
|
+
#### Statusobject onder `msg.payload`
|
|
29
|
+
|
|
30
|
+
: active (boolean): Geeft aan of de sensor in- of uitgeschakeld is
|
|
31
|
+
: reachable (boolean | string): `true` als de sensor met de bridge is verbonden, `unknown` als de verbindingsstatus afwijkt
|
|
32
|
+
: connectionStatus (string): De huidige verbindingsstatus met de bridge als tekenreeks. Kan `connected`, `disconnected`, `connectivity_issue` of `unidirectional_incoming` als waarde bevatten
|
|
33
|
+
: lux (int): Geeft de werkelijke LUX-waarde van het lichtniveau aan
|
|
34
|
+
: lightLevel (int): Geeft de lichtintensiteit van de sensor aan
|
|
35
|
+
: dark (boolean): `true` als duisternis is geregistreerd
|
|
36
|
+
: daylight (boolean): `true` als daglicht is geregistreerd
|
|
37
|
+
: darkThreshold (int): Het lichtniveau in lux waaronder de node duisternis meldt
|
|
38
|
+
: updated (string): Tijdstip van de laatste update van de bron door HueMagic (ISO 8601)
|
|
39
|
+
|
|
40
|
+
#### Informatie over de sensor onder `msg.info`
|
|
41
|
+
|
|
42
|
+
: id (string): Geeft het nieuwe ID van de sensor aan
|
|
43
|
+
: idV1 (string | boolean): Geeft het oude ID van de sensor aan
|
|
44
|
+
: uniqueId (string): Het unieke ID van de sensor
|
|
45
|
+
: deviceId (string): Het unieke ID van het apparaat
|
|
46
|
+
: name (string): De momenteel ingestelde naam van de sensor
|
|
47
|
+
: type (string): Het type van de sensor (altijd `light_level`)
|
|
48
|
+
: softwareVersion (string): De huidige firmware van de sensor
|
|
49
|
+
: battery (float): Het huidige batterijniveau van de sensor
|
|
50
|
+
: batteryState (string): De huidige status van het batterijniveau. Kan `normal`, `low` of `critical` als waarde bevatten
|
|
51
|
+
: model (object): Bevat de modelinformatie van de sensor onder `id`, `manufacturer`, `name`, `type` en `certified`
|
|
52
|
+
|
|
53
|
+
#### Statuswijzigingen onder `msg.updated`
|
|
54
|
+
|
|
55
|
+
Somt in de vorm van een object de afzonderlijke parameters op die ten opzichte van de vorige toestand van de sensor zijn gewijzigd. Als er geen wijzigingen zijn geregistreerd, is dit object leeg.
|
|
56
|
+
|
|
57
|
+
#### Laatste toestand van de sensor onder `msg.lastState`
|
|
58
|
+
|
|
59
|
+
Bevat het volledige statusobject (zie de uitvoerwaarden hierboven) van de laatste toestand vóór de laatst geregistreerde wijziging. Als HueMagic de laatste toestand nog niet heeft geregistreerd, wordt `false` uitgegeven.
|
|
60
|
+
|
|
61
|
+
#### Laatste commando onder `msg.command` (optioneel)
|
|
62
|
+
|
|
63
|
+
Als de status van de node door een bepaald commando is gewijzigd, wordt ook het volledige uitgevoerde commando meegegeven. Anders geeft de node dit object niet uit.
|
|
64
|
+
|
|
65
|
+
### Voorbeelden van HueMagic
|
|
66
|
+
|
|
67
|
+
HueMagic stelt enkele voorbeeldconfiguraties voor deze node beschikbaar. Om een volledig voorbeeld in uw Node-RED-interface te importeren, klikt u op het menupictogram van Node-RED, kiest u "Import" en navigeert u in de zijbalk van het pop-upvenster naar "Examples". Selecteer vervolgens de map HueMagic en de gewenste node om een voorbeeldflow te importeren.
|
|
68
|
+
|
|
69
|
+

|
|
70
|
+
</script>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-brightness": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Naam",
|
|
5
|
+
"skipevents-node": "Berichten van de node negeren",
|
|
6
|
+
"sendinitevents-node": "Initialisatiebericht niet onderdrukken",
|
|
7
|
+
"onlycommands-node": "Alleen na een commando melden",
|
|
8
|
+
"unknown-error": "Er is iets misgegaan. Probeer het opnieuw.",
|
|
9
|
+
"bridge": "Bridge",
|
|
10
|
+
"universalevents": "Universele gebeurtenissen",
|
|
11
|
+
"universalevents-node": "Ontvangt alle berichten van andere nodes van hetzelfde type (alleen in universele modus)",
|
|
12
|
+
"input-name": "Naam van de lichtsensor",
|
|
13
|
+
"searching": "Sensoren zoeken…",
|
|
14
|
+
"none-found": "Geen lichtsensoren gevonden!",
|
|
15
|
+
"sensor": "Sensor",
|
|
16
|
+
"all": "Alle groepen / lampen",
|
|
17
|
+
"darkthreshold": "Donker onder"
|
|
18
|
+
},
|
|
19
|
+
"node": {
|
|
20
|
+
"not-configured": "niet geconfigureerd",
|
|
21
|
+
"deactivated": "gedeactiveerd",
|
|
22
|
+
"init": "initialiseren…",
|
|
23
|
+
"not-reachable": "niet bereikbaar",
|
|
24
|
+
"universal": "universele modus",
|
|
25
|
+
"command": "commando uitvoeren…",
|
|
26
|
+
"statusmsg": "Status succesvol opgevraagd…",
|
|
27
|
+
"title": "Hue Lichtsterkte",
|
|
28
|
+
"lux": "__lux__ lux",
|
|
29
|
+
"lux-dark": "__lux__ lux (donker)",
|
|
30
|
+
"lux-daylight": "__lux__ lux (daglicht)",
|
|
31
|
+
"input": "statusopvraging",
|
|
32
|
+
"output": "lichtsterkte (gewijzigd)",
|
|
33
|
+
"error-no-id": "Geef een geldig sensor-ID op.",
|
|
34
|
+
"error-not-available": "De sensor is nog niet beschikbaar. Wacht tot HueMagic verbinding met de bridge heeft gemaakt of controleer of het bron-ID in de configuratie geldig is."
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-buttons">
|
|
2
|
+
De node "Hue Knoppen" ontvangt schakelgebeurtenissen van invoerapparaten die met de bridge zijn verbonden.
|
|
3
|
+
|
|
4
|
+
### Instellen
|
|
5
|
+
|
|
6
|
+
Selecteer de vooraf geconfigureerde Hue Bridge en klik op de zoekknop om alle beschikbare schakelaars en knoppen te vinden. Als u het ID van de schakelaar of knop al kent, kunt u het hier ook handmatig invoeren. U kunt het apparaat intern een nieuwe naam geven of de vooraf ingestelde naam behouden. Optioneel kunt u alle automatische statusberichten van deze node uitschakelen met de instelling "Berichten van de node negeren". De node geeft dan geen schakelgebeurtenissen meer uit. U kunt ook kiezen of het initialisatiebericht van de node bij het starten van Node-RED niet wordt onderdrukt. Als u deze instelling activeert, ontvangt u na elke deploy een statusbericht van de geselecteerde schakelaar of knop. Wilt u liever dat de node stil blijft totdat u er iets naartoe stuurt, activeer dan "Alleen na een commando melden". De node negeert dan wijzigingen vanuit de app of een schakelaar en antwoordt alleen op uw eigen commando's.
|
|
7
|
+
|
|
8
|
+
Als u geen schakelaar of knop selecteert en de nodeconfiguratie zo gebruikt, werkt de node in de zogenoemde "universele modus". In deze modus ontvangt en verstuurt de node alle statusberichten van hetzelfde type.
|
|
9
|
+
|
|
10
|
+
Onder "Extra uitgangen" kunt u per knoppenbereik een uitgang toevoegen, elk geactiveerd door een specifieke actie (begin van indrukken, einde van kort indrukken, einde van lang indrukken zodra dit minstens de ingestelde duur heeft geduurd, of herhaaldelijk terwijl lang indrukken bezig is). De eerste uitgang van de node ontvangt zoals voorheen altijd elke gebeurtenis; de extra uitgangen ontvangen alleen een kopie van het bericht wanneer zowel het knoppenbereik als de actie overeenkomen.
|
|
11
|
+
|
|
12
|
+
### Status opvragen
|
|
13
|
+
|
|
14
|
+
Geeft de huidige status van de schakelaar of knop uit zodra een `msg.payload`-object met de volgende inhoud aan de node is doorgegeven. U kunt ook op de knop in de Node-RED-interface drukken zonder eerst een bericht naar de node te sturen.
|
|
15
|
+
|
|
16
|
+
: status (boolean): Geeft de huidige status van de schakelaar of knop terug
|
|
17
|
+
|
|
18
|
+
### Statusberichten van de node
|
|
19
|
+
|
|
20
|
+
Zodra er op een toets is gedrukt, geeft de node het volgende statusbericht terug:
|
|
21
|
+
|
|
22
|
+
#### Statusobject onder `msg.payload`
|
|
23
|
+
|
|
24
|
+
: reachable (boolean | string): `true` als de schakelaar of knop met de bridge is verbonden, `unknown` als de verbindingsstatus afwijkt
|
|
25
|
+
: connectionStatus (string): De huidige verbindingsstatus met de bridge als tekenreeks. Kan `connected`, `disconnected`, `connectivity_issue` of `unidirectional_incoming` als waarde bevatten
|
|
26
|
+
: button (int | boolean): Numeriek ID van de laatst ingedrukte toets of `false` als er geen toets is ingedrukt
|
|
27
|
+
: action (string | boolean): `false` als er geen toets is ingedrukt, of `initial_press`, `repeat`, `short_release`, `long_press`, `long_release` of `double_short_release` als tekenreeks
|
|
28
|
+
: rotation (object | boolean): `false` als het apparaat geen draaiknop heeft of niet is gedraaid, anders een object met `action` (`start` of `repeat`), `direction` (`clock_wise` of `counter_clock_wise`), `clockwise` (boolean), `steps` (1000 stappen zijn een volledige omwenteling), `degrees` en `duration` in milliseconden
|
|
29
|
+
: updated (string): Tijdstip van de laatste update van de bron door HueMagic (ISO 8601)
|
|
30
|
+
|
|
31
|
+
#### Informatie over de schakelaar of knop onder `msg.info`
|
|
32
|
+
|
|
33
|
+
: id (string): Geeft het nieuwe ID van de schakelaar of knop aan
|
|
34
|
+
: idV1 (string | boolean): Geeft het oude ID van de schakelaar of knop aan
|
|
35
|
+
: uniqueId (string): Het unieke ID van de schakelaar of knop
|
|
36
|
+
: deviceId (string): Het unieke ID van het apparaat
|
|
37
|
+
: name (string): De momenteel ingestelde naam van de schakelaar of knop
|
|
38
|
+
: type (string): Het type van de schakelaar of knop (altijd `button`)
|
|
39
|
+
: softwareVersion (string): De huidige firmware van de schakelaar of knop
|
|
40
|
+
: battery (float | boolean): Het huidige batterijniveau van de schakelaar of knop, `false` als er geen batterij is
|
|
41
|
+
: batteryState (string | boolean): De huidige status van het batterijniveau. Kan `normal`, `low` of `critical` als waarde bevatten, of `false` als er geen batterij is
|
|
42
|
+
: model (object): Bevat de modelinformatie van de schakelaar of knop onder `id`, `manufacturer`, `name`, `type` en `certified`
|
|
43
|
+
|
|
44
|
+
#### Statuswijzigingen onder `msg.updated`
|
|
45
|
+
|
|
46
|
+
Somt in de vorm van een object de afzonderlijke parameters op die ten opzichte van de vorige toestand van de schakelaar of knop zijn gewijzigd. Als er geen wijzigingen zijn geregistreerd, is dit object leeg.
|
|
47
|
+
|
|
48
|
+
#### Laatste toestand van de schakelaar of knop onder `msg.lastState`
|
|
49
|
+
|
|
50
|
+
Bevat het volledige statusobject (zie de uitvoerwaarden hierboven) van de laatste toestand vóór de laatst geregistreerde wijziging. Als HueMagic de laatste toestand nog niet heeft geregistreerd, wordt `false` uitgegeven.
|
|
51
|
+
|
|
52
|
+
#### Laatste commando onder `msg.command` (optioneel)
|
|
53
|
+
|
|
54
|
+
Als de status van de node door een bepaald commando is gewijzigd, wordt ook het volledige uitgevoerde commando meegegeven. Anders geeft de node dit object niet uit.
|
|
55
|
+
|
|
56
|
+
### Voorbeelden van HueMagic
|
|
57
|
+
|
|
58
|
+
HueMagic stelt enkele voorbeeldconfiguraties voor deze node beschikbaar. Om een volledig voorbeeld in uw Node-RED-interface te importeren, klikt u op het menupictogram van Node-RED, kiest u "Import" en navigeert u in de zijbalk van het pop-upvenster naar "Examples". Selecteer vervolgens de map HueMagic en de gewenste node om een voorbeeldflow te importeren.
|
|
59
|
+
|
|
60
|
+

|
|
61
|
+
</script>
|