glynhudson / samsung-modbus-mim-b19n

Example script to read data from a Samsung Heat Pump or HVAC unit using MIM-B19N Modbus module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

samsung-modbus-mim-b19n

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

Tested with:

Install python module

$ pip3 install minimalmodbus

Run with

$ python3 samsung-modbus.py

Example output

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

Control commands

Write / controll comands can be activated by un-commenting them.

Next setps

  • DONE: Integrated this into a EmonHub interfacer module to log the data to MQTT and Emoncms
  • Home Assistant integration? (can anyone help with this?)
  • NodeRED module? (can anyone help with this?)

About

Example script to read data from a Samsung Heat Pump or HVAC unit using MIM-B19N Modbus module


Languages

Language:Python 100.0%