Making these changes broke my webcore (the GUI dashboard where you configure new pistons. It would not load and did not see my hub.
However, after removing these changes, I still had to log out of the dashboard to get it to work again. After this log out/log in it now shows the HSM instead of the SHM!
It MIGHT be just the log out/log in, or it MIGHT be the toggle on those custom endpoints (or both!).
If I wanted to change the hubitat Mode to away when Ecobee changes to away, what variable would I use? Also, if I wanted to notify me that the Ecobee temperature has gone up or down, what variable would I use in webcore? currentProgram doesn't seem to work. Any ideas what might work. Since we don't have the ability to use our phones as presence sensors in HE, I am trying to figure out another way to trigger the Mode change. In ST I use our phones to determine when we are away and home and ecobee changes with presence away or home.
Are you using the built-in Ecobee integration to HE? If so, the current Comfort Profile is not exposed so therefore you cannot use that in webCoRE either. I left my Ecobee connected to ST for just this very reason.
You can see if the temp has gone up or down by using the Temperature from the Ecobee device in HE. But to "detect" if it has gone up or down with webCoRE is a more complicated question and I would recommend posting on the webCoRE Forum instead of here.
No, I am using the Ecobee Suite Manager because I can use more variables in Webcore like setThermostatProgram that isn't available with the HE one. I am just not sure what variable would change the Mode.
Are you trying to use the device attributes as a trigger? They are not subscribed to like other "events" so I'm not sure you can use them as a trigger. You can use them as conditions though. I do.
First of all, you don't need a nested If inside your else. That might be part of your problem. Your piston isn't designed correctly. Take the nested if out and see if it works better.
I'm not 100% sure that the attributes with the little house looking icon can be subscribed to or not for changes. I know you can use them as conditions because they do translate to webCoRE but I'm not sure that you can subscribe to their changes as a trigger. I guess you'll find out.
I don't know what you're doing wrong but all of the attributes (not variables) for my ecobee are picked up by webcore fine. I just ran a test using CurrentProgram and it fired.
Here is one of the pistons that I am trying to get working with Ecobee. It isn't working at all. But it did work in ST. I think I used a different attribute though but I don't see that one in the hubitat device. Actually, just checked and it is the exact same in ST except I used a Push Notification.
Yes, I tested the Pushover device. Unknown device is my Pushover device. I just looked at the logs and it appears to be seeing the thermostatMode as false for both heat and cool. Which is odd because right now Ecobee is in heat mode. But when I check ecobee it has the modes as Heat, Cool, Auto and the choices in webcore are heat, cool, auto. I am wondering if this makes a difference.