GenerateEvent and ResumeProgram for Thermostat


#1

1) Give a description of the problem
I have an Ecobee4 thermostat. I would like to create Pistons that change the comfort setting to Home, Away, or Night. I see there is a generateEvent and a resumeProgram in the list of actions for the thermostat in webCoRe which might help, but I’m not sure how to use these and what they are expected to do. It looks like they may both take parameters, but I have no idea what parameters I should add.

2) What is the expected behavior?
The Piston triggers and the Ecobee4 thermostat changes to Home, Away, or Night as expected.

3) What is happening/not happening?
I’m just not sure how to do this. If generateEvent or resumeProgram could help, I’m not sure what parameters to use.


#2

I could not figure this out with the default device handler, but I found a new open source device handler that did everything I wanted and more.

It can be installed from https://github.com/StrykerSKS/SmartThingsPublic/blob/StrykerSKS-Ecobee3/smartapps/smartthings/ecobee-connect.src/README.md.

I removed the thermostat from SmartThings and then I installed the new device handler and smart app as described at the above link. I added the new devices to SmartThings and webCoRe. Then I had the option to change the program on the thermostat.