sfeakes / 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
166 stars 46 forks source link

Support sharing same PDA ID between control panel and physical PDA #287

Open ballle98 opened 2 months ago

ballle98 commented 2 months ago

for reference I found where I originally got this working in 2019 #40 but this was with a control panel supporting multiple PDA ids.

The fix for this issue on my fork will get you closer to working - https://github.com/ballle98/AqualinkD/issues/26

need to rework the pda_shouldSleep() function so that when it's about to wake up it sets _pda_first_probe_recvd to false when loop count is set to 0 and return true. might be able to do a dev branch that you could try.

I didn't hook up my PDA when I replaced the panel. I use https://github.com/earlephilhower/aquaweb when I need to configure the panel. After I got aqualinkd connected to openhab and then to alexa and google no one ever used the pda it was faster to say "alexa turn on filter pump". I see there is new simulor pages added to aqualinkd but they don't work on PDA panels yet :(

Originally posted by @ballle98 in https://github.com/sfeakes/AqualinkD/discussions/277#discussioncomment-9290814

ballle98 commented 2 months ago

I'll experiment on this here - https://github.com/ballle98/AqualinkD/issues/90