@bitpoolos/edge-bacnet 1.4.7 → 1.5.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
@@ -1,138 +1,168 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.5.1] - 13-11-2024
4
+
5
+ ### Summary
6
+
7
+ Npm package update - iconv-lite. Fix for incorrect character string decoding bug
8
+
9
+ Added dialog confirmation to rebuild data model. Fixed modal duplication bug in confirmation service implementation.
10
+
11
+ ## [1.5.0] - 31-10-2024
12
+
13
+ ### Summary
14
+
15
+ Major feature release - Port range binding
16
+
17
+ Large amount of bug fixes
18
+
19
+ Added error string to Full Object payload. Contains a BACnet string where an error is found for point, otherwise contains "none".
20
+
21
+ Proceed with caution as a correct port range has to be established in data model in order to continue uptime on existing sites. Doing a device discovery will update device model with port number.
22
+
23
+ Best method to update this version on existing installs:
24
+
25
+ - Install v1.5.0
26
+ - Restart node-red / docker container
27
+ - Add new port range entry to port range matrix in gateway node - Start: 47808 to End: 47808. Or any range that meets your requirements
28
+ - Deploy changes
29
+ - Restart node-red / docker container again.
30
+ - Inject manual discovery to gateway node a couple times
31
+
32
+ It is recommended you back up: your node-red flows and gateway Discovery tab device list, incase something goes wrong.
33
+
3
34
  ## [1.4.6] - 17-09-2024
35
+
4
36
  ### Summary
5
37
 
6
38
  Minor fixes.
7
39
 
8
- Wrapped updateDeviceName function with promise to avoid network conflict for clients.
40
+ Wrapped updateDeviceName function with promise to avoid network conflict for clients.
9
41
 
10
42
  Fixed UI styling bugs, primarily with long names and numbers wrapping.
11
43
 
12
- Added ability to set device name of dummy MSTP routers.
44
+ Added ability to set device name of dummy MSTP routers.
13
45
 
14
46
  Improved error handling for querying devices and building point json structures.
15
47
 
16
48
  Fixed read node point export bug.
17
49
 
18
- Excluded commas via point name conditioning
50
+ Excluded commas via point name conditioning
19
51
 
20
52
  Fixed gateway port assignment bug - ability to communicate on different ports working now.
21
53
 
22
54
  More async / await refactoring.
23
55
 
24
-
25
56
  ## [1.4.5] - 16-08-2024
57
+
26
58
  ### Summary
27
59
 
28
60
  User interface redesign and restyle. Predominantly colors, buttons, fonts, and placement of UI components.
29
61
 
30
- Added timestamp update, and online/offline status update for points when an error has occured during the network request for present value. Use in Simple with status and Full Object payload types.
31
-
62
+ Added timestamp update, and online/offline status update for points when an error has occured during the network request for present value. Use in Simple with status and Full Object payload types.
32
63
 
33
64
  ## [1.4.4] - 08-08-2024
34
- ### Summary
65
+
66
+ ### Summary
35
67
 
36
68
  Minor updates.
37
69
 
38
- Added device details to meta property when full object property type is selected.
70
+ Added device details to meta property when full object property type is selected.
39
71
 
40
72
  Implemented applyDisplayName feature. Triggered via:
41
- ```javascript
42
- applyDisplayNames = true
73
+
74
+ ```javascript
75
+ applyDisplayNames = true;
43
76
  ```
44
- property in an inject node, directly linked to a read node. Function flow: inject applyDisplayNames = true to read node -> read node passes msg to gateway node -> gateway node updates bacnet model for device and point display names.
45
77
 
46
- This feature is for use in scenarios where the flows.json or node json structure is programattically generated with a prefilled pointsToRead property. Some devices and points may need displayNames updating.
78
+ property in an inject node, directly linked to a read node. Function flow: inject applyDisplayNames = true to read node -> read node passes msg to gateway node -> gateway node updates bacnet model for device and point display names.
47
79
 
80
+ This feature is for use in scenarios where the flows.json or node json structure is programattically generated with a prefilled pointsToRead property. Some devices and points may need displayNames updating.
48
81
 
49
82
  ## [1.4.3] - 01-08-2024
50
- ### Summary
83
+
84
+ ### Summary
51
85
 
52
86
  Minor updates.
53
87
 
54
- Added refresh button to readList tab on read node, to handle scenarios where read node jsons may be programatically created.
88
+ Added refresh button to readList tab on read node, to handle scenarios where read node jsons may be programatically created.
55
89
 
56
- Added "Use device name in topic" topic property in inject and read nodes. This option toggles whether or not the device name is included in the msg.topic.
90
+ Added "Use device name in topic" topic property in inject and read nodes. This option toggles whether or not the device name is included in the msg.topic.
57
91
 
58
92
  Merge github PR 19. Added ability to configure the creation of a BacnetServer object:
93
+
59
94
  ```javascript
