Replies: 1 comment 1 reply
-
You can call the api's for the schedule to disable/enable them. But if the communication is down you'd need something running locally on the njsPC machine to monitor that and re-enable the schedule. Otherwise, a simpler solution would be to just stop the pump if the solar production is low and it's currently on. If you want to re-enable it, you'd need additional logic to check all the schedules to see if the pump should be on and the solar is producing enough juice. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently using a Nixie controller to control my filter pump and salt chlorinator. I also have njsPC connected to Home Assistant. I would like to prevent the scheduler from running (or stop the pump) based on a signal from Home Assistant when my solar production is below a certain value (only run the pump when solar production covers the power).
I would rather not use an automation from HA to stop and start the pump, so that if the communication between HA and njsPC is down, then the njsPC schedule will take priority and control the pump.
Is there any way to achieve this functionality?
Beta Was this translation helpful? Give feedback.
All reactions