Wow, if you have any questions about how to integrate MyEcobee device with iRule. Here is a good post:
You can also see how solid MyEcobee’s implementation is (no disconnect issues).
Regards.