@bitpoolos/edge-bacnet 1.2.7 → 1.3.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 +76 -0
- package/README.md +20 -2
- package/bacnet_client.js +1662 -1572
- package/bacnet_device.js +122 -60
- package/bacnet_gateway.html +115 -71
- package/bacnet_gateway.js +165 -48
- package/bacnet_read.html +1025 -596
- package/bacnet_read.js +68 -84
- package/bacnet_server.js +187 -186
- package/bacnet_write.html +971 -738
- package/common.js +40 -28
- package/package.json +1 -1
- package/resources/bitArray.js +167 -0
- package/resources/node-bacstack-ts/dist/lib/asn1.js +16 -5
- package/resources/node-bacstack-ts/dist/lib/client.js +5 -6
- package/resources/style.css +321 -0
- package/treeBuilder.js +533 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.3.0] - 16-05-2024
|
|
4
|
+
|
|
5
|
+
### Summary
|
|
6
|
+
|
|
7
|
+
This release includes several new features, bug fixes, and performance improvements.
|
|
8
|
+
|
|
9
|
+
### New Features
|
|
10
|
+
|
|
11
|
+
- Moved device "Online" & "Offline" status from coloured text to a green or red circle preceeding the device name
|
|
12
|
+
|
|
13
|
+
- Implemented MSTP device count icon
|
|
14
|
+
|
|
15
|
+
- Introduced separate MSTP NET{networkNumber} folders for child MSTP devices for logical separation
|
|
16
|
+
|
|
17
|
+
- Updated Add All button to add all sub MSTP devices if parent IP device button is selected
|
|
18
|
+
|
|
19
|
+
- Introduced Right click context menu for all device types present in Device List:
|
|
20
|
+
- Purge Device
|
|
21
|
+
- Purges device from active model, removing it from the device list
|
|
22
|
+
- Update Points
|
|
23
|
+
- Triggers point updating function for selected device, beneficial for large bacnet networks
|
|
24
|
+
- Add All Points
|
|
25
|
+
- Same as Add All button
|
|
26
|
+
- Remove All Points
|
|
27
|
+
- Same as Remove All button
|
|
28
|
+
- Set device name
|
|
29
|
+
- Sets device Display Name, which is used in the output of read operations
|
|
30
|
+
|
|
31
|
+
- Introduced Right click context menu for all points present in the Device List:
|
|
32
|
+
- Set point Name
|
|
33
|
+
- Sets point display name, used in the output of read operations
|
|
34
|
+
- Update point
|
|
35
|
+
- Triggers point update function, forces latest present value
|
|
36
|
+
|
|
37
|
+
- Introduced Export and Import of ReadList in the read node.
|
|
38
|
+
- This feature Exports a light weight JSON file with all devices and points added to the Read List. This allows the user to rename all of the devices and points in the Read List via a plain text editor, then Import the modified file. The process of importing will update the Display Names of desired points and device. This feature was introduced with the intention of streamlinibg the naming convetions and processes used for site deployment.
|
|
39
|
+
|
|
40
|
+
- Added support for debian systems, displays All Interfaces (0.0.0.0) in network adapter property
|
|
41
|
+
|
|
42
|
+
- Added publish status under gateway node
|
|
43
|
+
|
|
44
|
+
- Implemented usage of gateway and read node names in MQTT topics
|
|
45
|
+
- {gateway node name}/{read node name}/pointName
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Bug Fixes
|
|
50
|
+
|
|
51
|
+
- UI Bug Fixes
|
|
52
|
+
|
|
53
|
+
- Write to MSTP devices bug fix
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Performance Improvements
|
|
57
|
+
|
|
58
|
+
- Added support for a wider range of devices.
|
|
59
|
+
|
|
60
|
+
- Added getProtocolsSupported request to identify bacnet service support for each device
|
|
61
|
+
|
|
62
|
+
- Added apduSize based readPropertyMultiple packaging for reduced network requests
|
|
63
|
+
|
|
64
|
+
- Refactored device tree function and implemented treeBuilder.
|
|
65
|
+
|
|
66
|
+
- Refactored device object building / querying process
|
|
67
|
+
|
|
68
|
+
- Refactored user injected read function
|
|
69
|
+
|
|
70
|
+
### Other Changes
|
|
71
|
+
|
|
72
|
+
- Added Changelog
|
|
73
|
+
|
|
74
|
+
- Updated Readme for better node updating.
|
|
75
|
+
|
|
76
|
+
- Limited support to a set list of bacnet object types. The intention with this change is to improve performance by disregarding non-essential point types.
|
package/README.md
CHANGED
|
@@ -34,6 +34,25 @@ or using NPM from the command line.
|
|
|
34
34
|
$ npm install @bitpoolos/edge-bacnet
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
+
## Updating
|
|
38
|
+
|
|
39
|
+
The module can be updated via the Node-RED pallette manager, or via the npm cli.
|
|
40
|
+
|
|
41
|
+
```javascript
|
|
42
|
+
Upon updating to the latest version, we highly recommend:
|
|
43
|
+
- Check out the changelog for latest feature notes and updates
|
|
44
|
+
- Remove all @bitpoolos/edge-bacnet nodes from all flows
|
|
45
|
+
- Deploy all flows
|
|
46
|
+
- Restart Node-RED
|
|
47
|
+
- Insert and reconfigure new @bitpoolos/edge-bacnet nodes.
|
|
48
|
+
```
|
|
49
|
+
Main reason being, the behaviour of the bacnet client binding to network interfaces can remain stagnent if the Node-RED service is not restarted. This also ensures that all of the nodes are correctly configured as there are often properties added and removed from nodes.
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## Changelog
|
|
53
|
+
|
|
54
|
+
[Changelog](CHANGELOG.md)
|
|
55
|
+
|
|
37
56
|
## Notes
|
|
38
57
|
|
|
39
58
|
- This project is still in development and by no means perfect.
|
|
@@ -44,13 +63,12 @@ $ npm install @bitpoolos/edge-bacnet
|
|
|
44
63
|
|
|
45
64
|
## Resources
|
|
46
65
|
- [bitpool.com](https://www.bitpool.com/) - who are we.
|
|
47
|
-
- [app.bitpool.com](https://app.bitpool.com/) - our platform.
|
|
48
66
|
- [wiki.bitpool.com](https://wiki.bitpool.com/) - helpful docs.
|
|
49
67
|
- [hub.docker.com](https://hub.docker.com/r/bitpoolos/bitpool-edge) - pre-canned nodes.
|
|
50
68
|
|
|
51
69
|
## Contributions
|
|
52
70
|
|
|
53
|
-
This node utilises
|
|
71
|
+
This node utilises v1.0.0-beta.2 of the node-bacnet package (https://github.com/HILA-TECH/ts-node-bacstack). None of the functionality here would be possible without the fantastic work done by the contributors of that project, and the original node-bacstack implementation (https://github.com/fh1ch/node-bacstack).
|
|
54
72
|
|
|
55
73
|
## License
|
|
56
74
|
|