node-red-contrib-huemagic 4.2.0 → 4.2.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 CHANGED
@@ -2,7 +2,76 @@
2
2
 
3
3
  # Changelog
4
4
 
5
- ### v3.0.0 (latest)
5
+ ### v4.2.1 (latest)
6
+
7
+ * Commands are now re-executed up to three times if they fail due to a bridge timeout
8
+ * The "image" option on the "Hue Light" node will now set the corresponding gradient colors on supported resources
9
+ * Better handling of broken connections to the bridge ([#309](https://github.com/Foddy/node-red-contrib-huemagic/pull/309)) (thx)
10
+ * Fixed an error with the "Hue Scenes" node on newer bridge firmwares ([#335](https://github.com/Foddy/node-red-contrib-huemagic/issues/335)) ([#339](https://github.com/Foddy/node-red-contrib-huemagic/pull/339)) (thx)
11
+ * Fixed an uncaught exception on newer bridge firmwares ([#302](https://github.com/Foddy/node-red-contrib-huemagic/issues/302)) ([#309](https://github.com/Foddy/node-red-contrib-huemagic/pull/309)) (thx)
12
+ * Updated dependencies to the latest versions
13
+ * Fixed some typos here and there
14
+
15
+ ### v4.1.0
16
+
17
+ * New queue worker throttles the number of parallel requests to the bridge to avoid 503 API limit errors (can be configured in the Bridge configuration)
18
+ * Resources are now alphabetically sorted in the node´s configuration interface ([#282](https://github.com/Foddy/node-red-contrib-huemagic/pull/282)) (thx)
19
+ * "Hue Brightness" node was optimized to output more accurate "dark" and "dayLight" values
20
+ * Several optimizations in the documentation of some nodes
21
+
22
+ ### v4.0.5
23
+
24
+ * The "Hue Group" node now contains the "resources" information with all linked resources behind the group/zone
25
+ * Fixed an issue that caused Node-RED to restart if a command was sent before a node was initialized
26
+
27
+ ### v4.0.4
28
+
29
+ * Fixed an issue with the bridge config node checking for updates too frequently ([#246](https://github.com/Foddy/node-red-contrib-huemagic/issues/246#issuecomment-1009376442))
30
+ * Fixed an issue with multiple bridges configured
31
+
32
+ ### v4.0.3
33
+
34
+ > **Attention!** HueMagic v4+ has been almost completely rewritten under the hood and requires at least the (square-shaped) Philips Hue Bridge firmware 1948086000+ from November 1st, 2021 ([Upgrade instructions](https://www.lighting.philips.com/content/B2C/en_US/microsites/meethue/marketing-catalog/huewireless_ca/support/security-advisory/general/where-and-how-can-i-update-my-hue-system-with-the-latest-software.html)) and Node-RED v1+ ([Upgrade instructions](https://nodered.org/docs/getting-started/local#upgrading-node-red)). If you are upgrading from a previous HueMagic version to the v4, you will have to reconfigure (not completely rebuild) all nodes by clicking them and selecting the appropriate device from the list. This also applies to nodes / functions that are operated in universal mode, as the numeric identifiers of the latest Philips Hue API version have been replaced in UUIDs. The nodes "Hue Switch", "Hue Button" & "Hue Tap" have been replaced in v4 by the universal and uniform node "Hue Buttons", which works with all button / switch devices that are connected to the Hue Bridge (please note here also the new API in the documentation). The request and return objects of the individual nodes are largely compatible with older HueMagic versions - with the exception of the nodes "Hue Bridge", "Hue Buttons", "Hue Scene" & "Hue Group". These need to be adjusted in the v4. Make sure that you meet the minimum technical requirements and have a quiet minute for the migration before upgrading to the v4.
35
+
36
+ * HueMagic speaks now directly with the bridge without any submodules *(huejay dependency removed)*
37
+ * Migrated to the newest CLIP/v2 API version from the Philips Hue bridge
38
+ * Nodes are now updated via push notifications (SSE) from the bridge instead of periodic polling
39
+ * Instant "current status" queries on each node with no loading time
40
+ * "Hue Buttons" node supports all new Philips Hue buttons/switches (e.g. Dimmer Switch v2, Hue Wall Switch…)
41
+ * All nodes provide additional property information in the output (check docs)
42
+ * New universal node "Hue Buttons" replaces the following nodes: "Hue Switch", "Hue Button", "Hue Tap"
43
+ * New "updated" object for all nodes, which only contains the properties that have been updated since the last state
44
+ * New configuration option to suppress first message after node initialization (for all nodes)
45
+ * New gradient color setting for compatible light sources (in "Hue Light" node)
46
+ * New inject button for almost all nodes, which triggers the current status of a node
47
+ * New "universal mode" support for the "Hue Rule" node
48
+ * New SVG-version of each node icon for higher quality rendering in the Node-RED UI
49
+ * New and full featured examples for each node right inside Node-RED
50
+ * New color mix feature in "Hue Light" nodes with the ability to mix the current light color with another
51
+ * New automatic brightness support based on the current time for "Hue Light" & "Hue Group" nodes
52
+ * New "Superhero", "Neon City" & "Christmas" (for next year, sorry) animations in "Hue Magic" node
53
+ * The custom alert effect on "Hue Light" & "Hue Group" nodes can now also be configured in brightness
54
+ * All nodes will now also forward the last command that has been applied ([#249](https://github.com/Foddy/node-red-contrib-huemagic/issues/249))
55
+ * "Hue Temperature" & "Hue Brightness" nodes can now also be activated & deactivated
56
+ * "Hue Light" & "Hue Group" nodes can now also receive XY color settings
57
+ * "Hue Light" & "Hue Group" can now also receive a named color temperature setting
58
+ * "Hue Light" & "Hue Group" nodes can now receive future brightness states in "turned off" mode ([#244](https://github.com/Foddy/node-red-contrib-huemagic/issues/244))
59
+ * Automatic light temperature setting outputs now values from 153 (coldest) to 500 (warmest)
60
+ * Automatic color correction based on the light´s capabilities for more accurate color settings
61
+ * Optimized node editor configuration UI to better match the current Node-RED´s UI
62
+ * The option for "automatic firmware updates" on the bridge moved to the bridge configuration node
63
+ * "Hue Group" node does no longer contain the "msg.info.model" & "msg.info.class" property
64
+ * Fixed timeout connection issues to the bridge
65
+ * Fixed an issue with non stopping custom animations ([#222](https://github.com/Foddy/node-red-contrib-huemagic/issues/222)), ([#224](https://github.com/Foddy/node-red-contrib-huemagic/issues/224)) & ([#226](https://github.com/Foddy/node-red-contrib-huemagic/pull/226)) (thx)
66
+ * Node-RED will no longer crash if there is no active connection to the bridge ([#237](https://github.com/Foddy/node-red-contrib-huemagic/issues/237))
67
+ * Fixed an issue that prevented the light / group from not reporting its own status when queried & node events were deactivated ([#248](https://github.com/Foddy/node-red-contrib-huemagic/issues/248))
68
+ * Fixed an issue with nodes in universal mode ([#245](https://github.com/Foddy/node-red-contrib-huemagic/issues/245))
69
+ * A possible attack target has been fixed ([#217](https://github.com/Foddy/node-red-contrib-huemagic/issues/217))
70
+ * Moved away from "moment.js" to "Day.js" for date/time formatting inside the nodes
71
+ * Updated README and help section on each node
72
+ * Updated dependencies to the latest version
73
+
74
+ ### v3.0.0
6
75
  * Hue Motion, Hue Brightness, Hue Tap, Hue Switch & Hue Button nodes can now receive a status request
7
76
  * New "Universal Mode" for the Hue Motion, Hue Brightness, Hue Tap, Hue Switch & Hue Button nodes
8
77
  * The "colorTemp" property for Hue Light & Hue Group nodes can now also be set to "cold", "normal", "warm" or "auto"
package/README.md CHANGED
@@ -796,7 +796,7 @@ If the status of the node has changed via a certain command, the entire command
796
796
 
797
797
  # Changelog
798
798
 
799
- ### v4.2.0 (latest)
799
+ ### v4.2.1 (latest)
800
800
 
801
801
  * Commands are now re-executed up to three times if they fail due to a bridge timeout
802
802
  * The "image" option on the "Hue Light" node will now set the corresponding gradient colors on supported resources
@@ -878,15 +878,6 @@ If the status of the node has changed via a certain command, the entire command
878
878
  * Fixed an error with future states and the HTTP request node ([#200](https://github.com/Foddy/node-red-contrib-huemagic/pull/200))
879
879
  * Other optimizations, dependency updates and clean up
880
880
 
881
- ### v2.8.6
882
- * Optimized random color mode for Hue Magic, Hue Light & Hue Group nodes ([#190](https://github.com/Foddy/node-red-contrib-huemagic/pull/190))
883
- * New Hue Button node ([#191](https://github.com/Foddy/node-red-contrib-huemagic/pull/191))
884
- * Updated README and Hue Button node docs (+ localized in German)
885
-
886
- ### v2.8.2
887
- * Fixed an issue with Hue Light & Hue Group nodes on extended mode ([#179](https://github.com/Foddy/node-red-contrib-huemagic/issues/179))
888
- * Dependency updates
889
-
890
881
  ### Previous versions
891
882
  A complete overview of the updates can be viewed in the [changelog](https://github.com/Foddy/node-red-contrib-huemagic/blob/master/CHANGELOG.md)…
892
883
 
@@ -162,7 +162,7 @@ module.exports = function(RED)
162
162
  function(callback, results)
163
163
  {
164
164
  bridge.patch("motion", tempSensorID, patchObject)
165
- .then(function() { if(done) { callback(null, true); })
165
+ .then(function() { if(done) { callback(null, true); }})
166
166
  .catch(function(errors) { callback(errors, null); });
167
167
  },
168
168
  function(errors, success)
@@ -197,4 +197,4 @@ module.exports = function(RED)
197
197
  }
198
198
 
199
199
  RED.nodes.registerType("hue-motion", HueMotion);
200
- }
200
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-huemagic",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Philips Hue node to control bridges, lights, groups, scenes, rules, taps, switches, buttons, motion sensors, temperature sensors and Lux sensors using Node-RED.",
5
5
  "author": "foddy",
6
6
  "homepage": "https://github.com/Foddy/node-red-contrib-huemagic",
@@ -43,7 +43,7 @@
43
43
  }
44
44
  },
45
45
  "engines": {
46
- "node": ">=14.0.0"
46
+ "node": ">=12.0.0"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"