So I discovered 2 things: 1) The thermostat would not send updates to HE and 2) If I manually changed the temperature at the thermostat, whenever I'd use refresh the thermostat would revert back to the scheduled temp.
My next step. The thermostat has a "Simple Mode". Basically in this mode, the thermostat becomes "dumb" and ignores the schedule. Here's where things get weird. When I put the stat in "Simple" mode, if I make a change at the stat it IMMEDIATELY sends the update to HE. So no need to refresh it. One step closer. If I do happen to hit refresh, everything remains as it should. Now we're on to something.
So my final resolve: I'm keeping the stat dumb and running the schedules through the HE scheduler. Something has to be wonky with the stat, but I have it running just fine now and have the ability to use Google Home and Home Hub with stat.
i have 2 sleepy z-wave trvs, they worked in GH when i was on smartthingings, ive moved them over with the driver, and they work in HE fine, but when i 'tick' them for google home intergration, clcik done, they dont get added, going back to google intergration they have become unticked.
reading above i have - createEvent(name: "thermostatSetpoint", value: radiatorTemperature, unit: getTemperatureScale(), descriptionText:discText)
Any ideas -
You just need to include the update line when your driver first loads (to set an initial value): updateDataValue("lastRunningMode", "heat"):
and if you use both heat and cool, you can update it anytime you switch too.
If you add that to the initialize event, make sure to re-initialise your existing devices that are using that driver before trying to add them to Google Home again.
If it's still not working, check you've included all the attributes and commands from the Thermostat capability, and set default values on them (see docs, or see a mostly bare bones thermostat example I made that works with GH).
Hi @mark.cockcroft, is your drive still working with google home? I tried to do exactly what you wrote but I can't get my driver to integrate with google home
Thanks for your reply! I tried but it didn't work. I tried to add your code (same capabilities and attributes). Removed my thermostat and re-added but it didn't work. Tried with both options below:
updateDataValue("lastRunningMode", "heat")
state.lastRunningMode = "heat"
I tried adding your driver even though I don't have your thermostat but it didn't work either (expected?). The "Virtual Thermostat" provided by Hubitat worked flowless so I don't know what is the problem now
I don't know if it's worth mentioning but my thermostat is a child under a hub parent driver. I tried to set isComponent to false and true when creating the child but it didn't change anything.
I am unable to get my Google Home to communicate with my GoControl Thermostat. The GoControl is meshed with HubMesh - not sure if that has anything to do with it...