Skip to content
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

Pump action is inverted #35

Open
henjo opened this issue Jul 2, 2023 · 3 comments
Open

Pump action is inverted #35

henjo opened this issue Jul 2, 2023 · 3 comments

Comments

@henjo
Copy link

henjo commented Jul 2, 2023

Hi,
Thanks for a great project.
I am trying to build a chlorine controller with a Controllino Maxi with the Poolmaster SW.
At start the ORP and chlorine pump relays are all turned on and I have tracked down the problem to the definition of PUMP_ON macro in Pump.h. It is defined as active low which seems to be opposite to the way my Controllino hardware works. If the relay action is hardware dependent maybe it is good to have it as a parameter to the Pump class.

@Loic74650
Copy link
Owner

Hi
Good point, will add it to the todo list!

@Loic74650
Copy link
Owner

On a second thought, this issue could also come up with the other defines such as TANK_FULL/TANK_EMPTY and INTERLOCK_OK/INTERLOCK_NOK, but it would not be super elegant to have them all as parameters in the class constructor, would it? Any suggestion for a better way to do this?

@henjo
Copy link
Author

henjo commented Jul 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants