nodejs-poolController icon indicating copy to clipboard operation
nodejs-poolController copied to clipboard

[BUG] Lights Stuck

Open matthewusf opened this issue 2 years ago • 12 comments

nodejs-poolController Version/commit

8.0.1

nodejs-poolController-dashPanel Version/commit

8.0.0

relayEquipmentManager Version/commit

No response

Node Version

No response

Platform

No response

RS485 Adapter

No response

Are you using Docker?

  • [ ] Yes.

OCP

Intellicenter i5PS - 1.064

Pump(s)

No response

Chlorinator(s)

No response

What steps will reproduce the bug?

Selecting a light color produces stuck in "Sequencing Theme/Color Operation... Please Wait!" (Intellicenter -> Microbrite)

What happens?

2023-11-26 14 36 35

What should have happened?

I successfully changed the light within intellicenter, restarted njsPC and it is still stuck in this mode.

Additional information

replay.zip

matthewusf avatar Nov 27 '23 18:11 matthewusf

I am having the same issue. I do get an error trying to modify the color. Circuit or Feature Id not valid. 20231229_210251

It did this with 7.x as well. Now running 8.0 UI and 8.0.1 backend.

I can reset my device (backend) and it will come back.

dsisk112 avatar Dec 30 '23 02:12 dsisk112

I do have two null circuits in the Light Group. The third circuit is the real Light circuit. I assume I could delete these at the pool controller. Or they are not really there. I will check.

20231229_211418

dsisk112 avatar Dec 30 '23 02:12 dsisk112

@dsisk112 this is part of the goofiness in Touch firmware that it will sometimes put invalid circuits in the IntelliBrite group. I assume you have only 1 light so try deleting the two invalid ones and save the group.

@matthewusf Ill have a look at the messages from IntelliCenter. This flag normally comes from IntelliCenter when it is attempting to sequence one of its groups. Perhaps there is a difference from your panel.

rstrouse avatar Jan 16 '24 02:01 rstrouse

@matthewusf also please change the theme on the IntelliCenter panel. Let’s see if it clears the flag.

rstrouse avatar Jan 16 '24 03:01 rstrouse

@matthewusf can you capture a scenario where you are turning a circuit on and off. I do not see any returns from IntelliCenter when it asks for the circuit status in the log output but there were no messages after the request. I assume this is because you stopped the capture before IC responded.

rstrouse avatar Jan 16 '24 22:01 rstrouse

Just got back in town, really appreciate your help. Apologies if I wasn't very clear but I seem to be having a different issue than the person commenting on this bug. My issue is this:

A couple of months ago, I changed the light color from within njsPC and got "Sequencing Theme/Color Operation... Please Wait!". I do not remember if I got any errors after that, but it did not change the light color. I had to change it within Intellicenter. Ever since, njsPC is stuck in that same "Sequencing" state. If I change the color in Intellicenter, it correctly recognizes the color change by changing the light bar to the proper color, but the color pallet continues spinning and says "Sequencing" if you click on it (preventing me from selecting a color within njsPC).

My guess is the capture isn't capturing anything since it's not allowing me to even select a color change, if that makes sense. My thought is there's gotta be a way to have it just rebuild its configuration - but when I select "Rebuild Configuration," it just gets stuck at 34% and never actually loads. I have to then restart njsPC to get it to show "Ready" again. It's definitely on the latest versions for njsPC and dashPanel.

matthewusf avatar Jan 25 '24 18:01 matthewusf

I don't want you to select a color then I want you to turn the group on and off or at least another circuit. The original output did not include the state response as the last message was the request.

rstrouse avatar Jan 26 '24 00:01 rstrouse

Appreciate it - does this give you what you need to see it? I turned the lights on and off a couple of times:

replay.zip

matthewusf avatar Jan 29 '24 16:01 matthewusf

Thanks that was really helpful. Pull njsPC it appears IntelliCenter does not report when it finishes hold or recall if the circuit goes off before it finishes. The software will now initialize these on startup and clear the sync when the circuit is off.

rstrouse avatar Jan 30 '24 17:01 rstrouse

Frankly it's amazing that you were able to figure that out from my capture! Worked perfectly immediately after pulling the latest. Really appreciate all of your work on this - it's fantastic software.

I'm still stuck unable to "Reload config" though - not sure if that's unrelated or not because I only noticed when trying to clear this issue. Instead of 34%, I'm now stuck at 11% "Loading."

matthewusf avatar Jan 30 '24 18:01 matthewusf

Create a caption with it reloading the config from the start. It is waiting for the panel to respond with some information.

rstrouse avatar Jan 30 '24 20:01 rstrouse

Interesting, here it is after being stuck at 15% for a good hour:

replay (5).zip

matthewusf avatar Jan 30 '24 23:01 matthewusf

Closing due to lack of activity. If this persists, please reopen.

tagyoureit avatar Jun 10 '24 05:06 tagyoureit