code, python, Scraping

Automate Your Ring to Set your Ecobee to Away Mode!

It was really frustrating me how I had to first arm my alarm system and then go into each thermostat and set them to away. Then reverse the process when I got home.

I thought Ecobee or Ring would have an official integration but it turns out they are competitors in the home automation space. Lame.

So, I whipped a little code to do this for me.

  • For my own home I have it set to check every 5 minutes but feel free to do what you need.
  • This runs on a Small AWS EC2 server but it could run on a Raspberry Pi or something else you leave running all the time.
  • You have to have email notifications set up with Ring

tutorials/ring_ecobee at master ยท rogerfitz/tutorials

It’s easiest if you just use a gmail for the email server. You could set up email forwarding to make things more secure (forward your alarm armed emails to a dedicated email just for this script)

For the 2-Factor Piece, you can choose to disable it by contacting Ecobee support. Or you can ask them to reset it and use pyauth/pyotp: Python One-Time Password Library to automatically enter the code for you.

Leave a Reply

Your email address will not be published. Required fields are marked *