Example python script to for testing reading and writing data to a Samsung Heat Pump or HVAC unit using a MIM-B19N Modbus module, purchase from Midsummer
- AE050RXYDEG-EU Gen6 ASHP
- Raspberry Pi with USB Modbus reader
- Python 3
$ pip3 install minimalmodbus
$ python3 samsung-modbus.py
Central heating status: 0
Target indoor temp: 21.0
Indoor temp: 22.7
Target flow temp: 25.0
Flow temp: 32.7
Return temp: 33.6
DHW status: 1
DHW target temp: 55.0
DHW temp: 49.8
Away mode status: 0
Write / controll comands can be activated by un-commenting them.