Pentair IntelliCenter Pool Control Dashboard Instructional Guide

rellumd

Well-known member
Jan 15, 2010
54
North Dallas, Texas
Pool Size
28000
Surface
Plaster
Chlorine
Salt Water Generator
SWG Type
Pentair Intellichlor IC-60
@Telemachus Thanks for the response, but that's not it. The repo is cloned from GitHub inside the container on each build, so it is guaranteed up to date with no caching issues or it won't complete the build.
 

IanK

New member
Sep 3, 2021
4
Australia
Hi, apologies for my ignorance but can the poolController node.js component be used to connect directly to a pool chlorinator without using Intellicentre? I have a rather old Zodiac LM3 that can apparently be used with an external controller (either Polaris E, Jandy Aqualink RS (REV K and L) or Pentair IntelliTouch). would very much like to integrate this with Home Assistant eventually but, for now, just connecting it to a PC controller would be great. From what I read on the Git page (GitHub - tagyoureit/nodejs-poolController: An application to control pool equipment from various manufacturers.) it sounds like it's possible to connect directly to the RS485 bus of the LM3 but, given the in-depth instructions above (brilliant work btw, very useful level of detail!) I am not so sure.
Appreciate your thoughts?
 

IanK

New member
Sep 3, 2021
4
Australia
Thanks for replying so quickly. OK, so I should be able to 'just' connect the RS485 adaptor to the relevant bus connections in the LM3 and use the poolControllerjs in place of a pool controller unit then. Cool, in that case I'll give it a crack... with every expectation that it won't work :)
 

Candurin

Well-known member
Jun 30, 2017
301
South Jersey
Pool Size
13000
Surface
Fiberglass
Chlorine
Salt Water Generator
SWG Type
Pentair Intellichlor IC-40
@rstrouse remind me…. What’s the commands for GitHub pulling that we should be performing to keep everything up to date on this? Or, is it more of a “if it ain’t broke” situation.
 

vj950

New member
May 28, 2021
2
Ohio
Hi,
I finally got my outdoor wifi set. I am trying to set Pi Zero W for njpc/dashPanel since last couple of days. I can get most of my things to show up in njpc. However, the main body shows up as and controls "Solar" instead of "Pool" (Please see the screenshot). I am also uploading my mobiletouch2 screen pictures for comparison (Thumbnails)

In my system, solar heater with system is installed, was once functional and controlled by intellitouch, but has been disconnected (solenoid or "valve mover thingies" are electrically connected to the control panel but not physically on the mechanical valves, master valve knob for solar water pipes are shut off- both outgoing and incoming) by the previous owner of the house due to a leak, but has not been erased from Intellitouch. I will repair it at some point in future, therefore, as a newbie i didn't want to change programming.

As a result, I cannot control heating of the pool. I have figured out that Low-Temp mode on mobiletouch2 is in fact "solar" on njpc. The first Intelliflow VS is the pool pump, but njpc is not associating it with Pool. Since the pool circuit will not show up in "Aux Circuit" tab, I am unable to add it as a feature. There are other circuits that are missing as well (Back Light, Cabana Light). see the Aux-Circuit tab screenshot. When I first set up everything in njpc, EVERYTHING showed up (except the POOL).

The Fountain is run through i5x expansion panel, which itself is not showing up in njpc. For a few hours yesterday, the "Fountain" also did not show up in njpc, this morning miraculously it did.

So I am not sure what I could do. I was looking in the config files in DATA folder, but could not comprehend. Also, I am not sure if changing anything there manually would do anything.

Any help would be appreciated.Aux Circuit.JPGMain.JPG20210918_095603.jpg20210918_095536.jpg20210918_095544.jpg20210918_095551.jpg
 

Enjoying this content?

Support TFP with a donation.

Give Support

rstrouse

Well-known member
Jun 17, 2020
227
California
Please open an issue at Issues · tagyoureit/nodejs-poolController. We need to see a replay of the startup code. Pentair does this crazy thing with single body i5S and i9S where they replace the pool body with lo-temp and the spa-body with hi-temp. Essentially, it is the same as a shared body system it just doesn't rotate any valves.

Looking at your screenshots it is pretty obvious that Pentair must hard-code the names for these circuit references and ignores the custom names.

For i5S and i9S:
Pool = Lo-Temp - This has been aliased in the OCP to Solar so what would be Lo-Temp on the OCP is actually showing up in dashPanel as Solar. Interesting that they would ignore this on the controller.
Spa = Hi-Temp - We see this as a single body system so we do not display the Hi-Temp

This would also be the first i5x that we have seen. We have seen the i10x but the i5x must have a different signature than we have since I would have expected there to been 4 more circuits to show up in the aux-circuits tab. njsPC picked it up because your OCP decided to do something with it.
 
  • Like
