Open igorek24 opened 2 years ago
SWG like VSP require a constant connection to the control panel for information about what they should be doing. When SWG looses that connection it will go to 0%. There are other reasons is will bounce to zero. But your issue kind-a sounds like a connection issue (also the most common). You can check by looking at physical SWG panel itself, and monitoring the LED's or LCD depending on what you have / displayed. If you see is bouncing between "controlled by panel", "beeping", or LCD displaying 0, then this is the case.
If you do see that, it's due to wiring or incorrectly terminated wiring. The RS485 connector takes power when it sends commands, and this is what causes the SWG to looks "being controlled by the panel". These issues are not picked up by aqualinkd's serial logger, as that is in read only.
It does shows waiting --> chlorinating 60% --> waiting --> chlorinating 60% I already tried replacing the cable to stranded 22 AWG shielded and grounded on one side. I tried to connect the ground wire between the RS8 and the RS485 controller (raspberry Pi shield) without any good results. Any idea what else could it be? Everything else works just fine. I do have 4 devices connected to RS485 to both terminals on RS8 controller.
Similar to a long standing (and intermittent) issue I have had. For me it is usually it is triggered after a process restart or power cycle of the computer running aqualinkd. What I have found, and I have no idea why this works, is basically keep aqualinkd process shut down for at least a full day. Then start the process. For some reason in my case, it will sync back up correctly and no longer bounce the SWG or the readings from the pump (Watts&speed) . I can recreate this pretty easily nowadays. It makes me wonder if there is some sort of timing mechanism with the RS which is sensitive to new talkers on the bus and if not done correctly, the SWG bouncing is a symptom. After some period of time, it resets something and works normally.
@niharmehta @igorek24
I have added some information to the wiki that may help understand the problem. https://github.com/sfeakes/AqualinkD/wiki#Common-Problems
There is also a new version posted v3.2.0f that has a few options that may help. Again the details are in that section of the wiki. Quickly
I have been experiencing this as well, and reported it a few months back. I have had aqualinkd running now for a few months, and monitoring the system for this issue via a notification framework (of my own design). It alerts me on my phone when I get repeated SWG->0% msgs.
I am going to try some of the workarounds in the latest version, and will report back.
I can provide the following details:
I have a relatively old Pentair VS pump. This issue only happens when my pump first turns on (either by schedule or pool service mode), but it does not happen on every pump start. It happens about 50% of the days. Stopping aqualinkd and restarting it after a minute or so seems to correct the issue, but sometimes it takes a few stop/start cycles.
@niharmehta @igorek24 @johnwillyn
I have just updated AqualinkD to version 2.3.3 and think this may have been fixed. If you pull the latest version and add the below to aqualinkd.conf rs485_frame_delay = 4
see if that helps.
Installing and configuring now. I will let you know if this fixes the issue.
I have been limping along with the issue and wired up a notification to alert me on my phone when this error occurs. It is very intermittent, but does happen about 20% of the days on startup.
Thanks for chasing this and letting us know.
JohnL
The rs485_frame_delay = 4
is telling AqualinkD to wait 4 milliseconds before replying to the control panel, you may need to play with the 4, somewhere between 1 and 20 I think/hope will fix the problem.
Thanks again!
Testing with value of 4 for now, and will tweak if I encounter the error. So far, so good. Will report results.
Reporting back after some testing.
I am afraid I still experience the issue, and I have tried values of 4, 8, 12, 16 and 20 for this setting.
The frequency is certainly less (maybe about half) and it often is corrected with just one stop/start cycle.
I will go back and do some longer term testing with the various values to try to get a sense of which one might work best (with my pump).
Hope this helps for now.
@johnwillyn I believe this issue is fixed in 2.3.7
It's been an issue that plagued very specific setups for a while now. (Pentair VSP and SWG, with specific board Rev#). I have always known it was an issue with Jandy firmware, but never known what AqualinkD was doing to make the Jandy firmware hit that part of the code with the issue. So I broke down and bought a Pentair VSP, I got the problem right away, and have been able to change AqualinkD so hopefully we don't see this again. At least on my setup it's been rock solid for over a weeks's worth of testing.
The rs485_frame_delay
setting was only making it happen a little less frequently in my testing, not actually solving it. So you can set that back to 4 or so, once you upgrade to 2.3.7
Awesome. I will try this right away (and report back).
It has been happening less frequently, and it usually took just a single restart of AqualinkD to “fix”.
Sorry you had to go to such efforts (and expense). I hope you can repurpose the Pentair pump somehow. I have had mine a long time, and I can tell you it has been rock solid for 15+ years.
On the other hand, I am on my 4th Jandy at our vacation rental home (where I hope to install AqualinkD this summer).
Thanks again, JohnL
On Jun 11, 2024, at 6:18 PM, sfeakes @.***> wrote:
@johnwillyn https://github.com/johnwillyn I believe this issue is fixed in 2.3.7
It's been an issue that plagued very specific setups for a while now. (Pentair VSP and SWG, with specific board Rev#). I have always known it was an issue with Jandy firmware, but never known what AqualinkD was doing to make the Jandy firmware hit that part of the code with the issue. So I broke down and bought a Pentair VSP, I got the problem right away, and have been able to change AqualinkD so hopefully we don't see this again. At least on my setup it's been rock solid for over a weeks's worth of testing. The rs485_frame_delay setting was only making it happen a little less frequently in my testing, not actually solving it. So you can set that back to 4 or so, once you upgrade to 2.3.7
— Reply to this email directly, view it on GitHub https://github.com/sfeakes/AqualinkD/issues/172#issuecomment-2161695448, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPMYL3LMOOR7MWF3LRWB2LZG5ZRTAVCNFSM5UFKDGKKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJWGE3DSNJUGQ4A. You are receiving this because you were mentioned.
The new Jandy pump is now my main filter pump, and the old is a backup. since my setup needs 3 pumps in total, having a backup is always good that way I can be lazy about rebuilding any of the pumps. So no real expense. I just hope I’ve finally got to the bottom of this issue.
Just upgraded to 2.3.7 from my previous (several months old .. pre- rs485_frame_delay) . Worked perfectly the first time. Excited that its very possible the Pentair bounce issue is finally resolved! Thank you @sfeakes!
Is there a decoder ring for the Pentair mode and status values for the Pentair VSP ?
Just upgraded to 2.3.7 from my previous (several months old .. pre- rs485_frame_delay) . Worked perfectly the first time. Excited that its very possible the Pentair bounce issue is finally resolved! Thank you @sfeakes!
Is there a decoder ring for the Pentair mode and status values for the Pentair VSP ?
Really glad to hear it’s looking good so far.
On the stuff I’ve captured so far, are the values of mode / status / pressure curve & drive state, and post those to MQTT. But at the moment not decoded what all the values actually mean. Also captured both GPM and RPM for vs, vf and vsf pumps. Jandy only reports rpm for vs /. vsf and gpm for vf.
Status 0 = ok, is all I know for sure, I know some of the others are overcurrent, blocked, overtemp, communication failure. But I’ll have to force some errors on the pump to figure out what numbers it reported for those states. (I believe their is some cleaning status as well)
Mode is simply remote controlled or local controlled. 1=remote controlled
drive state, no idea as of yet.
pressure curve is described in their manual.
what I’m really interested in is if I can detect the filter basket getting full from amps/gpm/pressure curve.
I’ll add to documentation and make updates as I find out more / get some time to play.
Just wanted to report that this release has fixed the Pentair salt cell bounce for me as well!
Thanks so much for all of your extra effort on this sfeakes!
JohnL
@johnwillyn Thanks very much for confirming that.
Discussed in https://github.com/sfeakes/AqualinkD/discussions/171