News for hackers. Stuff that matters.
Re:Is It Dry Yet? by rrauenza on Wednesday April 10, 2024 @01:46PM (#39993616)
I wonder if you could have done it like a motion sensor scheme.

If you consume 100watts, reset a countdown timer. So as home assistant polls the outlet, it should keep resetting the timer. If the timer expires, then notify that the dryer is done.

Re:Is It Dry Yet? by badgerbbbadger on Thursday April 11, 2024 @05:24AM (#40000172)
That might be a smarter way to do it! Right now I have this thing where if we don't unload the dryer it does a sort of warming cycle every 20 minutes or so. And that triggers another alert. We don't mind because that just means we _should_ unload the dryer to stop it from consuming more power.

But I suppose the countdown approach would still trigger the same thing. I suppose if I didn't really want the extra alerts I should be monitoring the duration of power consumption and exclude the ones that are of a shorter duration.

I might try the countdown approach for something different and see what results I get. Thanks for the idea!

Re:Is It Dry Yet? by rrauenza on Thursday April 11, 2024 @06:52PM (#40007656)
You're welcome! I installed home assistant about a month ago and have been really liking it ...

I was thinking of doing something similar to what you are dong but was trying to think of how to do it without the custom virtual device.