AqualinkD icon indicating copy to clipboard operation
AqualinkD copied to clipboard

AqualinkD Not Controlling or Reading the Intellibrite Light Correctly

Open jkosharek opened this issue 1 month ago • 19 comments

When I turn on the 'LED Pool' with iAqualink it turns on and goes to the correct color, but AqualinkD never shows the color or pattern it's on, I also cannot turn it off with AqualinkD. If I turn it on with AqualinkD, I believe it goes to the last color iAqualink set it to, but never displays as on or the color it's on to on the AqualinkD side but shows it's on in iAqualink and can only turn it off on iAqualink.

I have my two light groups setup to be controlled by my iAqualink: On the Jandy side: Aux6 - LED Accent - JL Aux7 - LED Pool - IB

On the AqualinkD: button_08_label=LED Accent button_08_lightMode=2 button_09_label=LED Pool button_09_lightMode=5

When I turn on the 'LED Accent' with iAqualink it turns on and goes to the correct color and AqualinkD displays the selected color and I can turn it off by AqualinkD or Turn it on with AqualinkD. All is Good with 'LED Accent'

aqualinkd (5).log

and continually see this in the log:

Info: NetService:MQTT: Published id=33580: aqualinkd/Aux_7/delay 0 Info: NetService:MQTT: Published id=33581: aqualinkd/Aux_7 0 Info: NetService:MQTT: Published id=33582: aqualinkd/Aux_7/timer 0 Info: NetService:MQTT: Published id=33583: aqualinkd/Aux_7/timer/duration 0 Info: AllButton: RS Message :- '11:56 AM' Info: NetService:MQTT: Published id=33584: aqualinkd/Aux_7/delay 0 Info: NetService:MQTT: Published id=33585: aqualinkd/Aux_7 1 Info: NetService:MQTT: Published id=33586: aqualinkd/Aux_7/timer 0 Info: NetService:MQTT: Published id=33587: aqualinkd/Aux_7/timer/duration 0 Info: AllButton: RS Message :- 'Air Temp 61 F' Info: NetService:MQTT: Published id=33588: aqualinkd/Aux_7/delay 0 Info: NetService:MQTT: Published id=33589: aqualinkd/Aux_7 0 Info: NetService:MQTT: Published id=33590: aqualinkd/Aux_7/timer 0 Info: NetService:MQTT: Published id=33591: aqualinkd/Aux_7/timer/duration 0 Info: NetService:MQTT: Published id=33592: aqualinkd/Aux_7/delay 0 Info: NetService:MQTT: Published id=33593: aqualinkd/Aux_7 1 Info: NetService:MQTT: Published id=33594: aqualinkd/Aux_7/timer 0 Info: NetService:MQTT: Published id=33595: aqualinkd/Aux_7/timer/duration 0

here is my config 2.6.11: socket_port=80 serial_port=/dev/ttyS2 keep_paneltime_synced = yes log_level=INFO web_directory=/var/www/aqualinkd/ panel_type=RS-16 Combo (Pool & Spa) device_id=0x08 rssa_device_id=0x48 extended_device_id=0x32 enable_iaqualink=NO

mqtt_address=10.11.12.10:1883 mqtt_user=aqualinkd mqtt_passwd= mqtt_aq_topic=aqualinkd mqtt_ha_discover_topic=homeassistant mqtt_ha_discover_use_mac=YES mqtt_timed_update=YES mqtt_convert_temp_to_c=YES

read_RS485_swg=NO read_RS485_ePump=NO read_RS485_vsfPump=NO read_RS485_JXi=NO read_RS485_LX=NO read_RS485_Chem=NO read_RS485_iAqualink=NO read_RS485_HeatPump=NO

force_swg=YES force_ps_setpoints=YES force_frzprotect_setpoints=NO

enable_scheduler=YES event_check_use_scheduler_times=NO event_poweron_check_pump=NO event_freezeprotectoff_check_pump=NO event_boostoff_check_pump=NO event_check_pumpon_hour=0 event_check_pumpoff_hour=0 #event_booston_check_device=

ftdi_low_latency=YES

rs485_frame_delay=0

sync_panel_time=YES

display_warnings_in_web=YES

override_freeze_protect=NO

report_zero_spa_temp=NO report_zero_pool_temp=NO

pda_sleep_mode=NO

sensor_01_path=/sys/class/thermal/thermal_zone0/temp sensor_01_label=CPU sensor_01_factor=0.001000 sensor_01_uom=°C

sensor_02_path = /sys/class/thermal/thermal_zone1/temp sensor_02_label = GPU sensor_02_factor = 0.001 sensor_02_uom=°C

