Skip to content

Commit 72d5a22

Browse files
committed
getting ready for 4.0 release
1 parent 7971d71 commit 72d5a22

3 files changed

Lines changed: 20 additions & 13 deletions

File tree

.snyk

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ ignore:
55
'npm:brace-expansion:20170302':
66
- serialport > node-pre-gyp > rimraf > glob > minimatch > brace-expansion:
77
reason: no update avail
8-
expires: '2017-07-17T17:20:45.694Z'
8+
expires: '2017-10-21T03:53:09.671Z'
99
- serialport > node-pre-gyp > tar > fstream > rimraf > glob > minimatch > brace-expansion:
1010
reason: no update
11-
expires: '2017-07-17T17:20:45.694Z'
11+
expires: '2017-10-21T03:53:09.671Z'
1212
- serialport > node-pre-gyp > tar-pack > rimraf > glob > minimatch > brace-expansion:
1313
reason: no update avail
14-
expires: '2017-07-06T15:53:06.038Z'
14+
expires: '2017-10-21T03:53:09.671Z'
1515
- serialport > node-pre-gyp > tar-pack > fstream > rimraf > glob > minimatch > brace-expansion:
1616
reason: no update avail
17-
expires: '2017-07-17T17:20:45.694Z'
17+
expires: '2017-10-21T03:53:09.671Z'
1818
- serialport > node-pre-gyp > tar-pack > fstream-ignore > minimatch > brace-expansion:
1919
reason: no update avail
20-
expires: '2017-07-06T15:53:06.039Z'
20+
expires: '2017-10-21T03:53:09.671Z'
2121
- serialport > node-pre-gyp > tar-pack > fstream-ignore > fstream > rimraf > glob > minimatch > brace-expansion:
2222
reason: no update avail
23-
expires: '2017-07-06T15:53:06.039Z'
23+
expires: '2017-10-21T03:53:09.672Z'
2424
- serialport > node-pre-gyp > tar-pack > tar > fstream > rimraf > glob > minimatch > brace-expansion:
2525
reason: no update avail
26-
expires: '2017-07-06T15:53:06.039Z'
26+
expires: '2017-10-21T03:53:09.672Z'
2727
- serialport > node-pre-gyp > tar-pack > tar > fstream > rimraf > glob > minimatch > brace-expansion:
2828
reason: no update avail
2929
expires: '2017-07-17T17:20:45.694Z'
@@ -69,7 +69,7 @@ ignore:
6969
'npm:tunnel-agent:20170305':
7070
- serialport > node-pre-gyp > request > tunnel-agent:
7171
reason: None given
72-
expires: '2017-08-05T05:06:28.802Z'
72+
expires: '2017-10-21T03:53:09.672Z'
7373
# patches apply the minimum changes required to fix a vulnerability
7474
patch:
7575
'npm:ms:20170412':

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
# nodejs-poolController - Version 4.0.0 alpha 8. Version 4.x-DEV
2+
# nodejs-poolController - Version 4.0.0
33

44

