Samsung ASHP scheduling help
I have a 12kw Samsung EHS Mono Heat Pump R32 1PH, with Samsung EHS R32 Heat Pump Control Pack and Wi-Fi Control Kit, although the Wi-Fi kit was never installed so the controller sits in my loft with the DHW tank. My Hive is connected up to the system, however, I don't think this is ideal because it can only basically turn the heating on or off.
What I would like to do is have a water law set to daytime hours, and either a different water law for nighttime, or somehow to reduce the temperature in the radiators during the night (i.e. setback).
On the Samsung controller, I can only schedule on/off/quiet for the DHW, nothing on heating.
Does anybody know how to set this up? I'm happy to ditch the Hive if easiest.
Thanks, Mark
I think the short answer is that you can't schedule different water laws or a setback flow temperature, which is pretty poor IMO.
I was frustrated by this too and have ended up using the Modbus interface to link the heat pump to Home Assistant. This gives direct control of the flow temperature so I can do pretty much whatever I want, but it's probably not for the faint hearted.... But I'm happy to share what I've done of you are interested.
Have a look at Homely, as this is an off-the-shelf solution that does something similar I believe, but you can only control via an app (no wall controller).
Flicking through the Samsung controller manual, you can set a different water law for Outing mode but that's not helpful as it can't be scheduled. The PV function allows you to increase the water law flow temp by a configurable offset, e.g. 3 degrees. But as you want to lower the flow temp at certain times, you'd need to lower the main water law curve and then 'boost' it back to current values with the PV function except overnight for example. You'd need to wire a time switch or relay to the controller to activate the PV function.
@tomc I would be really interested in your Home Assistant set up if you have details you can share
Posted by: @tomcBut I'm happy to share what I've done of you are interested.
I am also very interested, as I've been looking into doing the same thing, Home Assistant <-> modbus (RS-485) <-> Heat Pump, only difference is my heat pump is a Midea rather than Samsung unit. Another consideration with the Midea units is that there is a python module that can be added as custom component to Home Assistant that allows direct communication with the Midea wired controller via Wifi ie no need for the modbus bit but the code in the module is not complete and so far the only data I have managed to get is DHW tank actual temperature and total power consumption (and so indirectly, and not very accurately, power consumption by hour, or a bit more accurately, by day). The two relevant threads on the forum are:
and
See later posts in latter thread, where the emphasis shifts to connecting not to the app/midea cloud, but directly and locally to the wired controller.
Both the hardware you have used and software setup would be of interest, if you can provide any details. I am interested in both monitoring, specifically to get COP over time, along with other relevant data such as ambient outdoor temp, and also in using Home Assistant to control the heat pump, with a view to setting different weather compensation (water law in Samsung speak) curves so I can use a setback overnight without the penalty of the house taking forever to warm up again in the morning (the steady state curve doesn't provide enough heat to raise the temperature at a reasonable rate).
Midea 14kW (for now...) ASHP heating both building and DHW
Posted by: @redzer_irl@tomc I would be really interested in your Home Assistant set up if you have details you can share
@tomc - seconded. keen HA user here.
My octopus signup link https://share.octopus.energy/ebony-deer-230
210m2 house, Samsung 16kw Gen6 ASHP Self installed: Single circulation loop , PWM modulating pump.
My public ASHP stats: https://heatpumpmonitor.org/system/view?id=45
11.9kWp of PV
41kWh of Battery storage (3x Powerwall 2)
2x BEVs
Posted by: @tomc
I was frustrated by this too and have ended up using the Modbus interface to link the heat pump to Home Assistant. This gives direct control of the flow temperature so I can do pretty much whatever I want, but it's probably not for the faint hearted.... But I'm happy to share what I've done of you are interested.
I am not familiar with HA, being more experienced with industrial control systems, but always interested to learn about different systems.
I assume that you are writing from HA, over Modbus, to the heat pump controller, and thereby modifying the required flow temperature. This leads to several questions.
How did you discover which register to write to within the heat pump controller?
Do you just overwrite the Water Law calculated value?
How do you calculate the new flow temperature value to be written to the heat pump controller?
@derek-m - these are all very pertinent questions. As you know, I have a Midea unit, but I think the principles are very similar whether it's a Samsung unit or a Midea one. Modbus has 'register addresses' which you can use to get or set a value. You might get the DHW tank actual temperature, or set the target DHW target temperature. I am doing something very similar using Home Assistant over Wifi in the other thread, no modbus involved, just those dratted Ox (hex) numbers and data offset and bitwise operators, but only getting at the moment, too terrified to set anything just yet.
I think the calculations to set say the LWT will be simple calculations. For example, for a boost, if room set temp - room actual temp > +2, then new LWT = current LWT + 3 sort of thing.
Midea 14kW (for now...) ASHP heating both building and DHW
Posted by: @cathoderay@derek-m - these are all very pertinent questions. As you know, I have a Midea unit, but I think the principles are very similar whether it's a Samsung unit or a Midea one. Modbus has 'register addresses' which you can use to get or set a value. You might get the DHW tank actual temperature, or set the target DHW target temperature. I am doing something very similar using Home Assistant over Wifi in the other thread, no modbus involved, just those dratted Ox (hex) numbers and data offset and bitwise operators, but only getting at the moment, too terrified to set anything just yet.
I think the calculations to set say the LWT will be simple calculations. For example, for a boost, if room set temp - room actual temp > +2, then new LWT = current LWT + 3 sort of thing.
You should be able to read the data, once you figure out what data is what. As far as being able to write data to the controller is concerned, I am not quite certain, since shortly after changing the data within the controller, it could then be overwritten by the controller itself.
Thanks for the interest everyone, I'll post a brief description of the setup then try and answer any remaining questions. Sorry if it is a bit piecemeal, a bit short of time as usual!
Hardware
Samsung Modbus interface MIM-B19M ( https://midsummerwholesale.co.uk/buy/samsung-heat-pumps/Samsung-modbus-MIM-B19, but I got it cheaper from Portugal here: https://www.keroclima.pt/Samsung-Comando-MIM-B19N/en)
USB to RS-485 converter ( https://www.amazon.co.uk/Waveshare-Industrial-Converter-Aluminium-Magnetical/dp/B07P3JGGLG). You can get cheaper ones but I chose this one as it is isolated and looks a bit more robust
Raspberry Pi running a Python script (see below). This is on the network and talks to HA using MQTT. It is separate to the Pi running HA but I guess could be the same if convenient.
Python script
This code from Glyn gave a massive headstart, as he had already figured out the code to read and write Modbus registers:
https://github.com/glynhudson/samsung-modbus-mim-b19n
The manual that came with the Modbus interface detail all the registers - they are in Glyn's git repository.
I've then just hooked the read/write commands up to MQTT to interface to HA. It also calculates the output power, although not that accurately for me as I've had to guess they effect of the glycol on specific heat capacity. I will try and publish the code, but there is a bug that gives an unhandled exception I need to sort first (if anyone if very keen PM me).
Home Assistant
The MQTT auto-discovery creates all the sensors etc. in HA automatically (flow, return, indoor, outdoor, flow target, DHW tank, DHW tank target and indoor target temps, flow rate, output power, DHW and CH on/off status, three-way valve position and defrost status). The control parameters are DHW and CH on/off, and the three target temperatures. The DHW andf CH on/off are configured as switches on HA and just work, the target temps need input_numbers and an automation to send the values back via MQTT.
If you have the Samsung controller in Water Out mode (where you set the flow temp manually with no weather compensation) then you can adjust the flow temp using the target flow parameter. This is what I do, and have replicated the controller weather compensation (water law) using a template sensor in HA.
If you have it in thermostat mode (where you set the room temperature), you can't set the flow target and have to use the indoor target, but the controller still does weather compensation.
So basically the whole setup just lets you make adjustments that you could make on the controller, it doesn't fundamentally change how the controller operates. But it does allow you to take control of the flow temperature, which is the vital thing.
Some graphs (WIP)
Control strategy is quite simple at the moment. We're on Octopus Cosy so it just shifts the weather compensation curve by +3 degrees in the cheap periods and -5 when expensive, and also -5 when overnight. There is an option to turn the heating off overnight (until 4am) if certain conditions are met (indoor temp above 19 and overnight forecast is less than 5 degrees)
I have buttons on the HA overview to select morning and/or evening showers - this determines whixh cheap period the DHW is heated, and to what temperature.
@tomc - thanks very much for all this, very illuminating. Clearly you can fine tune the weather compensation curve according to time of day (and so make better use of a variable tariff). It also appears that you have the option to use indoor temps (and forecasts) to adjust the curve. Is this reasonably easy to set up, and does it actually work seamlessly in practice?
Midea 14kW (for now...) ASHP heating both building and DHW
Reading the indoor temperature is the one main snag. It seems that when the Samsung controller is in Water Outlet mode it isn't possible to get the current indoor temperature via Modbus. The register just freezes as 20 degrees.
For now I'm using a zigbee temperature sensor to sense the indoor temperature independently, but this isn't as stable as I'd like so might change to a WiFi one.
The main bit of functionality I haven't done in HA yet using indoor temperature is some basic load control - basically progressively dial down the flow temp as it reaches a room setpoint, e.g. down 1 degree from weather comp curve for each 0.1 degree above 19 degrees. I probably won't do it the other way (higher flow temp when a long way from room set point) to maintain COP, and instead intervene manually when really needed.
- 26 Forums
- 2,255 Topics
- 50.3 K Posts
- 374 Online
- 5,918 Members
Join Us!
Podcast Picks
Latest Posts
-
RE: My experience with 3 heat pump surveys: Heat Geek, British Gas & Octopus
I have recently gone through the whole process. I got q...
By debT , 60 minutes ago
-
RE: Electricity price predictions
I suspect it's because housebuilders have lobbied/told ...
By JamesPa , 1 hour ago
-
RE: The Hidden Secret to a Successful Heat Pump: Pipe Size Matters
and we have some of the strongest tidal flows anywhere ...
By Old_Scientist , 1 hour ago
-
RE: Midea ASHP – how to set weather compensation
@pash44pump - as I said yesterday, see if you can get i...
By cathodeRay , 1 hour ago
-
RE: Radiator Sizing Dilemma: Vertical vs Type 33 for Low-Temperature Heat Pump Systems
This looks OK. Overall you have roughly the right amoun...
By Old_Scientist , 2 hours ago
-
RE: How can I programme a setback for my Samsung Gen6 8kW heat pump?
I'm not familiar with Hive thermostats/controllers, but...
By Old_Scientist , 2 hours ago
-
From my experience of the Shine app, I'd say that's not...
By Majordennisbloodnok , 3 hours ago
-
RE: PV Panels on roof in Conservation Area
Oh I see, I thought that there might be some sort of ga...
By JamesPa , 6 hours ago
-
RE: Testing new controls/monitoring for Midea Clone ASHP
Thanks @grantmethestrength and @cathoderay . The reas...
By benson , 16 hours ago
-
RE: Help me keep the faith with my air source heat pump installation
@jamespa mine seems changing albeit not by much, 3.21, ...
By AdamK , 20 hours ago
-
@majordennisbloodnok The migration hasn't started in th...
By HCas , 20 hours ago
-
RE: Buying large amp bidirectional RCD and RCBO
There won't be many RCBOs with a 100mA trip rating beca...
By Transparent , 21 hours ago
-
RE: One room is colder than the rest of the house
@jamespa thanks for all the advice. Just so you know, ...
By AndrewJ , 23 hours ago
-
RE: Mitsubishi Ecodan R290 10kW performance
@dgclimatecontrol I only have 1 cylinder and I can conf...
By Ecoste , 23 hours ago
-
RE: Daikin Octopus installation update - I saw my first defrost. 😍😂
My MMI is in the loft but I checked the pump flow rate ...
By RadWhisperer , 1 day ago
-
RE: Grant Aerona 3 and Drayton system questions
Good man/woman that plumber! Very likely....
By JamesPa , 1 day ago
-
RE: New build installation query
@paullacey Hi I have managed to save the fil...
By JamesPa , 1 day ago
-
RE: What should we do with our Aga?
One slightly off-the-wall suggestion is that, if you li...
By Majordennisbloodnok , 1 day ago
-
I've created a separate post here, wondering about radi...
By DREI , 2 days ago




