ballle98 / AqualinkD

Daemon to control Jandy Aqualink RS pool equipment from any home automation hub (Alexa, Homekit & Siri, Home Assistant, smartthings, domoticz etc) or web browser.
Other
6 stars 2 forks source link

PDA Init errors getting setpoints #44

Open ballle98 opened 5 years ago

ballle98 commented 5 years ago
15:59:28.249 Notice:   To 0x62 of type PDA Hlig | HEX: 0x10|0x02|0x62|0x08|0x01|0x00|0x00|0x7d|0x10|0x03|
15:59:28.253 Debug:  PDA Menu Line 0 =    EQUIPMENT    
15:59:28.280 Debug:  PDA Menu Line 1 = FILTER PUMP  OFF
15:59:28.281 Debug:  PDA Menu Line 2 = SPA          OFF
15:59:28.283 Debug:  PDA Menu Line 3 = POOL HEAT    OFF
15:59:28.291 Debug:  PDA Menu Line 4 = SPA HEAT     OFF
15:59:28.296 Debug:  PDA Menu Line 5 = CLEANER      OFF
15:59:28.296 Debug:  PDA Menu Line 6 = POOL LIGHT   OFF
15:59:28.296 Debug:  PDA Menu Line 7 = SPA LIGHT    OFF
15:59:28.298 Debug:  PDA Menu Line 8 = EXTRA AUX    OFF
15:59:28.298 Debug:  PDA Menu Line 9 = ALL OFF         
15:59:28.298 Debug:  PDA Menu highlighted line = 1 = FILTER PUMP  OFF
15:59:28.299 Debug:  Kicking thread 9,0xb5800f90
15:59:28.300 Debug:  waitForPDAMessageTypesOrMenu: received 0x08
15:59:28.302 Debug:  PDA Device programmer request for menu 19, current 19
15:59:28.302 Debug:  PDA Device programmer request for menu 7, current 19
15:59:28.302 Info:   Queue send BACK '0x02' to controller (programming)
15:59:28.303 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:28.348 Notice:   To 0x62 of type PDA Hlig | HEX: 0x10|0x02|0x62|0x08|0x01|0x00|0x00|0x7d|0x10|0x03|
15:59:28.349 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:28.388 Notice:   To 0x60 of type    Probe | HEX: 0x10|0x02|0x60|0x00|0x72|0x10|0x03|
15:59:28.487 Notice:   To 0x61 of type    Probe | HEX: 0x10|0x02|0x61|0x00|0x73|0x10|0x03|
15:59:28.621 Debug:  habridge_updater_routine success
15:59:28.623 Debug:  habridge_updater_routine curl -sS -X PUT -d '{"on": false}' 'http://localhost:8080/api/habuser/lights/5/bridgeupdatestate' > /dev/null 2>&1
15:59:28.633 Notice:   To 0x38 of type    Probe | HEX: 0x10|0x02|0x38|0x00|0x4a|0x10|0x03|
15:59:28.767 Notice:   To 0x39 of type    Probe | HEX: 0x10|0x02|0x39|0x00|0x4b|0x10|0x03|
15:59:28.856 Debug:  habridge_updater_routine success
15:59:28.927 Notice:   To 0x3a of type    Probe | HEX: 0x10|0x02|0x3a|0x00|0x4c|0x10|0x03|
15:59:29.070 Notice:   To 0x3b of type    Probe | HEX: 0x10|0x02|0x3b|0x00|0x4d|0x10|0x03|
15:59:29.223 Notice:   To 0x50 of type    Probe | HEX: 0x10|0x02|0x50|0x00|0x62|0x10|0x03|
15:59:29.375 Notice:   To 0x51 of type    Probe | HEX: 0x10|0x02|0x51|0x00|0x63|0x10|0x03|
15:59:29.539 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:29.584 Notice:   To 0x52 of type    Probe | HEX: 0x10|0x02|0x52|0x00|0x64|0x10|0x03|
15:59:29.730 Notice:   To 0x53 of type    Probe | HEX: 0x10|0x02|0x53|0x00|0x65|0x10|0x03|
15:59:29.893 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:29.959 Notice:   To 0x58 of type    Probe | HEX: 0x10|0x02|0x58|0x00|0x6a|0x10|0x03|
15:59:30.100 Notice:   To 0x59 of type    Probe | HEX: 0x10|0x02|0x59|0x00|0x6b|0x10|0x03|
15:59:30.263 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:30.308 Notice:   To 0x5a of type    Probe | HEX: 0x10|0x02|0x5a|0x00|0x6c|0x10|0x03|
15:59:30.451 Notice:   To 0x5b of type    Probe | HEX: 0x10|0x02|0x5b|0x00|0x6d|0x10|0x03|
15:59:30.613 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:30.679 Notice:   To 0x38 of type    Probe | HEX: 0x10|0x02|0x38|0x00|0x4a|0x10|0x03|
15:59:30.821 Notice:   To 0x39 of type    Probe | HEX: 0x10|0x02|0x39|0x00|0x4b|0x10|0x03|
15:59:30.974 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:31.030 Notice:   To 0x3a of type    Probe | HEX: 0x10|0x02|0x3a|0x00|0x4c|0x10|0x03|
15:59:31.182 Notice:   To 0x3b of type    Probe | HEX: 0x10|0x02|0x3b|0x00|0x4d|0x10|0x03|
15:59:31.325 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:31.392 Notice:   To 0x50 of type    Probe | HEX: 0x10|0x02|0x50|0x00|0x62|0x10|0x03|
15:59:31.534 Notice:   To 0x51 of type    Probe | HEX: 0x10|0x02|0x51|0x00|0x63|0x10|0x03|
15:59:31.697 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:31.743 Notice:   To 0x52 of type    Probe | HEX: 0x10|0x02|0x52|0x00|0x64|0x10|0x03|
15:59:31.906 Notice:   To 0x53 of type    Probe | HEX: 0x10|0x02|0x53|0x00|0x65|0x10|0x03|
15:59:32.049 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:32.116 Notice:   To 0x58 of type    Probe | HEX: 0x10|0x02|0x58|0x00|0x6a|0x10|0x03|
15:59:32.258 Notice:   To 0x59 of type    Probe | HEX: 0x10|0x02|0x59|0x00|0x6b|0x10|0x03|
15:59:32.420 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:32.465 Notice:   To 0x5a of type    Probe | HEX: 0x10|0x02|0x5a|0x00|0x6c|0x10|0x03|
15:59:32.628 Notice:   To 0x5b of type    Probe | HEX: 0x10|0x02|0x5b|0x00|0x6d|0x10|0x03|
15:59:32.771 Notice:   To 0x60 of type   Status | HEX: 0x10|0x02|0x60|0x02|0x00|0xf2|0x80|0x08|0x20|0x0e|0x10|0x03|
15:59:32.837 Notice:   To 0x38 of type    Probe | HEX: 0x10|0x02|0x38|0x00|0x4a|0x10|0x03|
15:59:32.926 Notice:   To 0x39 of type    Probe | HEX: 0x10|0x02|0x39|0x00|0x4b|0x10|0x03|
15:59:33.035 Notice:   To 0x3a of type    Probe | HEX: 0x10|0x02|0x3a|0x00|0x4c|0x10|0x03|
15:59:33.135 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:33.137 Debug:  Kicking thread 9,0xb5800f90
15:59:33.139 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:33.140 Debug:  pop_aq_cmd BACK '0x02' (programming)
15:59:33.142 Info:   sent '0x00' to controller
15:59:33.142 Debug:  waitForPDAnextMenu
15:59:33.142 Debug:  waitForPDAMessageTypesOrMenu 0x09,0x02,0xff,(null),0,2.000 sec
15:59:33.179 Notice:   To 0x3b of type    Probe | HEX: 0x10|0x02|0x3b|0x00|0x4d|0x10|0x03|
15:59:33.277 Notice:   To 0x50 of type    Probe | HEX: 0x10|0x02|0x50|0x00|0x62|0x10|0x03|
15:59:33.387 Notice:   To 0x51 of type    Probe | HEX: 0x10|0x02|0x51|0x00|0x63|0x10|0x03|
15:59:33.486 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:33.488 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:33.519 Notice:   To 0x52 of type    Probe | HEX: 0x10|0x02|0x52|0x00|0x64|0x10|0x03|
15:59:33.628 Notice:   To 0x53 of type    Probe | HEX: 0x10|0x02|0x53|0x00|0x65|0x10|0x03|
15:59:33.727 Notice:   To 0x58 of type    Probe | HEX: 0x10|0x02|0x58|0x00|0x6a|0x10|0x03|
15:59:33.836 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:33.838 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:33.869 Notice:   To 0x59 of type    Probe | HEX: 0x10|0x02|0x59|0x00|0x6b|0x10|0x03|
15:59:33.978 Notice:   To 0x5a of type    Probe | HEX: 0x10|0x02|0x5a|0x00|0x6c|0x10|0x03|
15:59:34.077 Notice:   To 0x5b of type    Probe | HEX: 0x10|0x02|0x5b|0x00|0x6d|0x10|0x03|
15:59:34.187 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:34.189 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:34.218 Notice:   To 0x60 of type    Probe | HEX: 0x10|0x02|0x60|0x00|0x72|0x10|0x03|
15:59:34.338 Notice:   To 0x61 of type    Probe | HEX: 0x10|0x02|0x61|0x00|0x73|0x10|0x03|
15:59:34.426 Notice:   To 0x38 of type    Probe | HEX: 0x10|0x02|0x38|0x00|0x4a|0x10|0x03|
15:59:34.546 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:34.548 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:34.589 Notice:   To 0x39 of type    Probe | HEX: 0x10|0x02|0x39|0x00|0x4b|0x10|0x03|
15:59:34.688 Notice:   To 0x3a of type    Probe | HEX: 0x10|0x02|0x3a|0x00|0x4c|0x10|0x03|
15:59:34.797 Notice:   To 0x3b of type    Probe | HEX: 0x10|0x02|0x3b|0x00|0x4d|0x10|0x03|
15:59:34.897 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:34.899 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:34.939 Notice:   To 0x50 of type    Probe | HEX: 0x10|0x02|0x50|0x00|0x62|0x10|0x03|
15:59:35.038 Notice:   To 0x51 of type    Probe | HEX: 0x10|0x02|0x51|0x00|0x63|0x10|0x03|
15:59:35.137 Notice:   To 0x52 of type    Probe | HEX: 0x10|0x02|0x52|0x00|0x64|0x10|0x03|
Error:  waitForPDAMessageTypesOrMenu 0x09,0x02,0xff,(null),0 - Connection timed out
15:59:35.143 Debug:  waitForPDAMessageTypesOrMenu: received 0x02
15:59:35.144 Notice: waitForPDAnextMenu - received STATUS instead of CLEAR
Error:  PDA Device programmer request for menu 7, stuck on 19
Error:  PDA Device programmer didn't find a requested menu 7, current 19, i=1
Error:  PDA Init :- Error getting heater setpoints
15:59:35.146 Debug:  PDA Device programmer request for menu 15, current 19
15:59:35.147 Info:   Queue send BACK '0x02' to controller (programming)
15:59:35.246 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:35.248 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:35.250 Debug:  pop_aq_cmd BACK '0x02' (programming)
15:59:35.252 Info:   sent '0x00' to controller
15:59:35.252 Debug:  waitForPDAnextMenu
15:59:35.253 Debug:  waitForPDAMessageTypesOrMenu 0x09,0x02,0xff,(null),0,2.000 sec
15:59:35.289 Notice:   To 0x53 of type    Probe | HEX: 0x10|0x02|0x53|0x00|0x65|0x10|0x03|
15:59:35.387 Notice:   To 0x58 of type    Probe | HEX: 0x10|0x02|0x58|0x00|0x6a|0x10|0x03|
15:59:35.496 Notice:   To 0x59 of type    Probe | HEX: 0x10|0x02|0x59|0x00|0x6b|0x10|0x03|
15:59:35.596 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:35.597 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:35.629 Notice:   To 0x5a of type    Probe | HEX: 0x10|0x02|0x5a|0x00|0x6c|0x10|0x03|
15:59:35.738 Notice:   To 0x5b of type    Probe | HEX: 0x10|0x02|0x5b|0x00|0x6d|0x10|0x03|
15:59:35.837 Notice:   To 0x60 of type    Probe | HEX: 0x10|0x02|0x60|0x00|0x72|0x10|0x03|
15:59:35.947 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:35.949 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:35.978 Notice:   To 0x61 of type    Probe | HEX: 0x10|0x02|0x61|0x00|0x73|0x10|0x03|
15:59:36.088 Notice:   To 0x38 of type    Probe | HEX: 0x10|0x02|0x38|0x00|0x4a|0x10|0x03|
15:59:36.187 Notice:   To 0x39 of type    Probe | HEX: 0x10|0x02|0x39|0x00|0x4b|0x10|0x03|
15:59:36.297 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:36.299 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:36.329 Notice:   To 0x3a of type    Probe | HEX: 0x10|0x02|0x3a|0x00|0x4c|0x10|0x03|
15:59:36.438 Notice:   To 0x3b of type    Probe | HEX: 0x10|0x02|0x3b|0x00|0x4d|0x10|0x03|
15:59:36.537 Notice:   To 0x50 of type    Probe | HEX: 0x10|0x02|0x50|0x00|0x62|0x10|0x03|
15:59:36.646 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:36.649 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:36.679 Notice:   To 0x51 of type    Probe | HEX: 0x10|0x02|0x51|0x00|0x63|0x10|0x03|
15:59:36.799 Notice:   To 0x52 of type    Probe | HEX: 0x10|0x02|0x52|0x00|0x64|0x10|0x03|
15:59:36.887 Notice:   To 0x53 of type    Probe | HEX: 0x10|0x02|0x53|0x00|0x65|0x10|0x03|
15:59:37.006 Notice:   To 0x62 of type   Status | HEX: 0x10|0x02|0x62|0x02|0x64|0x5f|0x73|0x08|0x00|0xb4|0x10|0x03|
15:59:37.008 Debug:  PDA can't sleep as thread 9,0xb5800f90 is active
15:59:37.049 Notice:   To 0x58 of type    Probe | HEX: 0x10|0x02|0x58|0x00|0x6a|0x10|0x03|
15:59:37.148 Notice:   To 0x59 of type    Probe | HEX: 0x10|0x02|0x59|0x00|0x6b|0x10|0x03|
15:59:37.247 Notice:   To 0x5a of type    Probe | HEX: 0x10|0x02|0x5a|0x00|0x6c|0x10|0x03|
Error:  waitForPDAMessageTypesOrMenu 0x09,0x02,0xff,(null),0 - Connection timed out
15:59:37.253 Debug:  waitForPDAMessageTypesOrMenu: received 0x02
15:59:37.254 Notice: waitForPDAnextMenu - received STATUS instead of CLEAR
Error:  PDA Device programmer request for menu 15, stuck on 19
Error:  PDA Device programmer didn't find a requested menu 15, current 19, i=1
Error:  PDA Init :- Error getting freeze setpoints
15:59:37.255 Debug:  Thread 9,0xb5800f90 (Init PDA) finished in 12.580 sec
ballle98 commented 5 years ago

One interesting thing I see here is a 0x60 status request which implies a 0x60 probe ACK.

combine pda init and pda wake then have setpoints called until retrieved.

may also want to periodically check the setpoints