button_01_label=Filter Pump button_01_pumpIndex=1 button_01_pumpID=0x78 button_01_pumpType=JANDY ePUMP

#button_02_label=Spa

button_03_label=Cleaner

#button_04_label=Aux 2

#button_05_label=Aux 3

button_06_label=Spa Blower

button_07_label=Fire bowl

button_08_label=LED Accent button_08_lightMode=2

button_09_label=LED Pool button_09_lightMode=5

button_10_label=Waterfall

button_11_label=Fountain

button_12_label=Skimmer

button_13_label=Bubblers

#button_14_label=Aux B5

#button_15_label=Aux B6

button_16_label=Spa Pump button_16_pumpID=0x79 button_16_pumpIndex=2 button_16_pumpType=JANDY ePUMP button_16_pumpMaxSpeed=3000 button_16_pumpMinSpeed=1000

#button_17_label=Aux B8

button_18_label=Spa Heater

#button_19_label=Spa Heater NA

#button_20_label=Extra Aux

virtual_button_01_label=All Off virtual_button_01_onetouchID=1 virtual_button_02_label=Spa On virtual_button_02_onetouchID=2 virtual_button_03_label=Clean On virtual_button_03_onetouchID=3 virtual_button_04_label=SP1 virtual_button_04_onetouchID=4 virtual_button_05_label=SP2 virtual_button_05_onetouchID=5 virtual_button_06_label=SP3 virtual_button_06_onetouchID=6

jkosharek avatar Nov 11 '25 17:11 jkosharek

From the logs, (and the MQTT messages you quoted) it looks like the panel is trying to program Aux 7. If the light is not flashing on/off when you see this, then it looks like a panel config problem.

But can you :-

  1. Set AqualinkD to debug, try to turn the light on with AqualinkD, download the logs.
  2. Set AqualinkD to debug, set the light with iAqualink, download the logs.

Then post the two log files.

Also, can you try to use AqualinkD onetouch simulator, and see what happens when you try to turn on/off the light.

sfeakes avatar Nov 12 '25 02:11 sfeakes

From the logs, (and the MQTT messages you quoted) it looks like the panel is trying to program Aux 7. If the light is not flashing on/off when you see this, then it looks like a panel config problem.

But can you :-

  1. Set AqualinkD to debug, try to turn the light on with AqualinkD, download the logs.
  2. Set AqualinkD to debug, set the

light with iAqualink, download the logs.

Then post the two log files.

Also, can you try to use AqualinkD onetouch simulator, and see what happens when you try to turn on/off the light. The light is not flashing when when I see the MQTT messages I quoted.

Here is the first set of logs, light won't turn off with AqualinkD

aqualinkd (7).log

jkosharek avatar Nov 12 '25 13:11 jkosharek

Send set of logs (Turned on by iAqualink) Home Assistant sees the lights as going on/off but the iAqualink color, white was on solid.

aqualinkd (8).log

jkosharek avatar Nov 12 '25 13:11 jkosharek

OneTouch simulator, I selected Green but it turned to red and in Home Assistant it's going on/off but the actual light is red solid. Simulator was able to turn off the light.

aqualinkd (9).log

jkosharek avatar Nov 12 '25 13:11 jkosharek

I’ll go over these in more detail in a few days, and may find something more substantial. but Quick Look over here is some information. If the OneTouch simulator is not working / giving the wrong color, then there is probably a panel configuration issue. The simulator simply mimics Jandy device 100%, no AqualinkD intervention. Also from your logs, there is something strange.

Nov 12 08:40:01 Debug:  iAQ Touch: Button 12|         LED Pool ON   | type=0x01 | state=0x01 | unknown=0x00 | keycode=0x1d
Nov 12 08:40:02 Debug:  RS SAdptr: ColorLight 'LED Pool' is OFF 0x00  value name '--'

Aqualinkd Touch protocol is reporting Light is on, yet the RS Serial Adapter protocol is reporting the light is off. The RS Serial adapter protocol is 100% dependent on the physical circuit, the Aqualinkd Touch protocol simply goes by names. Are you sure you have AqualinkD buttons configured correctly?

From the logs it doesn’t look like you have read_RS485_iAqualink = yes in the config, can you please add that. While it won’t fix the issue, it will give us some more information on the panel configuration. What I’d like to capture from the above setting is the below output. (The bit’s state how the physical circuit is configured)

