Description
Basics
How to install
This package is for connecting and controlling an LG Therma V heat pump with Homeassistant via modbus.
This manual is tested with:
Heat pump | Tested by |
---|---|
LG Therma V Monoblock 9kW | basti242 |
The LG Heatpump is only availiable to communicate via RS485/Modbus TCP . The best way to connect them with Homeassistant is a Modbus TCP Gateway. For example a Waveshare Industrial RS232/RS485 to Ethernet Converter.
With this integration, you are able to controll nearly all settings of your heatpump.
Examples
Tested Gateways:
Device | Type | Tested by | Link |
---|---|---|---|
Waveshare RS485 To ETH | tabletop device | basti242 | Amazon |
Waveshare RS485 To ETH (B) | top-hat rail | fRiMMi83 | Amazon |
Download the modbus_lg_heatpump.yaml
Put the file in a folder named integrations. Create the folder if not exist.
Add a reference to your integration folder in your configuration.yaml. The homeassistant: line should be still there.
homeassistant:
packages: !include_dir_named integrations
Set the secrets in your secrets.yaml file
# LG Heatpump
#-----------------------------------------------
lg_heatpump_modbus_host_ip: 10.10.1.xxx #change it to the IP adress from your gateway
lg_heatpump_modbus_port: 502
lg_heatpump_modbus_slave: 1
Restart your Homeassistant
Here is a code example for the UI.
type: entities
entities:
- entity: input_select.hp_set_operation_mode
name: Operation Mode
- entity: input_select.hp_set_control_method
name: Control Mode
- entity: input_number.hp_dhw_target_temperatur
name: Brauchwasser
icon: kuf:sani_water_hot
should look like this
Hardware settings
Wire connection between heatpump and gateway.
Inside the heatpump you will find a connector named "3rd PARTY CONTROLLER". This is the connector for the modbus wire. The wire must be connected to contact A (+) and B(-).
Dip switch inside the heatpump
Settings for 4er series
On the main bord of the heatpump are 2 dip switch banks, SW1 and SW2.
For us are the settings from SW1 important.
SW1 dip 1 - ON --> The heat pump is set as a Modbus slave device.
SW1 dip 2 - ON --> The heat pump is using a open protokoll.
Software settings
It is also required to set some options on the inside LG head unit (LG RS3).
That’s it! You can now control the heat pump from Homeassistant.