The heat pump is part of test setup, using multiple heating units. After wasting time on the UI and reading forums, I’ve asked ChaptGPT, after a small issue with indentation it wrote the following lines for me to create a schedule. Works great!
automation:
- alias: "Turn On LG Therma V Weekdays"
trigger:
- platform: time
at: "04:00:00"
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: switch.turn_on
entity_id: switch.lg_therma_v_verwarming # Replace with your actual switch entity ID
- alias: "Turn Off LG Therma V Weekdays"
trigger:
- platform: time
at: "18:00:00"
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: switch.turn_off
entity_id: switch.lg_therma_v_verwarming # Replace with your actual switch entity ID
- alias: "Turn Off LG Therma V at Midnight"
trigger:
- platform: time
at: "00:00:00"
action:
- service: switch.turn_off
entity_id: switch.lg_therma_v_verwarming # Replace with your actual switch entity ID
Hello. I see I am not the only one having issues with the LG Therma V modbus integration. I am seriously tearing my hair out with this. I have tried every combination from all the advice I have seen, and I still continue to see the same error, and I have never seen a response coming from the HP “[homeassistant.components.modbus.modbus] Pymodbus: waveshare1: Modbus Error: [Input/Output] No Response received from the remote slave/Unable to decode response”
I have stripped down my modbus yaml to the bear minimum to read one item. I have tried various combinations of the dip switches (Switch 1, 1 and 2), and Modbus addresses etc.
In my manual (for LG HU121/HN161) I see this for the option switch 1 :
I have also tried some Modbus scanning software, but all show timeout as if there is no signal at all from the heat pump (I can connect to the Waveshare module via TCP)
Hi Peter,
Do you have a picture of how you mounted the waveshare modbus in you LG therma V heatpump?
I am interested how you managers the powersupply? Dit you use the powersupply of the LG?
By any chance, can someone please verify pitch of the jst connector for wifi module. It is hard for me to measure it, and this heatpump is not even at my home, so I cannpt easily just try if is is 1.5 or 2.0mm
I’ve got the LG Therma V modbus connection running for a while now and all seemed to be fine.
Except for… a couple of days ago, I suddenly lost an entity (sensor.water_outlet_temp)
I have not changed anything in the modbus.yaml file.
When looking in settings/device & services/entities, the entity doesn’t show up either.
This is the content of the modbus.yaml file for both in and out temp:
- name: water_inlet_temp
scale: 0.1
precision: 1
scan_interval: 5
address: 2
slave: 1
unit_of_measurement: °C
input_type: input
I can’t imagine it’s something on the LG side as that’s not being updated (and I’ve reset the heatpump to make sure it wasn’t some sort of glitch) but whatever I do, the value is gone.
It does show on the remote control panel, so the sensor in the LG Therma is functional… I just can’t get my head around the sensor disappearing all of a sudden.
Same here!
I’ve just opened a new topic here, not realizing you have same problem!
The issue is that same registar is used by your climate enitity as well, showing you outlet temp from heating pump. If you temporarily disable climate entity in modbus configuration you will notice that sensor will start working again!
Meaning there is an issue accessing same register twice. That came from new 2024.3 version.
Hello everyone,
I think I can ask here without starting a new topic.
I have Therma V and from FEB this year I am using HA and modbus integration to control my hetapump. So, beginner. Since then I managed to establish a desent control over my pump but still I am missing some parts. For example control pump when it is in AI mode. As you probably know when heat pump works in this mode it actually doesn’t track the whater temp, it is looking on shifting whole heating curve defined in pump it self in range from -5 to 5.
In modbus that reffers in holding registar, address 4:
I have defined input_number to use slider between -5 to 5 values and send that to modbus register using automation, triggered by input_number. Something like this:
Everything is fine if I send positive value (from 0 to 5). It is written in register as expected. But I realized negative values cannot be written in modbus register like -5, -4, end so on. I need to use upper half of 16 bit register, for example if I want to set this value for -3 I need to send 65533, for -4 I need to send 65532, and so on.
I’ve tested this manually and it works fine, but I cannot make it work automatically with input_number and automation. If I move slider to -3 to send 65533 value to registar.
I would need help in defining variables or some kind of matching for negative values from input_number (slider) to send 65533, 65534 values to registar.
Anyone of you have a solution for this or any idea how to get it work? If anyone is using AI mode or have climate configure to use this mode with temp shifter instead of water temperatures?
I am using custom climate template to definte my thermostat for hp. This is how it looks like today
i have resolved. The yaml from youtuber works normaly. My biggest problem was the wifi modbus,strange ports or setting on. My Cisco WLC was blocking the ports… So i buy the Waveshare rj45 poe and now works normaly.
I must just identify what kind the DHW 2pin senzor is for water tank,i wont pay 50€ fot maby ntc senzor
Did anyone manage to connect PENKTH000 so I have consumption info in LG controller AND at the same time rs485 interface to read and maybe control the unit?