node-red-contrib-zwave-js 7.0.0-alpha.9 → 7.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 CHANGED
@@ -6,25 +6,38 @@
6
6
  - The **GET_VALUE_RESPONSE** object is no longer partitioned with **response** and **valueId** properties.
7
7
  Instead, the returned object now represents a shape simular to **VALUE_UPDATED** events.
8
8
  The value will now be attached to the **currentValue** property, along with the Value ID on the same level.
9
- - Much like above, **GET_VALUE_METADATA_RESPONSE** has also been simplified, where the result is attached to **metadata**, with the Value ID ID on the same level.
9
+ - The **VALUE_DB** objects are no longer partitioned with **currentValue** and **valueId** properties.
10
+ Instead, the returned objects now include the Value ID on the same level as **currentValue**
11
+ - Much like above, **GET_VALUE_METADATA_RESPONSE** has also been simplified, where the result is attached to **metadata**, with the Value ID on the same level.
10
12
 
11
13
  **New Features**
12
- - **VALUE_UPDATED**, **VALUE_NOTIFICATION**, and **GET_VALUE_RESPONSE** now contain a **normalizedObject** property.
14
+ - **VALUE_UPDATED**, **VALUE_NOTIFICATION**, **GET_VALUE_RESPONSE** and **VALUE_DB** now contain a **normalizedObject** property.
13
15
  This property aims to make it easy to utilise the value change, in that it summarises the event with easy to understand property names.
14
- - New UI Layout - We have overhauled the UI, and focused on making it fit more into the node red style guide.
15
- - An entierly new User Interface to render a Network Mesh Map.
16
+ - An entierly new side panel UI. This redesign aims to better align with the Node RED style guide.
17
+ - An entierly new Network Mesh Map, that is now based on routing header information instead of Node Neighbours.
16
18
  - Network statistics now include route information that is obtained during communication, and is used
17
19
  as the basis of the new map.
18
20
  - Multiple ZWave sticks/Networks are now supported (finally)
21
+ - All message will contain a property of **networkId** to indentify the source network.
22
+ **WARNING**: Before adding another network - please ensure you open up the currently configured Controller
23
+ and save it again (Remembering to deploy) - this will allign the current network to ID 1
24
+ - Improved Recovery when the USB/ZWave transceiver has been removed/re-introduced.
25
+ - This is possible with a custom Watchdog implmentation, this introduces a new event type of **WATCHDOG**
26
+ Which will describe what is happening.
19
27
 
20
28
  **Fixes**
21
29
  - Nodes that are not marked as ready can now be removed correctly.
22
30
  - Fix potential issue when **httpAdminRoot** has a custom value.
31
+ - Various performance, stability and optimisations to the UI.
32
+ - UI Interaction is no longer picked up by Device Nodes.
23
33
 
24
34
  **Changes**
25
35
  - Bump serialport to V10
26
36
  - Bump ZWJS to V9
27
37
  - New mapping algorithm - The new algorithm results in a much needed accuracy improvement, and is far superior to previous methods.
38
+ - Nodes have now been named more clearly
39
+ - Live Camera QR Code Scanning has been removed
40
+
28
41
 
29
42
 
