I want to be able to be notified when my reservoir is empty. I want to be able to have a relay turn on when the water is at the point where the water is at a certain level. Also to stop the pump from running. This is the sensor that I want to use.
Dimensions3.82 x 2.8 x 0.83 inches; 1.16 OuncesItem Weight1.16 ouncesManufacturerCQRobotASINB07ZMGW3QJItem model numberCQRSENYW002. Is on Amazon. If you can explain how to set it up it would be great Thank you
Thanks in advance.
Hello,
I like more the mechanical sensor in the picture :).
Anyway the setting should be different for the Normally closed or Normally open sensor, let me know how this sensor works.
Below the setting to stop the pump and keep it disabled until the sensor is closed.
For the Light, I removed the activation feature because I want to rewrite some part of the SW. Maybe I'll add in the next release.
First of all, we need to create an interrupt object to associate with the PIN of the raspberry. Let's assume that the PIN is the GPIO18, one side of the sensor is connected to the GPIO18 and the other side to the ground. We want an interrupt to be generated every time the GPIO18 is connected to ground.
Go to "hardwaresetting" page, "edit" the table, in the add row, add the following:
(some fields that are not relevant are hidden)
After the row is added do not forget to click "confirm and Save button".
Now you can go to the "interrupt" page.
Below the configuration to set for the pump relay tab:
NOTE: the pump will be blocked immediately when the sensor is ON. It will be unlocked within 1 minute after the sensor is OFF.
Let me know if it works.
cheers,
Angelo