Reactions: MyAZPool

rstrouse

Well-known member
Jun 17, 2020
227
California
Under the gears menu in dashPanel, select the General tab and set the Clock Source to server. This will automatically keep the clock on the EastTouch in sync with an NTP server. If it gets out of whack (and it will), njsPC will synchronize the time on the OCP to the pi time.
 

mzuniga

Bronze Supporter
Feb 12, 2021
46
Cost Rica
Pool Size
18000
Surface
Plaster
Chlorine
Salt Water Generator
SWG Type
Pentair Intellichlor IC-40
6. Equipment and Accessories Considerations

Depending on the specific setup or configuration, there are some basic pieces of equipment and accessories that will be required to implement the use of the nodejs-poolController if utilizing a Raspberry Pi. There are quite a bit of choices and options available here but I am listing the equipment that I personally selected for my particular needs based on my research and some recommendations that I received.

Note: I have yet to experience any problems or issues with any of the following items and I have listed the links where I purchased these items and the approximate cost of each item.

A. Raspberry Pi Computer: There are several different models of Raspberry Pi computers that are acceptable for the purpose of utilizing tView attachment 161877he nodejs-poolController-dashPanel.​
I happened to choose the Raspberry Pi 4B – 4GB model for my setup. If one were to plan on using the RPi for only the nodejs-poolController-dashPanel requirements, then the RPi 4B 4GB model may be a bit “overkill” I believe. However, I chose it for my needs based on the following requirements.​
(1) It is currently the “latest and greatest” model and can handle much more workload if needed in the future.​
(2) I am planning to use this particular RPi for additional tasks to include things like pH and FC sensors, Filter Pressure Gauge Transducer, MA dosing and water meter monitoring.​
(3) Although I purchased my RPi, power supply and optional heat sink/fan kit, à la carte, there are also literally hundreds of various kits and bundles that are available as well. Just be careful when ordering various kits. Many bundled items within the kits do not appear to really be needed, or they are items that are inappropriate for this particular intended purpose.​
Note: I am now personally using a USB to USB-C adapter in order to power my RPi(s) and I have completely ditched the “wall wort” type power supply.​
B. USB Wireless Keyboard/Mouse Combo and Monitor:​
It will be necessary to use a monitor, keyboard and mouse in most cases, at least during the initial setup. Once initial setup is completed, you can use remote desktop software to remotely access the Raspberry Pi and then you can use your normal desktop/laptop computer keyboard/mouse/monitor.​
Regarding a keyboard, mouse and monitor. You can always use an existing keyboard, mouse and monitor that you already have, since it is NOT necessary to have dedicated I/O devices such as these.​
However, I had no spares available to me and so I chose to purchase a USB wireless keyboard/mouse combo with USB dongle and a small 7” touch screen monitor. Especially in light of the fact that I figured that I would do a lot of playing around with other RPi’s (testing, experimenting etc) eventually.​
Here again, there are hundreds of various options one can select, but the following are the I/O accessories that I happened to find and have consequently, performed well for me.​
C. Raspberry Pi Accessory Options: The following are just additional options that I chose to purchase at the time because I had initially thought that I would be placing my Raspberry Pi at the equipment pad as explained above.​
D. USB to RS485 Adapter: This is a necessary item when using the nodejs-poolController-dashPanel. A USB to RS485 adapter is View attachment 161879necessary since there is a requirement for a physical connection between your Raspberry Pi and the RS485 bus of the IntelliCenter or *Touch. Here again, there are several different options that are acceptable. I have used all of the following adapters without any issues and will comment on each one below.​
Comments: This was my first adapter. Super easy setup and good documentation. The connection and activity lights are adequate and handy to have. However, it is very large compared to the other two which I own and which could present a problem if using multiple USB adapters with your RPi. It’s also fairly “pricey” in comparison to the other two listed below.​
Comments: I like this one as well. No documentation but that doesn’t matter since it’s illustrated adequately on its Amazon page. I will also provide the connection/pin-out instructions below.​
Note: The “white” (clear) model allows for very bright connection and activity lights. This might be preferable for some, especially if mounting or placing the RPi outside. I use this adapter inside and it does not particularly bother me, but when my office lights are turned off at night, the blinking green activity light is VERY bright and flashing constantly as it communicates on the IntelliCenter RS485 bus.​
EDIT: 5/7/21... THE FOLLOWING RS-485 ADAPTER IS NO LONGER BEING RECOMMENDED DUE TO IT'S HIGH FAILURE RATE. I HAVE USED THIS ADAPTER FOR A SHORT PERIOD OF TIME AND DID NOT HAVE A PROBLEM BUT MANY OTHERS ARE EXPERIENCING ISSUES WITH THE JBTEC, SO PLEASE BE AWARE. I CONTINUE TO USE BOTH OF THE OTHER ADAPTERS LISTED ABOVE AND I HAVE NOT EXPERIENCED ANY PROBLEMS WITH EITHER OF THEM.
PLEASE SEE THE FOLLOWING GITHUB REPO WIKI LINK FOR ADDITIONAL INFORMATION RS-485 ADAPTER DETAILS.
Comments: I purchased this adapter for two reasons. I wanted to check it out because it is the adapter that is recommended on the GitHub, nodejs-poolController website (NO LONGER) and I will need additional adapters anyway for future pool-related automation projects.
This adapter is also the least expensive of the three that I have used so far. But it is also the one with the least number of features (features that are not particularly necessary for this application however).
What I like about this adapter is its simplicity and “slimness”. It can be used alongside other USB adapters on the RPi, without a USB port “space” conflict. It only has two inputs which is fine for this application. They are A (Data+) and B (Data-) and which are labeled on the bottom of the adapter. There is no consideration for a “GND” connection but that may not be an issue for most. There are no connection or activity light features. This is not a concern typically but activity lights on an adapter will provide the user with a visual indicator of communication traffic (“heartbeat”) between the adapter and the RS485 bus.
Also, here is another USB to RS-485 adapter that is getting good reviews and looks pretty cool.​
Physical RS485 connection between the RPi and the IntelliCenter.​
The following are the instructions to "make-up" the physical RS485 connection between the Raspberry Pi computer and one of the IntelliCenter COM PORTS on the IntelliCenter Control System Circuit Board (Mother Card) or the Serial COM PORT Expansion Board (520818), while utilizing a USB to RS485 adapter.​
Note: Use UL approved conductor cable minimum 22 AWG (Cat-5e meets this spec). However use UL approved conductor cable minimum 18 AWG for distances longer than 200 ft.​
Basically, this is the same as wiring most other pool equipment that uses a 2-wire COM/serial connection to the IntelliCenter or *Touch systems (pumps, high-end pool heaters, etc.)​
There are two mandatory conductors (wires) that must be connected on the COM PORT RS-485A or COM PORT RS485B (on the IntelliCenter Mother Card) or on the optional Serial COM PORT Expansion Board (if applicable), and the USB to RS485 adapter.​
On both IntelliCenter RS485 COM PORT terminals and the Serial COM PORT Expansion board, they are labled as “YEL” and “GRN”.​
On the various USB to RS485 adapters, the terminal screw connections/pin-outs, may be labeled or indicated differently.​
Here is the key for connecting the IntelliCenter RS485 bus to the USB to RS485 adapter correctly.​
There is an optional third conductor related to this application, if desired. That is "Signal Reference" or Ground which is indicated by BLK,Black or GND.​
Note: As noted in Section 5.D. above. IF, you are currently employing either an optional IntelliCenter Indoor Control Panel (P/Ns 522035, 523058 or 523059) or in the case of *Touch systems and are you are utilizing the ScreenLogic Protocol Adapter (with or without the Wireless Connection Kit) and/or one of the Indoor Wired Control Panels (P/Ns 520138 or 520548), then you should already have an existing RS485 connection within your residence. You would then only need to run a 2-conductor (3 if you prefer a ground) from one of these devices to your Raspberry Pi (or another computer if you prefer). This connection would serve as your physical RS485 connection.​
E. MicroSD Card: A microSD Card is also necessary since this is where all of the necessary files are stored for your RPi. Just think of this card as similar to your desktop/laptop computer hard drive.​
Just like nearly every other piece of equipment or accessory noted within this instructional guide, there are many choices available in manufacturers and varieties here as well. You can purchase microSD Cards in 16GB, 32GB and even larger storage capacities.​
Note: I had a lot of problems trying to load NOOBS and/or the RPi OS (formerly known as “Raspian”), initially for some reason on an existing 64G microSD card that I had. I really don’t know why, but I did find some information on the internet that suggested any cards larger than 32GB may experience issues with the loading of NOOBS and/or RPi OS. Just as soon as I tried a 32GB card, no problems loading the RPi OS.​
If you are planning on running the nodejs-PoolController-dashPanel ONLY, on your RPi, then the 16GB microSD card should be sufficient.​
The following link provides some additional information on microSD Card selection.​
Note: You can buy blank microSD cards and load RPi OS yourself or you can buy them pre-loaded with "NOOBS". NOOBS stands for “New out of the Box Software”. It is actually an “installer” that can be found pre-loaded on microSD cards or it can be downloaded to a blank card. I have not had good luck actually downloading NOOBS on to blank microSD cards for some reason (it just won’t load and execute). But I have had great success downloading the RPi operating system (OS) on blank microSD cards. Rpi OS will be explained in further detail in the next section.​
Although I have not tried one, I understand that microSD cards with NOOBS pre-installed are a fantastic option (especially for the noob) and they are available from many distributors and independent retailers, including Pimoroni, Adafruit, Pi Hut and Amazon.​
Note: I'm really not sure why I like to do things the “hard way” sometimes? Downloading and installing the RPi OS is not really that difficult but if the pre-loaded microSD card is just as good as the old-fashioned “download to blank card” variety, then why not.​
More about NOOBS can be found in the following link.​
Note: Another consideration when purchasing microSD Cards is having more than one. Just like any other type of computer application, backup is important. Once your microSD card is configured properly to run nodejs-poolController-dashPanel, you will want to back up the microSD card to an “image” file to your desktop/laptop. Also, having two exact images on two different microSD Cards allow you the latitude to have additional redundancy and to have peace-of-mind. Especailly if you decide to start experimenting within your RPi. If you goof something up, no worries. Just shut the RPi down, pop the card out, place the new card with the original image in, fire up your RPi and you’re “back in business”. See the section devoted to microSD card images and backup in the Miscellaneous Information and Instructions below.​
Here is my current “blank” microSDC “card of choice”. I have had zero problems with these and I have six of them now that I have used. There are several different bundles available as well on Amazon.​
So @MyAZPool, I'm trying to make my own connection with an old USB cable. I have black, green, white and red coming out of the cable. I understand black goes to black in the RS485 com bus, white to yellow? green to green? Should I connect the red, which I believe is 5v to red, or just not connect it at all? Thanks!
 

