Setting Up Smart Thermostat Automation for Away Detection

I recently set up an automation that adjusts my Hive Smart radiator valve to a specific temperature when my son’s phone leaves the house. It’s been a great way to save energy while ensuring comfort when he returns. Here’s how I did it and some tips for anyone looking to set up something similar!

The Goal:
I wanted the radiator to set to 15°C when my son’s phone leaves the house and return to 20°C when it comes back. This way, we save energy while he’s away but still have a cozy temperature when he returns.

The Challenge:
Initially, I created an automation that turned the valve off, but I realized turning it off wasn’t ideal. I wanted precise temperature control instead. After some research and trial and error, I figured out how to set specific temperatures based on geolocation.

How I Did It:

  1. Geolocation Setup: I used the built-in geolocation feature in Home Assistant to detect when my son’s phone leaves or enters our geofence.
  2. Automation Rules: I created two separate automations—one for when the phone leaves (set to 15°C) and one for when it returns (set to 20°C).
  3. Testing: I tested the setup thoroughly to ensure there were no delays or issues. It’s important to monitor the first few times to make sure everything works as expected!

Tips for Others:

  • Start Simple: If you’re new to automations, start with basic rules and gradually add complexity.
  • Use Specific Temperatures: Instead of just turning devices on or off, consider setting specific values to optimize energy use.
  • Monitor and Adjust: Keep an eye on your automations for a week or two to ensure they’re working as intended. You might want to tweak the temperatures based on your family’s habits.

The Result:
This automation has been a game-changer for our household. It’s one less thing to worry about, and it’s helped us save on energy costs. Plus, coming home to a warm house after a long day is such a nice touch!

If anyone has questions or tips about setting up similar automations, I’d love to hear from you! Happy automating! :tada: