-
First of all I have to say that this is a very impressive project with a lot of dedication and tremendous amount of hours that went into it. I have been reading the various discussions but can't seem to get my head wrapped around the VSP control comments. @sfeakes mentioned in one of the discussions that it is not possible to control speed settings of a Jandy VSP through AqualinkD if the Aqualink RS panel doesn't support VSP. I have an older panel with revision MM that doesn't seem to have build-in support for VSP. Is there anybody who can explain why that is not possible? Thanks in advance for valuable insights.... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I am not sure how IQPUMP01 works, but I will look into it. AqualinkD works by acting as multiple slaves (or faking the control panel that it has a few different keypads connected), and depending on what you ask AqualinkD to do, it will used the fastest protocol it has available to perform that task. AqualinkD will also read EVERY message on the RS485 bus and give you instant update as to what's happening. ie Control Panel sets VSP to something, AqualinkD reads that message and let's it's own UI / MQTT know, before the control panel would have told it's OEM keypad what it did. So every device on the RS485 bus has to be controlled by the master device (the control panel), and since their is already a master AqualinkD can't take that ID over as that would create a ton of duplicate messages confusing the whole RS485 bus. What I have done in the past, is make AqualinkD the master on a RS485 bus that has no Control Panel. ie years ago I had a Haywood SWG that the Jandy control panel would not communicate with. So I make a separate RS485 bus that just had a highly modified version of AqualinkD and the SWG on it. (That version of AqualinkD just controlled the SWG), And also had another RS485 bus that had AqualinkD, Control Panel and all other devices on it. (That version of AqualinkD controlled everything else). So I am assuming that the IQPUMP01 is similar to above, where you simply have the IQPUMP01 and VSP on one physical RS485 bus. And the control panel / other devices are on a separate physical RS485 bus. So if that's correct, in theory if you added another USB2RS485 adapter to the PI, modified the AqualinkD code to support two RS485 interfaces, one as master the other as slave, you could probably achieve the same. ie AqualinkD connected to Control Panel as slaves on one physical bus and connected to the VSP as master on a different physical bus. BUT At present there are some parts of the VSP protocol I have not decoded as there was no need, but to do this you would absolutely have to decode the rest to control the pump fully. I just found the install manual for IQPUMP01, and it looks like that's exactly how they do it. It acts as the master device on a RS485 bus that JUST has IQPUMP01 & VSP on it. |
Beta Was this translation helpful? Give feedback.
I am not sure how IQPUMP01 works, but I will look into it.
To explain this, you need to understand how the Jandy protocol works.
Each device on a RS485 buss has a unique ID, along with only ONE device that can act as a master and all other devices are a slave to that master. The Jandy Control Panel is FIXED as the master device, and all other devices (keypads,VSP,SWG,Heaters etc) are slaves.
The master sends out a unique probe messages to EVERY single id within the RS485 range (one by one), if it get's a reply, then the master will start communicating with that device. (ie the slave). The slaves can ONLY talk to the master, not to each other.
Different keypads (one touch, all button, iAqu…