iAqualink2:Aux1            = Off | bit1=0x00 bit2=0x01 bit3=0x00 bit4=0x00
iAqualink2:Aux2            = On  | bit1=0x01 bit2=0x01 bit3=0x00 bit4=0x00
iAqualink2:Aux3            = Off | bit1=0x00 bit2=0x01 bit3=0x01 bit4=0x00
iAqualink2:Aux4            = On  | bit1=0x01 bit2=0x07 bit3=0x02 bit4=0x04
iAqualink2:Aux5            = Off | bit1=0x00 bit2=0x01 bit3=0x01 bit4=0x00
iAqualink2:Aux6            = Off | bit1=0x00 bit2=0x01 bit3=0x01 bit4=0x00
iAqualink2:Aux7            = Off | bit1=0x00 bit2=0x07 bit3=0x02 bit4=0x01

Can you also let me know the Panel Rev# and the specific lights you have?

sfeakes avatar Nov 12 '25 16:11 sfeakes

My current config has this setup. read_RS485_swg=NO read_RS485_ePump=NO read_RS485_vsfPump=NO read_RS485_JXi=NO read_RS485_LX=NO read_RS485_Chem=NO read_RS485_iAqualink=NO read_RS485_HeatPump=NO

Will it help/hurt to turn on the ones I have? read_RS485_swg=YES read_RS485_ePump=YES read_RS485_vsfPump=NO read_RS485_JXi=YES read_RS485_LX=NO read_RS485_Chem=NO read_RS485_iAqualink=YES read_RS485_HeatPump=NO

I have a Jandy iAqualink RS 16 P&S Rev T, with two Jandy ePumps (VSPH270DV2A), JXI400P, IQ30-RS, Spa Remote (4-Button), AquaPure.

Image

There are 3 pool/spa lights on 'LED Pool' (Aux7) that are IntelliBrite There are 6 Accent Lights that are on 'LED Accent' (Aux6) that are WaterColors

jkosharek avatar Nov 12 '25 17:11 jkosharek

After setting read_RS485_iAqualink=YES and restarting,

aqualinkd (10).log

I don't see anything like iAqualink2:Aux1 = Off | bit1=0x00 bit2=0x01 bit3=0x00 bit4=0x00

Nov 12 12:55:43 Debug:  iAQ Touch: Button 00|          Filter Pump  | type=0x08 | state=0x01 | unknown=0x00 | keycode=0x11
Nov 12 12:55:43 Debug:  iAQ Touch: Button 01|                Spa    | type=0x08 | state=0x00 | unknown=0x00 | keycode=0x12
Nov 12 12:55:43 Debug:  iAQ Touch: Button 02|            Pool Heat  | type=0x05 | state=0x00 | unknown=0x00 | keycode=0x13
Nov 12 12:55:43 Debug:  iAQ Touch: Button 03|             Spa Heat  | type=0x05 | state=0x00 | unknown=0x00 | keycode=0x14
Nov 12 12:55:43 Debug:  iAQ Touch: Button 04|            Clean- er  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x15
Nov 12 12:55:43 Debug:  iAQ Touch: Button 05|             Z_Aux- 2  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x16
Nov 12 12:55:43 Debug:  iAQ Touch: Button 06|             Z_Aux- 3  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x17
Nov 12 12:55:43 Debug:  RS SAdptr: Processing LEDs status
Nov 12 12:55:43 Debug:  AllButton: Processing LEDs status
Nov 12 12:55:44 Debug:  AllButton: Processing Message - '  11/12/25 Wed  '
Nov 12 12:55:44 Info:   AllButton: RS Message :- '11/12/25 Wed'
Nov 12 12:55:44 Debug:  iAQ Touch: Sending '0x18' to controller
Nov 12 12:55:44 Debug:  iAQ Touch: Turning IAQ SEND off
Nov 12 12:55:45 Debug:  iAQ Touch: Added Button 15    - LoadingPage = Devices #1
Nov 12 12:55:46 Debug:  iAQ Touch: Added Button 16    - LoadingPage = Devices #1
Nov 12 12:55:46 Debug:  iAQ Touch: Turning IAQ SEND on
Nov 12 12:55:46 Info:   iAQ Touch: Page: Devices #1 | 0x36
Nov 12 12:55:46 Debug:  iAQ Touch: Button 00|      Filter Pump ON   | type=0x01 | state=0x01 | unknown=0x00 | keycode=0x11
Nov 12 12:55:46 Debug:  iAQ Touch: Button 01|              Spa OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x12
Nov 12 12:55:46 Debug:  iAQ Touch: Button 02|         VSP1 Spd ADJ  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x13
Nov 12 12:55:46 Debug:  iAQ Touch: Button 03|         VSP2 Spd ADJ  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x14
Nov 12 12:55:46 Debug:  iAQ Touch: Button 04|        Pool Heat OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x15
Nov 12 12:55:46 Debug:  iAQ Touch: Button 05|         Spa Heat OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x16
Nov 12 12:55:46 Debug:  iAQ Touch: Button 06|          Cleaner OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x17
Nov 12 12:55:46 Debug:  iAQ Touch: Button 07|           Z_Aux2 OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x18
Nov 12 12:55:46 Debug:  iAQ Touch: Button 08|           Z_Aux3 OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x19
Nov 12 12:55:46 Debug:  iAQ Touch: Button 09|       Spa Blower OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x1a
Nov 12 12:55:46 Debug:  iAQ Touch: Button 10|        Fire Bowl OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x1b
Nov 12 12:55:46 Debug:  iAQ Touch: Button 11|       LED Accent OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x1c
Nov 12 12:55:46 Debug:  iAQ Touch: Button 12|         LED Pool OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x1d
Nov 12 12:55:46 Debug:  iAQ Touch: Button 13|        Waterfall OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x1e
Nov 12 12:55:46 Debug:  iAQ Touch: Button 14|         Fountain OFF  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x1f
Nov 12 12:55:46 Debug:  iAQ Touch: Button 15|                       | type=0x00 | state=0xff | unknown=0x00 | keycode=0x00
Nov 12 12:55:46 Debug:  iAQ Touch: Button 16|                       | type=0x03 | state=0xff | unknown=0x00 | keycode=0x00

