-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathChangelog
More file actions
333 lines (284 loc) · 17.7 KB
/
Changelog
File metadata and controls
333 lines (284 loc) · 17.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
# Changelog
## 9.0.0
Focused release on IntelliCenter v3.008 firmware compatibility, finishing the v3 work started in 8.4.1, plus the Regal Century pump Modbus fixes.
1. IntelliCenter v3.008 chlorinator support: row-major stride-9 decoder for Action 30 cat=7 sub=0 payloads and live-edit piggyback on Action 168 cat=7.
2. v3 state polling so feature and circuit changes from the panel appear in dashPanel within seconds instead of ~30s.
3. v3 heater management: ETI250 (type 8), expanded heater type/mode coverage, and improved control-path handling.
4. v3 body handling: body capacity updates from ExternalMessage and enhanced unit handling.
5. v3 light group state management improvements (sync-back, theme/color updates, stuck-action clearing).
6. v3 firmware change detection so configuration reloads when the OCP firmware version shifts.
7. Circuit management enhancements in IntelliCenterBoard and CircuitCommands; `getCircuitFunctions` retains pool/spa options across call sites.
8. Virtual equipment management with new API endpoints.
9. Equipment item queuing refactor in `IntelliCenterConfigQueue` for v3 compatibility.
10. Regal (Century) Modbus pump now supported as equipment in Nixie: improved collision detection, header validation via `pumpTypes` (accepts messages only from configured RegalModbus pumps), and NACK/fault response handling on Go/Stop commands (0x41/0x42). Thanks to @celestinjr — [PR #1169](https://github.com/tagyoureit/nodejs-poolController/pull/1169).
## 8.4.1
Major v3.004+ IntelliCenter refinement release covering three months of work on top of 8.4.0.
1. IntelliCenter v3.004+ circuit control via indexed Action 184 frames with learned target IDs and collision prevention; Action 168 no longer used for v3 circuit on/off.
2. v3.004+ feature handling: features use the new [232,157] payload block; feature state delegated through the circuit path; config requests piggyback on confirmations instead of debouncing.
3. Big-endian payload handling across v3.004+ (pumps, schedules, options) with a unified `readInt` helper.
4. v3.004+ pump configuration: speed/flow encoding, forced refresh on WCP changes, destination addressing, and streamlined payload processing.
5. v3.004+ temperature and location handling: variable payload offsets for Action 168 temp settings, latitude/longitude calculation accuracy, and proper refresh on general configuration updates.
6. Freeze cycle and freeze override settings exposed on Equipment and IntelliCenter classes.
7. Watchdog functionality added to IntelliCenter configuration handling.
8. Alerts functionality in Equipment and related classes — OCP alert state surfaced to dashPanel / API.
9. IntelliChem standalone mode for configurations without an OCP chemistry controller.
10. Nixie: Neptune Modbus pump support added to NixieBoard.
11. Nixie: NixieChemPump syncs circuit states instead of feature states (aligns relay bindings with the hardware-bound source of truth).
12. OCP write security enforcement in ConfigRoute — blocks mutations when OCP write is disallowed.
13. New `ultratempdirect` heater type for direct RS-485 UltraTemp control.
14. `*Touch` heat source/mode handling: `ultratemp` transforms to `heatpump` when undefined; OCP ghost heaters suppressed based on NCP control (#1116, #1060).
15. WaterColors light circuit support in circuit state management.
16. `assertSinglePoolSpaType` validation across boards to prevent invalid pool/spa circuit type combinations.
17. Hayward outbound action matching restored — response-level action index mismatch fix for non-IntelliCenter protocols (#1151).
18. Scope conditionally set in IntelliCenterBoard based on equipment version.
19. docker-compose.yml + README updates for local development and image channel clarity.
20. dashPanel image reference updates.
21. TypeScript config tweak to skip library checks for faster builds.
## 8.4.0
1. IntelliCenter v3.004+ support (still being refined): registration handling, config refresh/ACK handling, and improved source-of-truth processing to keep state accurate.
2. IntelliCenter v3.004+ circuit control updates: Action 184 support with learned Target IDs for more reliable circuit on/off behavior.
3. IntelliCenter v3.004+ protocol parsing fixes: byte shift handling for Wireless messages, big-endian schedule times, and options/setpoint processing improvements.
4. More resilience and reduced noise: improved initialization/race handling, better scoped logging, and longer device announce intervals.
5. Misc fixes: default chlorinator naming and other small stability improvements.
6. Huge thanks to @jwtaylor310 for providing a ton of replay captures that helped track down and fix bugs.
## 8.3.0
1. Configurable RS‑485 transmit pacing via new `controller.txDelays` for finer collision avoidance and throughput tuning.
2. Startup & config resilience: empty or invalid `config.json` now auto‑recreated from defaults, corrupt originals backed up.
3. Latitude / longitude environment overrides to eliminate early heliotrope warnings prior to UI configuration.
4. Version check enhancements: git detection, safer redirects, throttled polling, warning suppression.
5. Docker improvements: fixed Dockerfile and added docker‑compose example with named volumes & environment variable guidance.
6. Add workflow to build and publish docker images to GitHub Container registry.
7. Runtime requirements: elevated minimum Node.js version to 20+, safe dependency and security/patch updates.
8. Documentation updates.
## 8.1.2
1. Regal Century pump support added.
2. Enhanced error handling: replaced EquipmentNotFoundError with InvalidEquipmentIdError for improved clarity.
3. Improved error handling in NixieBoard, NixieCircuitCommands, and NixieValveCommands.
4. Refactored tolerance handling in TouchChemControllerCommands to ensure data integrity.
5. Added new expansion board configuration for SunTouchBoard.
## 8.1.1
1. Enhanced REM server integration with packet capture functionality.
2. Improved error handling in REMInterfaceServer methods.
3. Refined chlorinator message processing logic in MessagesMock.
4. Adjusted mock port checks across various components for consistency.
5. Refined logic for Nixie schedules.
6. Fixed documentation links for bindings integrations.
7. Enhanced queueBodyHeatSettings to handle processing timeouts and improve error logging.
8. Fixed typo in valveModes.
## 8.1.0
1. Support for dual chlorinators with REM chem controllers. It is now possible to have two separate chlorinators controlled in 'dynamic' mode by two separate REM chems. Note: In order for REM chem to control each chlorinator, each needs to be on a dedicated RS-485 port (not shared with an OCP or any other chlorinator).
## 8.0.1-8.0.5
1. Bug fixes including:
a. schedule end time errors
b. manual priority
c. screenlogic recurring schedules
d. VF pump message sequences
e. intellibrite themes
f. schedules are evaluated by bodies first and then everything else
g. solar stop/start delta logic
2. Jandy WaterColors support
3. Initial docker support (github docker actions)
## 8.0.0
1. Refactor comms code to Async
2. Update dependencies and Node >16
3. EasyTouch v1 support
4. Screenlogic support — can now be used as a direct connection point for users who don't want to integrate an RS-485 adapter. RS-485 is still the preferred method as it is more fully featured.
5. Anslq25 (Mock controller)
## 7.7.0
1. Aqualink-D MQTT Interface
2. Manual Priority for Schedules
3. Add multiple RS-485 ports
4. Support for Hayward Pumps
5. Display remote chlorinators
6. Updates for ETi hybrid
7. Stop temp deltas for Nixie
8. Batch write influx points
9. MQTT & Influx updates
10. Ability to hide bodies in dashPanel
11. Florida Sunseeker Pooltone lighting
12. Proper uPNP formatting
## 7.6.1
1. Many bugfixes: Intellichem, Touch body capacities, Ultratemp heaters, Nixie, more...
2. Add env variables for Docker setup: POOL_RS485_PORT, POOL_NET_CONNECT, POOL_NET_HOST, POOL_NET_PORT, SOURCE_COMMIT, SOURCE_BRANCH
3. Update dependencies
## 7.6
1. MasterTemp RS485 support for Nixie and IntelliCenter
2. Nixie Valve Rotation delay
3. Nixie Heater Cooldown delay
4. Nixie Cleaner Start delay
5. Nixie Cleaner Shutdown on Solar
6. Nixie Delay Cancel
## 7.5.1
1. Backup/restore fixes
2. Egg timer expiration
3. Bug Fixes
4. dashPanel/messageManager Filter
5. RS485 refactor
## 7.5
1. Backup/restore
2. Intellitouch add expansion modules
## 7.4
1. Filter object, emit, monitoring
## 7.3.1
1. Influx 2.0 support
## 7.3
1. Dynamic chlorinating % based on ORP demand for Nixie
2. Docker creation updates
## 7.2
1. Refactor Intellichem and Chem Controllers
## 7.1.1
1. Added end time for circuits to show eggtimer/schedule off times
2. Ultratemp updates
3. Heater logic refactored
4. Message response logic refactored
5. Intellichem updates
## 7.1.0
1. Moved virtual chlorinator code and control to Nixie
2. Moved virtual pump code and control to Nixie; Nixie supports SS, DS, SuperFlo, VS, VF, VSF
3. MQTT changes
4. Outbound processing for packets now has a scope. Previously if an outbound packet would receive a response we would clear all of the similar packets off the queue. EG if a user requests circuit 2 and 3 to be turned on, we would clear out the outbound message for 3. Now the code is more selective about what "scope" is considered for a successful response.
## 7.0.0
1. Upgrades to setup/sync between njsPC and REM (Relay Equipment Manager) — tight integration providing hardware control over ancillary pool equipment (chemical probes, pumps, tanks, heaters, etc).
2. Significant steps to njsPC (Nixie) acting as a standalone pool controller (virtual controller heaters, move virtual controller code, etc.)
3. Dependency updates (Typescript 4, Socket.io 4, etc)
4. Branch policy change: starting with this version, all code is pushed immediately to `master`. The `next` branch for feature development is retired.
## 6.5.2
1. Bug Fixes
2. Schedule updates
3. MQTT Binding updates
4. LSI calcs for REM (in addition to CSI)
## 6.5.1
1. Init Touch bodies upon startup
2. *Touch chlorinator fixes
3. MQTT updates
## 6.5.0
1. Full compatibility with REM (Relay Equipment Manager) for hardware control (ph sensors, orp sensors, pumps, relays, flow sensors)
1. Upgrades to Influx binding
1. MQTT alternate bindings
1. Many, many bug fixes
## 6.1.0
1. Chem controller
1. MQTT native support
1. Server based time for *Touch and other non-internet based OCP
1. Version notifications
1. IntelliCenter updates for dual bodies, 1.045/1.047 (partial) support
1. Many bug fixes
## 6.0.1
1. Implement https (no basic auth yet)
1. API documentation @ https://tagyoureit.github.io/nodejs-poolcontroller-api/
1. Add timestamp to logs for API calls
1. #200, #202
## 6.0
What's new in 6.0?s
In short, everything! 6.0 is a complete re-write of the application. Huge props to @rstrouse for his wisdom and guidance in refactoring the code.
1. IntelliCenter - now supported
1. Configuring and running the app - all new. Start over with the Installation instructions.
1. Automatic detection of your pool equipment. Previous versions of the app would detect the configuration of your pool but you still had to tell the app if you had IntelliTouch/EasyTouch/IntelliCom. This is now done automatically.
1. Configuration and state information. Config.json now only stores information related to the configuration of the app. There are separate files in the /data directory that store (and persist) pool configuration and state information.
1. API's - completely changed. See separate API documentation (*link here)
1. Outbound Sockets - Now more granular to make the web app more responsive
1. Web app - Now a separate installion for a true client/server metaphore.
1. Node v12+
1. `Integrations` are now called `Bindings`. Any integration built on 5.3 need to be upgraded to the binding format. See Readme for a list of currently upgraded bindings.
## 5.3.3
#134
## 5.3.1
#132
## 5.3.0
Fix for #106
Fix for "Error 60" messages
Improved caching of files on browsers. Thanks @arrmo! Now files will be loaded once in the browser and kept in cache instead of reloaded each time.
Improved handling of sessions and graceful closing of the HTTP(s) servers.
## 5.2.0
1. Node 6+ is supported. This app no longer supports Node 4.
1. Update of modules. Make sure to run `npm i` or `npm upgrade` to get the latest.
1. Much better support of multiple Intellibrite controllers. We can read both controllers now. There are still some issues with sending changes and help is needed to debug these.
1. Chlorinator API calls (and UI) will now make changes through Intellitouch when available, or directly to the Intellichlor if it is standalone (aka using the virtual controller)
1. Decoupled serial port and processing of packets. Should help recovery upon packet errors.
1. Implementation of #89. Expansion boards are now (better) supported by setting variables in your config.json. See the [config.json](#module_nodejs-poolController--config) section below.
1. Fix for #95
1. Fix for #99
1. Fix for #100
## 5.1.1 -
1. Renamed all 'valves' items to valve to be in line with singular renaming of items
1. InfluxDB - moved some items that were in tag fields to field keys; added valves
1. Added days of week (with editing) back to the schedules. Not sure when they disappeared, but they are back now. #92
1. Added MySQL integration to log all packets to a DB
1. Fixed PR #95 to allow sub-hour egg timers
1. Fixed Intellibrite bugs
1. Started to move some of the inter-communications to emitter events for better micro-services and shorter call stacks (easier debugging; loosely coupled code).
1. Changed some Influx tags/queries.
## 5.1.0 -
1. Intellibrite support - API's, Sockets and a WebUI. Lights should have the 'Intellbrite' an their circuit function (set this up at the controller) to show up in this section.
Will document more later, but...
/light/mode/:mode
/light/circuit/:circuit/setColor/:color
/light/circuit/:circuit/setSwimDelay/:delay
/light/circuit/:circuit/setPosition/:position
See the constants.js file and the sections:
strIntellibriteModes (for modes)
lightColors (for setColor)
## 5.0.1 -
1. Fixed Influx error on startup #90
1. Fixed bad characters in custom names
## 5.0.0 -
Make sure to run `npm upgrade`. There are many package updates and changes.
* Added add/delete/edit schedule
* All sockets/API now singular (`circuits`->`circuit`)
* All sockets/API data now returned with a JSON qualifier. EG `{pump:...}`, `{circuit:...}`
* Intellichem decoding and display
* Changes to `/config` endpoint. It's now included with the `/all` end point since there would be quite a bit of duplication. It still exists standalone (for now) but has much less information in it.
* Moved `hideAux` setting from `configClient.json` (web UI settings) to `config.json` template. In `config.json` template, moved
```
{equipment: {controller: {circuitFriendlyNames:{1..20}}}}
// to
{equipment: {circuit: friendlyName:{1..20},
hideAux: boolean
},
}
```
to be in line with the other equipment in the pool setup and accomodate the `hideAux` setting.
* Fixed issue #82
* Extra info from `/config` was being added to the circuit section in `config.json`
* This release includes a new mechanism for updating config.json files. See notes in [config.json](#module_nodejs-poolController--config) section.
* mDNS server. Currently included for SmartThings integration, but in the future can be used for autodiscovery by other applications/devices.
* New `/config` endpoint (beta) to allow applications to get a high level summary of the system.
* Support for two separate (http/https) web servers, each/both with Auth, and also the option to redirect all http to https traffic. Thanks to @arrmo for driving this with #65 and #68.
* A UI for standalone pumps
* All sockets and API's renamed to be SINGULAR. Circuits -> circuit, Schedules->schedule, etc.
* All returned JSON data (API/socket) now has the type qualifier per [#57](https://github.com/tagyoureit/nodejs-poolController/issues/57)
* Make sure to run `npm upgrade`. There are many package updates and changes.
* Intellichem initial support.
* Inactivity timer for both internal connections and web page connections. If a connection is broken, it should re-establish itself automatically now.
* SSDP for auto-discovery by SmartThings or other services
## 4.0.0 -
* Changed much in the config.json file
* Save pump programs and chlorinator level to config.json
* Added support for GPM with pumps
* Check for newer versions of the app on github, and dismiss notifications until next release
* Bootstrap configuration is automatically saved in clientConfig.json via UI actions
* Started to introduce some promises into the workflow (mostly with read/write operations)
* Added log-to-file option
* Added capture for Ctrl-C/SIGINT to have a clean exit
* Added InfluxDB database capabilities
* Added support for reading the data from up to 16 pumps. (You can still only control two.)
* Support for up to 50 circuits, 8 pumps
* Delay and Cancel Delay for circuits
## 3.1.x -
* Added unit testing for certain areas
* Added setDateTime API/Socket
* Bootstrap panel states are now persistent
## 3.0.0 -
* Upgraded pump logic
## 2.0.0 -
* https, Authentication
* Completely refactored code. Integrated BottleJS (https://github.com/young-steveo/bottlejs) for dependency injection and service locator functions
* Integrations to loosely couple add-ons
## 1.0.0 -
* Much of the code reworked and refactored
* Added Bootstrap UI by @arrmo
* Better standalone pump control (@bluemantwo was super-helpful here, too!)
* More accurate recognition of packets
* Super fast speed improvements
* Outgoing packets are now sent based on a timer (previously number of incoming packets)
* Added ISY support (@bluemantwo was super-helpful here, too!)