Hisense Air Conditioner Integration for Home Assistant

English | 中文
This integration allows you to control Hisense smart home devices through Home Assistant using the ConnectLife cloud
service.
Features
- 🌡️ Climate Control: Full air conditioner control (temperature, mode, fan speed, swing)
- 💧 Humidity Management: Dehumidifier and humidifier control
- 🔥 Water Heating: Heat pump and water heater management
- 📊 Real-time Monitoring: Temperature, humidity, and energy consumption sensors
- 🏠 Zone Control: Multi-zone climate management for compatible systems
- ⚡ Energy Tracking: Daily energy consumption monitoring
- 🔧 Fault Detection: Real-time error code monitoring and alerts
Supported Devices
| Device Type |
Models |
Features |
| Split Air Conditioners |
009-199 series |
Full climate control, energy monitoring |
| Window Air Conditioners |
008-399 series |
Climate control, basic sensors |
| Portable Air Conditioners |
006-299 series |
Climate control, mobility features |
| Dehumidifiers |
007 series |
Humidity control, fan speed management |
| Heat Pumps |
035-699 series |
Heating/cooling, water heating |
| Ducted Systems |
Various |
Zone control, advanced climate management |
Installation
Prerequisites
- Home Assistant 2023.1.0 or later
- ConnectLife account with registered devices
- Active internet connection for cloud API access
Method 1: HACS (Recommended)
- Open HACS in your Home Assistant instance
- Go to Integrations
- Click the Explore & Download Repositories button
- Search for “Hisense Air Conditioner”
- Click Download
- Restart Home Assistant
Method 2: Manual Installation
- Download the latest release from GitHub releases
- Extract the archive
- Copy the
custom_components/hisense_ac_plugin folder to your Home Assistant custom_components directory
- Restart Home Assistant
Configuration
Step 1: Network Configuration (Windows Users)
For proper OAuth2 authentication, you need to configure local DNS resolution:
- Navigate to
C:\Windows\System32\drivers\etc\
- Right-click on the
hosts file and select “Edit”
- Add the following line:
127.0.0.1 homeassistant.local
- Save the file
Note: This step is required for the OAuth2 redirect to work properly during setup.
Step 2: Add Integration
- Go to Settings → Devices & Services
- Click Add Integration
- Search for “Hisense Air Conditioner”
- Follow the configuration flow
Step 3: Authentication
- Enter your ConnectLife account credentials
- Complete the OAuth2 authorization process
- Wait for device discovery to complete
Important:
- Disable VPN/proxy services during setup
- Ensure your ConnectLife account has devices registered
- The initial sync may take 1-2 minutes
Usage
Climate Control
The integration creates climate entities for each air conditioning unit:
# Example automation
automation:
- alias: "Cool down at night"
trigger:
platform: time
at: "22:00:00"
action:
service: climate.set_temperature
target:
entity_id: climate.living_room_ac
data:
temperature: 24
hvac_mode: cool
Energy Monitoring
Energy consumption sensors are created automatically:
sensor.{device_name}_daily_energy: Daily energy consumption (kWh)
sensor.{device_name}_power: Current power consumption (W)
Zone Control
For multi-zone systems, individual zone switches are created:
switch.{device_name}_zone_1: Zone 1 control
switch.{device_name}_zone_2: Zone 2 control
Entity Types
| Platform |
Description |
Example Entities |
| Climate |
AC units, heat pumps |
climate.living_room_ac |
| Sensor |
Temperature, humidity, energy |
sensor.bedroom_temperature |
| Switch |
Zones, special functions |
switch.turbo_mode |
| Number |
Target values, settings |
number.display_brightness |
| Humidifier |
Dehumidifier control |
humidifier.basement_dehumidifier |
| Water Heater |
Hot water systems |
water_heater.main_unit |
Troubleshooting
Common Issues
Authentication Failed
Symptom: Login fails or shows “Invalid credentials”
Solution:
- Verify your ConnectLife username and password
- Ensure 2FA is disabled temporarily during setup
- Try logging into the ConnectLife app to verify credentials
Device Not Found
Symptom: No devices appear after setup
Solution:
- Verify devices are online in the ConnectLife app
- Check internet connectivity
- Restart the integration from Settings → Devices & Services
OAuth2 Redirect Error
Symptom: “Page not found” after login
Solution:
- Ensure the hosts file modification was completed correctly
- Restart your browser
- Disable VPN/proxy services
Connection Timeout
Symptom: Integration shows “Unavailable” status
Solution:
- Check Home Assistant logs for specific error messages
- Verify ConnectLife service status
- Restart Home Assistant
Debug Logging
To enable debug logging, add this to your configuration.yaml:
logger:
default: warning
logs:
custom_components.hisense_ac_plugin: debug
Getting Help
- Check the Troubleshooting Wiki
- Search existing GitHub Issues
- Create a new issue with:
- Home Assistant version
- Integration version
- Device model
- Error logs (with sensitive data removed)
Development Setup
git clone https://github.com/Connectlife-LLC/HomeAssistantPlugin.git
cd HomeAssistantPlugin
# Set up your development environment
License
This project is licensed under the MIT License - see the LICENSE file for details.
Disclaimer
This integration is not officially affiliated with Hisense. It uses the ConnectLife cloud API for device communication.
Use at your own risk.
Support
Made with ❤️ for the Home Assistant community
评论