mzuniga

Bronze Supporter
Feb 12, 2021
46
Cost Rica
Pool Size
18000
Surface
Plaster
Chlorine
Salt Water Generator
SWG Type
Pentair Intellichlor IC-40

wgipe

Gold Supporter
Jul 4, 2020
312
Fletcher, OH
Pool Size
20000
Surface
Vinyl
Chlorine
Salt Water Generator
SWG Type
Pentair Intellichlor IC-40
So @MyAZPool, I'm trying to make my own connection with an old USB cable. I have black, green, white and red coming out of the cable. I understand black goes to black in the RS485 com bus, white to yellow? green to green? Should I connect the red, which I believe is 5v to red, or just not connect it at all? Thanks!
if you are suggesting you cut the end off of a USB cable and tried to connect that up in place of an RS485 adapter, that will not work. The adapter has circuitry that translates the signal and makes the Pi aware that the device is connected Ana what to do with the signal. That would be the source of no communication, below.
 

mzuniga

Bronze Supporter
Feb 12, 2021
46
Cost Rica
Pool Size
18000
Surface
Plaster
Chlorine
Salt Water Generator
SWG Type
Pentair Intellichlor IC-40
if you are suggesting you cut the end off of a USB cable and tried to connect that up in place of an RS485 adapter, that will not work. The adapter has circuitry that translates the signal and makes the Pi aware that the device is connected Ana what to do with the signal. That would be the source of no communication, below.
Now I'm the solid one lol. I somehow thought that would work. On to Amazon to get my adapter. Thanks @wgipe!
 
  • Like
