/Hubitat-Tuya-Wall-Thermostat

Hubitat-Tuya Wall Thermostat

Primary LanguageGroovyApache License 2.0Apache-2.0

[ALPHA] Tuya Wall Mount Thermostat (Water/Electric Floor Heating) Zigbee driver

The latest (hopefully) stable version of the driver can be downloaded from this link: https://raw.githubusercontent.com/kkossev/Hubitat-Tuya-Wall-Thermostat/main/Tuya-Wall-Thermostat.groovy

As this project is a work-in-progress, the last hot fixes and new features are available in the development branch:

https://raw.githubusercontent.com/kkossev/Hubitat-Tuya-Wall-Thermostat/development/Tuya-Wall-Thermostat.groovy

Supported models

Model 1 (AVATTO)

image (AE link) (Amazon.de link) Driver status: everything working (as this is the author's thermostat :) )

Model 2 (MOES)

image

(AE link) Driver status: confirmed to be working OK

Model 3 (testing)

image (AE link) Driver status: waiting for confirmation

Model 4 (BEOK)

image|343x349

(Beok Controls site link) Driver status: confirmed to be working OK

Note

While the same driver may work with other Tuya thermostat models (different than these listed below), this is not guaranteed because of the commands differences between the models and manufacturers.

Compatibility

  • Hubitat Elevation dashboards
  • Hubitat mobile app (to be tested!)
  • Amazon Alexa (to be tested!)
  • Google Home (partially tested)

Features

Currently, not all of the functionalities and settings that are available from Tuya SmartLife app for the specific model are implemented into this HE driver. The basic functions that are working at the moment are:

  • Synchronizes the thermostat clock to HE hub time and day of the week.
  • Switches the thermostat On and Off (thermostatMode).
  • Reads the thermostat temperature sensor (temperature).
  • Sets and reports the thermostat target temperature (heatingSetpoint).
  • Sets and reports the thermostat operation mode ('manual' or 'scheduled').
  • Reports the thermostat actual operating state ('idle' or 'heating') - relay open or closed state.
  • Reports the PID algorithm output variable as calculated by this simple formula image (AVATTO model only)

The driver adds some extra options and features:

  • Automatic or manual selection of the thermostat group
  • 'Force Manual' option - switches back the thermostat into 'manual' operation mode if it was accidentally put into 'scheduled' mode. Default is off.
  • 'Resend Failed' option - resends the commands for setting up the thermostat setPoint and mode, if failed by any reason.
  • Debug and Text info options. The debugging option is switched off automatically after 30 minutes.
  • Minimum and maximum limits for the heating setpoint.