Multiple simultaneo...
 
Notifications
Clear all

Multiple simultaneous connections to Samsung R290 heat pump via Modbus

5 Posts
4 Users
2 Reactions
250 Views
(@angus)
Active Member Member
Joined: 1 month ago
Posts: 2
Topic starter  

I plan to get a Samsung R290 5kW heat pump.

Homely has been recommended and so will connect to the heat pump via the MIM-B19N Modbus interface.

I want to be able to monitor the heat pump's internal data directly, and possibly add to it by connecting my own flow and return temperature sensors as I have read that Samsung's values are sufficiently inaccurate to skew COP calculations.  (But, make use of its flow data - which is said to be accurate - and which avoid installing an external flow meter.)

Does anyone know if the MIM-B19N Modbus interface will support multiple connections? And, if so, would this just be a matter of adding a second pair of wires to its terminals from, for example, a Modbus RS485 to USB Adaptor?

Thanks


   
Quote
(@jamespa)
Illustrious Member Moderator
Joined: 2 years ago
Posts: 2371
 

My understanding of modbus is that its a master slave system.  One unit must be designated the master, others are slaves.  i dont know how you do this.  You can definitely connect multiple slaves, doubtless up to some max number which I dont know.

 

Thats probably not definitive enough for which I apologise.  Maybe someone will come along with a definitive answer.

This post was modified 1 month ago by JamesPa

4kW peak of solar PV since 2011; EV and a 1930s house which has been partially renovated to improve its efficiency. 7kW Vaillant heat pump.


   
ReplyQuote
(@arundalep)
Eminent Member Member
Joined: 8 months ago
Posts: 19
 

Technically, no, Modbus cannot have multiple connections, but you can decode the Modbus data using an RS-485 interface and suitable software (a Modbus sniffer). The Homely becomes the Modbus master (requesting the data from the Samsung); only one master is allowed.

That being said, I have tried multiple connections (Homely and Home Assistant), and it does work most of the time, but I would not recommend it. It can be flaky and very slow.

It's far easier to use a simple off-the-shelf interface (M5 Stack Atom + RS485 base ATOMIC RS485 Base | The Pi Hut) and wire directly to the F1/F2 terminals. You will get much more data and controls available using this method (using the Samsung NASA protocol). There are multiple software options for this method on GitHub. I use ESP-Home and Home Assistant which works great.

image

1970’s 3 bed detached house in West Sussex. Mains gas disconnected September 2023.
Samsung HTQ 8kW heat pump using mostly existing radiators. House is warm 24/7 (normally between 20.3-20.6 C but currently with a newborn its 21-21.2 C).
Sunamp for hot water storage.
Solaredge 6kWp PV and 10kWh battery
Vehicle 2 Grid charger (used with a Leaf)
Wallbox EV charger (installed for Octopus Intelligent).
Home Assistant used for HEMS with lots of custom ESP devices to allow integration.

Insulation upgrades:
EPS cavity wall insulation.
Improved loft insulation (renewed and 300mm where possible).


   
🤩
1
ReplyQuote
(@broadsman)
Estimable Member Member
Joined: 10 months ago
Posts: 64
 

@arundalep Thank you that's useful info. I have modbus with Planet Devices which gives me plenty of data but no control. I have just fitted the long awaited wifi kit and linked to SmartThings and am about to try Havenwise. Should that not be successful I would try Homely via the modbus


   
ReplyQuote
(@angus)
Active Member Member
Joined: 1 month ago
Posts: 2
Topic starter  

 

20250331   monitoring methods

Thanks for the various replies.

I've tried to summarize the external monitoring methods:

Method 1 - Modbus via interface (MIM-B19N)
protocol: Modbus over RS485
access: Samsung Modbus interface MIM-B19N + RS485 to USB adaptor to computer / RS485 to TTL adaptor for microcontroller
notes:
a) Modbus will only support a single client.
b) possible to sniff data using a Modbus sniffer, but can be slow and flaky ( https://renewableheatinghub.co.uk/forums/postid/44593)

Method 2 - Connection via F1 / F2 terminals on control kit (MIM-E03*N)
protocol: NASA (see: https://wiki.myehs.eu/wiki/NASA_Protocol) over RS485
access:
- RS485 to USB / Ethernet / WiFi converter for connection to computer
- RS485 to TTL converter for connection to microcontroller (such as ESP32)
notes:
a) use of official Samsung MIM-C02N RS485 to USB interface expensive but provides some additional functionality, such as the downloading of Samsung firmware updates ( https://community.openenergymonitor.org/t/monitoring-your-samsung-ashp-controller/27638)
b) use of free Samsung SNET-Pro2 software provides easy access to some input and output data, allows you to change FSVs (field setting values), but not variables associated with the outdoor unit. And,allows logging to file in Excel spreadsheet format.
c) an ESPHome module has been developed to allow integration with Home Assistant ( https://github.com/omerfaruk-aran/esphome_samsung_hvac_bus)

Method 3 - Connection via F3 / F4 terminals on control kit (MIM-E03*N)
protocol: NASA over On-Off-Keyed (OOK) data line over a DC transmission line
access:
- requires a THVD8000 RS-485 transceiver to decouple bus signal from DC transmission line.
- RS485 to USB / Ethernet / WiFi converter for connection to computer
- RS485 to TTL converter for connection to microcontroller (such as ESP32)
- Samsung remote controller can remain connected
notes:
a) required circuitry appears to be involved, with - for example - the carrier frequency of the transceiver needing to be set by the adjusting resistor dip-switches. See:
https://github.com/70p4z/samsung-nasa-mqtt/issues/1
https://www.ti.com/lit/ug/sllu140a/sllu140a.pdf?ts=1743411742358&ref_url=https%253A%252F%252Fwww.ti.com%252Ftool%252FTHVD8000EVM
b) being actively developed by Topaz ( https://community.openenergymonitor.org/u/Topaz/summary), who plans to market a cheap pbc to facilitate access to these terminals). For more details of his project see:
https://community.openenergymonitor.org/t/contribution-samsung-ashp-nasa-link-mqtt-bridge-home-assistant/26744/9
https://github.com/70p4z/samsung-nasa-mqtt

---

Apparently the amount and frequency of data that can be viewed and controlled varies by method, with Modbus offering the least and connection to F3 / F4 terminals the most. A screenshot of showing data and settings for the F3 /F4 terminal method can be see here: https://github.com/70p4z/samsung-nasa-mqtt. It would be useful for those familiar with the Modbus and F1 / F2 methods what data or settings are missing for these interfaces.

Thanks

This post was modified 4 weeks ago 7 times by Angus

   
👍
1
ReplyQuote
Share:

Join Us!

Trusted Installers

Struggling to find a reliable heat pump installer? A poor installation can lead to inefficiencies and high running costs. We now connect homeowners with top-rated installers who deliver quality work and excellent service.

✅ Verified, trusted & experienced installers
✅ Nationwide coverage expanding
✅ Special offers available

👉 Find your installer now!

Latest Posts

x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security