5-
[![Join the chat at https://gitter.im/nodejs-poolController/Lobby](https://badges.gitter.im/nodejs-poolController/Lobby.svg)](https://gitter.im/nodejs-poolController/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/tagyoureit/nodejs-poolController.svg?branch=4.x-DEV)](https://travis-ci.org/tagyoureit/nodejs-poolController) [![Coverage Status](https://coveralls.io/repos/github/tagyoureit/nodejs-poolController/badge.svg?branch=4.x-DEV)](https://coveralls.io/github/tagyoureit/nodejs-poolController?branch=4.x-DEV) [![Known Vulnerabilities](https://snyk.io/test/github/tagyoureit/nodejs-poolcontroller/badge.svg)](https://snyk.io/test/github/tagyoureit/nodejs-poolcontroller)
5+
[![Join the chat at https://gitter.im/nodejs-poolController/Lobby](https://badges.gitter.im/nodejs-poolController/Lobby.svg)](https://gitter.im/nodejs-poolController/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/tagyoureit/nodejs-poolController.svg?branch=master)](https://travis-ci.org/tagyoureit/nodejs-poolController) [![Coverage Status](https://coveralls.io/repos/github/tagyoureit/nodejs-poolController/badge.svg?branch=master)](https://coveralls.io/github/tagyoureit/nodejs-poolController?branch=master) [![Known Vulnerabilities](https://snyk.io/test/github/tagyoureit/nodejs-poolcontroller/badge.svg)](https://snyk.io/test/github/tagyoureit/nodejs-poolcontroller)
66

77
# License
88

@@ -75,8 +75,9 @@ for discussions, designs, and clarifications, we recommend you join our [Gitter
7575

7676
## Useful URL's included with the boring, basic, functional interface
7777

78-
- Control standalone pumps: http://_your_machine_name_:3000/pump.html
79-
- Listen for specific messages: `http://_your_machine_name_:3000/debug.html`
78+
* Control standalone pumps: `http://_your_machine_name_:3000/pump.html`
79+
* Listen for specific messages: `http://_your_machine_name_:3000/debug.html`
80+
* Send a message on the serial bus: `http://<server>:3000/public/send_packet.html`
8081

8182
#### Technical notes:
8283

@@ -99,6 +100,7 @@ for discussions, designs, and clarifications, we recommend you join our [Gitter
99100
* Set pool heat setpoint: /poolheat/setpoint/#
100101
* Set pool heat mode: /poolheat/mode/# (0=off, 1=heater, 2=solar pref, 3=solar only)
101102
* Run pumps in stand-alone mode
103+
* Cancel delay: /cancelDelay
102104

103105
### APIs
104106
You can use Sockets.IO (see the "basic UI" example). Valid sockets:
@@ -116,7 +118,8 @@ for discussions, designs, and clarifications, we recommend you join our [Gitter
116118
| To app | <code>setPumpCommand(action, pump, program, rpm, duration)</code> | action=off,run, save, saverun; pump=1 or 2, program = 1 to 4, rpm = 450-3450, duration in minutes (or null for indefinite); leave parameters as null for any values that are not relevant. For example, to run program 4 on pump 1, call setPumpCommand('run',1,4,null,null)
117119
| To app | <code>setDateTime(hour, min, dow*, day, mon, yy, dst) | set the date/time on the controller. dow= day of week as expressed as [0=Sunday, 1=Monday, 2=Tuesday, 4=Wednesday, 8=Thursday, 16=Friday, 32=Saturday] and DST = 0(manually adjst for DST) or 1(automatically adjust DST)
118120
| To app | <code>setSchedule(id, circuit, starthh, startmm, endhh, endmm, dow*) | set the schedule on the controller for the particular schedule ID. dow= day of week as expressed as [0=Sunday, 1=Monday, 2=Tuesday, 4=Wednesday, 8=Thursday, 16=Friday, 32=Saturday] or a combination thereof [3=Monday+Tuesday]. To set a schedule set a valid start and end time (hh:mm). To set an egg timer, set the start time to 25:00 and the endtime to the duration (hh:mm) you want the egg timer to run.
119-
| To app | <code>updateVersionNotification(bool) | true = do not send the updateAvailable socket until the next version is available. false = send updateAvailable everytime.
121+
| To app | <code>updateVersionNotification(bool)</code> | true = do not send the updateAvailable socket until the next version is available. false = send updateAvailable everytime.
122+
| To app | <code>cancelDelay</code>| Cancel and current circuit (valves/heater cool down?) delay.
120123
| To client | <code>searchResults</code> | outputs packets that match the <code>search</code> socket
121124
| To client | <code>circuit</code> | outputs an object of circuits and their status
122125
| To client | ~~<code>config</code>~~ | ~~outputs an object with the pool controller status~~ Deprecated.
@@ -723,6 +726,9 @@ Docker Instructions
723726
* Added capture for Ctrl-C/SIGINT to have a clean exit
724727
* Added InfluxDB database capabilities
725728
* Added support for reading the data from up to 16 pumps. (You can still only control two.)
729+
* Support for up to 50 circuits, 8 pumps
730+
* Delay and Cancel Delay for circuits
731+
726732

727733
# Wish list
728734
1. Still many messages to debug

src/lib/equipment/circuit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ module.exports = function(container) {
475475

476476
var setControllerLightColor = function(color, lightGroup, counter) {
477477
console.log('clr %s, lgrp %s, counter %s', color, lightGroup, counter)
478+
var strIntellibriteModes = container.constants.strIntellibriteModes;
478479
// if (container.settings.logConfigMessages)
479480
container.logger.verbose('Msg# %s Detected a light change. Color -> %s (%s) for light group %s ', counter, color, strIntellibriteModes[color], lightGroup)
480481

0 commit comments

Comments
 (0)