-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setAway only holds for 2 hours?! #67
Comments
In the Ecobee Suite Manager, in "Ecobee Suite Preferences" there is a setting "Default hold type", which is probably set to 2 hours for you. Change it to "Until I change". |
Yes, but that doesn't apply to the calls via Ecobee Suite Manager. After looking through the code I am going to answer my own question here. I changed from setAway() to setThermostatProgram('Away', 'indefinite'). So you just select the setThermostatProgram and add two parameters. The hold type (Away, Home, ...) and then the second parameter is the 'indefinite', our could be 'holdHours' with a third parameter of the number of hours. https://www.ecobee.com/home/developer/api/documentation/v1/functions/SetHold.shtml Brian |
Interesting. I have that setting as default and don't have to specify hold
type on every call. But I'm glad you figured it out.
…On Mon, Aug 1, 2022 at 10:08 AM byoder7 ***@***.***> wrote:
Yes, but that doesn't apply to the calls via Ecobee Suite Manager.
After looking through the code I am going to answer my own question here.
I changed from setAway() to setThermostatProgram('Away', 'indefinite'). So
you just select the setThermostatProgram and add two parameters. The hold
type (Away, Home, ...) and then the second parameter is the 'indefinite',
our could be 'holdHours' with a third parameter of the number of hours.
https://www.ecobee.com/home/developer/api/documentation/v1/functions/SetHold.shtml
Brian
—
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHDU2Z6KPR4S3AOBDJL4LY3VW7R5XANCNFSM55H3K2XQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Here is the code in question. It looks like it just has default of 2 hours if not specified, so that would be the default used by Ecobee Suite Manager, regardless of what was set on the device. I would think a better default would be to use the setting on the Ecobee, so whatever you have there it would use as the default. But easy enough to figure out what to do. I think things will be working perfectly for me now. Thanks for such a great product, and code that is easy to read :) void setThermostatProgram(String program, String holdType="", Integer holdHours=2) {
|
Hi guys,
First, thank you for offering this great software. It is a must when using something like hubitat or smartthings.
So the issue I have is that I have automation setup to call custom command "away()" when there is no presence at my house. Then, when someone is back, it will call "resumeProgram()". However, I noticed the following in the away() calls:
app:1052022-07-31 03:18:06.290 pm infosetProgram(Away) for EcobeeTherm: Downstairs (456123456) - holdType: holdHours, holdHours: 2
app:1052022-07-31 03:18:06.232 pm infosetProgram(Away) for EcobeeTherm: Upstairs (456123458) - holdType: holdHours, holdHours: 2
So, it appears that Ecobee or the EcobeeSuite is doing the away only for 2 hours? How can I change this? Ideally, I want it to be away mode until I change it, which would happen when there is presence again, and then it would resume the normal program for that time of day.
Thanks,
Brian
The text was updated successfully, but these errors were encountered: