Skip to content

Latest commit

 

History

History
152 lines (108 loc) · 7.14 KB

File metadata and controls

152 lines (108 loc) · 7.14 KB

Tuya Heat Pump - Home Assistant Integration

⚠️ Note:

This integration has only been tested with the heat pump brands listed below.
If your heat pump is a different brand and the integration does not work, please run the script at the following link and share the generated file with me:
tuya_api_test.py

Supported Brands

📋 Detailed list

No Brand No Brand No Brand
1 Arçelik (Beko, Grundig) 21 Ivapool 41 Wopoltop
2 ACIQ 22 Kensol
3 Adlar Castra 23 Kushiro (Luqstoff)
4 Adlar Castra Domestic 24 Mango
5 Alps Exclusive 25 Mitte Aerotermia
6 Aquark 26 MyCond BeeThermic
7 Aquastrong 27 Poolex Dreamline
8 Aquatech X6 28 Poolsana
9 Aquatech X6 320L 29 Power World
10 Cordivari Vestalis 30 Power World PW030
11 Della 31 Power World R290 Full DC
12 Ecologic Ecopool 32 Pure Blue Onyx
13 EnviroSun HP+ 33 Reclaim Eco R290
14 Evoheat 40T 34 Rotenso
15 Fairland 35 SolarEast
16 Fairland Inverter Plus 36 SolarEast BLN
17 Heative Next 37 Swim&Fun Fjord
18 Inventor Xforce 38 Water TechniX
19 IPS Pool Systems 39 W'eau
20 ITS 40 W'eau WFI-007

This project allows you to control and monitor your Tuya heat pump device through Home Assistant — supports Cloud, Local (LAN push), and optional real-time MQTT push on top of Cloud mode.


Prerequisites

Enabling Tuya IoT Cloud Service

To use this integration, you need to create a project in the Tuya IoT Platform, grant API access, and link your device to the project.

Steps:

  1. Log in to Tuya IoT Platform.
  2. Go to Cloud > Project Management and create a new project or select an existing one.
  3. Select the Devices tab:
    • If your devices are already listed, proceed to the next step.
    • If you have no devices yet, open the Link App Account tab below. Click the Add App Account button on the right, then select Tuya App Account Authorization. Scan the QR code using your Tuya mobile app and grant permission. Your devices will then appear.
  4. Click on the Service API tab above, then click the Go to Authorize button and add the following APIs to your project:
    • IoT Core
    • Smart Home Basic Service
    • Device Status Notification
    • Authorization Token Management
  5. Retrieve your Access ID and Access Secret from the project panel.

⚠️ Important: The integration will not work without API authorization and device linking.


Installation

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store

Method 1: Installation via HACS (Recommended)

  1. Make sure you have HACS installed in your Home Assistant instance.
  2. Go to HACSIntegrations.
  3. Click the search icon in the top right and search for "Tuya Heat Pump".
  4. Click Download on the integration.
  5. Restart Home Assistant.

Method 2: Manual Installation

  1. Download the latest release from the GitHub repository.
  2. Extract the files and copy the tuya_heat_pump folder into your Home Assistant custom_components directory.
  3. Restart Home Assistant.

Connection Types Compared

Connection Type Tuya IoT Account Local Key Internet (after setup) Data Updates Cloud API Load Extra Setup
Local ❌ Not required Real-time push None Device IP + Local Key
Cloud ✅ Required Poll interval Regular polling
Cloud + MQTT ✅ Required Real-time push Minimal User Code + QR scan

Configuration

After installation, restart Home Assistant and follow these steps:

  1. Go to “Settings > Devices & Services”.
  2. Click “Add Integration”.
  3. Search for and select “Tuya Heat Pump”.
  4. For Cloud mode: enter your Tuya IoT Platform credentials:
    • Access ID
    • Access Secret
    • Device ID
  5. For Local mode: switch the Connection Type to “Local” and enter:
    • Device IP
    • Local Key
    • Protocol (e.g. 3.3 / 3.4)
    • Device ID

Optional: Enabling MQTT (Real-time Push)

On top of Cloud mode, you can optionally enable real-time MQTT push via the Tuya Sharing (Smart Life app) broker — instant state updates instead of waiting on the poll interval, and less load on the Tuya cloud API.

  • During setup (Cloud mode), enter your User Code and complete the QR scan with the Smart Life / Tuya app when prompted.
  • This step is entirely optional — skip it and the integration works exactly as before.
  • If the push token ever becomes invalid, you'll see a clickable Repair notification under Settings > System > Repairs to reconnect.

Notes

  • You can monitor and control features like temperature, operation mode, and fan speed.
  • Easily use in automations and dashboards.

Diagnostic & Setup Scripts

Standalone scripts for onboarding new devices and debugging — run manually on your own computer, outside Home Assistant. 📖 Full guide →

  • tuya_api_test.py — pulls your device's full cloud schema and live values, start here for any new device.
  • lokal_key_extractor.py — tries to recover your device's Local Key for LAN mode.
  • tuya_dps_explorer.py — reads raw DP values directly over your local network.
  • raw_explorer.py — live GUI for decoding hidden raw data-points, like a missing target temperature setting.

Support My Work

If you find this integration helpful, consider supporting the development:

Become a Patreon

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This integration is an independent project and is not affiliated with, endorsed by, or connected to Tuya Inc. in any way. This is a community project provided "as is" without warranty of any kind. Use at your own risk.