The Samsung MIM-B19N is a Modbus RTU gateway that connects Samsung HE, HT and EHS heat pump units to TapHome via RS-485. The gateway translates between the Samsung R1/R2 internal bus protocol and standard Modbus RTU, exposing water temperature sensors, hot water control, operation modes and comfort functions as holding registers.
Each MIM-B19N can manage up to 1 outdoor unit (4 including sub-units for modular installations) and 48 indoor units. The gateway address is set using a combination of DIP switches and a rotary switch (range 1–247).
Hardware connection
Specifications
- Power supply: DC 12 V from CN12 on outdoor unit main board
- Operating temperature: -10 °C to +50 °C
- Protocol: Modbus RTU Slave, RS-485
- Baud rate: 9600, even parity, 1 stop bit, 8 data bits
- Max units: 48 indoor units + 1 outdoor unit per gateway
- Max bus length: 1000 m (RS-485)
RS-485 wiring
Connect the MIM-B19N to TapHome using a 2-wire RS-485 connection:
- A (R1) –> A+/D+ on TapHome RS-485
- B (R2) –> B-/D- on TapHome RS-485
The MIM-B19N draws power from the outdoor unit via the DC 12 V connector (CN12). The Samsung internal communication uses the F1-F2 bus to reach indoor and outdoor units.
Important – RS-485 polarity
Match the RS-485 polarity between the MIM-B19N and TapHome. Swapped A/B wires will prevent communication. The RED LED on the module blinks when Modbus communication is active – if it stays off, check the wiring.
Wiring topology
| |
Configuration
DIP and rotary switch addressing
The MIM-B19N address is calculated as the sum of DIP switch values plus the rotary switch value.
| Switch | Location | ON value |
|---|---|---|
| SW4-1 | DIP | 128 |
| SW4-2 | DIP | 64 |
| SW5-1 | DIP | 32 |
| SW5-2 | DIP | 16 |
| SW1 | Rotary | 0–15 (hex) |
Address examples:
| SW4 (1,2) | SW5 (1,2) | SW1 (rotary) | Address |
|---|---|---|---|
| OFF, OFF | OFF, OFF | 1 | 1 |
| OFF, OFF | OFF, OFF | 2 | 2 |
| OFF, OFF | OFF, ON | 3 | 19 |
| OFF, OFF | ON, ON | 5 | 53 |
Recommended: Address 1 for a single gateway (all DIP switches OFF, rotary switch set to 1).
Address 0 is invalid. Valid range is 1–247.
Indoor unit prerequisite
Before the MIM-B19N can control indoor units, the “Use of central control” (SEG5) setting on each indoor unit must be set to “Use (1)”. Without this setting, the gateway can read status but cannot send control commands.
Multi-unit addressing
For systems with multiple indoor units, register addresses shift by 50 per unit:
| Indoor unit | Base register | ON/OFF register |
|---|---|---|
| Unit 0 (first) | 50 | H:52 |
| Unit 1 | 100 | H:102 |
| Unit 2 | 150 | H:152 |
The TapHome template is configured for the first indoor unit (IU=0). For additional units, duplicate the template and adjust the register offsets by adding 50 × unit_index.
Device capabilities
Water temperature monitoring
The template provides two water temperature sensors for the hydronic circuit:
- Water Inlet Temperature (H:65) – water return temperature, read-only, °C x 10 conversion
- Water Outlet Temperature (H:66 read / H:68 write) – water flow temperature with setpoint control. The setpoint ranges depend on the unit type:
- HE: Cool 5–25 °C / Heat 15–50 °C
- HT: Heat 25–80 °C (no cooling)
- EHS: Cool 5–25 °C / Heat 15–55 °C
Hot water (DHW) control
Domestic hot water is managed through three devices:
- Hot Water ON/OFF (H:72) – enables or disables DHW production
- Hot Water Mode (H:73) – selects the DHW mode: ECO, Standard, Power, Force (EHS only), or Cool
- Hot Water Temperature (H:75 read / H:74 write) – current DHW tank temperature and setpoint. Setpoint ranges:
- HE: 30–75 °C
- HT: 35–75 °C
- EHS: 30–70 °C
Unit power and operation mode
- Central Heating ON/OFF (H:52) – turns the heat pump unit on or off
- Operation Mode (H:53) – selects Auto, Cool, Dry, Fan, or Heat mode
Quiet mode and away function
- Quiet Mode (H:78) – enables or disables outdoor unit noise reduction (Silence On/Off)
- Away Function – exposed as a service attribute (read H:79) and service action (write H:79) on the Quiet Mode device. Activates the outing/away mode for energy saving when nobody is home
Service diagnostics
The module exposes three service attributes for system monitoring:
- Communication Status (H:50) – bitfield showing: Exist, Type OK, Ready, Communication error
- Unit Type (H:51) – identifies the connected unit type (HE, HT, EHS, FCU, ERV, AHU, Chiller)
- Remote Control Restriction (H:64) – shows whether the remote controller is locked
Two service actions are available:
- Buzzer (H:3) – turns the outdoor unit buzzer on or off
- Remote Control Restriction (H:64) – locks or unlocks the wired remote controller (write 0x6363 for restriction, 0x0000 for no restriction)
The module ReadScript monitors the MIM-B19N error register (H:0) for address errors, R1/R2 communication errors and tracking errors, and reports the outdoor unit error code (H:1) in TapHome.
Additional capabilities
The MIM-B19N register map also exposes registers for indoor set temperature (H:58, range 16–30 °C heating / 18–30 °C cooling), discharge temperature (H:60), cooling and heating discharge setpoints (H:61, H:62), indoor unit error codes (H:63), outdoor temperature (community-discovered, H:5), room temperature (H:59), and defrost status (H:2). These can be added in a future template update.
The indoor set temperature register (H:58) is not included in the current template. To control the room setpoint, it can be added as a custom Modbus device in TapHome using holding register 58 with a range of 16–30 and a x10 multiplier.
LED and 7-segment indicators
| Indicator | Function |
|---|---|
| Y-GRN LED | Blinks during MIM-B19N to outdoor unit communication |
| RED LED | Blinks during Modbus RS-485 communication with BMS/TapHome |
7-segment error codes:
| Display | Condition |
|---|---|
| E6 / 16 | All indoor/outdoor communication stopped for >3 minutes |
| E6 / 15 | Specific indoor unit communication stopped for >3 minutes |
| E6 / 04 | Tracking not completed within 10 minutes after power on |
| E6 / 54 | EEPROM error |
| E6 / 34 | Address error |
Troubleshooting
No Modbus communication (RED LED not blinking)
- Check RS-485 cables:
- A wire correctly connected to A+/D+ on TapHome
- B wire correctly connected to B-/D- on TapHome
- Verify polarity is not swapped
- Verify the gateway address using DIP and rotary switches
- Confirm TapHome is set to: 9600 baud, even parity, 1 stop bit, 8 data bits
- Check that the RS-485 bus length does not exceed 1000 m
Unit not tracked (Communication Status bits 0–2 not all = 1)
- Verify indoor unit is powered on and connected to the Samsung F1/F2 bus
- Check that “Use of central control” (SEG5) is set to “Use (1)” on the indoor unit
- Wait up to 10 minutes for tracking to complete after power-on
- If 7-segment shows E6/04, reset the MIM-B19N module
Control commands not taking effect
- Confirm Communication Status register (H:50) shows bits 0–2 all set to 1 (Exist + Type OK + Ready)
- Check that Remote Control Restriction is not active (H:64 = 0x0000)
- Verify the indoor unit address is within range (0–47)
- Allow at least 10 ms between consecutive Modbus read/write commands
Temperature readings showing 0 or incorrect values
- Ensure the unit has completed tracking (Communication Status = Ready)
- Verify the correct unit type – some registers are only available for HE/HT/EHS
- Check the service attribute “Unit Type” in TapHome to confirm the detected model
