Skip to content

Commit f4e67c8

Browse files
committed
Release 2.4.0
1 parent e47aaef commit f4e67c8

File tree

6 files changed

+27
-8
lines changed

6 files changed

+27
-8
lines changed

README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,17 @@ NEED TO FIX FOR THIS RELEASE.
125125
* show error is vbutton and no extended_device_id
126126
# Updates in 2.3.9
127127
-->
128-
# Updates in 2.3.9 (dev 0.1) -> Under development
129-
* Added support for One Touch Buttons & Custom Virtual Buttons (new in Jandy Rev Yg).
128+
<!--
129+
# Updates in 2.4.1 (dev 0.1) -> Under development
130+
* Added support for One Touch Buttons & Virtual Buttons.
130131
* look at `virtual_button??_label` in aqualinkd.conf
131132
* have to use AqualinkTouch protocol for `extended_device_id` 0x31->0x33 in aqualinkd.conf
132133
* PDA panel Rev 6.0 or newer that do not have a Jandy iAqualink device attached can use the AqualinkTouch protocol rather than PDA protocol.
133134
* This is faster, more reliable and does not intefear with the physical PDA device (like existing implimentation)
134135
* Please consider this very much BETA at the moment.
135136
* use `rssa_device_id=0x33` in aqualinkd.conf
136-
137-
# Updates in Release 2.3.8
137+
-->
138+
# Updates in Release 2.4.0
138139
* <b>WARNING</b> Breaking change if you use dimmer (please change button_??_lightMode from 6 to 10)
139140
* Fixed bugs with particular Jandy panel versions and color lights.
140141
* Added support for more color lights, and sped up programming
@@ -147,6 +148,12 @@ NEED TO FIX FOR THIS RELEASE.
147148
* Changes to aqmanager for adding more options for decoding protocols.
148149
* Support for packets changes from panels REV Yg
149150
* Support VSP by label (not pump number), REV Yg
151+
* Added support for One Touch Buttons & Virtual Buttons.
152+
* look at `virtual_button??_label` in aqualinkd.conf
153+
* have to use AqualinkTouch protocol for `extended_device_id` 0x31->0x33 in aqualinkd.conf
154+
155+
# Updates in Release 2.3.8
156+
* Release removed. Bug with light program 0.
150157

151158
# Updates in Release 2.3.7
152159
* Fix for Pentair VSP losing connection & bouncing SWG to 0 and back.

release/aqualinkd-arm64

0 Bytes
Binary file not shown.

release/aqualinkd-armhf

0 Bytes
Binary file not shown.

release/install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ fi
133133
# we added Aux_V? to the button list
134134
if [ -f "$WEBLocation/config.js" ]; then
135135
# Test is if has AUX_V1 in file
136-
if ! grep -q Aux_V1 ./config.js; then
137-
$dateext=`date +%Y%m%d_%H_%M_%S`
136+
if ! grep -q Aux_V1 $WEBLocation/config.js; then
137+
dateext=`date +%Y%m%d_%H_%M_%S`
138138
echo "AqualinkD web config is old, making copy to $WEBLocation/config.js.$dateext"
139139
echo "Please make changes to new version $WEBLocation/config.js"
140140
mv $WEBLocation/config.js $WEBLocation/config.js.$dateext

source/version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
#define AQUALINKD_NAME "Aqualink Daemon"
44
#define AQUALINKD_SHORT_NAME "AqualinkD"
5-
#define AQUALINKD_VERSION "2.3.9 (dev 0.1)"
5+
#define AQUALINKD_VERSION "2.4.0"

web/controller.html

+13-1
Original file line numberDiff line numberDiff line change
@@ -2169,7 +2169,19 @@
21692169

21702170
for (var obj in data.light_program) {
21712171
if (data.light_program[obj] != "") {
2172-
setTileOnText(obj.toString(),data.light_program[obj]);
2172+
var light_mode = data.light_program[obj];
2173+
2174+
// If aqualinkd probrammed light, need to get convert int to text index, if not value is text
2175+
try {
2176+
var light_type = document.getElementById(obj.toString()).getAttribute('lighttype')
2177+
if (light_type == 0) {
2178+
var light_mode = _light_program[light_type][parseInt(data.light_program[obj])-1];
2179+
if (light_mode.endsWith(" - Show"))
2180+
light_mode = light_mode.slice(0, -7);
2181+
}
2182+
} catch (e) {}
2183+
2184+
setTileOnText(obj.toString(),light_mode);
21732185
}
21742186
}
21752187

0 commit comments

Comments
 (0)