this post was submitted on 12 Nov 2023
2 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] BigThingsInStore@alien.top 1 points 11 months ago (1 children)

Very cool lab OP, and sweet diagram.

I noticed your Aqara Vibration Sensor in laundry room.

Had the same idea but I was a bit in doubt if it was the right solution for detecting when dryer and washer was running. How is it working out for you? (if that is your intention)

I'm super curious what data it emits, how frequent, if you can detect it etc

[โ€“] TechGeek01@alien.top 1 points 11 months ago

So I got it working, but it's a bit weird.

First of all, had to set the sensitivity to 1, which is the highest. Default is 11. Second, I only want it to trigger if we're changing states. That is, from on to off, not just opening and closing the door. So the solution is to create a binary sensor with delay_on and delay_off so that it only changes states when you go to the on or off state for that length of time.

My initial idea was 5 seconds on, 5 off, which eliminates the door opening and such. The only thing to be mindful of is that the default timeout is 60 (65?) seconds, so once it reads, it won't trip again until the timeout expires. Translates to if you turn the dryer on for 10 seconds and then off, you don't get the off state to trigger until 60 seconds after it turned on because the sensor doesn't poll that often.