jkosharek avatar Nov 12 '25 17:11 jkosharek

Will it help/hurt to turn on the ones I have?

Yes you should turn them on, it will speed up getting the information from the device, and give you more (and more accurate) device information in some cases. https://aqualinkd.github.io/docs/reading-devices.html

Thanks for the log, I’m looking for the iAqualink protocol information, your output is AqualinkTouch information. You can tell by the beginning of the line. You may need to turn something on/off in iAqualink app for the information to be seen by AqualinkD.

iAQ Touch: Button 00|      Filter Pump ON   ………………

vs

iAqualink2:Aux1            = Off. ……………………

sfeakes avatar Nov 12 '25 20:11 sfeakes

You may need to turn something on/off in iAqualink app for the information to be seen by AqualinkD.

iAQ Touch: Button 00|      Filter Pump ON   ………………

vs

iAqualink2:Aux1            = Off. ……………………

I poked around in the iAqualink app but didn't see anything that makes sense.

jkosharek avatar Nov 12 '25 21:11 jkosharek

Sorry I mean turn a device on or off (like pump or light)

sfeakes avatar Nov 12 '25 22:11 sfeakes

Nothing I do in the iAquaLink shows the iAqualink* in the debug logs.

jkosharek avatar Nov 15 '25 17:11 jkosharek

Just want to confirm, with “ read_RS485_iAqualink=YES” set in aqualinkd config (and restarting aqualinkd after changing config), you are not seeing any “ iAqualink2” messages in log when debug is set?

sfeakes avatar Nov 15 '25 23:11 sfeakes

That is correct, here are a couple of logs and the running config. I turned on the light with iAqualink, changed colors, and off.

aqualinkd-1.log aqualinkd=2.log

aqualinkd.conf.txt

jkosharek avatar Nov 16 '25 00:11 jkosharek

@sfeakes any idea on what to try or test next?

jkosharek avatar Nov 25 '25 14:11 jkosharek

I'm making some changes to V3.0 where you can force specific light programming interfaces, I think that will overcome the setting light mode issue. I am also putting in some extra decoding information as well, that will help find the issue with the color mode not being displayed. In playing with your issue, I did find a big in jandi's panel firmware, revisions prior to T.2 with Jandy Color lights that was similar to yours, but you are rev T and Jandy LED, so not sure if that's the same bug.

I hope to get V3.0 released in a week.

sfeakes avatar Nov 27 '25 01:11 sfeakes

Excellent, my problem light is the intelle bright, jandy is working

jkosharek avatar Nov 27 '25 03:11 jkosharek

@sfeakes Any reason not to try v3.0.0-beta.3 and see if it resolves my issue? curl -fsSL https://install.aqualinkd.com | sudo bash -s -- v3.0.0-beta.3

and if there are issues go back to v2.6.11 by just running: curl -fsSL https://install.aqualinkd.com | sudo bash -s -- latest

jkosharek avatar Dec 08 '25 16:12 jkosharek

There is no harm in trying, and those commands will work. you will need to add the following to aqualinkd.conf

light_programming_interface=1

sfeakes avatar Dec 09 '25 01:12 sfeakes

@sfeakes I am seeing Error: AllButton: Light Programming didn't receive color light mode message after installing v3.0.0-beta.3

I also noticed one time Aux2 Turned on when I turned on LED Pool with AqualinkD.

Error: AllButton: Light Programming didn't receive color light mode message

Warning:AllButton: Send command Queue did not empty, timeout

aqualinkd (4).log

jkosharek avatar Dec 09 '25 16:12 jkosharek