• 0 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle
  • I have my dock plugged into a smart plug and the laptop set in the BIOS to turn on when it receives power. I have an NFC tag on my coffee machine that I bloop while I’m making my morning brew, and that turns the dock on so that everything’s ready when I move into the office.

    For turning things off I have HASS.Agent installed and sending state updates (locked, unlocked, etc, which is useful for other automations) and when that sensor goes unavailable for 15 minutes it turns the plug off. I find that’s long enough to allow it to reboot for updates and what not.

    The sensor does report shutdown, reboot, and sleep states but I found that it often happens too quickly to get the change sent, so the unavailable state is more reliable.



  • The whole point of home automation is that it’s automated. Setting a timer on your phone is for chumps.

    I have a similar thing to notify us when the washing machine is done, only without the cool presence stuff - I’ll have to look into your setup for that!

    I also use a smart plug to monitor our toaster. Not for notifications but because it uses a mechanical timer that if it fails, will also fail to turn the element off, so it comes with dire warnings about always unplugging it after use. Instead I just have HA setup to turn off the plug if it ever draws power for more than 4 minutes.


  • Z2M. I had a ZHA setup and I’ll give it to them, it was super easy to setup (barely an inconvenience). Then I bought a set of sockets with power monitoring but found that they used a non-standard way of reporting those stats.

    They were seemingly quite new and both ZHA and Z2M had ‘quirks’ submitted very quickly to make them work, but while the Z2M quirk was approved and added almost straight away, 2 or 3 months later I was still waiting for the ZHA one to be approved.

    Then, like you, I wanted to change the Zigbee channel and took the opportunity to switch to Z2M where the sockets and their power monitoring have been working perfectly ever since. It’s definitely more complicated to setup initially but you get more control overall and, at least from my experience, the overall device support is much better.

    Note: I did initially have loads of stability issues when making the switch, but it was due to me flashing the combined Zigbee+Thread firmware to my Sonoff stick. The fix was to turn off the OpenThread Border Router in the Silabs addon and then everything was stable again. I don’t have any Thread devices yet, of course.



  • I was of the same mindset for a long time; SmartThings, Hue and Google Home all worked well enough together to do what I wanted. But holy shit, Home Assistant is on another level and I only wish I’d installed it sooner.

    The only real downside is that it makes home automation somewhat addictive and, by extension, expensive. I spend quite a lot of my time thinking about how to automate more of the things, and have a never ending list of stuff that I want to add to my setup.



  • I have something like this setup for my porch lights. Light goes on when it detects motion, then it uses wait_for_trigger to wait until the motion stops before starting a 20 second and turning off the lights.

    All simple enough so far but, crucially, the “mode” for the automation is set to restart. That way if the sensor detects motion during the 20 second countdown it cancels the whole run and starts again from the top.


  • I do something very similar with my connected dishwasher and Home Assistant. It’s way over-engineered due various limitations/odd design choices with the API and the machine itself), but I’ve got it setup to store the selected program when I press a button on a Hue Tap switch, and then it turns on and runs that program when our off-peak energy rate kicks in - which is better than working out how much to set on the delay timer each evening to start it in the right ballpark.

    Of course I’ve also got it setup to announce the selected program, and that the machine is “armed” via Google Home when the button is pressed, and again each time the door is opened/closed to add new dishes. And it sends notifications to my phone when the program starts (mostly for debugging purposes) and ends.

    Like I said, massively over-engineered but it was a fun little project.

    I don’t have a smart washing machine (yet) but I do have it plugged into a smart plug with an energy monitor. When the power usage drops to near zero for more than 2 minutes it sends a notification to tell me that the cycle is done.