Ecobee Away Mode

I'm needing help on creating a rule in RM.

I'm trying to have Hubitat set my Ecobee thermostats to Away when HSM is set to Armed Away and to Home when HSM is set to disarmed.

1 Like

I have something similar -
When house is away, sets a virtual switch and thermostat away. When changed to home, changes to resume schedule.

Select Actions for Thermostat Away
IF (Mode is Away(T) AND
Thermostat Away(on) is off(F) [FALSE]) THEN
setAway() on Living Room
On: Thermostat Away
ELSE
Exit Rule
END-IF

You set it as a "Run Custom Action" when setting up actions, and custom command on the ecobee thermostat for setAway().

Resuming is pretty much the same (regarding the action as Run Custom Action),

IF (Mode in Day, Evening, Night, Morning(F) AND
Thermostat Away(on) is on(T) [FALSE]) THEN
resumeProgram() on Living Room
Off: Thermostat Away
ELSE
Exit Rule
END-IF

1 Like

Just want to point out that if you use @storageanarchy's ecobee suite, it can set the thermostat profile to home and away based on the current Hubitat mode.

2 Likes

My very simple RM rules
image

image

1 Like

Thanks! I'll have to look at this when I get home this evening. I appreciate the help!

@aaiyar I have that installed, but can't seem to figure out how to use it.

@aaiyar can you help me get it setup to integrate? I can't seem to get this setup in the app.

I would help, but I don't have an ecobee anymore. One of my friends does, and I'll try to get screen shots of the setup .....

I'm just using the built in Ecobee integration. It might be a bit simpler.

First set up the Ecobee integration and include all your thermostats and sensors (Fairly straightforward, just log in on the popup and select your devices)

Step1

Then create a rule in Rule Manager name it whatever you want:

Step2

Select your trigger(s) (I use mode - Away)

Triggers

Under select actions, pick "Set Mode, Variable or File, Run Custom Action:

Custom Action step 1

Then pick "Run Custom Action"

Custom Action step 2

Then Select "Thermostat" under capability, (Below that, you can select the thermostat(s) you want to update)

Custom Action step 3

Then pick which action you want on the trigger you picked. (I "set away" for away mode, and then make another rule for when I return to night or home and "resume program" for the thermostat's schedule to take back over)

Actions

Then click done

2 Likes

@tray_e thanks! That was exactly what I needed.

1 Like