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

DIY Water Sensor - Reverse Status Help #45

Open
Vendo232 opened this issue Oct 17, 2019 · 5 comments
Open

DIY Water Sensor - Reverse Status Help #45

Vendo232 opened this issue Oct 17, 2019 · 5 comments

Comments

@Vendo232
Copy link

Vendo232 commented Oct 17, 2019

Hi
I have modified the DOOR sensor based on this video to create a simple water sensor.

The problem I have is that it leaves the sensor OPEN until it gets wet when the water will CLOSE the circuit. Leaving the sensor OPEN all the time probably drains the battery and probably pollutes the RF. Any idea how to reverse status to show Water Sensor Closed?

Capt1212121ure

tried to do this in Configuration,yaml but it did not help as it will keep showing OFF after restart and when Water closes the circuit.

binary_sensor:

  • platform: wyzesense
    device: "/dev/hidraw0"
    initial_state:
    7792C186: "off"

https://www.youtube.com/watch?v=7gNqCTPAiP0&lc=z22xhxsjhkqtyvrao04t1aokgdlo0prruyzaqvg24spqbk0h00410.1571340039618071

@jheizer
Copy link

jheizer commented Oct 18, 2019

I already have a PR #40 to do this.

@Vendo232
Copy link
Author

thank you Sir, must say your Wyze integration is beyond professional!

@PtolemyIV
Copy link

PtolemyIV commented Oct 20, 2019 via email

@jheizer
Copy link

jheizer commented Nov 25, 2019

Updated PR #65

@jamman9000
Copy link

Does anyone have experience or evidence capturing sensor data? The Read Me says the motion sensors will report an "on" state every 40 seconds as long as motion is still detected. But from what I understand about the door (reed switch) sensors they only send an RF signal upon a magnet getting close enough to make the reed switch make contact or moving far enough away for the switch to disconnect. Same way other RF sensors that work with the Sonoff RF Bridge work.

I don't think you have to worry about battery life on your water sensor, but you'll want to customize the entity using a value template to swap the indication based on what comes in. You'll need to look around the customize and template documentation on the HA website.

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

4 participants