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,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-speaker": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Nom",
|
|
5
|
+
"skipevents-node": "Ignorer les messages du nœud",
|
|
6
|
+
"sendinitevents-node": "Ne pas supprimer l'événement d'initialisation",
|
|
7
|
+
"onlycommands-node": "Signaler uniquement après une commande",
|
|
8
|
+
"unknown-error": "Une erreur est survenue. Veuillez réessayer.",
|
|
9
|
+
"bridge": "Bridge",
|
|
10
|
+
"universalevents": "Événements universels",
|
|
11
|
+
"universalevents-node": "Reçoit tous les messages des autres nœuds du même type (uniquement en mode universel)",
|
|
12
|
+
"input-name": "Nom du haut-parleur",
|
|
13
|
+
"searching": "Recherche de haut-parleurs…",
|
|
14
|
+
"none-found": "Aucun haut-parleur trouvé !",
|
|
15
|
+
"speaker": "Haut-parleur"
|
|
16
|
+
},
|
|
17
|
+
"node": {
|
|
18
|
+
"not-configured": "non configuré",
|
|
19
|
+
"not-reachable": "non joignable",
|
|
20
|
+
"universal": "mode universel",
|
|
21
|
+
"command": "exécution de la commande…",
|
|
22
|
+
"statusmsg": "Statut interrogé avec succès…",
|
|
23
|
+
"title": "Hue Haut-parleur",
|
|
24
|
+
"silent": "silencieux",
|
|
25
|
+
"muted": "muet",
|
|
26
|
+
"playing-alarm": "alarme (__sound__)",
|
|
27
|
+
"playing-chime": "carillon (__sound__)",
|
|
28
|
+
"playing-alert": "alerte (__sound__)",
|
|
29
|
+
"input": "jouer un son / statut",
|
|
30
|
+
"output": "haut-parleur",
|
|
31
|
+
"error-no-id": "Veuillez indiquer un ID de haut-parleur valide.",
|
|
32
|
+
"error-not-available": "Le haut-parleur n'est pas encore disponible. Veuillez attendre que HueMagic ait établi la connexion avec le bridge ou vérifiez si l'ID de ressource indiqué dans la configuration est valide.",
|
|
33
|
+
"error-no-channel": "Ce haut-parleur n'a pas de son de type __channel__.",
|
|
34
|
+
"error-invalid-sound": "Son __channel__ non valide. Sons autorisés : __sounds__",
|
|
35
|
+
"error-invalid-volume": "Réglage de volume non valide. Seules les valeurs de 0 à 100 sont autorisées."
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-syncbox-config">
|
|
2
|
+
Se connecte à une Philips Hue Play HDMI Sync Box.
|
|
3
|
+
|
|
4
|
+
### Nom
|
|
5
|
+
|
|
6
|
+
Vous pouvez attribuer à la sync box un autre nom interne ou conserver le nom par défaut.
|
|
7
|
+
|
|
8
|
+
### IP de la Sync Box
|
|
9
|
+
|
|
10
|
+
L'adresse IP de votre sync box dans votre réseau local. Dès que vous l'avez saisie, HueMagic tente de lire le nom du boîtier et le renseigne pour vous.
|
|
11
|
+
|
|
12
|
+
### Jeton d'accès
|
|
13
|
+
|
|
14
|
+
La sync box ne fait pas partie de votre Hue Bridge et nécessite son propre jeton. Cliquez sur le bouton à côté du champ, puis maintenez enfoncé le bouton de la sync box jusqu'à ce que sa LED clignote en vert. HueMagic interroge le boîtier pendant une minute et enregistre le jeton dès qu'il répond.
|
|
15
|
+
|
|
16
|
+
### Actualisation
|
|
17
|
+
|
|
18
|
+
La sync box n'envoie pas son état d'elle-même : HueMagic l'interroge donc régulièrement. Ce réglage définit le nombre de secondes entre deux requêtes. La valeur par défaut de 10 secondes est un bon compromis entre réactivité du statut et trafic réseau — ne la baissez pas plus que nécessaire.
|
|
19
|
+
</script>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-syncbox-config": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Nom",
|
|
5
|
+
"syncbox-ip": "IP de la Sync Box",
|
|
6
|
+
"token": "Jeton d'accès",
|
|
7
|
+
"pollinterval": "Actualisation (s)",
|
|
8
|
+
"missing-ip": "IP de la Hue Sync Box manquante…",
|
|
9
|
+
"connecting": "Connexion à la sync box…",
|
|
10
|
+
"invalid": "Désolé. La Hue Sync Box sélectionnée n'est pas valide : ",
|
|
11
|
+
"error-select-first": "Veuillez saisir l'IP de votre Hue Sync Box avant de créer un nouveau jeton !",
|
|
12
|
+
"waiting": "en attente de l'appui sur le bouton…",
|
|
13
|
+
"new-user-press": "Maintenez le bouton de votre Hue Sync Box enfoncé jusqu'à ce que la LED clignote en vert !",
|
|
14
|
+
"retry": "Aucun appui détecté. Veuillez réessayer…",
|
|
15
|
+
"success": "Jeton d'accès créé avec succès !"
|
|
16
|
+
},
|
|
17
|
+
"node": {
|
|
18
|
+
"title": "Hue Sync Box",
|
|
19
|
+
"initializing": "Initialisation de la sync box (__syncbox__)…",
|
|
20
|
+
"connected": "Connecté à la sync box",
|
|
21
|
+
"request-error": "Erreur lors de la demande d'informations à la sync box (__error__)",
|
|
22
|
+
"statusmsg": "Statut interrogé avec succès…"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-syncbox">
|
|
2
|
+
Le nœud « Hue Sync Box » commande une Philips Hue Play HDMI Sync Box et signale ce qu'elle est en train de faire.
|
|
3
|
+
|
|
4
|
+
### Configuration
|
|
5
|
+
|
|
6
|
+
La sync box n'est pas reliée à votre Hue Bridge mais parle sa propre API locale : elle nécessite donc sa propre configuration. Saisissez l'adresse IP de votre sync box et cliquez sur le bouton à côté du champ du jeton d'accès. Maintenez ensuite enfoncé le bouton de la sync box jusqu'à ce que sa LED clignote en vert — HueMagic interroge le boîtier pendant une minute et enregistre le jeton dès qu'il répond.
|
|
7
|
+
|
|
8
|
+
Comme la sync box n'envoie pas son état d'elle-même, HueMagic l'interroge régulièrement. Vous pouvez définir la fréquence dans la configuration ; la valeur par défaut est de 10 secondes. En option, vous pouvez désactiver tous les messages de statut automatiques de ce nœud à l'aide du réglage « Ignorer les messages du nœud ». Vous pouvez également choisir que le message d'initialisation du nœud ne soit pas supprimé au démarrage de Node-RED. Si vous préférez que le nœud reste silencieux jusqu'à ce que vous lui envoyiez quelque chose, activez « Signaler uniquement après une commande ». Il ignorera alors les changements provenant de l'application ou d'un interrupteur et ne répondra qu'à vos propres commandes.
|
|
9
|
+
|
|
10
|
+
### Interroger le statut
|
|
11
|
+
|
|
12
|
+
Émet le statut actuel de la sync box dès qu'un objet `msg.payload` ayant le contenu suivant est transmis au nœud. Vous pouvez également appuyer sur le bouton dans l'interface Node-RED sans avoir à transmettre au préalable un message au nœud.
|
|
13
|
+
|
|
14
|
+
: status (boolean): Renvoie le statut actuel de la sync box
|
|
15
|
+
|
|
16
|
+
### Allumer / éteindre (mode simple)
|
|
17
|
+
|
|
18
|
+
Pour allumer ou éteindre rapidement la sync box, transmettez au nœud un objet ayant le contenu suivant. À l'allumage, le dernier mode de synchronisation utilisé est rétabli.
|
|
19
|
+
|
|
20
|
+
: payload (boolean): `true` lance la synchronisation, `false` met le boîtier en veille
|
|
21
|
+
|
|
22
|
+
### Commandes de la sync box (étendu)
|
|
23
|
+
|
|
24
|
+
Transmettez les paramètres suivants dans un objet `msg.payload` pour commander la sync box plus finement :
|
|
25
|
+
|
|
26
|
+
: mode (string): L'un des modes `powersave`, `passthrough`, `video`, `game`, `music` ou `ambient`
|
|
27
|
+
: sync (boolean): `true` lance la synchronisation, `false` l'arrête
|
|
28
|
+
: toggle (boolean | any): Bascule la synchronisation selon l'état précédent
|
|
29
|
+
: passthrough (boolean): `true` transmet l'image à votre téléviseur sans synchronisation
|
|
30
|
+
: intensity (string): L'intensité avec laquelle les lumières suivent l'image. L'une des valeurs `subtle`, `moderate`, `high` ou `intense`
|
|
31
|
+
: brightness (int): Valeur en pourcentage de la luminosité (0-100)
|
|
32
|
+
: brightnessLevel (int): Valeur numérique de la luminosité telle que le boîtier la compte (0-200, 100 étant la valeur de référence)
|
|
33
|
+
: incrementBrightness (int | boolean): Indique de combien de pour cent la luminosité de la sync box doit être augmentée, ou `true` pour des pas de 10 %
|
|
34
|
+
: decrementBrightness (int | boolean): Indique de combien de pour cent la luminosité de la sync box doit être réduite, ou `true` pour des pas de 10 %
|
|
35
|
+
: input (string | int): L'entrée HDMI à afficher, soit `input1` à `input4`, soit simplement `1` à `4`
|
|
36
|
+
: entertainmentArea (string): La zone de divertissement que le boîtier doit piloter, p. ex. `groups/13`
|
|
37
|
+
|
|
38
|
+
### Messages de statut du nœud
|
|
39
|
+
|
|
40
|
+
Chaque fois que l'état de la sync box change, le nœud renvoie le message de statut suivant :
|
|
41
|
+
|
|
42
|
+
#### Objet de statut dans `msg.payload`
|
|
43
|
+
|
|
44
|
+
: on (boolean): `false` tant que le boîtier est en veille
|
|
45
|
+
: syncing (boolean): `true` tant que les lumières suivent l'image
|
|
46
|
+
: passthrough (boolean): `true` tant que le boîtier transmet l'image sans synchronisation
|
|
47
|
+
: mode (string): Le mode actuellement actif
|
|
48
|
+
: lastSyncMode (string): Le dernier mode de synchronisation utilisé
|
|
49
|
+
: intensity (string | boolean): Intensité du mode actuellement actif
|
|
50
|
+
: brightness (int | boolean): Luminosité en pourcentage
|
|
51
|
+
: brightnessLevel (int | boolean): Luminosité telle que le boîtier la compte (0-200)
|
|
52
|
+
: input (string | boolean): L'entrée HDMI actuellement affichée
|
|
53
|
+
: inputs (object): Les quatre entrées HDMI avec leur `name`, `type`, `status` (`unplugged`, `plugged`, `linked` ou `unknown`) et si elles sont `active`
|
|
54
|
+
: entertainmentArea (string | boolean): La zone de divertissement pilotée par le boîtier
|
|
55
|
+
: updated (string): Heure de la dernière mise à jour de la ressource par HueMagic (ISO 8601)
|
|
56
|
+
|
|
57
|
+
#### Informations sur la sync box dans `msg.info`
|
|
58
|
+
|
|
59
|
+
: id (string | boolean): L'ID unique de la sync box
|
|
60
|
+
: name (string | boolean): Le nom actuellement attribué à la sync box
|
|
61
|
+
: type (string): Le type de l'appareil (toujours `syncbox`)
|
|
62
|
+
: ipAddress (string | boolean): L'adresse IP que le boîtier indique pour lui-même
|
|
63
|
+
: softwareVersion (string | boolean): Le micrologiciel actuel de la sync box
|
|
64
|
+
: apiLevel (int | boolean): Le niveau d'API de la sync box
|
|
65
|
+
: ledMode (int | boolean): Le mode LED actuellement configuré
|
|
66
|
+
: wifi (object | boolean): Contient `ssid` et `strength` de la connexion sans fil
|
|
67
|
+
: model (object): Contient les informations de modèle de la sync box dans `id`, `manufacturer` et `name`
|
|
68
|
+
|
|
69
|
+
#### Changements d'état dans `msg.updated`
|
|
70
|
+
|
|
71
|
+
Énumère sous forme d'objet les paramètres qui ont changé par rapport au dernier état de la sync box. Si aucun changement n'a été enregistré, cet objet est vide.
|
|
72
|
+
|
|
73
|
+
#### Dernier état de la sync box dans `msg.lastState`
|
|
74
|
+
|
|
75
|
+
Contient l'objet de statut complet (voir les valeurs de sortie ci-dessus) du dernier état avant le dernier changement enregistré. Si HueMagic n'a pas encore enregistré le dernier état, `false` est émis.
|
|
76
|
+
|
|
77
|
+
#### Dernière commande dans `msg.command` (facultatif)
|
|
78
|
+
|
|
79
|
+
Si le statut du nœud a changé suite à une commande particulière, la commande complète qui a été exécutée est également émise. Sinon, cet objet n'est pas émis par le nœud.
|
|
80
|
+
|
|
81
|
+
### Exemples de HueMagic
|
|
82
|
+
|
|
83
|
+
HueMagic met à disposition quelques exemples de configuration pour ce nœud. Pour importer un exemple complet dans votre interface Node-RED, cliquez sur l'icône de menu de Node-RED, sélectionnez « Importer » puis naviguez vers « Exemples » dans la barre latérale de la fenêtre. Sélectionnez ensuite le dossier HueMagic et le nœud souhaité pour importer un flux d'exemple.
|
|
84
|
+
|
|
85
|
+

|
|
86
|
+
</script>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-syncbox": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Nom",
|
|
5
|
+
"skipevents-node": "Ignorer les messages du nœud",
|
|
6
|
+
"sendinitevents-node": "Ne pas supprimer l'événement d'initialisation",
|
|
7
|
+
"onlycommands-node": "Signaler uniquement après une commande",
|
|
8
|
+
"input-name": "Nom de la Sync Box",
|
|
9
|
+
"syncbox": "Sync Box"
|
|
10
|
+
},
|
|
11
|
+
"node": {
|
|
12
|
+
"not-configured": "non configuré",
|
|
13
|
+
"command": "exécution de la commande…",
|
|
14
|
+
"statusmsg": "Statut interrogé avec succès…",
|
|
15
|
+
"title": "Hue Sync Box",
|
|
16
|
+
"connecting": "connexion…",
|
|
17
|
+
"powersave": "éteinte",
|
|
18
|
+
"passthrough": "passage direct",
|
|
19
|
+
"syncing": "__mode__ (__intensity__)",
|
|
20
|
+
"input": "commander la sync box",
|
|
21
|
+
"output": "sync box",
|
|
22
|
+
"error-not-available": "La sync box n'est pas encore disponible. Veuillez attendre que HueMagic ait établi la connexion avec elle.",
|
|
23
|
+
"error-invalid-mode": "Mode non valide. Modes autorisés : __modes__",
|
|
24
|
+
"error-invalid-intensity": "Intensité non valide. Intensités autorisées : __intensities__",
|
|
25
|
+
"error-invalid-brightness": "Réglage de luminosité non valide. Seules les valeurs de 0 à 100 pour cent sont autorisées.",
|
|
26
|
+
"error-invalid-brightness-level": "Réglage de luminosité non valide. Seules les valeurs de 0 à 200 sont autorisées.",
|
|
27
|
+
"error-invalid-input": "Entrée HDMI non valide. Seules input1 à input4 sont autorisées."
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-temperature">
|
|
2
|
+
Le nœud « Hue Température » peut interroger et signaler la température ambiante actuelle d'un capteur adapté relié au bridge.
|
|
3
|
+
|
|
4
|
+
### Configuration
|
|
5
|
+
|
|
6
|
+
Sélectionnez le Hue Bridge préconfiguré et cliquez sur le bouton de recherche pour trouver tous les capteurs disponibles. Si vous connaissez déjà l'ID du capteur, vous pouvez également le saisir ici manuellement. Vous pouvez attribuer en interne un nouveau nom au capteur ou conserver son nom prédéfini. En option, vous pouvez désactiver tous les messages de statut automatiques de ce nœud à l'aide du réglage « Ignorer les messages du nœud ». Le nœud n'émettra alors plus de mises à jour d'appareil. Vous pouvez également choisir que le message d'initialisation du nœud ne soit pas supprimé au démarrage de Node-RED. Si vous activez ce réglage, vous recevrez un message de statut du capteur sélectionné après chaque déploiement. Si vous préférez que le nœud reste silencieux jusqu'à ce que vous lui envoyiez quelque chose, activez « Signaler uniquement après une commande ». Il ignorera alors les changements provenant de l'application ou d'un interrupteur et ne répondra qu'à vos propres commandes.
|
|
7
|
+
|
|
8
|
+
Les détecteurs de mouvement sont généralement installés dans un coin de la pièce et mesurent souvent une température un peu trop élevée à cause de leur propre électronique. Le réglage « Correction » vous permet d'étalonner le capteur sans détour : la valeur que vous saisissez ici (p. ex. `-1.5`) est ajoutée à chaque valeur mesurée avant que le nœud ne l'émette. La correction s'applique simultanément à toutes les unités de température.
|
|
9
|
+
|
|
10
|
+
Si vous ne sélectionnez aucun capteur et utilisez la configuration du nœud de cette manière, le nœud fonctionne dans ce que l'on appelle le « mode universel ». Dans ce mode, le nœud reçoit et émet tous les messages de statut du même type. Vous pouvez également appliquer des réglages en mode universel à un capteur précis en transmettant l'ID du capteur correspondant sous forme de chaîne dans `msg.topic` avec vos réglages.
|
|
11
|
+
|
|
12
|
+
### Interroger le statut
|
|
13
|
+
|
|
14
|
+
Émet le statut actuel du capteur dès qu'un objet `msg.payload` ayant le contenu suivant est transmis au nœud. Vous pouvez également appuyer sur le bouton dans l'interface Node-RED sans avoir à transmettre au préalable un message au nœud.
|
|
15
|
+
|
|
16
|
+
: status (boolean): Renvoie le statut actuel du capteur
|
|
17
|
+
|
|
18
|
+
### Activer / désactiver le capteur
|
|
19
|
+
|
|
20
|
+
Si nécessaire, le capteur peut être activé et désactivé à distance. Une fois désactivé, il n'enregistre plus aucun changement de température et n'en émet donc plus. Pour cela, transmettez un objet ayant le contenu suivant :
|
|
21
|
+
|
|
22
|
+
: payload (boolean): `true` active le capteur, `false` le désactive
|
|
23
|
+
|
|
24
|
+
### Messages de statut du nœud
|
|
25
|
+
|
|
26
|
+
Dès que le capteur enregistre un changement de température, le nœud renvoie le message de statut suivant :
|
|
27
|
+
|
|
28
|
+
#### Objet de statut dans `msg.payload`
|
|
29
|
+
|
|
30
|
+
: active (boolean): Indique si le capteur est activé ou désactivé
|
|
31
|
+
: reachable (boolean | string): `true` si le capteur est connecté au bridge, `unknown` si le statut de connexion diverge
|
|
32
|
+
: connectionStatus (string): Le statut de connexion actuel avec le bridge sous forme de chaîne. Peut contenir `connected`, `disconnected`, `connectivity_issue` ou `unidirectional_incoming` comme valeur
|
|
33
|
+
: celsius (float): Indique la température ambiante actuelle en °C (degrés Celsius)
|
|
34
|
+
: fahrenheit (float): Indique la température ambiante actuelle en °F (degrés Fahrenheit)
|
|
35
|
+
: temperatureIs (string): Décrit la température actuelle avec les valeurs `very cold`, `cold`, `slightly cold`, `comfortable`, `slightly warm`, `warm`, `hot` ou `very hot`
|
|
36
|
+
: deviceValue (float): La valeur d'origine de la température fournie par le capteur
|
|
37
|
+
: updated (string): Heure de la dernière mise à jour de la ressource par HueMagic (ISO 8601)
|
|
38
|
+
|
|
39
|
+
#### Informations sur le capteur dans `msg.info`
|
|
40
|
+
|
|
41
|
+
: id (string): Indique le nouvel ID du capteur
|
|
42
|
+
: idV1 (string | boolean): Indique l'ancien ID du capteur
|
|
43
|
+
: uniqueId (string): L'ID unique du capteur
|
|
44
|
+
: deviceId (string): L'ID unique de l'appareil
|
|
45
|
+
: name (string): Le nom actuellement attribué au capteur
|
|
46
|
+
: type (string): Le type du capteur (toujours `temperature`)
|
|
47
|
+
: softwareVersion (string): Le micrologiciel actuel du capteur
|
|
48
|
+
: battery (float): Le niveau de batterie actuel du capteur
|
|
49
|
+
: batteryState (string): Le statut actuel du niveau de batterie. Peut contenir `normal`, `low` ou `critical` comme valeur
|
|
50
|
+
: model (object): Contient les informations de modèle du capteur dans `id`, `manufacturer`, `name`, `type` et `certified`
|
|
51
|
+
|
|
52
|
+
#### Changements d'état dans `msg.updated`
|
|
53
|
+
|
|
54
|
+
Énumère sous forme d'objet les paramètres qui ont changé par rapport au dernier état du capteur. Si aucun changement n'a été enregistré, cet objet est vide.
|
|
55
|
+
|
|
56
|
+
#### Dernier état du capteur dans `msg.lastState`
|
|
57
|
+
|
|
58
|
+
Contient l'objet de statut complet (voir les valeurs de sortie ci-dessus) du dernier état avant le dernier changement enregistré. Si HueMagic n'a pas encore enregistré le dernier état, `false` est émis.
|
|
59
|
+
|
|
60
|
+
#### Dernière commande dans `msg.command` (facultatif)
|
|
61
|
+
|
|
62
|
+
Si le statut du nœud a changé suite à une commande particulière, la commande complète qui a été exécutée est également émise. Sinon, cet objet n'est pas émis par le nœud.
|
|
63
|
+
|
|
64
|
+
### Exemples de HueMagic
|
|
65
|
+
|
|
66
|
+
HueMagic met à disposition quelques exemples de configuration pour ce nœud. Pour importer un exemple complet dans votre interface Node-RED, cliquez sur l'icône de menu de Node-RED, sélectionnez « Importer » puis naviguez vers « Exemples » dans la barre latérale de la fenêtre. Sélectionnez ensuite le dossier HueMagic et le nœud souhaité pour importer un flux d'exemple.
|
|
67
|
+
|
|
68
|
+

|
|
69
|
+
</script>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-temperature": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Nom",
|
|
5
|
+
"skipevents-node": "Ignorer les messages du nœud",
|
|
6
|
+
"sendinitevents-node": "Ne pas supprimer l'événement d'initialisation",
|
|
7
|
+
"onlycommands-node": "Signaler uniquement après une commande",
|
|
8
|
+
"unknown-error": "Une erreur est survenue. Veuillez réessayer.",
|
|
9
|
+
"bridge": "Bridge",
|
|
10
|
+
"universalevents": "Événements universels",
|
|
11
|
+
"universalevents-node": "Reçoit tous les messages des autres nœuds du même type (uniquement en mode universel)",
|
|
12
|
+
"input-name": "Nom du capteur",
|
|
13
|
+
"searching": "recherche de capteurs de température…",
|
|
14
|
+
"none-found": "Aucun capteur de température trouvé.",
|
|
15
|
+
"sensor": "Capteur",
|
|
16
|
+
"offset": "Correction"
|
|
17
|
+
},
|
|
18
|
+
"node": {
|
|
19
|
+
"not-configured": "non configuré",
|
|
20
|
+
"init": "initialisation…",
|
|
21
|
+
"not-reachable": "non joignable",
|
|
22
|
+
"universal": "mode universel",
|
|
23
|
+
"command": "exécution de la commande…",
|
|
24
|
+
"deactivated": "désactivé",
|
|
25
|
+
"statusmsg": "Statut interrogé avec succès…",
|
|
26
|
+
"title": "Hue Température",
|
|
27
|
+
"input": "interrogation du statut",
|
|
28
|
+
"output": "température (modifiée)",
|
|
29
|
+
"error-no-id": "Veuillez indiquer un ID de capteur valide.",
|
|
30
|
+
"error-not-available": "Le capteur n'est pas encore disponible. Veuillez attendre que HueMagic ait établi la connexion avec le bridge ou vérifiez si l'ID de ressource indiqué dans la configuration est valide."
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-automation">
|
|
2
|
+
Il nodo «Hue Automazione» può attivare e disattivare le automazioni create nell'app Philips Hue.
|
|
3
|
+
|
|
4
|
+
### Configurazione
|
|
5
|
+
|
|
6
|
+
Selezioni il Hue Bridge preconfigurato e faccia clic sul pulsante di ricerca per trovare tutte le automazioni disponibili. Se conosce già l'ID dell'automazione, può anche inserirlo qui manualmente. Può assegnare internamente un nuovo nome all'automazione 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. 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 dell'automazione selezionata 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
|
+
Se non seleziona alcuna automazione 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'automazione specifica trasmettendo il relativo ID come stringa in `msg.topic` insieme alle sue impostazioni.
|
|
9
|
+
|
|
10
|
+
### Attivare / disattivare l'automazione
|
|
11
|
+
|
|
12
|
+
Un'automazione disattivata rimane sul bridge e può essere riattivata in qualsiasi momento. A tal fine, trasmetta un oggetto con il seguente contenuto:
|
|
13
|
+
|
|
14
|
+
: payload (boolean): `true` attiva l'automazione, `false` la disattiva
|
|
15
|
+
: enabled (boolean): Come sopra, se preferisce trasmettere un oggetto
|
|
16
|
+
: toggle (boolean | any): Alterna tra attivata e disattivata, a seconda dello stato precedente
|
|
17
|
+
|
|
18
|
+
### Messaggi di stato del nodo
|
|
19
|
+
|
|
20
|
+
Non appena l'automazione cambia, il nodo restituisce il seguente messaggio di stato:
|
|
21
|
+
|
|
22
|
+
#### Oggetto di stato in `msg.payload`
|
|
23
|
+
|
|
24
|
+
: enabled (boolean): Indica se l'automazione è attivata
|
|
25
|
+
: running (boolean): `true` mentre il bridge sta effettivamente eseguendo l'automazione
|
|
26
|
+
: status (string | boolean): Lo stato attuale. Può contenere `initializing`, `running`, `disabled` o `errored` come valore
|
|
27
|
+
: lastError (string | boolean): L'ultimo errore segnalato dal bridge o `false`
|
|
28
|
+
: updated (string): Momento dell'ultimo aggiornamento della risorsa da parte di HueMagic (ISO 8601)
|
|
29
|
+
|
|
30
|
+
#### Informazioni sull'automazione in `msg.info`
|
|
31
|
+
|
|
32
|
+
: id (string): Indica l'ID dell'automazione
|
|
33
|
+
: idV1 (string | boolean): Indica il vecchio ID dell'automazione
|
|
34
|
+
: name (string | boolean): Il nome che ha assegnato all'automazione nell'app Philips Hue
|
|
35
|
+
: type (string): Il tipo di risorsa (sempre `automation`)
|
|
36
|
+
: script (string | boolean): L'ID dello script di comportamento alla base dell'automazione
|
|
37
|
+
|
|
38
|
+
#### Configurazione in `msg.configuration`
|
|
39
|
+
|
|
40
|
+
Contiene le impostazioni dell'automazione così come sono state salvate dall'app Philips Hue. La struttura dipende dal tipo di automazione e viene trasmessa senza modifiche.
|
|
41
|
+
|
|
42
|
+
#### Variazioni di stato in `msg.updated`
|
|
43
|
+
|
|
44
|
+
Elenca sotto forma di oggetto i singoli parametri modificati rispetto all'ultimo stato dell'automazione. Se non è stata registrata alcuna modifica, questo oggetto è vuoto.
|
|
45
|
+
|
|
46
|
+
#### Ultimo stato dell'automazione in `msg.lastState`
|
|
47
|
+
|
|
48
|
+
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`.
|
|
49
|
+
|
|
50
|
+
#### Ultimo comando in `msg.command` (facoltativo)
|
|
51
|
+
|
|
52
|
+
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.
|
|
53
|
+
|
|
54
|
+
### Esempi di HueMagic
|
|
55
|
+
|
|
56
|
+
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.
|
|
57
|
+
|
|
58
|
+

|
|
59
|
+
</script>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-automation": {
|
|
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 dell'automazione",
|
|
13
|
+
"searching": "Ricerca di automazioni…",
|
|
14
|
+
"none-found": "Nessuna automazione trovata!",
|
|
15
|
+
"automation": "Automazione"
|
|
16
|
+
},
|
|
17
|
+
"node": {
|
|
18
|
+
"not-configured": "non configurato",
|
|
19
|
+
"init": "inizializzazione…",
|
|
20
|
+
"universal": "modalità universale",
|
|
21
|
+
"command": "esecuzione del comando…",
|
|
22
|
+
"statusmsg": "Stato interrogato correttamente…",
|
|
23
|
+
"title": "Hue Automazione",
|
|
24
|
+
"enabled": "attivata",
|
|
25
|
+
"disabled": "disattivata",
|
|
26
|
+
"errored": "errore",
|
|
27
|
+
"input": "attiva / disattiva",
|
|
28
|
+
"output": "automazione",
|
|
29
|
+
"error-no-id": "Indichi un ID automazione valido.",
|
|
30
|
+
"error-not-available": "L'automazione 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,31 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-bridge">
|
|
2
|
+
Si collega a un Philips Hue Bridge.
|
|
3
|
+
|
|
4
|
+
### Nome
|
|
5
|
+
|
|
6
|
+
Può assegnare al bridge un nome interno alternativo oppure mantenere quello predefinito.
|
|
7
|
+
|
|
8
|
+
### IP e porta del bridge
|
|
9
|
+
|
|
10
|
+
Inserisca manualmente l'indirizzo IP del Hue Bridge oppure prema il pulsante per elencare tutti i bridge disponibili localmente (si consiglia una configurazione IP statica sul Hue Bridge). Facoltativamente può anche definire una porta alternativa per il bridge aggiungendo i due punti all'indirizzo IP.
|
|
11
|
+
|
|
12
|
+
### Chiave API
|
|
13
|
+
|
|
14
|
+
Inserisca manualmente la chiave API del Hue Bridge oppure prema il pulsante per creare una nuova chiave. Se desidera creare una nuova chiave, deve premere il pulsante fisico del bridge entro 20 secondi per completare la procedura.
|
|
15
|
+
|
|
16
|
+
### Processi
|
|
17
|
+
|
|
18
|
+
Il valore «Processi» determina quanti comandi paralleli HueMagic può inviare contemporaneamente al bridge. Secondo la documentazione ufficiale del Philips Hue Bridge non dovrebbero essere inviati più di 10 comandi al secondo, altrimenti si rischia che il bridge non riesca a elaborare le richieste con la stessa rapidità e restituisca errori.
|
|
19
|
+
|
|
20
|
+
Se vengono inviati contemporaneamente più comandi del valore qui impostato, HueMagic li eseguirà in sequenza non appena sarà di nuovo possibile.
|
|
21
|
+
|
|
22
|
+
Imposti questo valore sotto 10 (ad es. da 4 a 7) se invia comandi al bridge anche al di fuori di HueMagic, per rispettare il numero di comandi al secondo consigliato da Philips Hue.
|
|
23
|
+
|
|
24
|
+
### Aggiornamenti automatici del firmware
|
|
25
|
+
|
|
26
|
+
HueMagic verifica periodicamente la disponibilità di aggiornamenti del firmware Philips Hue e li installa automaticamente quando sono disponibili. Può disattivare questo comportamento facendo clic sulla relativa casella di controllo.
|
|
27
|
+
|
|
28
|
+
### Disattivare le notifiche
|
|
29
|
+
|
|
30
|
+
Attivando questa impostazione, tutti i nodi collegati a questo bridge non riceveranno più messaggi di stato automatici.
|
|
31
|
+
</script>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-bridge-config": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Nome",
|
|
5
|
+
"apikey": "Chiave API",
|
|
6
|
+
"missing-ip": "IP del Hue Bridge mancante…",
|
|
7
|
+
"disable-events": "Disattiva gli eventi",
|
|
8
|
+
"disable-events-info": "Disattiva gli eventi su tutti i nodi",
|
|
9
|
+
"searching": "Ricerca di Hue Bridge…",
|
|
10
|
+
"none-found": "Nessun Hue Bridge trovato!",
|
|
11
|
+
"unknown-error": "Qualcosa è andato storto. Riprovi.",
|
|
12
|
+
"invalid": "Spiacenti. Il Hue Bridge selezionato non è valido: ",
|
|
13
|
+
"error-select-first": "Selezioni il suo Hue Bridge prima di creare un nuovo utente!",
|
|
14
|
+
"waiting": "in attesa del pulsante di collegamento…",
|
|
15
|
+
"new-user-press": "Prema ora il pulsante del suo Hue Bridge per creare un nuovo utente!",
|
|
16
|
+
"retry": "Nessuna pressione rilevata. Riprovi…",
|
|
17
|
+
"success": "Utente creato correttamente!",
|
|
18
|
+
"connecting": "Connessione al bridge…",
|
|
19
|
+
"autoupdates": "Attiva gli aggiornamenti automatici del firmware",
|
|
20
|
+
"bridge-ip": "IP del bridge",
|
|
21
|
+
"worker": "Processi"
|
|
22
|
+
},
|
|
23
|
+
"node": {
|
|
24
|
+
"title": "Hue Bridge",
|
|
25
|
+
"statusmsg": "Stato interrogato correttamente…",
|
|
26
|
+
"initializing": "Inizializzazione del bridge (__bridge__)…",
|
|
27
|
+
"connected": "Connesso al bridge",
|
|
28
|
+
"processing": "Elaborazione delle risorse del bridge…",
|
|
29
|
+
"initial-emit": "Emissione iniziale degli stati delle risorse…",
|
|
30
|
+
"keep-updated": "Mantenimento dei nodi aggiornati…",
|
|
31
|
+
"subscribing": "Sottoscrizione agli eventi del bridge…",
|
|
32
|
+
"unsubscribing": "Annullamento della sottoscrizione agli eventi del bridge…",
|
|
33
|
+
"no-legacy-api": "Il bridge non risponde sulla vecchia API, si prosegue senza la sua configurazione…",
|
|
34
|
+
"request-error": "Errore durante la richiesta di informazioni al bridge (__error__)",
|
|
35
|
+
"connection-lost": "Connessione al bridge persa (__reason__). Nuovo tentativo tra __seconds__ secondi…",
|
|
36
|
+
"resources-changed": "Le risorse del bridge sono cambiate. Ricaricamento…",
|
|
37
|
+
"not-connected": "Il bridge non è connesso."
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
<script type="text/markdown" data-help-name="hue-bridge-node">
|
|
2
|
+
Il nodo «Hue Bridge» è un nodo universale in grado di emettere tutte le impostazioni del bridge e i messaggi di stato degli altri nodi.
|
|
3
|
+
|
|
4
|
+
### Configurazione
|
|
5
|
+
|
|
6
|
+
Selezioni prima il Hue Bridge desiderato. Facoltativamente può disattivare tutti i messaggi di stato automatici di questo nodo tramite l'impostazione «Ignora gli aggiornamenti e i messaggi globali dei dispositivi su questo nodo». Il nodo non emetterà più aggiornamenti del dispositivo.
|
|
7
|
+
|
|
8
|
+
In alternativa può scegliere che i messaggi di inizializzazione di tutti i nodi non vengano soppressi all'avvio di Node-RED. Attivando questa impostazione riceverà, dopo ogni deploy, un messaggio di stato da tutte le risorse collegate al bridge.
|
|
9
|
+
|
|
10
|
+
### Richiedere impostazioni e stato
|
|
11
|
+
|
|
12
|
+
Emette lo stato e le impostazioni attuali del bridge non appena al nodo viene inviato il seguente messaggio. In alternativa può anche premere il pulsante nell'interfaccia di Node-RED senza dover inviare prima un messaggio al nodo.
|
|
13
|
+
|
|
14
|
+
: payload (boolean): Restituisce lo stato attuale del bridge
|
|
15
|
+
|
|
16
|
+
### Avviare una scansione TouchLink
|
|
17
|
+
|
|
18
|
+
Con una «scansione TouchLink» può abbinare al bridge dispositivi nuovi o vecchi (ad es. dopo un ripristino). A tal fine, trasmetta l'oggetto `msg.payload` con il seguente contenuto:
|
|
19
|
+
|
|
20
|
+
: touchLink (boolean): Abbina dispositivi vecchi o nuovi al bridge
|
|
21
|
+
|
|
22
|
+
### Richiedere tutti i dispositivi e le risorse
|
|
23
|
+
|
|
24
|
+
Con il comando «fetch» può ottenere un elenco di determinati dispositivi attualmente collegati al bridge. A tal fine, trasmetta l'oggetto `msg.payload` con il seguente contenuto:
|
|
25
|
+
|
|
26
|
+
: fetch (string | array [string, ...]): Accetta `light`, `group`, `button`, `motion`, `temperature`, `light_level` o `rule` come valore/i
|
|
27
|
+
|
|
28
|
+
### Modificare le impostazioni del Hue Bridge
|
|
29
|
+
|
|
30
|
+
Con il seguente comando può modificare determinate impostazioni sul bridge. Trasmetta al nodo l'oggetto `msg.payload.settings` con le seguenti opzioni:
|
|
31
|
+
|
|
32
|
+
> [!WARNING]
|
|
33
|
+
> La modifica delle impostazioni di rete richiede la riconfigurazione del bridge in HueMagic.
|
|
34
|
+
|
|
35
|
+
: name (string): Modifica il nome del bridge e deve contenere da 4 a 16 caratteri
|
|
36
|
+
: zigbeeChannel (int): Modifica il canale ZigBee attuale (`11`, `15`, `20`, `25` o `0`)
|
|
37
|
+
: ipAddress (string): Modifica l'indirizzo IP nelle impostazioni di rete
|
|
38
|
+
: dhcpEnabled (boolean): `true` attiva il DHCP nelle impostazioni di rete, `false` lo disattiva
|
|
39
|
+
: netmask (string): Modifica la maschera di rete nelle impostazioni di rete
|
|
40
|
+
: gateway (string): Definisce il gateway nelle impostazioni di rete
|
|
41
|
+
: proxyAddress (string): Imposta un indirizzo proxy nelle impostazioni di rete
|
|
42
|
+
: proxyPort (string | int): Definisce la porta del proxy nelle impostazioni di rete
|
|
43
|
+
: timeZone (string): Modifica il fuso orario attualmente impostato sul bridge
|
|
44
|
+
|
|
45
|
+
### Messaggi di stato del nodo
|
|
46
|
+
|
|
47
|
+
I messaggi di stato del nodo «Hue Bridge» sono dinamici. Pur seguendo uno schema preciso, la loro uscita può variare a seconda dell'azione appena eseguita sul nodo.
|
|
48
|
+
|
|
49
|
+
#### Oggetto di stato in `msg.payload`
|
|
50
|
+
|
|
51
|
+
: id (string): ID univoco del Hue Bridge
|
|
52
|
+
: name (string): Nome attualmente assegnato
|
|
53
|
+
: factoryNew (boolean): Indica se il bridge è nuovo di fabbrica
|
|
54
|
+
: replacesBridgeId (string | boolean): Restituisce il vecchio ID del bridge (se è stata effettuata una migrazione) oppure `false`
|
|
55
|
+
: dataStoreVersion (string): Versione dell'archivio dati
|
|
56
|
+
: starterKitId (string | boolean): Nome dello starter kit creato in fabbrica oppure `false`
|
|
57
|
+
: softwareVersion (string): Versione software del bridge
|
|
58
|
+
: apiVersion (string): Versione API del bridge
|
|
59
|
+
: zigbeeChannel (int): Canale ZigBee attualmente utilizzato
|
|
60
|
+
: macAddress (string): Indirizzo MAC del bridge
|
|
61
|
+
: ipAddress (string): Indirizzo IP del bridge
|
|
62
|
+
: dhcpEnabled (boolean): Indica se il DHCP è attivato
|
|
63
|
+
: netmask (string): Maschera di rete del bridge
|
|
64
|
+
: gateway (string): Gateway del bridge
|
|
65
|
+
: proxyAddress (string | boolean): Indirizzo proxy attualmente utilizzato oppure `false`
|
|
66
|
+
: proxyPort (string): Porta proxy attualmente utilizzata
|
|
67
|
+
: utcTime (string): Ora UTC sul bridge
|
|
68
|
+
: timeZone (string): Fuso orario attualmente impostato sul bridge
|
|
69
|
+
: localTime (string): Fuso orario locale
|
|
70
|
+
: portalServicesEnabled (boolean): Indica se i servizi del portale sono attivati
|
|
71
|
+
: portalConnected (boolean): Indica se il bridge è collegato al portale
|
|
72
|
+
: linkButtonEnabled (boolean): Indica se il pulsante di collegamento è attivo
|
|
73
|
+
: touchlinkEnabled (boolean): Indica se TouchLink è attivo
|
|
74
|
+
: autoUpdatesEnabled (boolean): Indica se HueMagic verificherà automaticamente la disponibilità di aggiornamenti
|
|
75
|
+
: users (array [object, ...]): Elenco di tutti gli utenti sul bridge (array di oggetti)
|
|
76
|
+
: updated (string): Momento dell'ultimo aggiornamento della risorsa da parte di HueMagic (ISO 8601)
|
|
77
|
+
: model (object): Contiene le informazioni sul modello del bridge in `id`, `manufacturer` e `name`
|
|
78
|
+
|
|
79
|
+
#### Risultati di «fetch» in `msg.results` (facoltativo)
|
|
80
|
+
|
|
81
|
+
Se sul nodo è stato usato il comando «fetch», il bridge emette i relativi risultati nell'oggetto `msg.results`. L'oggetto contiene i gruppi di risorse interrogati, che a loro volta contengono tutte le risorse corrispondenti sotto forma di array.
|
|
82
|
+
|
|
83
|
+
#### Messaggi di stato globali in `msg.updated` (facoltativo)
|
|
84
|
+
|
|
85
|
+
Se non disattivato, il nodo emette un messaggio di stato aggiornato per ogni risorsa sul bridge. Il messaggio di stato in `msg.updated` segue lo schema della rispettiva risorsa e varia a seconda del tipo di dispositivo aggiornato per ultimo.
|
|
86
|
+
|
|
87
|
+
#### Ultimo comando in `msg.command` (facoltativo)
|
|
88
|
+
|
|
89
|
+
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.
|
|
90
|
+
|
|
91
|
+
### Esempi di HueMagic
|
|
92
|
+
|
|
93
|
+
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.
|
|
94
|
+
|
|
95
|
+

|
|
96
|
+
</script>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hue-bridge": {
|
|
3
|
+
"config": {
|
|
4
|
+
"name": "Nome",
|
|
5
|
+
"input-name": "Nome del Hue Bridge",
|
|
6
|
+
"skipglobalevents-info": "Ignora gli aggiornamenti e i messaggi globali dei dispositivi su questo nodo",
|
|
7
|
+
"sendinitevents-node": "Non sopprimere l'evento di inizializzazione",
|
|
8
|
+
"bridge": "Bridge"
|
|
9
|
+
},
|
|
10
|
+
"node": {
|
|
11
|
+
"title": "Hue Bridge",
|
|
12
|
+
"not-configured": "non configurato",
|
|
13
|
+
"connecting": "connessione…",
|
|
14
|
+
"connected": "connesso",
|
|
15
|
+
"starting-tl": "avvio di TouchLink…",
|
|
16
|
+
"started-tl": "TouchLink avviato…",
|
|
17
|
+
"f-resources": "recupero delle risorse…",
|
|
18
|
+
"updating-settings": "aggiornamento delle impostazioni…",
|
|
19
|
+
"settings-updated": "impostazioni aggiornate",
|
|
20
|
+
"input": "impostazioni / recupero",
|
|
21
|
+
"output": "informazioni del bridge",
|
|
22
|
+
"statusmsg": "Stato interrogato correttamente…",
|
|
23
|
+
"error-not-available": "Il bridge non è ancora disponibile. Attenda che HueMagic abbia stabilito la connessione con il bridge."
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|