AqualinkD icon indicating copy to clipboard operation
AqualinkD copied to clipboard

Aqualink daemon can't use extended_device_id in PDA mode

Open ballle98 opened this issue 9 months ago • 3 comments

I have a newer PDA panel that has some support. If I patch out this check below I start seeing iAQ Touch interactions. I was going to look into it and see if I could make it more functional.

@sfeakes have you done any additional work on this or do you have plans around this?

diff --git a/aqualinkd.c b/aqualinkd.c
index 79fd81a..12aa0ad 100644
--- a/aqualinkd.c
+++ b/aqualinkd.c
@@ -1606,12 +1606,12 @@ void main_loop()
 #ifdef AQ_PDA
   if (isPDA_PANEL) {
     init_pda(&_aqualink_data, &_aqconfig_);
-    if (_aqconfig_.extended_device_id != 0x00)
-    {
-      LOG(AQUA_LOG,LOG_ERR, "Aqualink daemon can't use extended_device_id in PDA mode, ignoring value '0x%02hhx' from cfg\n",_aqconfig_.extended_device_id);
-      _aqconfig_.extended_device_id = 0x00;
-      _aqconfig_.extended_device_id_programming = false;
-    }
+//    if (_aqconfig_.extended_device_id != 0x00)
+//    {
+//      LOG(AQUA_LOG,LOG_ERR, "Aqualink daemon can't use extended_device_id in PDA mode, ignoring value '0x%02hhx' from cfg\n",_aqconfig_.extended_device_id);
+//      _aqconfig_.extended_device_id = 0x00;
+//      _aqconfig_.extended_device_id_programming = false;
+//    }
   }
 #endif

15:55:49.890 Debug:   iAQ Touch: Turning IAQ SEND on
15:55:49.891 Info:    iAQ Touch: Page: HOME | 0x01
15:55:49.891 Info:    iAQ Touch: Home Status page 00| --
15:55:49.891 Info:    iAQ Touch: Home Status page 01| 95  
15:55:49.891 Info:    iAQ Touch: Home Status page 04| Pool Temp
15:55:49.891 Info:    iAQ Touch: Home Status page 05| Air Temp
15:55:49.891 Debug:   iAQ Touch: Air Temp set to 95
15:55:49.891 Debug:   iAQ Touch: Pool Temp set to 95
15:55:49.891 Info:    iAQ Touch: Button 00|          FILTER PUMP  | type=0x08 | state=0x00 | unknown=0x00 | keycode=0x11
15:55:49.891 Info:    iAQ Touch: Button 01|                SPA    | type=0x08 | state=0x00 | unknown=0x00 | keycode=0x12
15:55:49.891 Info:    iAQ Touch: Button 02|            POOL HEAT  | type=0x05 | state=0x00 | unknown=0x00 | keycode=0x13
15:55:49.891 Info:    iAQ Touch: Button 03|             SPA HEAT  | type=0x05 | state=0x00 | unknown=0x00 | keycode=0x14
15:55:49.891 Info:    iAQ Touch: Button 04|            CLEAN- ER  | type=0x01 | state=0x00 | unknown=0x00 | keycode=0x15
15:55:49.891 Info:    iAQ Touch: Button 05|           POOL LIGHT  | type=0x07 | state=0x00 | unknown=0x00 | keycode=0x16
15:55:49.891 Info:    iAQ Touch: Button 06|            SPA LIGHT  | type=0x07 | state=0x00 | unknown=0x00 | keycode=0x17

ballle98 avatar May 21 '24 15:05 ballle98