-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Salt Water Cell - changes from set level to 0% and back #85
Comments
I have the same problem. I gave up on it but would love to see this fixed. Let me know any logs you want to look at, or access even. |
I've been away for a few weeks, It's on my list of things to look at. Have either of you tried setting |
Yes. I've tried both and it does make a difference.
…On Sat, Aug 10, 2019, 12:52 PM sfeakes ***@***.***> wrote:
I've been away for a few weeks, It's on my list of things to look at. Have
either of you tried setting read_all_devices to the opposite of the
current setting. ie read_all_devices = yes and read_all_devices=no to see
if it made any differance?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#85?email_source=notifications&email_token=ALJ3WQG6USMXMYVYVFES3UTQD4MA7A5CNFSM4IKYICP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4AT54Y#issuecomment-520175347>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALJ3WQBG4VYZFPMNBRT5S2TQD4MA7ANCNFSM4IKYICPQ>
.
|
It does or does not?
I've only had mine set as
I have mine set as read_all_devices = yes
On Saturday, August 10, 2019, 05:03:02 PM PDT, scroundy <notifications@github.com> wrote:
Yes. I've tried both and it does make a difference.
On Sat, Aug 10, 2019, 12:52 PM sfeakes ***@***.***> wrote:
I've been away for a few weeks, It's on my list of things to look at. Have
either of you tried setting read_all_devices to the opposite of the
current setting. ie read_all_devices = yes and read_all_devices=no to see
if it made any differance?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#85?email_source=notifications&email_token=ALJ3WQG6USMXMYVYVFES3UTQD4MA7A5CNFSM4IKYICP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4AT54Y#issuecomment-520175347>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALJ3WQBG4VYZFPMNBRT5S2TQD4MA7ANCNFSM4IKYICPQ>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thank you for asking. It does NOT make a difference.
…On Sat, Aug 10, 2019, 6:03 PM hollapm ***@***.***> wrote:
It does or does not?
I've only had mine set as
I have mine set as read_all_devices = yes
On Saturday, August 10, 2019, 05:03:02 PM PDT, scroundy <
***@***.***> wrote:
Yes. I've tried both and it does make a difference.
On Sat, Aug 10, 2019, 12:52 PM sfeakes ***@***.***> wrote:
> I've been away for a few weeks, It's on my list of things to look at.
Have
> either of you tried setting read_all_devices to the opposite of the
> current setting. ie read_all_devices = yes and read_all_devices=no to see
> if it made any differance?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#85?email_source=notifications&email_token=ALJ3WQG6USMXMYVYVFES3UTQD4MA7A5CNFSM4IKYICP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4AT54Y#issuecomment-520175347
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ALJ3WQBG4VYZFPMNBRT5S2TQD4MA7ANCNFSM4IKYICPQ
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#85?email_source=notifications&email_token=ALJ3WQBYLXPAOKHDZBRH3WTQD5QNPA5CNFSM4IKYICP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4AX4NI#issuecomment-520191541>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALJ3WQETTT5IPRDPLY45NV3QD5QNPANCNFSM4IKYICPQ>
.
|
Posted an update that should fix this. v1.3.5 |
I updated and so far good news. This seems to be working for me. I'll keep
my eye on this for a few days. In the past the issue has been intermittent.
…On Sun, Aug 11, 2019, 10:06 AM sfeakes ***@***.***> wrote:
Posted an update that should fix this. v1.3.5
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#85?email_source=notifications&email_token=ALJ3WQFJ67LJCQMT475RAGDQEBBKFA5CNFSM4IKYICP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BEYCY#issuecomment-520244235>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALJ3WQCDMPHLHKJ4PJOCKY3QEBBKFANCNFSM4IKYICPQ>
.
|
I'm not seeing anything switching either. Will continue to watch. |
Still holding strong. |
Glad that fixed it |
It started up again. It's going 0-75-0 this morning. |
The old executable didn’t start again did it? Can you run Aqualinkd in debug mode and post the output as an attachment? Make sure you see the % fluctuate while in debug. |
I'm a complete noobie when it comes to debugging and logging. within aqualinkd.conf I have log_level=DEBUG. I have not enabled this command debug_RSProtocol_packets = no. Do I need to enable that? Also I had to stop AqualinkD (as log file was not enabled) and have restarted AqualinkD. When I restarted aqualinkd and it was finally up and running as a webpage I noticed it go from 0 -> 75 and back on the web interface and could hear my controller beep which is how I normally notice something happening. I do not see 0% in the logs thought? BTW its not fluctuating now though. |
You did the debug log correctly. I can see a lot of errors / problems in your log. They all seem to be coming from serial communication problems. So I think there may be some issues with the wiring of your RS485 bus. |
I'll recheck wiring and connections at the control panel and the remote control panel that the raspberry is connected to. All commands that I send work and it updates everything as well via the interface so I haven't noticed anything weird but will re-check. After that I can run a direct wire from the control panel inside as a test to see if that helps out. This is the only item giving some fits but will see if we can backtrack. Anything else you could think of? |
Looking in the logs, there are a few of other issues, it's just that AqualinkD is recovering from them. I think you may see other issues if you actually flex a lot of the functionality in AqualinkD. When the RS485 are temperamental like this it's very hard to get to the source. Kind-a Like this diagram but 4 wires for all devices except the RS4852USB where you'll only need 2. (you can ignore the text) https://res.cloudinary.com/engineering-com/image/upload/v1541085989/tips/RS485_vqi7tu.png |
I am not using adapters so am T into them. Will change that up. |
I'm trying to figure out how to wire mine better. I have a raspberry pi connect to the controller in-house, this then connects to the control panel. The control panel then connects to the first connector on the control board. Also connected to the transmit/receive are two variable speed pumps. I can likely rem out domoticz from aqualinkd.conf since I don't need it now for my environment if that may help? Also note that my second pool pump gets power when the spa mode is enabled, so there is no power going to that pump till spa mode is turned on, so don't know if aqualinkd may be looking for that device as well and cant see it as there is no power? |
On the two RS485 ports on the main control panel, I have read conflicting documentation from Jandy as to how they should be used, and since my control panel only has one RS485 port I can't pull a board to actually look at the circuitry behind it to figure it out. If you don't use domoticz, then comment out all of those ID's from your config, it won't make any difference to your problem, just make it easier to read the log. Don't worry about aqualinkd looking for devices that are not powered, it uses the RS485 buss messages for all devices (rather than controller configuration), so it expects devices to come and go as they are powered up and down. I may be able to code around the SWG going to 0 problem, but I'll need some detailed / raw logs from you first. This isn't a proper fix, but I do like to be able to overcome some of the common RS485 errors, so it will help mature the codebase.
Going back to your RS485 connections. Above it the perfect way to wire it, you can sometimes get away with other ways depending on many other factors, but since you are having problems it may be best to stick to the "perfect" setup. One other thing you should check is if the SWG is loosing connection with the control panel and that's why it's going to 0. I may be able to detect that from the logs you send. But when you have this problem check you SWG and see if the "remote control" led is also changing. That led will have a different name depending on SWG brand, but basically the LED that shows the SWG is being controlled by the control panel and not it-self. |
I don't see how I can connect the pumps in series. From the manual - Note: IntelliFlo® pumps cannot be connected in series with other pumps. https://www.thepoolfactory.com/media/wysiwyg/pdfs/pentair_intelliflo_variable_speed_pump_manual.pdf (Page 9) The Multiplex boards are CRAZY expensive for what they look like... GRRR I'll take a look an re-run the log shortly. |
I moved another device inline with the salt water cell, so that I now have no more than 2 max on the main control panel. I have made the changes as outlined above and will wait to see if it starts to go 0 ->75 -> 0 again. Only been running a few minutes. I also cleared the log file. sending the new one. |
Attached are logs and RS485 Files attached |
Great thanks very much for the RS485 log, I have run that through my aqualinkd player and can see exactly what's going on. I can replicate what exactly you see. What's really odd, is your control panel is actually telling the SWG to go to 75, then go to 0 then back to 75 in the RS485 messages it sends it. BUT what it sends the UI (the keypad & iAqualink) is a constant 75. I've never seen anything quite like that before. And it doesn't seem to be doing that due to "loosing a connection to the SWG", which would normally be the case. BTW, the ID of your second Pentair pump is 0x61, so you should assign that to the SPA_MODE in the config. |
Thanks for the assistance. I'd love to get the RPM and Watt information but then don't want it going from 0 -> 75 -> 0 over and over so will make that change. I'll turn that off for now and see what happens. One other question - is it possible to have aqualinkd send a message if there is an error detected? For example my SWG was sending a message and I could see it on the aqualinkd main page - would love to get a text if an error is sent (in addition to the low battery). Given that I would be turning off the read_all_devices this may not be pertinent anyway? |
One more suggestion. Since you can click on a light and select a color as well as change temp, it would be great to click on a pump and change the pump speed (or select pre-configured speeds). I keep trying to change the speed from the window ;-) |
I decided to go back out to the controller and check everything. I had one loose screw which I tightened - don't know if that will make a difference. I'm sending just in case, but looks like it was still causing a 0 ->75 -> 0 so am changing "read_all_devices = no" |
I’ve coded round the 75-0-75 problem you were seeing, I’m running it through some full tests and hopefully post the update tomorrow. So don’t worry too much about changing the config. AqualinkD does post full SWG full status information to MQTT, so if you have any home automation hub integration, that should be able to txt/email you when the SWG says “clean cell” or some such. As for changing pump speeds that’s on the to do list, but I’m not sure how people actually use that feature (since I do have any VSP pump), so I’ll probably be asking a few questions about that soon. |
Fantastic! To have it send a message what's the best way to code that in? I'd want it to communicate any SWG message versus just clean SWG. I'm using home assistant and Google home. For the VSP I'll help you out. The majority of speed settings are around running low speed for X hours to conserve energy but the pool cleaner may not operate, then bump speed up for the pool cleaner to work for a few hours. Also a great way to adjust the pressure for the Spa. Just to name a few. |
Just posted 1.3.5a. This should fix 99% of the 75-0-75 you were seeing. Still trying to figure out the logic of the Jandy control panel actually setting it to 0, but it looks like after missing 5 acknowledgment from the SWG, the control panel will reset the SWG. BUT, it looks like they are not resetting the counter after receiving a good acknowledgment. You'd expect it to be missing 5 in a row, so maybe there is a bug in the control panel firmware. |
Fantastic, will download later when I get back and post comments. |
Just upgraded, would you like for me to create any logs? |
Not yet. I just made some more changes (not uploaded yet), I may need the logs from that. But if you notice your SWG going to 0 is less than it was before I'd like to know. |
It's definitely been better. Much... |
It started changing again. |
I thought that might be the case. You should really look into the packet errors on the RS485 buss. But I'm just about to upload another update that may help, Look for 1.3.5b that should be posted in a hour or so. You'll need to add a configuration parameter to your /etc/aqualinkd.conf of the below
This parameter will basically ignore X number of consecutive messages that the control panel sends the SWG, that tell it to set SWG to zero. Few things to note, when the SWG is actually supposed to turn off, you get a few hundred messages so don't set that higher than 160~200 otherwise you'll never get the off message cleanly. Your average "set swg to zero" message count increases in the logs I've seen of yours, ie start of the log is 5 or so, end of the log is 50 or so. If this simply keeps increasing then after a day or so, nothing will help this problem except fixing the bad packets. |
This will depend on the home automation hub, since I don't use HASSIO or Googlehome, I'm going to be generic here. You'll simply need to read that value and send txt / email depending on what you decide. Looking at the HASSIO config posted here, it doesn't use that topic, so you'll need to add something like a "selector switch" that has the following MQTT value assigned to the value |
I think I'm able to have it send messages with Hassio. I need to do some playing to see if this works - Configuration.yaml
Automations.yaml
Now I just need to have it only send me one message a day versus on a regular basis ;-) . I need to figure that out next. |
BTW I updated the ignore_count to 0 and so far its working for me - no resets. I have notices my pool heater and spa heater turn on, but think it may be when I open the app on the phone and try to scroll I may be hitting those icons, so they are very sensitive. Will continue to see if that was it. |
I've updated the software as well as wiring. Not noticing the 0->75->0 nearly as often. Need to monitor more closely. Wiring may definitely have been a challenge. Will check out lighting as well with the update wiring. |
So far its doing much better. Been traveling - will look at lighting this week. |
Tried out the lighting again. For some reason the colors are still not working - I'm using the GUI interface. Finally I went to the iaqualink app and tried just for giggles. and it worked. Not certain what I can capture to help resolve? I do believe the replacing of wiring helped with 0% and back has been resolved though! |
Humm, |
I think that I can call the fluxuation fixed. The lights are still acting weird though. |
I'm running into a challenge where the SWG changes from 0% to 75% and back.
I have the system set to 75%. The system sets to 0% for about 10 seconds, then goes to 75% (which it should be) for a short time and then back to 0%.
I notice this as my aquapure keeps beeping at me letting me know there is a change.
What makes this more interesting is it was going 0 - > 75 -> 0 for a few hours, then it stopped and its staying at 75. Only think I did was open aqualinkd website which initially showed the % change, then stopped showing changes after a few mins. I don't know if this is in relation or not.
Let me know what I can send to help out.
The text was updated successfully, but these errors were encountered: