[BETA] Virtual Thermostat w/ Battery and healthStatus

This is a custom Virtual Thermostat driver for Hubitat Elevation, based on the original Virtual Thermostat driver by Kevin L., Mike M., and Bruce R.

It extends the standard functionality with:

  • digital/physical event type
  • Battery reporting
  • HealthCheck / healthStatus
  • A full refresh() method (re-sends all attributes)
  • A ping() command that updates the health state

No built-in thermostat logic → all commands operate directly, making it suitable for automation through Rule Machine, custom apps, or external integrations.

The driver can be installed manually from this URL :
https://raw.githubusercontent.com/kkossev/Hubitat/development/Drivers/Zigbee%20TRV/Virtual%20Thermostat%20(Battery%20and%20HealthStatus).groovy

I am using this virtual thermostat driver to synchronize all attributes bi-directionally between physical and virtual TRVs (see the Thermostats Sync app).

5 Likes

Version History

  • ver. 2.0.0 – 2025/10/31
    • Initial version
    • Added refresh() method
    • Added optional force events feature (now removed)
  • ver. 2.1.0 – 2025/11/01
    • Removed old automatic logic (manageCycle)
    • Added Battery capability + setBattery
    • Added HealthCheck + setHealthStatus
  • ver. 2.1.1 – 2025/11/12
    • forceEvents removed
    • All events always sent (isStateChange = true)
  • ver. 2.1.2 2025/12/06 (dev. branch) :
    • added digital/physical event type to all setter methods
2 Likes