ConnectLife integration for Home Assistant
You can install using HACS or download.
If you have HACS installed, add this repository (oyvindwe/connectlife-ha
) as a custom repository of type "Integration."
See https://hacs.xyz/docs/faq/custom_repositories/
Download the connectlife
directory and place in your <config>/custom_components/
.
After installing, you need to restart Home Assistant.
Finally, add "ConnectLife" as an integration in the UI, and provide the username and password for your ConnectLife account.
Your device and all their status values should show up.
See DEVICES.md for the full list of supported devices.
Default mapping files are provided for the following device types:
Device type | Device type code |
---|---|
Portable air conditioner | 006 |
Dehumidifier | 007 |
Window air conditioner | 008 |
Air conditioner | 009 |
Hood | 012 |
Dishwasher | 015 |
Heat pump | 016 |
Induction hob | 020 |
Oven | 023 |
Washing machine | 027 |
Tumble dryer | 030 |
Tumble dryer | 032 |
Any devices of these types will use the default mapping file, but it may not be fully functional until a feature-specific mapping file is provided.
Any unmapped properties will show up as sensors with names based on their properties. As there are a lot of exposed sensors, all unknown sensors are hidden by default. Access the device or entity list to view sensors and change visibility.
Please contribute PRs with mapping files for your devices!
Some devices will beep on every configuration change. To disable this, go to the ConnectLife integration and click "Configure" → "Configure a device" and select the device you want to disable beeping for.
Entity service connectlife.set_value
can be used to set values. Use with caution, as there is no validation
if property is writeable or that the value is legal to set.
- The service can be accessed from Developer tools - Services.
- Search for service name "ConnectLife: Set value"
- Select entity as target.
- Enter value
- Call service.
It is possible to guard against set_value
by setting read_only: true
in the data dictionary on the sensor, e.g.
- property: f_status
sensor:
read_only: true
Please ignore the following warning in the log:
Entity None (<class 'custom_components.connectlife.climate.ConnectLifeClimate'>) implements HVACMode(s): auto, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'connectlife' custom integration
Missing features:
- Setting
target_temperature_high
/target_temperature_low
Missing features:
- Setting state except to off/one defined state
- Setting
target_temperature_high
/target_temperature_low
You have to create a ConnectLife account with username/password. SSO using other identity providers is not supported (See oyvindwe#99).
To work around this issue, you can do the following:
- In the ConnectLife mobile app, create a new account using an email and password (needs to be a different email to your SSO account as that is now occupied by that SSO).
- Still in the mobile app, switch accounts back to your SSO account, go to the device/s you have already setup in your SSO account, select them 1 by 1, scrolling to the bottom to get to the "Share Device" option and adding your new email to the shared accounts list.
- In the connectlife-ha integration within Home Assistant, use the email and password from the new account you set up, which will now have the device(s) shared with it.
- Forget your new email version of your account exists, you don't have to accept device shares or use that account for any other reason.
Note that users at least in Russia and China can't log in using this integration. See discussion in bilan/connectlife-api-connector#25