Reactions: wgipe

mzuniga

Bronze Supporter
Feb 12, 2021
46
Cost Rica
Pool Size
18000
Surface
Plaster
Chlorine
Salt Water Generator
SWG Type
Pentair Intellichlor IC-40

snagytx81

Member
Jun 11, 2021
6
Houston/TX
Pool Size
16000
Surface
Plaster
Chlorine
Liquid Chlorine
Hello,

Was anybody able to have a remote RS485, an EW11< that is configured in "client" mode, which connects to your socket port which then feeds the received data to /dev/ttyUSB0 ?

I tried to follow the instructions form Docker · tagyoureit/nodejs-poolController Wiki the "Docker socat example:" section but I get an error similar to:

2021/10/17 20:34:32 socat[1016123.140134665777472] E open("/dev/ttyUSB0", 02, 0666): No such file or directory

when the socat command is executed:

socat tcp-listen:9801,fork,reuseaddr file:/dev/ttyUSB0,b9600,raw,echo=0

I even tried to install socat on my OS, not in docker, and run manually the command - still not wrking

I'm looking to run socat in tcp-listen mode so that the EW11 can reconnect and push the data to socat port, instead of having NJPC connect to EW11 - since I see that NJPC doesn't reconnect if EW11 restarts, or there is a network issue.

Any help is appreciated.
 

Enjoying this content?

Support TFP with a donation.

Give Support