30
43
  - 6.5.5
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  ![npms.io (maintenance)](https://img.shields.io/npms-io/maintenance-score/node-red-contrib-zwave-js)
9
9
  ![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/node-red-contrib-zwave-js)
10
10
 
11
- The most powerful/fully integrated Z-Wave node for Node-RED based on Z-Wave JS. If you want a fully featured Z-Wave framework in your Node-RED instance, look no further.
11
+ The most powerful, high performing and highly polished Z-Wave node for Node-RED based on Z-Wave JS. If you want a fully featured Z-Wave framework in your Node-RED instance, you have found it.
12
12
 
13
13
  > ### ...node-red-contrib-zwave-js is _hands down the best Z-Wave to Node-RED option on the planet._
14
14
  > [@CRXPorter](https://github.com/crxporter), July 2021.
@@ -22,6 +22,7 @@ The most powerful/fully integrated Z-Wave node for Node-RED based on Z-Wave JS.
22
22
  - The Ability to capture commands for later use.
23
23
  - A deep integrated UI within in node red
24
24
  - Full Z-Wave control inside Node-RED including:
25
+ - Multi Stick/Network support
25
26
  - Device inclusion/exclusion wizard
26
27
  - S0 and S2 security support
27
28
  - Supports Security S2 Smart Start (Mobile companion web application)
@@ -46,10 +47,10 @@ Included with the contrib is a [user interface](https://github.com/zwave-js/node
46
47
  ![Image](./GHImages/Demo.png)
47
48
 
48
49
  There are 4 node types included with this contrib ([click here](https://github.com/zwave-js/node-red-contrib-zwave-js/wiki/node-types) for full details about these nodes)
49
- - `zwave-js`: this node is used to set up a connection to your USB Z-Wave controller, set security keys, and manage various advanced controller options
50
- - `zwave-device`: this node is used to send and receive messages to one or more of the Z-Wave devices on your network
51
- - `event-filter`: this node is used to filter and sort messages from your Z-Wave devices
52
- - `cmd-factory`: this node simplifies creation of messages being sent to your Z-Wave devices
50
+ - `ZWave Controller`: this node is used to set up a connection to your USB Z-Wave controller, set security keys, and manage various advanced controller options
51
+ - `ZWave Device`: this node is used to send and receive messages to one or more of the Z-Wave devices on your network
52
+ - `Event Filter`: this node is used to filter and sort messages from your Z-Wave devices
53
+ - `CMD Factory`: this node simplifies creation of messages being sent to your Z-Wave devices
53
54
 
54
55
  ### Getting Started Links
55
56
  - [Installing](https://github.com/zwave-js/node-red-contrib-zwave-js/wiki/getting-started): system requirements and install instructions
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "node-red-contrib-zwave-js",
3
- "version": "7.0.0-alpha.9",
3
+ "version": "7.0.0",
4
4
  "license": "MIT",
5
5
  "description": "An extremely powerful, easy to use, and feature rich Z-Wave node for Node Red, based on Z-Wave JS.",
6
6
  "dependencies": {
7
7
  "limiter": "^2.1.0",
8
8
  "lodash": "^4.17.21",
9
9
  "serialport": "^10.4.0",
10
- "winston": "^3.7.1",
10
+ "winston": "^3.7.2",
11
11
  "winston-transport": "^4.5.0",
12
- "zwave-js": "^9.0.1"
12
+ "zwave-js": "^9.2.1"
13
13
  },
14
14
  "devDependencies": {
15
- "eslint": "^8.12.0",
15
+ "eslint": "^8.14.0",
16
16
  "prettier": "^2.6.2"
17
17
  },
18
18
  "scripts": {
Binary file
Binary file
@@ -1,13 +1,49 @@
1
1
  <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Node RED Z-Wave JS Network Mesh</title>
5
- <script
6
- type="text/javascript"
7
- src="./cytoscape.min.js"
8
- ></script>
9
- </head>
10
- <body>
2
+ <html style="height: 100vh">
3
+ <head>
4
+ <title>Node RED Z-Wave JS Network Mesh</title>
5
+ <script type="text/javascript" src="{BASE}/jquery-3.6.0.min.js"></script>
6
+ <script type="text/javascript" src="{BASE}/cytoscape.min.js"></script>
7
+ <script src="https://unpkg.com/weaverjs@1.2.0/dist/weaver.min.js"></script>
8
+ <script type="text/javascript" src="{BASE}/cytoscape-spread.js"></script>
9
+ <script type="text/javascript" src="{BASE}/maprender.js"></script>
11
10
 
12
- </body>
13
- </html>
11
+ <style>
12
+ #Details {
13
+ width: 400px;
14
+ height: 400px;
15
+ background-color: rgb(241, 241, 241);
16
+ font-size: 14px;
17
+ font-family: 'Helvetica Neue Light', 'Calibiri Light', Roboto;
18
+ -webkit-border-radius: 6px;
19
+ -moz-border-radius: 6px;
20
+ border-radius: 6px;
21
+ border-style: solid;
22
+ border-width: 1px;
23
+ -webkit-box-shadow: 10px 10px 5px -7px rgba(0, 0, 0, 0.75);
24
+ -moz-box-shadow: 10px 10px 5px -7px rgba(0, 0, 0, 0.75);
25
+ box-shadow: 10px 10px 5px -7px rgba(0, 0, 0, 0.75);
26
+ padding: 10px;
27
+ box-sizing: content-box;
28
+ }
29
+ </style>
30
+ </head>
31
+ <body style="height: 100%">
32
+ <div style="display: flex; width: 100%; height: 100%">
33
+ <div id="Details">
34
+ <span
35
+ >Select A node to view information.<br /><br />NOTE: Disconnected
36
+ Nodes will have their routes determined, after they first
37
+ communicate.</span
38
+ >
39
+ </div>
40
+ <div
41
+ id="NetworkMesh"
42
+ style="width: calc(100% - 400px); height: 100%"
43
+ ></div>
44
+ </div>
45
+ <script>
46
+ Render('{BASE}');
47
+ </script>
48
+ </body>
49
+ </html>