HubitatCommunity / HoneywellThermo-TCC

22 stars 10 forks source link

Need to force polling after hub restart #16

Closed ryanmellish closed 3 years ago

ryanmellish commented 3 years ago

After a hub restart, I noticed my 10 minute polling never began; symptom being a stale current temperature reported on my dashboard vs. the actual thermostat temperature. It appears that this may happen if the HE starts up after the poll next run time. I've solutioned by adding an initialize capability. I'd be happy to pull request if this is a feature that would be useful to others.

bearmerino commented 3 years ago

I have this same issue. Could you please share with me what you did?

ryanmellish commented 3 years ago

Yep, add the following: my line 75: capability "Initialize"

my lines 701-704:

def initialize() {
    logInfo "Initialize Poll"
    poll()
}
csteele-PD commented 3 years ago

v1.3.13 to include this method.

ryanmellish commented 3 years ago

v1.3.13 to include this method.

Thanks @csteele-PD. Only other thing I’m doing differently in HE is the tccSite() excluding ‘www’. This came up on the HE forum not too long ago. Does the driver still need this?

csteele-PD commented 3 years ago

I feel that field is 'user settable'. I've tested using the up-to-the-moment version of the driver and it's worked for me. In other words, it's not a universal requirement.