• 0 Posts
  • 15 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 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 don’t know if this counts but I was always disappointed that real life pea shooters and water pistols were nothing like their comic representations, that worked like machine guns and hoses respectively. I suppose the closest we ever got was the Super Soaker.

    Oh, and I’ve never seen a catapult made from a Y shaped stick.