I am currently looking to integrate a Samsung ASHP as my main source of heating in my property and am trying to integrate over Modbus to Loxone. While i have most of the functions already as they were quite simple to integrate being just Single Preset Registers there are several modbus registers that are hidden in the heat pump control that i want to integrate but from the documentation it seems like i would need to first write specific MessageSet ID's to then be able to add them as individual sensors and actuators. I have seen examples of Python script doing this and they handle that in the following format:
################################################################
# HIDDEN REGESITERS
################################################################
# Flow rate in L/min
# FR control
# 3 way valve position. 0=CH, 1=DHW
# OutdoorT
instrument.write_registers(7005,[0x42E9, 0x42F1, 0x4067, 0x8204])
time.sleep(0.5)
# Outdoor temp
outdoor_temp = round(0.1*(instrument.read_register(5,functioncode=3,signed=True)),2)
print ("Outdoor temp: " + str(outdoor_temp))
time.sleep(0.5)
# Flow rate in L/min
flowrate = round(0.1*(instrument.read_register(87,functioncode=3)),2)
print ("Flow rate: " + str(flowrate))
time.sleep(0.5)
# 3 way valve position. 0=CH, 1=DHW
time.sleep(0.5)
threeway_valve_position = instrument.read_register(89,functioncode=3)
print ("3 way valve position: " + str(threeway_valve_position))
# Compressor Freq (%)
compressor_freq = instrument.read_register(88,functioncode=3)
print ("Compressor freq %: " + str(compressor_freq))
time.sleep(1)
The first part of this writes to register 7001 and should create the new functions listed in registers 33 onwards. It is a requirement that if multiple functions are added then they are written all at once.
Is there anyone familiar with using the Loxone Modbus that can tell me how i do this in Loxone Config? I obviously need to create and analogue Actuator to writer these values and give it the IO address of 7005 but how then do i feed these values into the input and is there a specific format it must be in such as comma separated?