node-red-contrib-huemagic 4.2.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +89 -5
- package/README.md +506 -123
- package/examples/Deutsch/Hue Automation.json +176 -0
- package/examples/Deutsch/Hue Bridge.json +256 -0
- package/examples/Deutsch/Hue Brightness.json +150 -0
- package/examples/Deutsch/Hue Buttons.json +88 -0
- package/examples/Deutsch/Hue Contact.json +150 -0
- package/examples/Deutsch/Hue Group.json +658 -0
- package/examples/Deutsch/Hue Light.json +893 -0
- package/examples/Deutsch/Hue Magic.json +148 -0
- package/examples/Deutsch/Hue Motion.json +150 -0
- package/examples/Deutsch/Hue Rules.json +150 -0
- package/examples/Deutsch/Hue Scene.json +178 -0
- package/examples/Deutsch/Hue Speaker.json +274 -0
- package/examples/Deutsch/Hue Sync Box.json +378 -0
- package/examples/Deutsch/Hue Temperature.json +150 -0
- package/examples/English/Hue Automation.json +176 -0
- package/examples/{Hue Bridge.json → English/Hue Bridge.json } +1 -1
- package/examples/{Hue Brightness.json → English/Hue Brightness.json } +1 -1
- package/examples/{Hue Buttons.json → English/Hue Buttons.json } +1 -1
- package/examples/English/Hue Contact.json +150 -0
- package/examples/{Hue Group.json → English/Hue Group.json } +1 -1
- package/examples/{Hue Light.json → English/Hue Light.json } +1 -1
- package/examples/{Hue Magic.json → English/Hue Magic.json } +1 -1
- package/examples/{Hue Motion.json → English/Hue Motion.json } +1 -1
- package/examples/{Hue Rules.json → English/Hue Rules.json } +1 -1
- package/examples/{Hue Scene.json → English/Hue Scene.json } +1 -1
- package/examples/English/Hue Speaker.json +274 -0
- package/examples/English/Hue Sync Box.json +378 -0
- package/examples/{Hue Temperature.json → English/Hue Temperature.json } +1 -1
- package/examples/Espa/303/261ol/Hue Automation.json" +176 -0
- package/examples/Espa/303/261ol/Hue Bridge.json" +256 -0
- package/examples/Espa/303/261ol/Hue Brightness.json" +150 -0
- package/examples/Espa/303/261ol/Hue Buttons.json" +88 -0
- package/examples/Espa/303/261ol/Hue Contact.json" +150 -0
- package/examples/Espa/303/261ol/Hue Group.json" +658 -0
- package/examples/Espa/303/261ol/Hue Light.json" +893 -0
- package/examples/Espa/303/261ol/Hue Magic.json" +148 -0
- package/examples/Espa/303/261ol/Hue Motion.json" +150 -0
- package/examples/Espa/303/261ol/Hue Rules.json" +150 -0
- package/examples/Espa/303/261ol/Hue Scene.json" +178 -0
- package/examples/Espa/303/261ol/Hue Speaker.json" +274 -0
- package/examples/Espa/303/261ol/Hue Sync Box.json" +378 -0
- package/examples/Espa/303/261ol/Hue Temperature.json" +150 -0
- package/examples/Fran/303/247ais/Hue Automation.json" +176 -0
- package/examples/Fran/303/247ais/Hue Bridge.json" +256 -0
- package/examples/Fran/303/247ais/Hue Brightness.json" +150 -0
- package/examples/Fran/303/247ais/Hue Buttons.json" +88 -0
- package/examples/Fran/303/247ais/Hue Contact.json" +150 -0
- package/examples/Fran/303/247ais/Hue Group.json" +658 -0
- package/examples/Fran/303/247ais/Hue Light.json" +893 -0
- package/examples/Fran/303/247ais/Hue Magic.json" +148 -0
- package/examples/Fran/303/247ais/Hue Motion.json" +150 -0
- package/examples/Fran/303/247ais/Hue Rules.json" +150 -0
- package/examples/Fran/303/247ais/Hue Scene.json" +178 -0
- package/examples/Fran/303/247ais/Hue Speaker.json" +274 -0
- package/examples/Fran/303/247ais/Hue Sync Box.json" +378 -0
- package/examples/Fran/303/247ais/Hue Temperature.json" +150 -0
- package/examples/Italiano/Hue Automation.json +176 -0
- package/examples/Italiano/Hue Bridge.json +256 -0
- package/examples/Italiano/Hue Brightness.json +150 -0
- package/examples/Italiano/Hue Buttons.json +88 -0
- package/examples/Italiano/Hue Contact.json +150 -0
- package/examples/Italiano/Hue Group.json +658 -0
- package/examples/Italiano/Hue Light.json +893 -0
- package/examples/Italiano/Hue Magic.json +148 -0
- package/examples/Italiano/Hue Motion.json +150 -0
- package/examples/Italiano/Hue Rules.json +150 -0
- package/examples/Italiano/Hue Scene.json +178 -0
- package/examples/Italiano/Hue Speaker.json +274 -0
- package/examples/Italiano/Hue Sync Box.json +378 -0
- package/examples/Italiano/Hue Temperature.json +150 -0
- package/examples/Nederlands/Hue Automation.json +176 -0
- package/examples/Nederlands/Hue Bridge.json +256 -0
- package/examples/Nederlands/Hue Brightness.json +150 -0
- package/examples/Nederlands/Hue Buttons.json +88 -0
- package/examples/Nederlands/Hue Contact.json +150 -0
- package/examples/Nederlands/Hue Group.json +658 -0
- package/examples/Nederlands/Hue Light.json +893 -0
- package/examples/Nederlands/Hue Magic.json +148 -0
- package/examples/Nederlands/Hue Motion.json +150 -0
- package/examples/Nederlands/Hue Rules.json +150 -0
- package/examples/Nederlands/Hue Scene.json +178 -0
- package/examples/Nederlands/Hue Speaker.json +274 -0
- package/examples/Nederlands/Hue Sync Box.json +378 -0
- package/examples/Nederlands/Hue Temperature.json +150 -0
- package/examples/Polski/Hue Automation.json +176 -0
- package/examples/Polski/Hue Bridge.json +256 -0
- package/examples/Polski/Hue Brightness.json +150 -0
- package/examples/Polski/Hue Buttons.json +88 -0
- package/examples/Polski/Hue Contact.json +150 -0
- package/examples/Polski/Hue Group.json +658 -0
- package/examples/Polski/Hue Light.json +893 -0
- package/examples/Polski/Hue Magic.json +148 -0
- package/examples/Polski/Hue Motion.json +150 -0
- package/examples/Polski/Hue Rules.json +150 -0
- package/examples/Polski/Hue Scene.json +178 -0
- package/examples/Polski/Hue Speaker.json +274 -0
- package/examples/Polski/Hue Sync Box.json +378 -0
- package/examples/Polski/Hue Temperature.json +150 -0
- package/examples/Portugu/303/252s/Hue Automation.json" +176 -0
- package/examples/Portugu/303/252s/Hue Bridge.json" +256 -0
- package/examples/Portugu/303/252s/Hue Brightness.json" +150 -0
- package/examples/Portugu/303/252s/Hue Buttons.json" +88 -0
- package/examples/Portugu/303/252s/Hue Contact.json" +150 -0
- package/examples/Portugu/303/252s/Hue Group.json" +658 -0
- package/examples/Portugu/303/252s/Hue Light.json" +893 -0
- package/examples/Portugu/303/252s/Hue Magic.json" +148 -0
- package/examples/Portugu/303/252s/Hue Motion.json" +150 -0
- package/examples/Portugu/303/252s/Hue Rules.json" +150 -0
- package/examples/Portugu/303/252s/Hue Scene.json" +178 -0
- package/examples/Portugu/303/252s/Hue Speaker.json" +274 -0
- package/examples/Portugu/303/252s/Hue Sync Box.json" +378 -0
- package/examples/Portugu/303/252s/Hue Temperature.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Automation.json" +176 -0
- package/examples/T/303/274rk/303/247e/Hue Bridge.json" +256 -0
- package/examples/T/303/274rk/303/247e/Hue Brightness.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Buttons.json" +88 -0
- package/examples/T/303/274rk/303/247e/Hue Contact.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Group.json" +658 -0
- package/examples/T/303/274rk/303/247e/Hue Light.json" +893 -0
- package/examples/T/303/274rk/303/247e/Hue Magic.json" +148 -0
- package/examples/T/303/274rk/303/247e/Hue Motion.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Rules.json" +150 -0
- package/examples/T/303/274rk/303/247e/Hue Scene.json" +178 -0
- package/examples/T/303/274rk/303/247e/Hue Speaker.json" +274 -0
- package/examples/T/303/274rk/303/247e/Hue Sync Box.json" +378 -0
- package/examples/T/303/274rk/303/247e/Hue Temperature.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Automation.json" +176 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Bridge.json" +256 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Brightness.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Buttons.json" +88 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Contact.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Group.json" +658 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Light.json" +893 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Magic.json" +148 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Motion.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Rules.json" +150 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Scene.json" +178 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Speaker.json" +274 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Sync Box.json" +378 -0
- package/examples//316/225/316/273/316/273/316/267/316/275/316/271/316/272/316/254/Hue Temperature.json" +150 -0
- package/huemagic/assets/huemagic-examples.gif +0 -0
- package/huemagic/hue-automation.html +218 -0
- package/huemagic/hue-automation.js +173 -0
- package/huemagic/hue-bridge-config.html +39 -32
- package/huemagic/hue-bridge-config.js +290 -99
- package/huemagic/hue-bridge.html +8 -8
- package/huemagic/hue-bridge.js +29 -4
- package/huemagic/hue-brightness.html +21 -9
- package/huemagic/hue-brightness.js +20 -10
- package/huemagic/hue-buttons.html +16 -9
- package/huemagic/hue-buttons.js +90 -27
- package/huemagic/hue-contact.html +218 -0
- package/huemagic/hue-contact.js +209 -0
- package/huemagic/hue-group.html +16 -9
- package/huemagic/hue-group.js +141 -179
- package/huemagic/hue-light.html +19 -12
- package/huemagic/hue-light.js +222 -167
- package/huemagic/hue-magic.html +3 -5
- package/huemagic/hue-motion.html +16 -9
- package/huemagic/hue-motion.js +37 -8
- package/huemagic/hue-rules.html +16 -9
- package/huemagic/hue-rules.js +16 -8
- package/huemagic/hue-scene.html +9 -5
- package/huemagic/hue-scene.js +52 -16
- package/huemagic/hue-speaker.html +218 -0
- package/huemagic/hue-speaker.js +257 -0
- package/huemagic/hue-syncbox-config.html +123 -0
- package/huemagic/hue-syncbox-config.js +179 -0
- package/huemagic/hue-syncbox.html +82 -0
- package/huemagic/hue-syncbox.js +274 -0
- package/huemagic/hue-temperature.html +21 -9
- package/huemagic/hue-temperature.js +18 -10
- package/huemagic/icons/hue-automation.png +0 -0
- package/huemagic/icons/hue-automation.svg +3 -0
- package/huemagic/icons/hue-contact.png +0 -0
- package/huemagic/icons/hue-contact.svg +4 -0
- package/huemagic/icons/hue-speaker.png +0 -0
- package/huemagic/icons/hue-speaker.svg +6 -0
- package/huemagic/icons/hue-syncbox.png +0 -0
- package/huemagic/icons/hue-syncbox.svg +7 -0
- package/huemagic/locales/de/hue-automation.html +59 -0
- package/huemagic/locales/de/hue-automation.json +33 -0
- package/huemagic/locales/de/hue-bridge-config.json +23 -12
- package/huemagic/locales/de/hue-bridge.html +7 -4
- package/huemagic/locales/de/hue-bridge.json +9 -10
- package/huemagic/locales/de/hue-brightness.html +9 -6
- package/huemagic/locales/de/hue-brightness.json +13 -9
- package/huemagic/locales/de/hue-buttons.html +5 -4
- package/huemagic/locales/de/hue-buttons.json +22 -8
- package/huemagic/locales/de/hue-contact.html +67 -0
- package/huemagic/locales/de/hue-contact.json +35 -0
- package/huemagic/locales/de/hue-group.html +17 -6
- package/huemagic/locales/de/hue-group.json +16 -9
- package/huemagic/locales/de/hue-light.html +6 -6
- package/huemagic/locales/de/hue-light.json +17 -9
- package/huemagic/locales/de/hue-magic.html +1 -1
- package/huemagic/locales/de/hue-magic.json +6 -8
- package/huemagic/locales/de/hue-motion.html +4 -4
- package/huemagic/locales/de/hue-motion.json +14 -9
- package/huemagic/locales/de/hue-rules.html +2 -2
- package/huemagic/locales/de/hue-rules.json +10 -9
- package/huemagic/locales/de/hue-scene.html +11 -3
- package/huemagic/locales/de/hue-scene.json +9 -9
- package/huemagic/locales/de/hue-speaker.html +80 -0
- package/huemagic/locales/de/hue-speaker.json +38 -0
- package/huemagic/locales/de/hue-syncbox-config.html +19 -0
- package/huemagic/locales/de/hue-syncbox-config.json +25 -0
- package/huemagic/locales/de/hue-syncbox.html +86 -0
- package/huemagic/locales/de/hue-syncbox.json +30 -0
- package/huemagic/locales/de/hue-temperature.html +7 -5
- package/huemagic/locales/de/hue-temperature.json +13 -9
- package/huemagic/locales/el/hue-automation.html +59 -0
- package/huemagic/locales/el/hue-automation.json +33 -0
- package/huemagic/locales/el/hue-bridge-config.html +31 -0
- package/huemagic/locales/el/hue-bridge-config.json +40 -0
- package/huemagic/locales/el/hue-bridge.html +96 -0
- package/huemagic/locales/el/hue-bridge.json +26 -0
- package/huemagic/locales/el/hue-brightness.html +70 -0
- package/huemagic/locales/el/hue-brightness.json +37 -0
- package/huemagic/locales/el/hue-buttons.html +59 -0
- package/huemagic/locales/el/hue-buttons.json +42 -0
- package/huemagic/locales/el/hue-contact.html +67 -0
- package/huemagic/locales/el/hue-contact.json +35 -0
- package/huemagic/locales/el/hue-group.html +87 -0
- package/huemagic/locales/el/hue-group.json +46 -0
- package/huemagic/locales/el/hue-light.html +97 -0
- package/huemagic/locales/el/hue-light.json +44 -0
- package/huemagic/locales/el/hue-magic.html +68 -0
- package/huemagic/locales/el/hue-magic.json +26 -0
- package/huemagic/locales/el/hue-motion.html +64 -0
- package/huemagic/locales/el/hue-motion.json +36 -0
- package/huemagic/locales/el/hue-rules.html +69 -0
- package/huemagic/locales/el/hue-rules.json +30 -0
- package/huemagic/locales/el/hue-scene.html +43 -0
- package/huemagic/locales/el/hue-scene.json +32 -0
- package/huemagic/locales/el/hue-speaker.html +80 -0
- package/huemagic/locales/el/hue-speaker.json +38 -0
- package/huemagic/locales/el/hue-syncbox-config.html +19 -0
- package/huemagic/locales/el/hue-syncbox-config.json +25 -0
- package/huemagic/locales/el/hue-syncbox.html +86 -0
- package/huemagic/locales/el/hue-syncbox.json +30 -0
- package/huemagic/locales/el/hue-temperature.html +69 -0
- package/huemagic/locales/el/hue-temperature.json +33 -0
- package/huemagic/locales/en/hue-automation.html +59 -0
- package/huemagic/locales/en/hue-automation.json +33 -0
- package/huemagic/locales/en/hue-bridge-config.json +40 -0
- package/huemagic/locales/{en-US → en}/hue-bridge.html +5 -2
- package/huemagic/locales/{en-US → en}/hue-bridge.json +8 -9
- package/huemagic/locales/{en-US → en}/hue-brightness.html +6 -3
- package/huemagic/locales/{en-US → en}/hue-brightness.json +11 -9
- package/huemagic/locales/{en-US → en}/hue-buttons.html +4 -3
- package/huemagic/locales/en/hue-buttons.json +42 -0
- package/huemagic/locales/en/hue-contact.html +67 -0
- package/huemagic/locales/en/hue-contact.json +35 -0
- package/huemagic/locales/{en-US → en}/hue-group.html +16 -5
- package/huemagic/locales/{en-US → en}/hue-group.json +15 -10
- package/huemagic/locales/{en-US → en}/hue-light.html +3 -3
- package/huemagic/locales/en/hue-light.json +44 -0
- package/huemagic/locales/{en-US → en}/hue-magic.html +1 -1
- package/huemagic/locales/{en-US → en}/hue-motion.html +2 -2
- package/huemagic/locales/{en-US → en}/hue-motion.json +12 -9
- package/huemagic/locales/{en-US → en}/hue-rules.html +2 -2
- package/huemagic/locales/{en-US → en}/hue-rules.json +10 -9
- package/huemagic/locales/{en-US → en}/hue-scene.html +11 -3
- package/huemagic/locales/{en-US → en}/hue-scene.json +9 -9
- package/huemagic/locales/en/hue-speaker.html +80 -0
- package/huemagic/locales/en/hue-speaker.json +38 -0
- package/huemagic/locales/en/hue-syncbox-config.html +19 -0
- package/huemagic/locales/en/hue-syncbox-config.json +25 -0
- package/huemagic/locales/en/hue-syncbox.html +86 -0
- package/huemagic/locales/en/hue-syncbox.json +30 -0
- package/huemagic/locales/{en-US → en}/hue-temperature.html +4 -2
- package/huemagic/locales/{en-US → en}/hue-temperature.json +11 -9
- package/huemagic/locales/es/hue-automation.html +59 -0
- package/huemagic/locales/es/hue-automation.json +33 -0
- package/huemagic/locales/es/hue-bridge-config.html +31 -0
- package/huemagic/locales/es/hue-bridge-config.json +40 -0
- package/huemagic/locales/es/hue-bridge.html +96 -0
- package/huemagic/locales/es/hue-bridge.json +26 -0
- package/huemagic/locales/es/hue-brightness.html +70 -0
- package/huemagic/locales/es/hue-brightness.json +37 -0
- package/huemagic/locales/es/hue-buttons.html +59 -0
- package/huemagic/locales/es/hue-buttons.json +42 -0
- package/huemagic/locales/es/hue-contact.html +67 -0
- package/huemagic/locales/es/hue-contact.json +35 -0
- package/huemagic/locales/es/hue-group.html +87 -0
- package/huemagic/locales/es/hue-group.json +46 -0
- package/huemagic/locales/es/hue-light.html +97 -0
- package/huemagic/locales/es/hue-light.json +44 -0
- package/huemagic/locales/es/hue-magic.html +68 -0
- package/huemagic/locales/es/hue-magic.json +26 -0
- package/huemagic/locales/es/hue-motion.html +64 -0
- package/huemagic/locales/es/hue-motion.json +36 -0
- package/huemagic/locales/es/hue-rules.html +69 -0
- package/huemagic/locales/es/hue-rules.json +30 -0
- package/huemagic/locales/es/hue-scene.html +43 -0
- package/huemagic/locales/es/hue-scene.json +32 -0
- package/huemagic/locales/es/hue-speaker.html +80 -0
- package/huemagic/locales/es/hue-speaker.json +38 -0
- package/huemagic/locales/es/hue-syncbox-config.html +19 -0
- package/huemagic/locales/es/hue-syncbox-config.json +25 -0
- package/huemagic/locales/es/hue-syncbox.html +86 -0
- package/huemagic/locales/es/hue-syncbox.json +30 -0
- package/huemagic/locales/es/hue-temperature.html +69 -0
- package/huemagic/locales/es/hue-temperature.json +33 -0
- package/huemagic/locales/fr/hue-automation.html +59 -0
- package/huemagic/locales/fr/hue-automation.json +33 -0
- package/huemagic/locales/fr/hue-bridge-config.html +31 -0
- package/huemagic/locales/fr/hue-bridge-config.json +40 -0
- package/huemagic/locales/fr/hue-bridge.html +96 -0
- package/huemagic/locales/fr/hue-bridge.json +26 -0
- package/huemagic/locales/fr/hue-brightness.html +70 -0
- package/huemagic/locales/fr/hue-brightness.json +37 -0
- package/huemagic/locales/fr/hue-buttons.html +59 -0
- package/huemagic/locales/fr/hue-buttons.json +42 -0
- package/huemagic/locales/fr/hue-contact.html +67 -0
- package/huemagic/locales/fr/hue-contact.json +35 -0
- package/huemagic/locales/fr/hue-group.html +87 -0
- package/huemagic/locales/fr/hue-group.json +46 -0
- package/huemagic/locales/fr/hue-light.html +97 -0
- package/huemagic/locales/fr/hue-light.json +44 -0
- package/huemagic/locales/fr/hue-magic.html +68 -0
- package/huemagic/locales/fr/hue-magic.json +26 -0
- package/huemagic/locales/fr/hue-motion.html +64 -0
- package/huemagic/locales/fr/hue-motion.json +36 -0
- package/huemagic/locales/fr/hue-rules.html +69 -0
- package/huemagic/locales/fr/hue-rules.json +30 -0
- package/huemagic/locales/fr/hue-scene.html +43 -0
- package/huemagic/locales/fr/hue-scene.json +32 -0
- package/huemagic/locales/fr/hue-speaker.html +80 -0
- package/huemagic/locales/fr/hue-speaker.json +38 -0
- package/huemagic/locales/fr/hue-syncbox-config.html +19 -0
- package/huemagic/locales/fr/hue-syncbox-config.json +25 -0
- package/huemagic/locales/fr/hue-syncbox.html +86 -0
- package/huemagic/locales/fr/hue-syncbox.json +30 -0
- package/huemagic/locales/fr/hue-temperature.html +69 -0
- package/huemagic/locales/fr/hue-temperature.json +33 -0
- package/huemagic/locales/it/hue-automation.html +59 -0
- package/huemagic/locales/it/hue-automation.json +33 -0
- package/huemagic/locales/it/hue-bridge-config.html +31 -0
- package/huemagic/locales/it/hue-bridge-config.json +40 -0
- package/huemagic/locales/it/hue-bridge.html +96 -0
- package/huemagic/locales/it/hue-bridge.json +26 -0
- package/huemagic/locales/it/hue-brightness.html +70 -0
- package/huemagic/locales/it/hue-brightness.json +37 -0
- package/huemagic/locales/it/hue-buttons.html +59 -0
- package/huemagic/locales/it/hue-buttons.json +42 -0
- package/huemagic/locales/it/hue-contact.html +67 -0
- package/huemagic/locales/it/hue-contact.json +35 -0
- package/huemagic/locales/it/hue-group.html +87 -0
- package/huemagic/locales/it/hue-group.json +46 -0
- package/huemagic/locales/it/hue-light.html +97 -0
- package/huemagic/locales/it/hue-light.json +44 -0
- package/huemagic/locales/it/hue-magic.html +68 -0
- package/huemagic/locales/it/hue-magic.json +26 -0
- package/huemagic/locales/it/hue-motion.html +64 -0
- package/huemagic/locales/it/hue-motion.json +36 -0
- package/huemagic/locales/it/hue-rules.html +69 -0
- package/huemagic/locales/it/hue-rules.json +30 -0
- package/huemagic/locales/it/hue-scene.html +43 -0
- package/huemagic/locales/it/hue-scene.json +32 -0
- package/huemagic/locales/it/hue-speaker.html +80 -0
- package/huemagic/locales/it/hue-speaker.json +38 -0
- package/huemagic/locales/it/hue-syncbox-config.html +19 -0
- package/huemagic/locales/it/hue-syncbox-config.json +25 -0
- package/huemagic/locales/it/hue-syncbox.html +86 -0
- package/huemagic/locales/it/hue-syncbox.json +30 -0
- package/huemagic/locales/it/hue-temperature.html +69 -0
- package/huemagic/locales/it/hue-temperature.json +33 -0
- package/huemagic/locales/nl/hue-automation.html +59 -0
- package/huemagic/locales/nl/hue-automation.json +33 -0
- package/huemagic/locales/nl/hue-bridge-config.html +31 -0
- package/huemagic/locales/nl/hue-bridge-config.json +40 -0
- package/huemagic/locales/nl/hue-bridge.html +96 -0
- package/huemagic/locales/nl/hue-bridge.json +26 -0
- package/huemagic/locales/nl/hue-brightness.html +70 -0
- package/huemagic/locales/nl/hue-brightness.json +37 -0
- package/huemagic/locales/nl/hue-buttons.html +59 -0
- package/huemagic/locales/nl/hue-buttons.json +42 -0
- package/huemagic/locales/nl/hue-contact.html +67 -0
- package/huemagic/locales/nl/hue-contact.json +35 -0
- package/huemagic/locales/nl/hue-group.html +87 -0
- package/huemagic/locales/nl/hue-group.json +46 -0
- package/huemagic/locales/nl/hue-light.html +97 -0
- package/huemagic/locales/nl/hue-light.json +44 -0
- package/huemagic/locales/nl/hue-magic.html +68 -0
- package/huemagic/locales/nl/hue-magic.json +26 -0
- package/huemagic/locales/nl/hue-motion.html +64 -0
- package/huemagic/locales/nl/hue-motion.json +36 -0
- package/huemagic/locales/nl/hue-rules.html +69 -0
- package/huemagic/locales/nl/hue-rules.json +30 -0
- package/huemagic/locales/nl/hue-scene.html +43 -0
- package/huemagic/locales/nl/hue-scene.json +32 -0
- package/huemagic/locales/nl/hue-speaker.html +80 -0
- package/huemagic/locales/nl/hue-speaker.json +38 -0
- package/huemagic/locales/nl/hue-syncbox-config.html +19 -0
- package/huemagic/locales/nl/hue-syncbox-config.json +25 -0
- package/huemagic/locales/nl/hue-syncbox.html +86 -0
- package/huemagic/locales/nl/hue-syncbox.json +30 -0
- package/huemagic/locales/nl/hue-temperature.html +69 -0
- package/huemagic/locales/nl/hue-temperature.json +33 -0
- package/huemagic/locales/pl/hue-automation.html +59 -0
- package/huemagic/locales/pl/hue-automation.json +33 -0
- package/huemagic/locales/pl/hue-bridge-config.html +31 -0
- package/huemagic/locales/pl/hue-bridge-config.json +40 -0
- package/huemagic/locales/pl/hue-bridge.html +96 -0
- package/huemagic/locales/pl/hue-bridge.json +26 -0
- package/huemagic/locales/pl/hue-brightness.html +70 -0
- package/huemagic/locales/pl/hue-brightness.json +37 -0
- package/huemagic/locales/pl/hue-buttons.html +59 -0
- package/huemagic/locales/pl/hue-buttons.json +42 -0
- package/huemagic/locales/pl/hue-contact.html +67 -0
- package/huemagic/locales/pl/hue-contact.json +35 -0
- package/huemagic/locales/pl/hue-group.html +87 -0
- package/huemagic/locales/pl/hue-group.json +46 -0
- package/huemagic/locales/pl/hue-light.html +97 -0
- package/huemagic/locales/pl/hue-light.json +44 -0
- package/huemagic/locales/pl/hue-magic.html +68 -0
- package/huemagic/locales/pl/hue-magic.json +26 -0
- package/huemagic/locales/pl/hue-motion.html +64 -0
- package/huemagic/locales/pl/hue-motion.json +36 -0
- package/huemagic/locales/pl/hue-rules.html +69 -0
- package/huemagic/locales/pl/hue-rules.json +30 -0
- package/huemagic/locales/pl/hue-scene.html +43 -0
- package/huemagic/locales/pl/hue-scene.json +32 -0
- package/huemagic/locales/pl/hue-speaker.html +80 -0
- package/huemagic/locales/pl/hue-speaker.json +38 -0
- package/huemagic/locales/pl/hue-syncbox-config.html +19 -0
- package/huemagic/locales/pl/hue-syncbox-config.json +25 -0
- package/huemagic/locales/pl/hue-syncbox.html +86 -0
- package/huemagic/locales/pl/hue-syncbox.json +30 -0
- package/huemagic/locales/pl/hue-temperature.html +69 -0
- package/huemagic/locales/pl/hue-temperature.json +33 -0
- package/huemagic/locales/pt/hue-automation.html +59 -0
- package/huemagic/locales/pt/hue-automation.json +33 -0
- package/huemagic/locales/pt/hue-bridge-config.html +31 -0
- package/huemagic/locales/pt/hue-bridge-config.json +40 -0
- package/huemagic/locales/pt/hue-bridge.html +96 -0
- package/huemagic/locales/pt/hue-bridge.json +26 -0
- package/huemagic/locales/pt/hue-brightness.html +70 -0
- package/huemagic/locales/pt/hue-brightness.json +37 -0
- package/huemagic/locales/pt/hue-buttons.html +59 -0
- package/huemagic/locales/pt/hue-buttons.json +42 -0
- package/huemagic/locales/pt/hue-contact.html +67 -0
- package/huemagic/locales/pt/hue-contact.json +35 -0
- package/huemagic/locales/pt/hue-group.html +87 -0
- package/huemagic/locales/pt/hue-group.json +46 -0
- package/huemagic/locales/pt/hue-light.html +97 -0
- package/huemagic/locales/pt/hue-light.json +44 -0
- package/huemagic/locales/pt/hue-magic.html +68 -0
- package/huemagic/locales/pt/hue-magic.json +26 -0
- package/huemagic/locales/pt/hue-motion.html +64 -0
- package/huemagic/locales/pt/hue-motion.json +36 -0
- package/huemagic/locales/pt/hue-rules.html +69 -0
- package/huemagic/locales/pt/hue-rules.json +30 -0
- package/huemagic/locales/pt/hue-scene.html +43 -0
- package/huemagic/locales/pt/hue-scene.json +32 -0
- package/huemagic/locales/pt/hue-speaker.html +80 -0
- package/huemagic/locales/pt/hue-speaker.json +38 -0
- package/huemagic/locales/pt/hue-syncbox-config.html +19 -0
- package/huemagic/locales/pt/hue-syncbox-config.json +25 -0
- package/huemagic/locales/pt/hue-syncbox.html +86 -0
- package/huemagic/locales/pt/hue-syncbox.json +30 -0
- package/huemagic/locales/pt/hue-temperature.html +69 -0
- package/huemagic/locales/pt/hue-temperature.json +33 -0
- package/huemagic/locales/tr/hue-automation.html +59 -0
- package/huemagic/locales/tr/hue-automation.json +33 -0
- package/huemagic/locales/tr/hue-bridge-config.html +31 -0
- package/huemagic/locales/tr/hue-bridge-config.json +40 -0
- package/huemagic/locales/tr/hue-bridge.html +96 -0
- package/huemagic/locales/tr/hue-bridge.json +26 -0
- package/huemagic/locales/tr/hue-brightness.html +70 -0
- package/huemagic/locales/tr/hue-brightness.json +37 -0
- package/huemagic/locales/tr/hue-buttons.html +59 -0
- package/huemagic/locales/tr/hue-buttons.json +42 -0
- package/huemagic/locales/tr/hue-contact.html +67 -0
- package/huemagic/locales/tr/hue-contact.json +35 -0
- package/huemagic/locales/tr/hue-group.html +87 -0
- package/huemagic/locales/tr/hue-group.json +46 -0
- package/huemagic/locales/tr/hue-light.html +97 -0
- package/huemagic/locales/tr/hue-light.json +44 -0
- package/huemagic/locales/tr/hue-magic.html +68 -0
- package/huemagic/locales/tr/hue-magic.json +26 -0
- package/huemagic/locales/tr/hue-motion.html +64 -0
- package/huemagic/locales/tr/hue-motion.json +36 -0
- package/huemagic/locales/tr/hue-rules.html +69 -0
- package/huemagic/locales/tr/hue-rules.json +30 -0
- package/huemagic/locales/tr/hue-scene.html +43 -0
- package/huemagic/locales/tr/hue-scene.json +32 -0
- package/huemagic/locales/tr/hue-speaker.html +80 -0
- package/huemagic/locales/tr/hue-speaker.json +38 -0
- package/huemagic/locales/tr/hue-syncbox-config.html +19 -0
- package/huemagic/locales/tr/hue-syncbox-config.json +25 -0
- package/huemagic/locales/tr/hue-syncbox.html +86 -0
- package/huemagic/locales/tr/hue-syncbox.json +30 -0
- package/huemagic/locales/tr/hue-temperature.html +69 -0
- package/huemagic/locales/tr/hue-temperature.json +33 -0
- package/huemagic/utils/api.js +158 -54
- package/huemagic/utils/color.js +20 -2
- package/huemagic/utils/merge.js +3 -2
- package/huemagic/utils/messages.js +506 -120
- package/huemagic/utils/sse.js +51 -0
- package/huemagic/utils/syncbox.js +84 -0
- package/package.json +19 -11
- package/.github/FUNDING.yml +0 -2
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/workflows/npm.yml +0 -18
- package/huemagic/locales/en-US/hue-bridge-config.json +0 -29
- package/huemagic/locales/en-US/hue-buttons.json +0 -34
- package/huemagic/locales/en-US/hue-light.json +0 -38
- /package/huemagic/locales/{en-US → en}/hue-bridge-config.html +0 -0
- /package/huemagic/locales/{en-US → en}/hue-magic.json +0 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "4e9f59149660a0d5",
|
|
4
|
+
"type": "tab",
|
|
5
|
+
"label": "Hue Temperature (example)",
|
|
6
|
+
"disabled": false,
|
|
7
|
+
"info": "Ejemplo de uso del nodo «Hue Temperature»"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "3a0ce323d25bbb89",
|
|
11
|
+
"type": "comment",
|
|
12
|
+
"z": "4e9f59149660a0d5",
|
|
13
|
+
"name": "PRIMEROS PASOS (haz doble clic)",
|
|
14
|
+
"info": "Haga clic en el nodo «Hue Temperatura» y seleccione de la lista tanto su bridge como un sensor. Si aún no ha configurado ningún bridge, se le pedirá que configure uno antes de poder terminar la configuración del nodo.\n\nEn cuanto el nodo esté conectado a su bridge y el sensor y haya desplegado los cambios en Node-RED, el nodo podrá recibir y ejecutar sus comandos. El nodo «Hue Temperatura» emite además automáticamente un mensaje en cuanto se actualiza el estado del sensor en el bridge (cambio de temperatura). Recibirá el estado actualizado y toda su información en el mensaje emitido.\n\nSi desea obtener más información sobre este nodo, los comandos posibles y los valores de salida, haga clic una vez sobre él en su flujo y vaya al icono del libro de Node-RED (esquina superior derecha).",
|
|
15
|
+
"x": 150,
|
|
16
|
+
"y": 40,
|
|
17
|
+
"wires": [],
|
|
18
|
+
"icon": "font-awesome/fa-question-circle"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "0ebb67a61954b5d7",
|
|
22
|
+
"type": "debug",
|
|
23
|
+
"z": "4e9f59149660a0d5",
|
|
24
|
+
"name": "Información",
|
|
25
|
+
"active": true,
|
|
26
|
+
"tosidebar": true,
|
|
27
|
+
"console": false,
|
|
28
|
+
"tostatus": false,
|
|
29
|
+
"complete": "true",
|
|
30
|
+
"targetType": "full",
|
|
31
|
+
"statusVal": "",
|
|
32
|
+
"statusType": "auto",
|
|
33
|
+
"x": 690,
|
|
34
|
+
"y": 160,
|
|
35
|
+
"wires": [],
|
|
36
|
+
"icon": "font-awesome/fa-info-circle"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "61bd0f6cab995030",
|
|
40
|
+
"type": "comment",
|
|
41
|
+
"z": "4e9f59149660a0d5",
|
|
42
|
+
"name": "Consultar el estado actual",
|
|
43
|
+
"info": "",
|
|
44
|
+
"x": 120,
|
|
45
|
+
"y": 120,
|
|
46
|
+
"wires": []
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "266a95ec791a4434",
|
|
50
|
+
"type": "inject",
|
|
51
|
+
"z": "4e9f59149660a0d5",
|
|
52
|
+
"name": "Estado",
|
|
53
|
+
"props": [
|
|
54
|
+
{
|
|
55
|
+
"p": "payload"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"repeat": "",
|
|
59
|
+
"crontab": "",
|
|
60
|
+
"once": false,
|
|
61
|
+
"onceDelay": 0.1,
|
|
62
|
+
"topic": "",
|
|
63
|
+
"payload": "{\"status\":true}",
|
|
64
|
+
"payloadType": "json",
|
|
65
|
+
"x": 110,
|
|
66
|
+
"y": 160,
|
|
67
|
+
"wires": [
|
|
68
|
+
[
|
|
69
|
+
"20a19938c9eb011c"
|
|
70
|
+
]
|
|
71
|
+
],
|
|
72
|
+
"icon": "node-red/alert.svg"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "64d6a759a6ee3c70",
|
|
76
|
+
"type": "comment",
|
|
77
|
+
"z": "4e9f59149660a0d5",
|
|
78
|
+
"name": "Encender / apagar el dispositivo",
|
|
79
|
+
"info": "",
|
|
80
|
+
"x": 120,
|
|
81
|
+
"y": 220,
|
|
82
|
+
"wires": []
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "ede50c625f3d6870",
|
|
86
|
+
"type": "inject",
|
|
87
|
+
"z": "4e9f59149660a0d5",
|
|
88
|
+
"name": "Encender",
|
|
89
|
+
"props": [
|
|
90
|
+
{
|
|
91
|
+
"p": "payload"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"repeat": "",
|
|
95
|
+
"crontab": "",
|
|
96
|
+
"once": false,
|
|
97
|
+
"onceDelay": 0.1,
|
|
98
|
+
"topic": "",
|
|
99
|
+
"payload": "true",
|
|
100
|
+
"payloadType": "bool",
|
|
101
|
+
"x": 110,
|
|
102
|
+
"y": 260,
|
|
103
|
+
"wires": [
|
|
104
|
+
[
|
|
105
|
+
"20a19938c9eb011c"
|
|
106
|
+
]
|
|
107
|
+
],
|
|
108
|
+
"icon": "font-awesome/fa-circle"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "e8cf23462e2c1f9a",
|
|
112
|
+
"type": "inject",
|
|
113
|
+
"z": "4e9f59149660a0d5",
|
|
114
|
+
"name": "Apagar",
|
|
115
|
+
"props": [
|
|
116
|
+
{
|
|
117
|
+
"p": "payload"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"repeat": "",
|
|
121
|
+
"crontab": "",
|
|
122
|
+
"once": false,
|
|
123
|
+
"onceDelay": 0.1,
|
|
124
|
+
"topic": "",
|
|
125
|
+
"payload": "false",
|
|
126
|
+
"payloadType": "bool",
|
|
127
|
+
"x": 110,
|
|
128
|
+
"y": 300,
|
|
129
|
+
"wires": [
|
|
130
|
+
[
|
|
131
|
+
"20a19938c9eb011c"
|
|
132
|
+
]
|
|
133
|
+
],
|
|
134
|
+
"icon": "font-awesome/fa-circle-o"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "20a19938c9eb011c",
|
|
138
|
+
"type": "hue-temperature",
|
|
139
|
+
"z": "4e9f59149660a0d5",
|
|
140
|
+
"skipevents": false,
|
|
141
|
+
"initevents": false,
|
|
142
|
+
"x": 500,
|
|
143
|
+
"y": 160,
|
|
144
|
+
"wires": [
|
|
145
|
+
[
|
|
146
|
+
"0ebb67a61954b5d7"
|
|
147
|
+
]
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
]
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "b82a4d69e1fa5c37",
|
|
4
|
+
"type": "tab",
|
|
5
|
+
"label": "Hue Automation (example)",
|
|
6
|
+
"disabled": false,
|
|
7
|
+
"info": "Exemple d'utilisation du nœud « Hue Automation »"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "c1b5f18c7d4e9206",
|
|
11
|
+
"type": "comment",
|
|
12
|
+
"z": "b82a4d69e1fa5c37",
|
|
13
|
+
"name": "PREMIERS PAS (double-cliquez ici)",
|
|
14
|
+
"x": 150,
|
|
15
|
+
"y": 40,
|
|
16
|
+
"wires": [],
|
|
17
|
+
"info": "Cliquez sur le nœud « Hue Automatisation » et sélectionnez dans la liste à la fois votre bridge et une automatisation. Si vous n'avez pas encore configuré de bridge, il vous sera demandé d'en configurer un avant de pouvoir terminer la configuration du nœud.\n\nLes automatisations que vous pouvez sélectionner ici sont celles que vous avez créées dans l'application Philips Hue, par exemple un réveil lumineux ou une routine de retour à la maison. HueMagic peut les activer et les désactiver, ce qui permet à vos flux de décider quand l'une de vos routines doit réellement s'exécuter.\n\nDès que le nœud est relié et que vous avez déployé les modifications dans Node-RED, le nœud émet automatiquement un message chaque fois que l'automatisation change. Vous recevrez le statut actualisé et toutes ses informations dans le message émis.\n\nSi vous souhaitez obtenir davantage d'informations sur ce nœud, les commandes possibles et les valeurs de sortie, cliquez une fois dessus dans votre flux et accédez à l'icône du livre de Node-RED (coin supérieur droit)."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "d2c6027d8e5f1317",
|
|
21
|
+
"type": "debug",
|
|
22
|
+
"z": "b82a4d69e1fa5c37",
|
|
23
|
+
"name": "Informations",
|
|
24
|
+
"x": 810,
|
|
25
|
+
"y": 160,
|
|
26
|
+
"wires": [],
|
|
27
|
+
"active": true,
|
|
28
|
+
"tosidebar": true,
|
|
29
|
+
"console": false,
|
|
30
|
+
"tostatus": false,
|
|
31
|
+
"complete": "true",
|
|
32
|
+
"targetType": "full",
|
|
33
|
+
"statusVal": "",
|
|
34
|
+
"statusType": "auto",
|
|
35
|
+
"icon": "font-awesome/fa-info-circle"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "c3d7138e9f602428",
|
|
39
|
+
"type": "comment",
|
|
40
|
+
"z": "b82a4d69e1fa5c37",
|
|
41
|
+
"name": "Interroger le statut actuel",
|
|
42
|
+
"x": 120,
|
|
43
|
+
"y": 120,
|
|
44
|
+
"wires": [],
|
|
45
|
+
"info": ""
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "i4e8249f0a713b539",
|
|
49
|
+
"type": "inject",
|
|
50
|
+
"z": "b82a4d69e1fa5c37",
|
|
51
|
+
"name": "Statut",
|
|
52
|
+
"x": 110,
|
|
53
|
+
"y": 160,
|
|
54
|
+
"wires": [
|
|
55
|
+
[
|
|
56
|
+
"s5f935a01b824c64a"
|
|
57
|
+
]
|
|
58
|
+
],
|
|
59
|
+
"props": [
|
|
60
|
+
{
|
|
61
|
+
"p": "payload"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"repeat": "",
|
|
65
|
+
"crontab": "",
|
|
66
|
+
"once": false,
|
|
67
|
+
"onceDelay": 0.1,
|
|
68
|
+
"topic": "",
|
|
69
|
+
"payload": "{\"status\":true}",
|
|
70
|
+
"payloadType": "json",
|
|
71
|
+
"icon": "node-red/alert.svg"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "c6a04b12c935d75b",
|
|
75
|
+
"type": "comment",
|
|
76
|
+
"z": "b82a4d69e1fa5c37",
|
|
77
|
+
"name": "Activer / désactiver l'automatisation",
|
|
78
|
+
"x": 120,
|
|
79
|
+
"y": 220,
|
|
80
|
+
"wires": [],
|
|
81
|
+
"info": ""
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "i7b15c23d0a46e86c",
|
|
85
|
+
"type": "inject",
|
|
86
|
+
"z": "b82a4d69e1fa5c37",
|
|
87
|
+
"name": "Activer",
|
|
88
|
+
"x": 110,
|
|
89
|
+
"y": 260,
|
|
90
|
+
"wires": [
|
|
91
|
+
[
|
|
92
|
+
"s5f935a01b824c64a"
|
|
93
|
+
]
|
|
94
|
+
],
|
|
95
|
+
"props": [
|
|
96
|
+
{
|
|
97
|
+
"p": "payload"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"repeat": "",
|
|
101
|
+
"crontab": "",
|
|
102
|
+
"once": false,
|
|
103
|
+
"onceDelay": 0.1,
|
|
104
|
+
"topic": "",
|
|
105
|
+
"payload": "true",
|
|
106
|
+
"payloadType": "bool",
|
|
107
|
+
"icon": "font-awesome/fa-circle"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "i8c26d34e1b57f97d",
|
|
111
|
+
"type": "inject",
|
|
112
|
+
"z": "b82a4d69e1fa5c37",
|
|
113
|
+
"name": "Désactiver",
|
|
114
|
+
"x": 110,
|
|
115
|
+
"y": 300,
|
|
116
|
+
"wires": [
|
|
117
|
+
[
|
|
118
|
+
"s5f935a01b824c64a"
|
|
119
|
+
]
|
|
120
|
+
],
|
|
121
|
+
"props": [
|
|
122
|
+
{
|
|
123
|
+
"p": "payload"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"repeat": "",
|
|
127
|
+
"crontab": "",
|
|
128
|
+
"once": false,
|
|
129
|
+
"onceDelay": 0.1,
|
|
130
|
+
"topic": "",
|
|
131
|
+
"payload": "false",
|
|
132
|
+
"payloadType": "bool",
|
|
133
|
+
"icon": "font-awesome/fa-circle-o"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "i9d37e45f2c680a8e",
|
|
137
|
+
"type": "inject",
|
|
138
|
+
"z": "b82a4d69e1fa5c37",
|
|
139
|
+
"name": "Basculer",
|
|
140
|
+
"x": 110,
|
|
141
|
+
"y": 340,
|
|
142
|
+
"wires": [
|
|
143
|
+
[
|
|
144
|
+
"s5f935a01b824c64a"
|
|
145
|
+
]
|
|
146
|
+
],
|
|
147
|
+
"props": [
|
|
148
|
+
{
|
|
149
|
+
"p": "payload"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"repeat": "",
|
|
153
|
+
"crontab": "",
|
|
154
|
+
"once": false,
|
|
155
|
+
"onceDelay": 0.1,
|
|
156
|
+
"topic": "",
|
|
157
|
+
"payload": "{\"toggle\":true}",
|
|
158
|
+
"payloadType": "json",
|
|
159
|
+
"icon": "font-awesome/fa-exchange"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "s5f935a01b824c64a",
|
|
163
|
+
"type": "hue-automation",
|
|
164
|
+
"z": "b82a4d69e1fa5c37",
|
|
165
|
+
"name": "",
|
|
166
|
+
"x": 590,
|
|
167
|
+
"y": 160,
|
|
168
|
+
"wires": [
|
|
169
|
+
[
|
|
170
|
+
"d2c6027d8e5f1317"
|
|
171
|
+
]
|
|
172
|
+
],
|
|
173
|
+
"skipevents": false,
|
|
174
|
+
"initevents": false
|
|
175
|
+
}
|
|
176
|
+
]
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "bf04a073.be4428",
|
|
4
|
+
"type": "tab",
|
|
5
|
+
"label": "Hue Bridge (example)",
|
|
6
|
+
"disabled": false,
|
|
7
|
+
"info": "Exemple d'utilisation du nœud « Hue Bridge »"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "bacc56ae.a92d1",
|
|
11
|
+
"type": "inject",
|
|
12
|
+
"z": "bf04a073.be4428",
|
|
13
|
+
"name": "TouchLink",
|
|
14
|
+
"props": [
|
|
15
|
+
{
|
|
16
|
+
"p": "payload"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"repeat": "",
|
|
20
|
+
"crontab": "",
|
|
21
|
+
"once": false,
|
|
22
|
+
"onceDelay": 0.1,
|
|
23
|
+
"topic": "",
|
|
24
|
+
"payload": "{\"touchLink\":true}",
|
|
25
|
+
"payloadType": "json",
|
|
26
|
+
"x": 120,
|
|
27
|
+
"y": 260,
|
|
28
|
+
"wires": [
|
|
29
|
+
[
|
|
30
|
+
"ea4668e7.fac4f"
|
|
31
|
+
]
|
|
32
|
+
],
|
|
33
|
+
"icon": "font-awesome/fa-hand-o-right"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "effb4d48.e09bb8",
|
|
37
|
+
"type": "debug",
|
|
38
|
+
"z": "bf04a073.be4428",
|
|
39
|
+
"name": "Informations",
|
|
40
|
+
"active": true,
|
|
41
|
+
"tosidebar": true,
|
|
42
|
+
"console": false,
|
|
43
|
+
"tostatus": false,
|
|
44
|
+
"complete": "true",
|
|
45
|
+
"targetType": "full",
|
|
46
|
+
"statusVal": "",
|
|
47
|
+
"statusType": "auto",
|
|
48
|
+
"x": 730,
|
|
49
|
+
"y": 160,
|
|
50
|
+
"wires": [],
|
|
51
|
+
"icon": "font-awesome/fa-info-circle"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "ea4668e7.fac4f",
|
|
55
|
+
"type": "hue-bridge-node",
|
|
56
|
+
"z": "bf04a073.be4428",
|
|
57
|
+
"autoupdates": true,
|
|
58
|
+
"skipglobalevents": false,
|
|
59
|
+
"initevents": false,
|
|
60
|
+
"x": 550,
|
|
61
|
+
"y": 160,
|
|
62
|
+
"wires": [
|
|
63
|
+
[
|
|
64
|
+
"effb4d48.e09bb8"
|
|
65
|
+
]
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "15e5be4.550a0c2",
|
|
70
|
+
"type": "inject",
|
|
71
|
+
"z": "bf04a073.be4428",
|
|
72
|
+
"name": "Modifier le nom du bridge",
|
|
73
|
+
"props": [
|
|
74
|
+
{
|
|
75
|
+
"p": "payload",
|
|
76
|
+
"v": "{\"settings\":{\"name\":\"HueMagic Bridge\"}}",
|
|
77
|
+
"vt": "json"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"p": "topic",
|
|
81
|
+
"v": "",
|
|
82
|
+
"vt": "str"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"repeat": "",
|
|
86
|
+
"crontab": "",
|
|
87
|
+
"once": false,
|
|
88
|
+
"onceDelay": 0.1,
|
|
89
|
+
"topic": "",
|
|
90
|
+
"payload": "{\"settings\":{\"name\":\"HueMagic Bridge\"}}",
|
|
91
|
+
"payloadType": "json",
|
|
92
|
+
"x": 160,
|
|
93
|
+
"y": 360,
|
|
94
|
+
"wires": [
|
|
95
|
+
[
|
|
96
|
+
"ea4668e7.fac4f"
|
|
97
|
+
]
|
|
98
|
+
],
|
|
99
|
+
"icon": "font-awesome/fa-toggle-on"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "808fb3ba34d8d872",
|
|
103
|
+
"type": "comment",
|
|
104
|
+
"z": "bf04a073.be4428",
|
|
105
|
+
"name": "Modifier les réglages du bridge",
|
|
106
|
+
"info": "",
|
|
107
|
+
"x": 130,
|
|
108
|
+
"y": 320,
|
|
109
|
+
"wires": []
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "6a2d7cbb05fc38a8",
|
|
113
|
+
"type": "comment",
|
|
114
|
+
"z": "bf04a073.be4428",
|
|
115
|
+
"name": "Appuyer à distance sur le bouton du bridge",
|
|
116
|
+
"info": "",
|
|
117
|
+
"x": 140,
|
|
118
|
+
"y": 220,
|
|
119
|
+
"wires": []
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "a1d6fdeca2c9c014",
|
|
123
|
+
"type": "comment",
|
|
124
|
+
"z": "bf04a073.be4428",
|
|
125
|
+
"name": "Récupérer des ressources précises du bridge",
|
|
126
|
+
"info": "",
|
|
127
|
+
"x": 150,
|
|
128
|
+
"y": 420,
|
|
129
|
+
"wires": []
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "5829dc7c634e6674",
|
|
133
|
+
"type": "inject",
|
|
134
|
+
"z": "bf04a073.be4428",
|
|
135
|
+
"name": "Récupérer toutes les lumières",
|
|
136
|
+
"props": [
|
|
137
|
+
{
|
|
138
|
+
"p": "payload"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"repeat": "",
|
|
142
|
+
"crontab": "",
|
|
143
|
+
"once": false,
|
|
144
|
+
"onceDelay": 0.1,
|
|
145
|
+
"topic": "",
|
|
146
|
+
"payload": "{\"fetch\":\"light\"}",
|
|
147
|
+
"payloadType": "json",
|
|
148
|
+
"x": 130,
|
|
149
|
+
"y": 460,
|
|
150
|
+
"wires": [
|
|
151
|
+
[
|
|
152
|
+
"ea4668e7.fac4f"
|
|
153
|
+
]
|
|
154
|
+
],
|
|
155
|
+
"icon": "node-red-contrib-huemagic/hue-light.svg"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"id": "09d15741c0c484b7",
|
|
159
|
+
"type": "inject",
|
|
160
|
+
"z": "bf04a073.be4428",
|
|
161
|
+
"name": "Récupérer tous les détecteurs de mouvement",
|
|
162
|
+
"props": [
|
|
163
|
+
{
|
|
164
|
+
"p": "payload"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"repeat": "",
|
|
168
|
+
"crontab": "",
|
|
169
|
+
"once": false,
|
|
170
|
+
"onceDelay": 0.1,
|
|
171
|
+
"topic": "",
|
|
172
|
+
"payload": "{\"fetch\":\"motion\"}",
|
|
173
|
+
"payloadType": "json",
|
|
174
|
+
"x": 170,
|
|
175
|
+
"y": 500,
|
|
176
|
+
"wires": [
|
|
177
|
+
[
|
|
178
|
+
"ea4668e7.fac4f"
|
|
179
|
+
]
|
|
180
|
+
],
|
|
181
|
+
"icon": "node-red-contrib-huemagic/hue-motion.svg"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"id": "fec4a7abbeecac4b",
|
|
185
|
+
"type": "inject",
|
|
186
|
+
"z": "bf04a073.be4428",
|
|
187
|
+
"name": "Récupérer tous les détecteurs de mouvement et lumières",
|
|
188
|
+
"props": [
|
|
189
|
+
{
|
|
190
|
+
"p": "payload"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"repeat": "",
|
|
194
|
+
"crontab": "",
|
|
195
|
+
"once": false,
|
|
196
|
+
"onceDelay": 0.1,
|
|
197
|
+
"topic": "",
|
|
198
|
+
"payload": "{\"fetch\":[\"motion\", \"light\"]}",
|
|
199
|
+
"payloadType": "json",
|
|
200
|
+
"x": 190,
|
|
201
|
+
"y": 540,
|
|
202
|
+
"wires": [
|
|
203
|
+
[
|
|
204
|
+
"ea4668e7.fac4f"
|
|
205
|
+
]
|
|
206
|
+
],
|
|
207
|
+
"icon": "font-awesome/fa-clone"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "35bf62bc11c94830",
|
|
211
|
+
"type": "comment",
|
|
212
|
+
"z": "bf04a073.be4428",
|
|
213
|
+
"name": "PREMIERS PAS (double-cliquez ici)",
|
|
214
|
+
"info": "Cliquez sur le nœud « Hue Bridge » et sélectionnez votre bridge. Si vous n'avez pas encore configuré de bridge, il vous sera demandé d'en configurer un avant de pouvoir terminer la configuration du nœud.\n\nDès que le nœud est relié à votre bridge et que vous avez déployé les modifications dans Node-RED, le statut du nœud devrait passer à « connected ». Le nœud peut alors recevoir et exécuter vos commandes. Le nœud « Hue Bridge » émet en outre automatiquement un message chaque fois que le statut d'une ressource donnée sur le bridge est actualisé. Vous trouverez le statut actualisé et toutes ses informations dans la propriété « updated » du message émis.\n\nVous pouvez également interroger à tout moment le statut actuel du nœud dans l'interface Node-RED en cliquant sur le bouton du nœud à côté de l'icône.\n\nSi vous souhaitez obtenir de plus amples informations sur ce nœud, les commandes possibles et les valeurs de sortie, cliquez une fois dessus dans votre flux et accédez à l'icône du livre de Node-RED (coin supérieur droit).",
|
|
215
|
+
"x": 150,
|
|
216
|
+
"y": 40,
|
|
217
|
+
"wires": [],
|
|
218
|
+
"icon": "font-awesome/fa-question-circle"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"id": "150fa3da0eea6bce",
|
|
222
|
+
"type": "comment",
|
|
223
|
+
"z": "bf04a073.be4428",
|
|
224
|
+
"name": "Interroger le statut actuel",
|
|
225
|
+
"info": "",
|
|
226
|
+
"x": 120,
|
|
227
|
+
"y": 120,
|
|
228
|
+
"wires": []
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "474d44e13140d4a8",
|
|
232
|
+
"type": "inject",
|
|
233
|
+
"z": "bf04a073.be4428",
|
|
234
|
+
"name": "Statut",
|
|
235
|
+
"props": [
|
|
236
|
+
{
|
|
237
|
+
"p": "payload"
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"repeat": "",
|
|
241
|
+
"crontab": "",
|
|
242
|
+
"once": false,
|
|
243
|
+
"onceDelay": 0.1,
|
|
244
|
+
"topic": "",
|
|
245
|
+
"payload": "{\"status\":true}",
|
|
246
|
+
"payloadType": "json",
|
|
247
|
+
"x": 110,
|
|
248
|
+
"y": 160,
|
|
249
|
+
"wires": [
|
|
250
|
+
[
|
|
251
|
+
"ea4668e7.fac4f"
|
|
252
|
+
]
|
|
253
|
+
],
|
|
254
|
+
"icon": "node-red/alert.svg"
|
|
255
|
+
}
|
|
256
|
+
]
|