<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Samsung Gen 7 16kW Integrated unit Modbus monitoring - Air Source Heat Pumps (ASHPs)				            </title>
            <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/</link>
            <description>Questions and discussions about renewable heating and heat pumps</description>
            <language>en-GB</language>
            <lastBuildDate>Fri, 15 May 2026 01:29:55 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/paged/2/#post-60785</link>
                        <pubDate>Fri, 20 Mar 2026 14:18:22 +0000</pubDate>
                        <description><![CDATA[I don&#039;t understand any of the foregoing technical discussion, but for the record I have a Samsung Gen 7 12 Kwh heat pump that gives me all the data I want from a modus connection to a Planet...]]></description>
                        <content:encoded><![CDATA[<p>I don't understand any of the foregoing technical discussion, but for the record I have a Samsung Gen 7 12 Kwh heat pump that gives me all the data I want from a modus connection to a Planet Devices unit. The guys there are very helpful.</p>]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>Broadsman</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/paged/2/#post-60785</guid>
                    </item>
				                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60751</link>
                        <pubDate>Thu, 19 Mar 2026 23:23:42 +0000</pubDate>
                        <description><![CDATA[@antonical Thank you, I&#039;ll post more when I get that far.  Fortunately my son has expressed an interest in helping to set it up so I may not need as much help to understand what is need as I...]]></description>
                        <content:encoded><![CDATA[@antonical Thank you, I'll post more when I get that far.  Fortunately my son has expressed an interest in helping to set it up so I may not need as much help to understand what is need as I initially thought I would.]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>JohnnyB</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60751</guid>
                    </item>
				                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60627</link>
                        <pubDate>Sun, 15 Mar 2026 18:53:35 +0000</pubDate>
                        <description><![CDATA[@johnnyb HI,I have an integrated unit with all components in the outdoor unit. It should be easier to wire into the control unit as its inside. The modbus interface is exactly the same so th...]]></description>
                        <content:encoded><![CDATA[@johnnyb HI,<br /><br />I have an integrated unit with all components in the outdoor unit. It should be easier to wire into the control unit as its inside. The modbus interface is exactly the same so the code above will work. You will need a RS485 adaptor. There are various types as we have a site wide Lan and Wifi Network we use Wavesahre RS485 to ETH (B) POE devices. BUt you could easily use a usb to RS485 adaptor. The wiring is trivial really just a 2 wire connection A &amp; B matched to the terminals on the Modbus Card. There are many articles online. Check out Glyn Hudson https://github.com/glynhudson/samsung-modbus-mim-b19n which started me on this path. <br /><br />Happy to help when you get to it.<br /><br />Cheers<br />]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>antonical</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60627</guid>
                    </item>
				                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60595</link>
                        <pubDate>Sat, 14 Mar 2026 21:56:14 +0000</pubDate>
                        <description><![CDATA[I&#039;ve been watching this with interest as I would like something similar but have no knowledge of what I would need and no time yet to implement it if I did know. I have bookmarked the chat t...]]></description>
                        <content:encoded><![CDATA[<p>I've been watching this with interest as I would like something similar but have no knowledge of what I would need and no time yet to implement it if I did know. I have bookmarked the chat to come back to it when I have the time.</p>
<p>Which Samsung controller unit do you have? My Gen 7 has a tablet built into the MIMs unit not the standard wired controller. It sounds like you have the standard one. Do you think that would make any difference? I have a modus card, bought as I was intending to use Homely but decided I would like more control than that gives.</p>]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>JohnnyB</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60595</guid>
                    </item>
				                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60578</link>
                        <pubDate>Fri, 13 Mar 2026 21:33:29 +0000</pubDate>
                        <description><![CDATA[@majordennisbloodnok Thanks I hope it helps someone. Still digging to find the Indoor Temperature and Pump percentage I am sure I will find it. It does appear that Samsung changed a bunch of...]]></description>
                        <content:encoded><![CDATA[@majordennisbloodnok Thanks I hope it helps someone. Still digging to find the Indoor Temperature and Pump percentage I am sure I will find it. It does appear that Samsung changed a bunch of addresses from what is out there on the internet. Will have to go old school and have someone shout the Controller numbers out while I read various registers till we find them.<br /><br />Here is the latest incarnation of my Monitoring dashboard. It's coming along nicely.<br /><br />
14625]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>antonical</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60578</guid>
                    </item>
				                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60556</link>
                        <pubDate>Fri, 13 Mar 2026 10:32:58 +0000</pubDate>
                        <description><![CDATA[Well that&#039;s exactly as laid out in the documentation for the modbus integration, @antonical, so I&#039;d say you&#039;ve got it bang on.
Perhaps more importantly is that it provides a rather more gen...]]></description>
                        <content:encoded><![CDATA[<p>Well that's exactly as laid out in the documentation for the modbus integration, @antonical, so I'd say you've got it bang on.</p>
<p>Perhaps more importantly is that it provides a rather more generic reference for anyone wanting to talk modbus with their heat pump. What you've laid out isn't just going to work for Samsung, so if someone can't find an integration written specifically for modbus their heat pump then this should work just as well.</p>]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>Majordennisbloodnok</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60556</guid>
                    </item>
				                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60551</link>
                        <pubDate>Fri, 13 Mar 2026 09:58:29 +0000</pubDate>
                        <description><![CDATA[In case anyone is wondering how this is achieved and to contribute back to the community.We run HA in a Virtual Machine on our ESXi Server. It could easily be run on an rpi. We have multiple...]]></description>
                        <content:encoded><![CDATA[<p>In case anyone is wondering how this is achieved and to contribute back to the community.<br /><br />We run HA in a Virtual Machine on our ESXi Server. It could easily be run on an rpi. We have multiple Waveshare RS485 to ETH (B) POE adaptors on site that provide realtime power and electrical data for teh buildings on site Main House, Office, Barns etc. 2 in the small barn where the G98 inverter and solar live. One waveshare in the barn gets the CT data from the main house grid incomer across the network from an OwenBrothers OB115 meter and another Waveshare device that sends the meter data to the inverter in the barn across the wireless mesh network. The other barn Waveshare is the inverter and battery telemetry also on the network.  This provides a rock solid CT and telemetry feed into the network. The network is UPS protected so the LAN and metering and the wireless mesh stay up in a power cut (of which we have many per year). The barn loads are all on the backup port and stay up in a power cut.<br /><br /> Onto the ASHP. It is installed outside the kitchen and is a fully integrated unit. It has 2 samsung spec monitoring cables that run back into the house and upto the plant room on the first floor above it. All primary pipework is 35mm with a max run of &lt;6M to the diverter valve and tank.  One cable is the Samsung wired remote controller. (total nonsense in reality, as there is a wifi kit that this connects to so it could easily have been a wireless control head) hey ho. We essentially used the old thermostat cabling to power this nonsense head unit. (this restricted our ability to place it somewhere else). Recabling the house would have been an issue. I am looking at alternatives to this.<br /><br />The other cable is the modbus cable from the internal Samsung modbus unit. This runs to another Waveshare in the plant room that links the ASHP to the network and allows me to get the 'realtime' telemetry. Still finding my way with this and can't seem to get the indoor temp or the pump % data to complete my monitoring data. I currently have live data for LWT RWT HWT FR OAT COMPRESSOR % I get the realtime electical power used by the complete ASHP from a Shelly Pro EM50 installed in the Plant Room CU and connected to the live feed on the ASHP RCBO. This allows me to calculate in realtime the COP of the system and various other useful data points and log and dashboard them. I also then log this to a set of virtual utility meters for Daily SCOP Monthly SCOP and Annual SCOP.<br /><br />Very early days &lt;2 days running data. But looks promising. My plans include calculating actual running costs in £'s for the ASHP and full and discrete property electrical usage (office etc.) as I have all of the site electrical data and TOU Tariff information.<br /><br />It's cold at this point so a good time to start our journey as in theory the ASHP costs will be higher. I recognise this is a journey we have embarked upon for a full electrified future. But the initial running cost data looks like we are tracking to save approx. 10k Per year on overall site running costs. With solar battery and ashp.   <br /><br />Happy to help anyone with this. Here is the detailed modbus config for HA that is essentially all you need to get the data from the Modbus card once you have connected it to your pc or network. I am sure there are more expert people at configuring HA but this seems to be working for me. A few of these sensors are a WIP like IAT (Indoor Air Temp) IPC (instantaneous Power Consumed) and WOST (Water Out Set Temp) these don't seem to be working with the modbus card. <br /><br /></p>
<pre contenteditable="false">- name: "samsung_ashp"
    type: tcp
    host: x.x.x.x
    port: 502
    sensors:
      - name: "ASHP LWT"
        unique_id: ashp_lwt
        address: 66
        input_type: holding
        unit_of_measurement: "°C"
        device_class: temperature
        state_class: measurement
        scale: 0.1
        precision: 1
        slave: 1

      - name: "ASHP RWT"
        unique_id: ashp_rwt
        address: 65
        input_type: holding
        unit_of_measurement: "°C"
        device_class: temperature
        state_class: measurement
        scale: 0.1
        precision: 1
        slave: 1
        
      - name: "ASHP WOST"
        unique_id: ashp_wost
        address: 68
        input_type: holding
        unit_of_measurement: "°C"
        device_class: temperature
        state_class: measurement
        scale: 0.1
        precision: 1
        slave: 1
      
      - name: "ASHP HWST"
        unique_id: ashp_hwst
        address: 74
        input_type: holding
        unit_of_measurement: "°C"
        device_class: temperature
        state_class: measurement
        scale: 0.1
        precision: 1
        slave: 1
      - name: "ASHP HWT"
        unique_id: ashp_hwt
        address: 75
        input_type: holding
        unit_of_measurement: "°C"
        device_class: temperature
        state_class: measurement
        scale: 0.1
        precision: 1
        slave: 1
      - name: "ASHP OAT"
        unique_id: ashp_oat
        address: 6
        input_type: holding
        unit_of_measurement: "°C"
        device_class: temperature
        state_class: measurement
        scale: 0.1
        precision: 1
        slave: 1
      - name: "ASHP IAT"
        unique_id: ashp_iat
        address: 67
        input_type: holding
        unit_of_measurement: "°C"
        device_class: temperature
        state_class: measurement
        scale: 0.1
        precision: 1
        slave: 1
      - name: "ASHP IPC"
        unique_id: ashp_ipc
        address: 7
        input_type: holding
        unit_of_measurement: "W"
        device_class: power
        state_class: measurement
        scale: 0.1
        precision: 1
        slave: 1  

      - name: "ASHP Flow Rate"
        unique_id: ashp_flow_rate
        address: 83
        input_type: holding
        unit_of_measurement: "L/min"
        state_class: measurement
        scale: 0.1
        precision: 1
        slave: 1

utility_meter:
  ashp_heat_daily:
    source: sensor.ashp_total_heat_produced
    cycle: daily
  ashp_elec_daily:
    source: sensor.ashp_total_electricity_consumed
    cycle: daily
  ashp_heat_monthly:
    source: sensor.ashp_total_heat_produced
    cycle: monthly
  ashp_elec_monthly:
    source: sensor.ashp_total_electricity_consumed
    cycle: monthly
  ashp_heat_yearly:
    source: sensor.ashp_total_heat_produced
    cycle: yearly
  ashp_elec_yearly:
    source: sensor.ashp_total_electricity_consumed
    cycle: yearly
    
template:
  - number:
      - name: "Sunsynk Battery Limit"
        state: "{{ states('sensor.direct_modbus_battery_soc1_cap') | int(20) }}"
        step: 1
        min: 0
        max: 100
        unit_of_measurement: "%"
        set_value:
          - action: modbus.write_register
            data:
              hub: sunsynk_direct
              slave: 1
              address: 268
              value: 
              
  - sensor:
      - name: "ASHP Thermal Power"
        unique_id: ashp_thermal_power
        unit_of_measurement: "kW"
        device_class: power
        state: &gt;
          {% set lwt = states('sensor.ashp_lwt') | float(0) %}
          {% set rwt = states('sensor.ashp_rwt') | float(0) %}
          {% set flow = states('sensor.ashp_flow_rate') | float(0) %}
          {# Formula: LPM * dT * 0.0697 (Specific heat capacity of water) #}
          {{ (flow * (lwt - rwt) * 0.0697) | round(2) }}
          
      - name: "ASHP Total Heat Produced"
        unique_id: ashp_total_heat_produced
        unit_of_measurement: "kWh"
        device_class: energy           # Move from customize to here
        state_class: total_increasing  # Move from customize to here
        state: &gt;
          {{ (states('sensor.ashp_total_heat_produced') | float(0) + (states('sensor.ashp_thermal_power') | float(0) * 1/60)) | round(4) }}

      - name: "ASHP Total Electricity Consumed"
        unique_id: ashp_total_electricity_consumed
        unit_of_measurement: "kWh"
        device_class: energy           # Move from customize to here
        state_class: total_increasing  # Move from customize to here
        state: &gt;
          {{ (states('sensor.ashp_total_electricity_consumed') | float(0) + (states('sensor.shellyproem50_441d6474e708_energy_meter_0_power') | float(0) / 1000 * 1/60)) | round(4) }} 

      - name: "ASHP System COP"
        unique_id: ashp_system_cop
        state: &gt;
          {% set thermal = states('sensor.ashp_thermal_power') | float(0) %}
          {% set electrical = states('sensor.shellyproem50_441d6474e708_energy_meter_0_power') | float(0) / 1000 %}
          {% if electrical &gt; 0.1 %}
            {{ (thermal / electrical) | round(2) }}
          {% else %}
            0.0
          {% endif %}
      - name: "ASHP Delta T"
        unique_id: ashp_delta_t
        unit_of_measurement: "K"
        device_class: temperature
        state_class: measurement
        state: &gt;
          {% set lwt = states('sensor.ashp_lwt') | float(0) %}
          {% set rwt = states('sensor.ashp_rwt') | float(0) %}
          {{ (lwt - rwt) | round(1) }}
      - name: "Daily SCOP"
        unique_id: daily_scop
        state: &gt;
          {% set heat = states('sensor.ashp_heat_daily') | float(0) %}
          {% set elec = states('sensor.ashp_elec_daily') | float(0) %}
          {{ (heat / elec) | round(2) if elec &gt; 0 else 0 }}

      - name: "Monthly SCOP"
        unique_id: monthly_scop
        state: &gt;
          {% set heat = states('sensor.ashp_heat_monthly') | float(0) %}
          {% set elec = states('sensor.ashp_elec_monthly') | float(0) %}
          {{ (heat / elec) | round(2) if elec &gt; 0 else 0 }}

      - name: "Annual SCOP"
        unique_id: annual_scop
        state: &gt;
          {% set heat = states('sensor.ashp_heat_yearly') | float(0) %}
          {% set elec = states('sensor.ashp_elec_yearly') | float(0) %}
          {{ (heat / elec) | round(2) if elec &gt; 0 else 0 }}
      </pre>
<p><br /><br />Cheers </p>]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>antonical</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60551</guid>
                    </item>
				                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60548</link>
                        <pubDate>Fri, 13 Mar 2026 09:47:50 +0000</pubDate>
                        <description><![CDATA[That&#039;s looking good, @antonical; I really like it. It&#039;s reminiscent of the HA energy page in that it gives a clear idea of flows, but it&#039;s certainly for a distinctly separate purpose. Clear ...]]></description>
                        <content:encoded><![CDATA[<p>That's looking good, @antonical; I really like it. It's reminiscent of the HA energy page in that it gives a clear idea of flows, but it's certainly for a distinctly separate purpose. Clear and intuitive; good job.</p>]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>Majordennisbloodnok</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60548</guid>
                    </item>
				                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60542</link>
                        <pubDate>Fri, 13 Mar 2026 09:03:48 +0000</pubDate>
                        <description><![CDATA[Here is the latest HA monitoring dashboard.]]></description>
                        <content:encoded><![CDATA[<p>Here is the latest HA monitoring dashboard.<br /><br /></p>
14618]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>antonical</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60542</guid>
                    </item>
				                    <item>
                        <title>RE: Samsung Gen 7 16kW Integrated unit Modbus monitoring</title>
                        <link>https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60492</link>
                        <pubDate>Thu, 12 Mar 2026 11:18:35 +0000</pubDate>
                        <description><![CDATA[The setup for this is a Samsung Modbus card. Connected via samsung specification wiring back into the house into a Waveshare RS485 to ETH (B) POE adaptor. This is setup as a server with the ...]]></description>
                        <content:encoded><![CDATA[<p>The setup for this is a Samsung Modbus card. Connected via samsung specification wiring back into the house into a Waveshare RS485 to ETH (B) POE adaptor. This is setup as a server with the following settings. Port 502, 9600, 8, 1, Even. Alow multiple connections.<br /><br />Cheers<br /><br /></p>]]></content:encoded>
						                            <category domain="https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/">Air Source Heat Pumps (ASHPs)</category>                        <dc:creator>antonical</dc:creator>
                        <guid isPermaLink="true">https://renewableheatinghub.co.uk/forums/renewable-heating-air-source-heap-pumps-ashps/samsung-gen-7-16kw-integrated-unit-modbus-monitoring-2/#post-60492</guid>
                    </item>
							        </channel>
        </rss>
		