60
- payload = {
61
- value: 12,
62
- resolution: 0,
63
- priorityArray: 0,
64
- units: 0,
65
- }
95
+ payload = {
96
+ value: 12,
97
+ resolution: 0,
98
+ priorityArray: 0,
99
+ units: 0,
100
+ };
66
101
  ```
67
102
 
68
103
  Inject nodes may need to be deleted and replaced. Try deploying node-red 2 times to instantiate the new deviceName property.
69
104
 
70
-
71
105
  ## [1.4.2] - 23-07-2024
72
- ### Summary
73
106
 
74
- Improved UI tree generation, fixing some unique scenarios where devices were not being correctly added.
107
+ ### Summary
108
+
109
+ Improved UI tree generation, fixing some unique scenarios where devices were not being correctly added.
75
110
 
76
- Added new payload type: Individual JSON. This publishes JSON payloads to a point level, rather than to a device or property level.
111
+ Added new payload type: Individual JSON. This publishes JSON payloads to a point level, rather than to a device or property level.
77
112
 
78
113
  Added payload and output types to be configured via Inject node. Any checked options in the inject node will take priority over read node options. Note - to use read node output types only, please deselect all inject node output options.
79
114
 
80
- Added dumb BACnet parent devices to UI tree, for unique situations where MSTP devices are on a network without a parent IP device.
115
+ Added dumb BACnet parent devices to UI tree, for unique situations where MSTP devices are on a network without a parent IP device.
81
116
 
82
117
  Bug fixes:
83
- - Importing read list was incorrectly generating UI
84
- - Block per device JSON payloads were not using DisplayName and JSON key
85
- - Added node-red context variable to monitor if writeProperty event has been subscribed to, avoiding a new subscription for every node-red deploy.
86
- - Fixed issue requiring Bacnet server to be constantly enabled in order for the node to function.
87
118
 
119
+ - Importing read list was incorrectly generating UI
120
+ - Block per device JSON payloads were not using DisplayName and JSON key
121
+ - Added node-red context variable to monitor if writeProperty event has been subscribed to, avoiding a new subscription for every node-red deploy.
122
+ - Fixed issue requiring Bacnet server to be constantly enabled in order for the node to function.
88
123
 
89
- No nodes need to be deleted and replaced for this update.
124
+ No nodes need to be deleted and replaced for this update.
90
125
 
91
126
  ## [1.4.1] - 09-07-2024
92
127
 
93
128
  ### Summary
94
129
 
95
130
  Bug fixes
96
- - incorrect variable used in doRead try catch
97
- - setmaxlisteners on bacnet server event parent class
98
131
 
132
+ - incorrect variable used in doRead try catch
133
+ - setmaxlisteners on bacnet server event parent class
99
134
 
100
135
  ## [1.4.0] - 05-07-2024
101
136
 
102
137
  ### Summary
103
138
 
104
- Fixed read list export for sites with large point counts.
139
+ Fixed read list export for sites with large point counts.
105
140
 
106
- Removed auto tree reload on read node UI. UI tree must be manually reloaded now.
141
+ Removed auto tree reload on read node UI. UI tree must be manually reloaded now.
107
142
 
108
- Fixed export to CSV bug.
143
+ Fixed export to CSV bug.
109
144
 
110
145
  Fixed state array text not found bug
111
146
 
112
- Removed unecessary debug.
147
+ Removed unecessary debug.
113
148
 
114
- Updated required json saved to node JSON file.
149
+ Updated required json saved to node JSON file.
115
150
 
116
- Added github pull requests
117
- - Added create object and delete object to bacnet server
118
- - Added write property to bacnet server
151
+ Added github pull requests - Added create object and delete object to bacnet server - Added write property to bacnet server
119
152
 
120
- Added Simple With Status read property type.
121
- - This type sends a msg.payload that consists of {presentValue, timestamp, status}
122
- - Status is currently online and offline
153
+ Added Simple With Status read property type. - This type sends a msg.payload that consists of {presentValue, timestamp, status} - Status is currently online and offline
123
154
 
124
155
  Changed inject node to only 1 selectable type of inject (Discover or Poll)
125
156
 
126
-
127
157
  ## [1.3.2] - 18-06-2024
128
158
 
129
- ### Summary
159
+ ### Summary
130
160
 
131
161
  Bug fix for API request URL paths. Updated for using node-red host setting.
132
162
 
133
163
  ## [1.3.1] - 06-06-2024
134
164
 
135
- ### Summary
165
+ ### Summary
136
166
 
137
167
  Primarily bug fixes and performance improvements
138
168
 
@@ -154,11 +184,10 @@ Primarily bug fixes and performance improvements
154
184
 
155
185
  - Devices are immediately added to the UI tree with a device placeholder on a whoIs/iAm response. The devices are then back populated with Names and BACnet Objects. This gives the user a fast understanding of the size and relationships of the BACnet network.
156
186
 
157
- - Added docstrings to bacnet_server.js and code clean up.
187
+ - Added docstrings to bacnet_server.js and code clean up.
158
188
 
159
189
  - Set Server enable to default on True
160
190
 
161
-
162
191
  ## [1.3.0] - 16-05-2024
163
192
 
164
193
  ### Summary
@@ -176,34 +205,35 @@ This release includes several new features, bug fixes, and performance improveme
176
205
  - Updated Add All button to add all sub MSTP devices if parent IP device button is selected
177
206
 
178
207
  - Introduced Right click context menu for all device types present in Device List:
179
- - Purge Device
180
- - Purges device from active model, removing it from the device list
181
- - Update Points
182
- - Triggers point updating function for selected device, beneficial for large bacnet networks
183
- - Add All Points
184
- - Same as Add All button
185
- - Remove All Points
186
- - Same as Remove All button
187
- - Set device name
188
- - Sets device Display Name, which is used in the output of read operations
189
-
190
- - Introduced Right click context menu for all points present in the Device List:
191
- - Set point Name
192
- - Sets point display name, used in the output of read operations
193
- - Update point
194
- - Triggers point update function, forces latest present value
195
-
196
- - Introduced Export and Import of ReadList in the read node.
197
- - 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.
198
-
199
- - Added support for debian systems, displays All Interfaces (0.0.0.0) in network adapter property
200
208
 
201
- - Added publish status under gateway node
209
+ - Purge Device
210
+ - Purges device from active model, removing it from the device list
211
+ - Update Points
212
+ - Triggers point updating function for selected device, beneficial for large bacnet networks
213
+ - Add All Points
214
+ - Same as Add All button
215
+ - Remove All Points
216
+ - Same as Remove All button
217
+ - Set device name
218
+ - Sets device Display Name, which is used in the output of read operations
202
219
 
203
- - Implemented usage of gateway and read node names in MQTT topics
204
- - {gateway node name}/{read node name}/pointName
220
+ - Introduced Right click context menu for all points present in the Device List:
221
+
222
+ - Set point Name
223
+ - Sets point display name, used in the output of read operations
224
+ - Update point
225
+ - Triggers point update function, forces latest present value
226
+
227
+ - Introduced Export and Import of ReadList in the read node.
205
228
 
229
+ - 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.
206
230
 
231
+ - Added support for debian systems, displays All Interfaces (0.0.0.0) in network adapter property
232
+
233
+ - Added publish status under gateway node
234
+
235
+ - Implemented usage of gateway and read node names in MQTT topics
236
+ - {gateway node name}/{read node name}/pointName
207
237
 
208
238
  ### Bug Fixes
209
239
 
@@ -211,16 +241,15 @@ This release includes several new features, bug fixes, and performance improveme
211
241
 
212
242
  - Write to MSTP devices bug fix
213
243
 
214
-
215
244
  ### Performance Improvements
216
245
 
217
- - Added support for a wider range of devices.
246
+ - Added support for a wider range of devices.
218
247
 
219
248
  - Added getProtocolsSupported request to identify bacnet service support for each device
220
249
 
221
250
  - Added apduSize based readPropertyMultiple packaging for reduced network requests
222
251
 
223
- - Refactored device tree function and implemented treeBuilder.
252
+ - Refactored device tree function and implemented treeBuilder.
224
253
 
225
254
  - Refactored device object building / querying process
226
255
 
@@ -228,7 +257,7 @@ This release includes several new features, bug fixes, and performance improveme
228
257
 
229
258
  ### Other Changes
230
259
 
231
- - Added Changelog
260
+ - Added Changelog
232
261
 
233
262
  - Updated Readme for better node updating.
234
263