Skip to content

Pump disable/enable via API call #1211

Description

@thrystan

💥 Proposal

What feature you'd like to see

I would like to be able to disable and re-enable one or more pumps via an API call

Motivation

I have a water level detector that controls my water fill circuit. I have written it so that if the water level goes below a minimum setpoint it turns off the pump circuit via njsPC and then re-starts it after the water level has risen above a certain point. This doesn't appear to block my "surface sweep" feature that runs the pool pump at a higher gpm for a short period twice a day. Since I am turning off the pump to prevent it from sucking air I would like to be able to tell njsPC to disable the pump and then reenable it, via API calls. when disabled nothing would be able to start the pump.

Pitch

There are probably numerous reasons why someone would want to be able to disable a pump from running. In my case it is to wait for the fill valve to raise the water level high enough to prevent the pump from sucking air. Specifically in my case I am purposefully lowering the water level to enable a leak fix. But I can imagine wanting to disable a pump while you clean the basket, or while you are doing some other short maintenance like cleaning the filter cartridges. Obviously for more significant maintenance you would want to turn off the breaker, but that might be inconvenient for some pools. Ideally a change would also be made to the dashboard to add a pump disable/enable function. But for my purposes I just want access to do this via the API. I suppose if it is convenient, adding a disable/enable function to any and or all pumps, valves, chemistry, heaters, circuits, etc... would be useful as well. Presumably there would also be a need to provide a disabled/enabled status call to the API so the dashboard, or other software can verify whether an item is available or not.

Using service mode as I understand it, would not accomplish the same thing, since I believe it reverts the pump to pump control, and at least on my pump there is a built in schedule from before I connected it to njsPC.

Thanks for your consideration of this request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions