-
Notifications
You must be signed in to change notification settings - Fork 94
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
Intellitouch i10-3D + expansion #246
Comments
Hey, so I'm not getting any errors from the replay. I do have some logic in the app for the expansion panels. But there isn't enough info in here for me to debug anything.
I'm pretty sure that I built the expansion panel logic from one of your previous captures. Unfortunately, I've only seen the i10X and it isn't 100% clear how to tell the different expansion panels from each other. |
Every time I run a replay capture, I loose the expansion.
I have (20) circuits.
It resets the config on the outdoor unit some how, and I have to reprogram the whole thing.
Tested this yesterday afternoon again, after I started setting the new programming, just as a test.
The commands I use to program it are from the swagger ui page, and for the most part they work great.
I think there is an overlap in the intellitouch board specification affecting the custom names; should start with 200, but starts with 201.
So I can’t assign customs names with curl put, but I can work around that.
Scheduling is not working either with curl
But aside from the replay wiping out the programming, it’s great, not being sarcastic about it.
Programming it is a lot easier.
I know I’m an edge case so…. I can work around things.
Thanks and keep up with the good work!!!
This is the replay capture that I took last, before it wiped my programming
This is the json config before the replay, but missing some of the curl put stuff like assigning the pumps to circuits, adjusting circuit names and such
… On Nov 17, 2020, at 12:27 AM, tagyoureit ***@***.***> wrote:
Hey, so I'm not getting any errors from the replay. I do have some logic in the app for the expansion panels <https://github.com/tagyoureit/nodejs-poolController/blob/next/controller/comms/messages/status/EquipmentStateMessage.ts#L226>. But there isn't enough info in here for me to debug anything.
Does this replay include when your expansion panel is setup?
Can you tell me what the error is when the app crashes? It should tell us what line is causing the crash. Also, can you tell me what the last packets are that were received? Since the app is crashing it may not capture these through the replay. You can turn on all logging and capture what is shown in the console log when everything goes south.
I'm pretty sure that I built the expansion panel logic from one of your previous captures. Unfortunately, I've only seen the i10X and it isn't 100% clear how to tell the different expansion panels from each other.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#246 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB4KGF7C2HJYPFM34PAZV6DSQICV5ANCNFSM4TWKQOUQ>.
|
Also, this is a master list of all the curl put json configs that work so far for me.
I put them into a master base.json file to keep track of what’s working and what isn’t
Everything in here except for the Custom names work
… On Nov 17, 2020, at 12:27 AM, tagyoureit ***@***.***> wrote:
Hey, so I'm not getting any errors from the replay. I do have some logic in the app for the expansion panels <https://github.com/tagyoureit/nodejs-poolController/blob/next/controller/comms/messages/status/EquipmentStateMessage.ts#L226>. But there isn't enough info in here for me to debug anything.
Does this replay include when your expansion panel is setup?
Can you tell me what the error is when the app crashes? It should tell us what line is causing the crash. Also, can you tell me what the last packets are that were received? Since the app is crashing it may not capture these through the replay. You can turn on all logging and capture what is shown in the console log when everything goes south.
I'm pretty sure that I built the expansion panel logic from one of your previous captures. Unfortunately, I've only seen the i10X and it isn't 100% clear how to tell the different expansion panels from each other.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#246 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB4KGF7C2HJYPFM34PAZV6DSQICV5ANCNFSM4TWKQOUQ>.
|
Nothing was attached. Let's break this down a bit. There is a lot to unpack here...
I really don't understand what's going on here. Running a replay capture is no different from starting the app up from scratch the first time. If you delete your ./data/*.json files does that also loose your expansion panel?
Are you saying IntelliTouch starts at 201 and not 200?
Need more details here. If you can provide me with some more specifics that would really be helpful. I still need the exact output from the console when you say njsPC crashes. For this, if you enable all logging and also console logging it should output everything to your screen. The you can manually copy/paste the results back here. |
Replay Master Branch |
This is from main branch, no expansion, indoor / get image from outdoor |
Main Branch, no expansion, indoor send image to outdoor |
Next Branch, no expansion, capture with reset |
Next branch, no expansion, indoor get image from outdoor, no crash! |
Next Branch, no expansion, indoor send image to outdoor, no crash. |
Hmm... I can't seem to find where the configuration has gone for the expansion panels. Here are the 2 (status) packets:
The number in brackets previously told me the expansions. 96 vs 64... the 7th bit told the story. But with the new firmware it is consistently a 64. I've gone through the other packets and nothing is sticking out at me as indicating an expansion panel. I'll keep looking but a bit disappointed not to find it tonight. EDIT:
|
Byte 22 is an unidentified byte on the 2 message for IntelliCenter. This byte is directly after waterSensor4. Perhaps this byte is not our indicator though. To solve that mystery, the exact process @tagyoureit outlined above needs to be completed where we have two separate log files that are clearly identified. One with the i10x installed and one without the i10x installed during the time njspc is trying to get the information from the OCP. Only then can we determine if another byte (perhaps on the action 5 message) contains the data we are looking for. Below is the 2 message for IntelliCenter and below that is the 204 message which contains the expansion panels: This is a big message from IntelliCenter but byte 13 identifies the installed expansion modules for master and byte 14-18 identify which modules are installed on the expansion panels to include valve expansions and personality cards (i10x, i5x). |
This is (4) sets of logs. Test 1 is base system, nothing removed All test were preformed after a stop and restart of njsp, using node dist/app.js After all the tests, I stopped, and zipped the whole logs dir. Thanks |
@tagyoureit -- Since there is no 204 message from Touch I looked at the differences between the files provided for action 2. Here they are for the 4 tests. It appears there is no difference between them.
There is a difference for an action 109 which is identified as iLink. Here it is between the tests. Note the value in byte(1) for #1 and #4 when the i10x is installed. I don't see anything related to the valve expansion though. @ckurlinski -- do you have an iLink installed?
|
Wait a minute is byte(7) part of the features? If it isn't it's right there in action 2 byte(7). |
No ilink installed |
Please do me a favor for all of the tests make sure everything is turned off. The extra messages are noise that make it harder to sift through. |
Hmm, I was pretty sure that 109-111 was iLink. But if it's config info that could be different. But I've never seen these packets on any other system then @ckurlinski . |
Could 109, 110, 111 be the new Expansion addresses? |
Dumb Question, could 109 be NJSP? |
No, this is a broadcast message that is on the RS485 bus. The destination is 15 which tells me it is a panel 16 sending out information to whom it may concern. Bear in mind, not all messages follow this as a rule but most do. For IntelliTouch I believe all messages come from source 33 when njspc originates them. I don't know how the expansion panels work in IntelliTouch so are you placing the master in service mode or can you place the expansion in service mode? |
The system is in service mode |
Here's an interesting set of logs i10-3D_AFTER_UNIT_WIPE_i10x_2nd.zip |
And after a clean njsp next install |
So you placed the panel in service mode. That will probably mess with our results. Still I see 109s with a 2 now in the first byte but this could be related to the fact that the master is disabling all incoming command related messages. Is the process you are using to enable the expansion panel described here on page 26? If it is I want a capture of you doing this process. I don't want you to set service mode, have anything turned or wipe the unit, just enable the i10x using the described process. Please also do not issue any commands from njspc or press any commands on any of your controllers. All of this just becomes noise that obscures the messages that we are interested in. Please have njspc running then turn on the capture without reset before you start the process. Then when you are finished, wait about a minute, then turn off the capture and upload those files. |
Just did it, forgot to turn on packet capture |
No Pumps, Valve Expansion Boards, no Chlorinators, no INDOOR Unit attached i10-3D_AFTER_UNIT_WIPE_i10x_CLEAN_NJSP_NEXT_WIPED_5_FUCKING_TIMES.zip |
With pumps and some config to get some things running i10-3D_AFTER_UNIT_WIPE_i10x_CLEAN_NJSP_NEXT_WIPED_ADDED_PUMPS_BASIC_CONFIG.zip |
Ok, just to be sure. The i10-3D_AFTER_UNIT_WIPE_i10x_CLEAN_NJSP_NEXT_WIPED_5_FUCKING_TIMES.zip was the process from page 26 of the manual doing a capture without reset or was this something else? @tagyoureit - Once his system stabilizes, a 109 is sent on periodically and address 17 responds with an ack. 17 is a likely candidate for an expansion panel. 16 is the originating address and 17 responds. |
Yeah but 109-11 was showing up on a fresh wiped system, with nothing but RPI w/NJSP connected to it.... |
Yeah but that was with the comm port connected to the expansion load center... correct? |
no, just the i10-3D |
So without the load center wired in at all? What else was connected to RS485 at the time? The OCP is clearly communicating with something over RS485. |
Only (1) ONE thing was connected to the i10-3D |
Please do not do a capture with reset. That causes njspc to interrogate your controller which sends hundreds of requests and responses. Do a capture without reset |
I meant resetting the i10-3D while doing a capture, else NJSP does this virtual controller thing |
Ah yes. |
Wiped like my dainty ass.... |
sorry wrong log |
People were talking to me, how dare they |
Ok so here is what I know. On startup the OCP asks on address 109 who is out there. If no expansion panel exists then it gets no response. However, when an expansion panel is installed it responds with an ACK on the address of the expansion panel. This occurs during restart until it establishes that the control panel exists or it doesn't. If the expansion panel exists it continues to ping it on 109. The payload on that ping appears to be [1,x,x,...] where byte(0) indicates the expansion number and at least byte(1) indicates the relays that should be active. So when we were seeing During startup, it goes looking for any controller on action 110 which we do not process These addresses are 19, 18, and 17 working backwards to 17. If it already has confirmation for 17 on the 109 message then it doesn't ask for it on 110. That is the process that the OCP goes through to detect whether there is an expansion panel on the system. I suspect this is true for all IntelliTouch boards at reboot of the OCP. Now what we need to know from the OCP is whether it has detected one or not. I suppose we could look for ACKs on 109 to determine if the expansion exists but there has to be a more direct route. For example, ACK 109 from address 17 = EXP1, ACK 109 from address 18 = EXP2, ACK 109 from address 19 = EXP3. Do you remember if there is a screen on the ICP that displays the installed panels? If there is we may be able to spy on the ICP asking whether they exist. |
Zoom? |
First do you have dashPanel set up? We will need that for the MessageManager tools. |
AllI have to does start it |
Do you know if there is anywhere on the ICP that displays the installed expansion panels? |
It does, when the expansion panels are on the system, the ICP adds additional screens , Main Display, Display 1, Display 2, Features |
Hmmm... is this automatic or does it require you to do the get image from outdoor to have the Display 2 show up? |
It's Pentair-a-matic, the ICP is a POS, I think it intercepts the commands from NJSP. |
Wait, it took (5) minutes to update the OCP, the feature is there now. |
I ditched IntelliTouch. I am so glad I did. IntelliCenter is not without its warts but at least there are a couple of spots with clear skin. All told, when you add up the amount of time I spent shaking a chicken bone in the air to get IntelliTouch programmed and working and the time I spent troubleshooting equipment I could have built my own. Fwiw, the system for when it was built did plenty more than any other. However, it is very long in the tooth. You can bet the OCP had your feature but it needed to send 40 circuits & features out to everyone involved. Then when the ICP go it it needed to ask for every one of the 99 schedules so what you have is a few hundred tiny messages being shot back and forth between everyone involved. So the question stands. If the ICP currently does not have Display 2 tab (no i10x installed). Does the act of installing it on the OCP automatically make the Display 2 tab appear or do you have to get the image from the outdoor panel? |
I have the i10x up, there is something going on with the system, it's a mess, I have factory reset the whole system literally (10) times today. |
My opinion is to dump it. You are at it's limit when it is working properly. My experience over the years with IntelliTouch includes having to replace the board twice. The third time I decided it was time to move on because I thought the personality board was fried but thinking back it was probably the power supply. There were times when the ICP would lock up and the wireless controller would cease to operate as well. It always seemed to happen when I didn't have time to troubleshoot it or it was raining. Heck to replace the wireless controller battery is $400 every 2 years. A new wireless controller for IntelliCenter is less than that. So I went searching for alternatives. Jandy & Hayward... nope (I'm not even sure Jandy has a system that would accommodate your needs, certainly not iAquaLink). I came across this project and thought that maybe I would build my own but IntelliCenter seemed to be able to do what I wanted so I went with it. I have to say I am actually pretty happy with IntelliCenter at the moment. Sure one fw ago it was tweaking my body temp setpoints but it has been pretty solid on 1.047. Another bonus it that the control panels are just a better interface. They are point and jab and don't require tapping out morse code to get to the menu you need. Even the wife can operate it without destroying the programming. If I had a nickel for every time she deleted the solar heater when she wanted to shut it off... or somebody house sitting had trouble changing the setpoint on the pool or spa. Heck I can't tell you how many times I found the Gas Heater heating the pool because both bodies were set when they only wanted the spa heater. IntelliCenter solves these problems by assigning equipment to the body explicitly. |
Thanks guys, for continuing to work on this... Good catch on the 109. Strange that I've never seen that before from any other system. |
Upgrading the system to IntelliCenter. Thanks |
I am not able to pull the expansion, ID (32) into njsp running capture replay.
If I go into the indoor controller, under Advance, get image from outdoor device, njsp crashes, then restart njsp, the expansion is there.
Here is the replay.zip
replay.zip
The text was updated successfully, but these errors were encountered: