-
Notifications
You must be signed in to change notification settings - Fork 49
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
Not seeing Pentair VS Pump speed #220
Comments
This might be the problem, can you provide some more details on what's happening. Usually this happens when there are lots of serial errors. These happen usually from wiring issue (or having multiple instances or AqualinkD running). But you should see the errors in the logs. Also if you post more of the log a full would be helpful. (you can log to file, or just post a lot more of the output above). Setting |
root@aqualinkd:/var/log# sudo systemctl stop aqualinkd |
Just realized I'd been running the process as root with sudo command. Dropped sudo and things seem to be working properly. |
Looks like I may have spoken too soon.. After a while, I get a red stripe on the UI that says no connection to RS Control panel, but all of the buttons still work and still activate their respective functions. Anything else I can check to troubleshoot? Rebooting again and I'm back to cannot connect to control panel. |
Can you log to a file, and post that. |
Hi @sfeakes, Let me change the config and log to a file for the next couple of hours and I'll post it. Thank you for the awesome support! |
@sfeakes Was able to reproduce the issue pretty quickly.. I turned the filter pump off via the web UI and then got the following screen + logged error. I'm wondering if I have a bad RS285 Serial to USB Cable. I purchased this cable from Amazon [CableshopUS was the seller], but it arrived in an unbranded anti-static bag (vs. the FTDI branded packaging shown). [https://www.amazon.com/Brand-New-USB-RS485-WE-1800-BT-RS485-Cable/dp/B01HI9CMT2/] Jun-19-23 16:21:44 PM Warning: RS Serial: Serial read bad Jandy checksum, ignoring |
This below line shows that AqualinkD (and OS) is detecting a FTDI chip and setting everything according. But that doesn’t prove it’s not a clone. But you should be good, I doubt it’s the adapter.
I would check the wiring to the RS bus, the checksum errors are 99.999% of the time due to that. There is a section in the wiki about that. If you really think it’s the adapter being a clone, you could try the below setting in aqualinkd.conf, this will turn off specific FTDI stuff that can cause issues on cloned chips.
|
In your log, I can see you turned the pump off and it worked, then tried to turned in on and it failed and got a serial error. So from that you should check wiring. One thing that’s very odd, is AqualinkD is not going into programming mode on startup so it can get heater set points / freeze protect etc etc. Can you please post you aqualinkd.conf, I need to check into that further. But my guess is, you would see a lot more checksum errors if AqualinkD went into programming mode. You could also try an earlier release like V2.2.2a and see it that does into programming on startup. |
Aqualink Conf attached as Aqualinkd_conf.log I noticed it sporadically happens w/o me making any selections as well. re: checking wiring, would it be the wiring between the Pentair pump / Aqualink outside box? |
Thanks, I’ve never seen that specific panel REV before, and it gives a very slightly different connection message to other panels on initial connection. I will need to post an update to the code.
|
Thank you again for the support. This is my first Pi project.
|
Also, @sfeakes please let me know if I can help with any diagnostic info/logging/troubleshooting for the O.2 firmware rev. |
I just posted an update, that should fix AqualinkD not going into programming mode on startup. if you used the If you think there might be a power issue with the Pi. their is a script in On the cabling, you can also play with RS485 terminating on the USB adapter. The one you have supports that and it may help. But read the wiki & internet on terminating RS485 so you understand that and can transpose it to how your Pool equipment is wired. Sometimes connecting the negative wire (NOT THE positive) can help. |
Thank you. Was trying to figure out how to terminate and read the docs on your wiki + the FTDI website.
As it stands right now, just the two data wires are connected, no ground and no termination.
As I understand it, terminating involves taking one of the two termination wires and connecting it somewhere.
Where, I’m not quite certain.
Our current setup is the RS Aqualink Combo unit connected to an indoor LCD One-touch screen inside the house.
////
Installed the new build and saw it go into programming mode.. So, it looks like we've made some progress there! Thank you!
|
Hi, Thanks for this awesome project.
Wanted to see if you could give me a hand. Have a couple of issues.
Using Pi Zero WH + the USB connector cable you specified in the Wiki.
I'm not seeing the pump speed in the web interface for our Pentair VS Pump. Tried w/ current release + latest build.
AqualinkD gets stuck at connecting to control panel at least 50% of the time.
Any help would be greatly appreciated.
I've included the output from the serial logger below:
Notice: AqualinkD: Aqualink Daemon v2.3.0f
Notice: AqualinkD: Panel set to RS-8 Combo Pool/Spa
Notice: AqualinkD: Config log_level = 5
Notice: AqualinkD: Config device_id = 0x0a
Notice: AqualinkD: Config rssa_device_id = 0x48
Notice: AqualinkD: Config extra_device_id = 0x41
Notice: AqualinkD: Config extra_device_prog = NO
Notice: AqualinkD: Config serial_port = /dev/ttyUSB0
Notice: AqualinkD: Config socket_port = 80
Notice: AqualinkD: Config web_directory = /var/www/aqualinkd/
Notice: AqualinkD: Config use_aux_labels = NO
Notice: AqualinkD: Config override frz prot = NO
Notice: AqualinkD: Config mqtt_server = (null)
Notice: AqualinkD: Config mqtt_dz_sub_topic = (null)
Notice: AqualinkD: Config mqtt_dz_pub_topic = (null)
Notice: AqualinkD: Config mqtt_aq_topic = (null)
Notice: AqualinkD: Config mqtt_user = (null)
Notice: AqualinkD: Config mqtt_passwd = (null)
Notice: AqualinkD: Config mqtt_ID = aqualinkd_b827ebf4
Notice: AqualinkD: Config force SWG = YES
Notice: AqualinkD: Config force PS setpoint = NO
Notice: AqualinkD: Config deamonize = NO
Notice: AqualinkD: Config log_file = (null)
Notice: AqualinkD: Config enable scheduler = YES
Notice: AqualinkD: Config light_pgm_mode = 0.00
Notice: AqualinkD: Debug RS485 protocol = NO
Notice: AqualinkD: Debug RS485 protocol raw = NO
Notice: AqualinkD: Display warnings in web = NO
Notice: AqualinkD: Keep panel time in sync = YES
Notice: AqualinkD: Read SWG direct = NO
Notice: AqualinkD: Read ePump direct = NO
Notice: AqualinkD: Read vsfPump direct = YES
Notice: AqualinkD: Serial FTDI low latency = YES
Notice: AqualinkD: Config BTN Filter_Pump = label Filter Pump | VSP ID 0x60 | PumpID 1 |
Notice: AqualinkD: Config BTN Spa_Mode = label Spa Mode |
Notice: AqualinkD: Config BTN Aux_1 = label Spa Booster |
Notice: AqualinkD: Config BTN Aux_2 = label Waterfall |
Notice: AqualinkD: Config BTN Aux_3 = label Spillover |
Notice: AqualinkD: Config BTN Aux_4 = label Spa Light |
Notice: AqualinkD: Config BTN Aux_5 = label Spa Jets High |
Notice: AqualinkD: Config BTN Aux_6 = label Pool Light |
Notice: AqualinkD: Config BTN Aux_7 = label NONE |
Notice: AqualinkD: Config BTN Pool_Heater = label Pool Heater |
Notice: AqualinkD: Config BTN Spa_Heater = label Spa Heater |
Notice: AqualinkD: Config BTN Solar_Heater = label Solar Heater |
Notice: NetService:Starting network services thread
Notice: RS Serial: Port /dev/ttyUSB0 low latency mode is set
Notice: AqualinkD: Listening to Aqualink RS8 on serial port: /dev/ttyUSB0
Notice: AqualinkD: Waiting for Control Panel probe
Notice: NetService:Starting web server on port 80
Notice: NetService:Starting MQTT client to (null)
Notice: AqualinkD: Got probe on '0x48' RS SerialAdapter Protocol
Notice: AqualinkD: Got probe on '0x0a' Standard Protocol
Notice: AqualinkD: Got probe on '0x41' Extended Protocol
Notice: AqualinkD: Starting communication with Control Panel
Notice: Panl Prog: Starting programming thread 'Get SerialAdapter setpoints'
The text was updated successfully, but these errors were encountered: