Skip to content

Commit

Permalink
Release 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sfeakes committed Sep 7, 2024
1 parent e47aaef commit f4e67c8
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 8 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,17 @@ NEED TO FIX FOR THIS RELEASE.
* show error is vbutton and no extended_device_id
# Updates in 2.3.9
-->
# Updates in 2.3.9 (dev 0.1) -> Under development
* Added support for One Touch Buttons & Custom Virtual Buttons (new in Jandy Rev Yg).
<!--
# Updates in 2.4.1 (dev 0.1) -> Under development
* Added support for One Touch Buttons & Virtual Buttons.
* look at `virtual_button??_label` in aqualinkd.conf
* have to use AqualinkTouch protocol for `extended_device_id` 0x31->0x33 in aqualinkd.conf
* 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.
* This is faster, more reliable and does not intefear with the physical PDA device (like existing implimentation)
* Please consider this very much BETA at the moment.
* use `rssa_device_id=0x33` in aqualinkd.conf

# Updates in Release 2.3.8
-->
# Updates in Release 2.4.0
* <b>WARNING</b> Breaking change if you use dimmer (please change button_??_lightMode from 6 to 10)
* Fixed bugs with particular Jandy panel versions and color lights.
* Added support for more color lights, and sped up programming
Expand All @@ -147,6 +148,12 @@ NEED TO FIX FOR THIS RELEASE.
* Changes to aqmanager for adding more options for decoding protocols.
* Support for packets changes from panels REV Yg
* Support VSP by label (not pump number), REV Yg
* Added support for One Touch Buttons & Virtual Buttons.
* look at `virtual_button??_label` in aqualinkd.conf
* have to use AqualinkTouch protocol for `extended_device_id` 0x31->0x33 in aqualinkd.conf

# Updates in Release 2.3.8
* Release removed. Bug with light program 0.

# Updates in Release 2.3.7
* Fix for Pentair VSP losing connection & bouncing SWG to 0 and back.
Expand Down
Binary file modified release/aqualinkd-arm64
Binary file not shown.
Binary file modified release/aqualinkd-armhf
Binary file not shown.
4 changes: 2 additions & 2 deletions release/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ fi
# we added Aux_V? to the button list
if [ -f "$WEBLocation/config.js" ]; then
# Test is if has AUX_V1 in file
if ! grep -q Aux_V1 ./config.js; then
$dateext=`date +%Y%m%d_%H_%M_%S`
if ! grep -q Aux_V1 $WEBLocation/config.js; then
dateext=`date +%Y%m%d_%H_%M_%S`
echo "AqualinkD web config is old, making copy to $WEBLocation/config.js.$dateext"
echo "Please make changes to new version $WEBLocation/config.js"
mv $WEBLocation/config.js $WEBLocation/config.js.$dateext
Expand Down
2 changes: 1 addition & 1 deletion source/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

#define AQUALINKD_NAME "Aqualink Daemon"
#define AQUALINKD_SHORT_NAME "AqualinkD"
#define AQUALINKD_VERSION "2.3.9 (dev 0.1)"
#define AQUALINKD_VERSION "2.4.0"
14 changes: 13 additions & 1 deletion web/controller.html
Original file line number Diff line number Diff line change
Expand Up @@ -2169,7 +2169,19 @@

for (var obj in data.light_program) {
if (data.light_program[obj] != "") {
setTileOnText(obj.toString(),data.light_program[obj]);
var light_mode = data.light_program[obj];

// If aqualinkd probrammed light, need to get convert int to text index, if not value is text
try {
var light_type = document.getElementById(obj.toString()).getAttribute('lighttype')
if (light_type == 0) {
var light_mode = _light_program[light_type][parseInt(data.light_program[obj])-1];
if (light_mode.endsWith(" - Show"))
light_mode = light_mode.slice(0, -7);
}
} catch (e) {}

setTileOnText(obj.toString(),light_mode);
}
}

Expand Down

0 comments on commit f4e67c8

Please sign in to comment.