rstrouse / nodejs-poolController-dashPanel

A dashboard panel for tagyoureit/nodejs-poolController
33 stars 20 forks source link

Changing Intellichlor output upon circuit switch on #53

Closed mzuniga51 closed 2 years ago

mzuniga51 commented 2 years ago

The idea is being able to deliver 100% output from the Intellichlor cell when a specific circuit is turned on. In this case, the idea is that Spa receives full cell output when heating which is when the chlorine consumption has an abnormal peak.

rstrouse commented 2 years ago

Post up your current njsPCAux.json file.

mzuniga51 commented 2 years ago

Here. Included the last attempt that didn't wor njsPCAux.txt k

rstrouse commented 2 years ago

Here is the section for setting the chlorinator.

    {
      "name": "virtualCircuit",
      "description": "Set the superchlor when the spa heater turns on or off",
      "body": "@bind=extend(true, {}, {id: 1, isDosing: data.isOn});",
      "enabled": true,
      "options": {
        "host": "192.168.68.165",
        "port": 4200,
        "method": "PUT",
        "path": "/config/chlorinator"
      },
      "filter": "@bind=data.id === 245;"
    }
mzuniga51 commented 2 years ago

Now I can briefly see a super chlorinate message but then it immediately disappears. Percentage output stays the same though.

rstrouse commented 2 years ago

Now I need a capture when the heater is going on then when it is going off. This should not be changing the setpoints only increasing the output. We have to fool IntelliCenter because it will try to set it back.

mzuniga51 commented 2 years ago

Here is the capture replay.zip

tagyoureit commented 2 years ago

BTW, just for clarity of definitions...

Super Chlorinate has a duration and sets the chlorinator to 100% and ensures that the pool (or spa) stay on for the length of the super chlorinate function. It will return the chlorinator back to the previous output % after super chlorination is finished.

I think you just want to set the chlorinator to 100% but technically this isn't super chlorinating.

mzuniga51 commented 2 years ago

Correct. The message that briefly appeared this last time said “Super chlor:” though.

rstrouse commented 2 years ago

Manuel, I looked at the replay it is setting the chlorinator to 100% there may be some delay with this but the cell is definitely ramping up to 100% and returning to the original setpoint afterwards. This looks like it is doing what you want. image

mzuniga51 commented 2 years ago

Let me go and check it out directly at the cell

rstrouse commented 2 years ago

It may just take a bit to report to njsPC

mzuniga51 commented 2 years ago

Success! The cell is doing it. It is just that njsPC is not reporting it even after 30 min but that is not a problem for me. So long as it is happening! As always, many thanks Robert

tagyoureit commented 2 years ago

Is it not reporting in both instances?

mzuniga51 commented 2 years ago

I have set the value for 10% and is reporting correctly. Once I set the heater, the cell lights goes to 100% but njsPC keeps reporting 10%

On Sun, Mar 20, 2022 at 6:01 PM tagyoureit @.***> wrote:

Is it not reporting in both instances?

— Reply to this email directly, view it on GitHub https://github.com/rstrouse/nodejs-poolController-dashPanel/issues/53#issuecomment-1073377807, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV2HSS3MUJ4CPY7LXBZBV7DVA636ZANCNFSM5RE3NKRA . You are receiving this because you authored the thread.Message ID: @.***>

rstrouse commented 2 years ago

Funny we are just spitting out the wrong value

mzuniga51 commented 2 years ago

Lets take our (almost) success and call it a day! lol