# LG Therma V R290 Monobloc (SG Ready)

Source: https://docs.evcc.io/en/heating/lg-therma-v-r290-monobloc-sg-ready

Modbus connection to LG Therma V heat pump.
Uses SG Ready energy states for intelligent control.
Set the indoor unit in the installer settings > "Connectivity" > "Energy state" > "ESS use type" > to "Modbus".
Since the internal power measurement shows too high values, an external power measurement is suggested.
Factory setting Modbus (HEX) = 21 (33).
Modbus registers can be found within the installation manual (address without the leading number and -1).
Information on the energy state can be found within the installation manual.
Energy states 6 and 7 can be adapted at the indoor unit in the installer settings > "Connectivity" > "Energy state" >"Energy state definition".
If the internal power measurement does not work (not all models support this register), please set energy metering to "false".

Supported features: dim

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| modbus | Modbus Type (rs485) |  |  |
| tempsource | DHW warm water tank or inlet flow temperature (water_tank, water_inlet) | water_tank |  |
| energystate | SGReady states or modifyable energy state 6 and 7 (SGReady, IndividualEnergystate) | SGReady |  |
| haspower | Internal energy metering | true |  |

## Configuration example for evcc.yaml

```yaml
chargers:
    - name: my_heating
      type: template
      template: lg-therma
      
      # RS485 via adapter (Modbus RTU)
      modbus: rs485serial
      id: 33
      device: /dev/ttyUSB0 # USB-RS485 Adapter Adresse
      baudrate: 9600 # Prüfe die Geräteeinstellungen, typische Werte sind 9600, 19200, 38400, 57600, 115200
      comset: "8N1" # Kommunikationsparameter für den Adapter
      
      # RS485 via TCP/IP (Modbus RTU)
      modbus: rs485tcpip
      id: 33
      host:  # Hostname
      port: 502 # Port
      tempsource: water_tank # DHW warm water tank or inlet flow temperature, [water_tank, water_inlet]
      energystate: SGReady # SGReady states or modifyable energy state 6 and 7, [SGReady, IndividualEnergystate]
      haspower: true # Internal energy metering
```
