Home Alone with Hom...
 
Notifications
Clear all

Home Alone with Home Assistant (previously A Beginner's Guide to ASHP Monitoring)

105 Posts
15 Users
51 Reactions
11.3 K Views
cathodeRay
(@cathoderay)
Famed Member Moderator
8106 kWhs
Joined: 3 years ago
Posts: 1613
Topic starter  

An even more Important Note: as this thread amply demonstrates, the original notion of a Beginner's Guide got lost in the complexities that appeared as I attempted the development of a simple monitoring system that any interested lay person could implement at reasonable cost and with sensible effort. The two main problems that emerged are (1) the difficulties of communicating with a heat pump over a network and (2) what software to use to do the monitoring. I decided to run with Home Assistant, a decision I consider based on my experience to have been a mistake. The fundamental problem is that it is too complex, and the ensuing chaos is a bit like trying to use a Met Office super-computer to work out the cost of your weekly grocery shop. What could possibly go wrong?

I am now well on the way towards having established a viable wired connection, using much simpler software and hopefully will post details in a new thread, A Beginner's Guide to Heat Pump Monitoring v2, before too long. In the meantime, this thread will remain available, partly because it contains some material that is still relevant even when using a wired connection, and partly because, well, it is a record of a journey down a long long road with many a winding turn that leads to who knows where...or you could say it is one home owner's experience of being home alone with Home Assistant.     

 

Part 1: Introduction

 

Important note, especially for newcomers to heat pumps: all of this, everything in this thread is voluntary, you absolutely do not need to do it, so don't let this thread put you off heat pumps, because they are just 'too complicated'. That said, unlike fossil fuel boilers, heat pumps are not a 'fit, fire and forget' solution, you do need to have some understanding of things like COPs (coefficients of performance), to get the best out of them, and avoid spending £££ that you don't need to spend. In most if not all cases, the manufacturers' own inbuilt displays will have all the necessary data, but not necessarily in an easy to read and assimilate form. Voluntarily adding your own monitoring will give you access to data that is both more comprehensive and better presented. But you don't have to do it, only do it if you want to do it.  

 

I'm starting this thread to provide what it says in the title: a beginner's guide to air source heat pump monitoring. I am just such a beginner, and frustrated by the limited questionable and ephemeral data provided by the heat pump's standard installation and 'app', I wanted a way of getting more accurate real time data that ended up being logged on my PC so that I could see what was really going on both in real time and over time. 

I am not a complete airhead when it comes to technical stuff, but every time I started googling how to set up such a monitoring system, I ended up with 30 tabs open in the browser, only to collapse under the weight of baffling jargon, multiple options and the sheer mass of either impenetrable or badly written posts that contradict each other. I was also rather put off by the fact that the top search results for most search queries I used tended to be full of 'my widget doesn't work with my gizmo, what can I do to make it work' threads, with rarely any actual solution provided. It all looks like a technology not yet ready for prime time.

But I kept on coming back to it. Surely it can't be that complicated? The system is already sending heat pump data to the manufacturer's servers, which is then downloaded into the app. I've decided I am going to give it one last try. I'm setting a time limit: if I haven't got a working monitoring system by 1st April 2023 (choice of 1st April is deliberate), then the effort becomes history. This thread will document my progress, or lack of it, plus any other, hopefully many, other's input on the practical ways to get local monitoring working. My heat pump is a Midea M-Thermal mono block 14kw unit, but I am hoping some of what I learn will be useful to owners of other brands of heat pumps.

In this first post, I am going to set out what I want. In summary:

  • a simple, minimally invasive, affordable (preferably tens not hundreds of pounds) and reliable (both in operation and data quality) setup
  • a locally based system, because I don't like sending my data to a commercial corporation, and then having to retrieve it from them. Put more bluntly, my data is my data, and I should have access to it
  • real time and historical (ie logged) data that ends up on my PC that I can view with a browser based interface/dashboard
  • access to the underlying data (ie it is stored in an easy to read format such as csv, xls or a simple sql based system eg sqlite) so I can check it, and if I want to, manipulate it
  • minimum data set: energy in (kWh), energy out (kWh), flow and return temps (I have a plate heat exchange, need to decide whether I want both circuits monitored or just one and if so which one?), room temps from important rooms, and lastly outside ambient temp. Ideally primary circuit flow rate should also be in this minimum data set
  • a front end/dashboard that (a) works and (b) tells me what I want to know. Optionally, this might also allow setting parameters as well as getting parameters (ie controlling the system) but this goes beyond the remit of my intentions for this thread
  • the setup must be achievable by an averagely bright averagely competent at DIY average Jack or Jill who doesn't have a degree in electronics 

Surely this can't be that complicated? We shall see... Watch this space, but don't hold your breath. I suspect it is going to be a long long road, with many a winding turn, that leads us to who knows where...but in the end, we might get there.  

All comments very welcome.   

This topic was modified 2 years ago by cathodeRay

Midea 14kW (for now...) ASHP heating both building and DHW


   
👍
2
Quote
(@gfletcher)
Trusted Member Member
243 kWhs
Joined: 2 years ago
Posts: 24
 

Hi @Cathoderay, thanks for starting this. I have almost exactly the same experience as you with multiple tabs open and nowhere to go! I am currently using the information provided by the controller on my Mitsubishi Ecodan 8.5kW - which I understand can be inaccurate. I suppose the problem is that I don't know whether I can trust the COP that I am calculating and so I don't know if my system is therefore set up as efficiently as possible (this is my motivation - I am interested in data, but in reality once I know it is working well I can leave it alone but for the occasional check in!).

The people on here with good data seem to have installed a heat-meter on their systems - I don't have one, and so anything that provides a good alternative would be a good start. Beyond that it seems that there would be ways of doing something straight forward using CT clamps etc, but it would be nice to have something fairly simply laid out - as you say, easy to install and use by someone with average competence.

Cheers

Gavin


   
👍
1
ReplyQuote
(@derek-m)
Illustrious Member Member
15282 kWhs
Veteran Expert
Joined: 4 years ago
Posts: 4432
 

From the point of view of optimising your system, accuracy would be nice, but repeatability is more important. Take the LWT measurement for example, if say on your system the indicated temperature is actually 1C higher than the true value. Whether you know this to be a fact or not, provided that the difference is a consistent 1C over the operating range, it will still allow any actual change to be quantified.

Obviously measurement of COP involves several parameters, but if the response is consistent, even if it may not be accurate, it will still make it possible to quantify any improvements in COP that may occur by improving system operation.

 


   
👍
1
ReplyQuote



(@gfletcher)
Trusted Member Member
243 kWhs
Joined: 2 years ago
Posts: 24
 

@Derek-M - good point, but I get COP envy....

More seriously though, I suppose, having a forum like this and enabling 'peer to peer' learning with tech that is rapidly increasing in use, we ought to be able to discuss differences in performance. Especially given experiences of quality varying with different installers. Without the existence of 'smart' heat pumps, I want to make sure that I am maximising my investment. I am tweaking and checking based on previous COPs of my system, but I am still wondering why with low flow temps (29 degrees when I checked earlier today, against an outside temp of 7 degrees) my COP is around 3.2 vs others reporting up to 4.  


   
ReplyQuote
(@derek-m)
Illustrious Member Member
15282 kWhs
Veteran Expert
Joined: 4 years ago
Posts: 4432
 

Sounds like you need a Data Acquisition System or even a Supervisory Control And Data Acquisition (SCADA) System.

Below is a link to a data acquisition system though there are many others, just Google Data Acquisition.

https://cpc.farnell.com/extech-instruments/407001-pro/data-acquisition-software-cable/dp/IN08841?mckv=sOxCjknCt_dc|pcrid|490691434298|kword||match||plid||slid||product|IN08841|pgrid|46440760989|ptaid|pla-369673148082|&CMP=KNC-GUK-CPC-SHOPPING-945672631-46440760989-IN08841&s_kwcid=AL!5616!3!490691434298!!!network}!369673148082!&gclid=CjwKCAiA8OmdBhAgEiwAShr40__p0nB2TsIzKWbkJy-Blzuz2U5Zy4rbi6a8VCl0sT6T1Vjs_65NZxoCeSQQAvD_BwE

I don't have any real details on this systems capabilities, but the software and interface seem cheap enough. Even using cheap sensors I think that you will be talking several hundreds pounds, if not more, to measure and display all the parameters that you have specified.

When it comes to SCADA systems this is more in the realm of building management or industrial system, and hence will no doubt be even more expensive.

One possible way to create a DIY SCADA system could be to use a Micro PLC (Programmable Logic Controller), which may be possible to read and write data via Modbus or Ethernet, from various sensors to a Data Acquisition system and possibly the heat pump controller.

 


   
ReplyQuote
cathodeRay
(@cathoderay)
Famed Member Moderator
8106 kWhs
Joined: 3 years ago
Posts: 1613
Topic starter  

Posted by: @gfletcher

@Derek-M - good point

Derek, I think you are talking about what I would call reliability and validity. Reliable means repeatable, repeated measurements on the same thing in the same state give the same result, but the result may not be valid, ie accurate, eg I measure my height repeatedly using the same tape measure and get the same reliable answer, but what I didn't notice is the tape measure got stretched, and so the result, while reliable, is not valid. If your readings are reliable (but not valid ie not accurate) they become in effect an ordinal scale (place things in order, but don't know absolute value) and so are potentially of use for monitoring the same system (as long as nothing that alters the measurements happens), but you cannot compare with other systems, because you don't actually know what your COP is. All you know is your COP this week is better or worse than last week, but you don't know whether it is better or worse than other systems, or even an arbitrary benchmark like <2 is bad, >4 is good.

Without getting too complicated, another potential problem is your measuring scale, unknown to you, may be a log scale, rather than a linear scale, or some other oddities of measurement may creep in. We really should i suggest aim to get reliable and valid numbers.   

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote
cathodeRay
(@cathoderay)
Famed Member Moderator
8106 kWhs
Joined: 3 years ago
Posts: 1613
Topic starter  

Posted by: @derek-m

Even using cheap sensors I think that you will be talking several hundreds pounds, if not more, to measure and display all the parameters that you have specified.

This I want to avoid, all the more so as the project may (I hope it won't) fail. If i just want to burn several hundred quid, a large bunch of tenners and a lighter are a much quicker simpler solution, and have the added bonus of providing some extra warmth, though the COP may be rather poor.

My current thinking is leaning towards tapping into what the Midea unit already records, via modbus. Something similar is probably available on Samsung units. But I've also got to think about the hardware to do this, I want to avoid spending £££, getting yet more clutter in the house, all for what at the end of the day is a monitoring system. I first have to decide which comes first, the hardware (which means I can measure these parameters) or the parameters (which means I need this hardware). I think it is the latter, ie start with the parameters, then work out what hardware/software I need.  

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote
(@derek-m)
Illustrious Member Member
15282 kWhs
Veteran Expert
Joined: 4 years ago
Posts: 4432
 

Posted by: @gfletcher

@Derek-M - good point, but I get COP envy....

More seriously though, I suppose, having a forum like this and enabling 'peer to peer' learning with tech that is rapidly increasing in use, we ought to be able to discuss differences in performance. Especially given experiences of quality varying with different installers. Without the existence of 'smart' heat pumps, I want to make sure that I am maximising my investment. I am tweaking and checking based on previous COPs of my system, but I am still wondering why with low flow temps (29 degrees when I checked earlier today, against an outside temp of 7 degrees) my COP is around 3.2 vs others reporting up to 4.  

Here is a free tip, don't mention COP, just boast about your 29C LWT, then all the envy will be the other way around. 😎 

My field of expertise is Instrumentation and Control Systems, and I quickly realised that for a quiet life, don't provide the Operator with too much information. In industry there are some systems which are so important, that there would be three individual measuring systems all looking at the same parameter, but you could almost guarantee that all three readings would be slightly different. Give the Operator just one of the measurements on his display screen and he is happy, give him all three and he will be continually questioning which is correct.

If it is important to you then I would start by checking the LWT. Where is the sensor located? Is it installed correctly? Is it making good thermal contact with the pipework? Probably the simplest thing to check would be to measure the actual temperature on the pipework coming from the heat pump and comparing this against your reading.

How are you calculating your COP?

Do you have a dedicated electricity meter for your heat pump? Does it supply data to the heat pump controller? Is it correctly configured?

Post back with any further questions.

 


   
👍
1
ReplyQuote
(@pressure)
Active Member Member
94 kWhs
Joined: 2 years ago
Posts: 6
 

I shall be following this topic with interest - I had no idea it might be possible to see what a system's real world COP is! I'd be happy if I could just see exactly what y ASHP's electricity consumption is...

(Hopefully - if I can install it! - being remedied by adding a meter with a CT clamp, thanks to help from a friendly electrician forum. But my lack of data on actual performance and value of my system has always been frustrating!) 


   
ReplyQuote



cathodeRay
(@cathoderay)
Famed Member Moderator
8106 kWhs
Joined: 3 years ago
Posts: 1613
Topic starter  

Posted by: @derek-m

If it is important to you then I would start by checking the LWT. Where is the sensor located? Is it installed correctly? Is it making good thermal contact with the pipework? Probably the simplest thing to check would be to measure the actual temperature on the pipework coming from the heat pump and comparing this against your reading.

Even 'simple' things like this are far from simple in practice. Who knows where Midea put the LWT sensor, and how it is calibrated. What I can do is, as you say, take temperature measurements from the pipework I can get at, but that too is not problem free. What sensor/measuring device should I use? Where do I put it? At the point where the pipe emerges from the external unit is not promising, awkward access and on a cold wet and windy day like today is almost certainly not going to measure the LWT, just some arbitrary temp somewhere in between the LWT and the ambient temp.

One possibility I have considered is using an RC-4 type temperature data logger (around £25 on ebay), which is what I currently use to log hourly room temps in the kitchen, with an external probe attached to the primary flow in at my plate heat exchanger, and then compare that to the LWT reported on the Midea controller. If there is a consistent relationship, eg the temp at the PHE is always 95% of that showing on the Midea controller, then I can probably assume the Midea reported LWT is good enough. If there isn't a consistent relationship, then I might just shoot myself.    

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote
(@derek-m)
Illustrious Member Member
15282 kWhs
Veteran Expert
Joined: 4 years ago
Posts: 4432
 

Posted by: @cathoderay

Posted by: @derek-m

Even using cheap sensors I think that you will be talking several hundreds pounds, if not more, to measure and display all the parameters that you have specified.

This I want to avoid, all the more so as the project may (I hope it won't) fail. If i just want to burn several hundred quid, a large bunch of tenners and a lighter are a much quicker simpler solution, and have the added bonus of providing some extra warmth, though the COP may be rather poor.

My current thinking is leaning towards tapping into what the Midea unit already records, via modbus. Something similar is probably available on Samsung units. But I've also got to think about the hardware to do this, I want to avoid spending £££, getting yet more clutter in the house, all for what at the end of the day is a monitoring system. I first have to decide which comes first, the hardware (which means I can measure these parameters) or the parameters (which means I need this hardware). I think it is the latter, ie start with the parameters, then work out what hardware/software I need.  

You are correct, one of the first questions is what parameters do I need to measure, but even prior to that you need to decide what it is that you are trying to achieve, since that can dictate which parameters need to be measured.

If you want to measure COP with reasonable accuracy, then you would require an electricity power meter of reasonable accuracy, and the means of extracting the data in a suitable format. It may be possible to obtain the Heat Energy Output from the Midea controller, assuming that it is in fact reasonably accurate, and can be obtained in a suitable format. The question then is how to integrate this data to produce a COP calculation, every hour, every day, every week, every month, every year or a combination of some or all of these time periods?

 


   
ReplyQuote
cathodeRay
(@cathoderay)
Famed Member Moderator
8106 kWhs
Joined: 3 years ago
Posts: 1613
Topic starter  

@derek-m - you are on the right trail, it is COP I am after, but it also means I will get some other data I would like, because they are needed for COP calculations, eg energy used (and so bills to be paid). Lastly, I would also like ambient temp, room temp and flow temp, so I can see how COP varies as these parameters change. If I change my room set temp by one degree, what happens to my energy use/COP? In a cold spell, can I justify bumping things up (or letting Homely do that) to maintain set room temps, or does that put COPs into free fall and push energy use through the roof (the two are related, but not the same)? These are very practical day to day things that I would find very useful to know.

Hourly COPS will do very well, I think, and the data with then allow longer periods up to a SCOP, but there is a potential problem when measurements are instantaneous, eg a LWT on the hour may not be a reflection of say the average LWT during the hour. I may have to have a way of averaging LWT.

For energy in, I am lucky enough to have a dedicated accurate meter for the ASHP with a flashing LED. I believe it can provide, through an optical sensor, a good enough stream of energy use data, but I have yet to work out the practicalities, as what to plug in to what. For those without such a meter, I understand a clamp type meter round the cable can also provide the same data.

For energy out, I have two choices: either trust the Midea calculated figure (even though I have no idea how it calculates them) visible in Operational Paramaters on the wired controller (allegedly, what it calls Heat Pump Capacity is Heat Pump Output, and the figures are generally in a credible range eg a moment ago it was hovering around 7.4, but the units used are kW not kWh, and I may also hit the instantaneous value vs average value problem again) and retrieve them using modbus (there's a possible address for this in the registers, but the wording is confusing), or secondly calculate the output from the LWT/RWT/flow rate, all of which do appear to be in the modbus registers. Applying this more generally to other brands (or even my situation if I don't trust the Midea figures), the LWT and RWT can be measured using temperature sensors (but see earlier comments about where and when), but the flow rate is a problem. It almost certainly means an expensive (around £500?) setup, and it is invasive: the measuring device has to be physically inserted into the pipe work, so the flow actually passes through it. I did wonder about ultrasound, which is sometimes used in other situations for similar purposes eg boat speed through the water, blood flow through a blood vessel, but no obvious domestic heating US flow sensor popped out on google.   

With energy in/energy out, I can calculate COP. For the other temps, I can use simple temperature sensors, avoiding the Midea ambient one as it gets distorted by the operation of the pump.

I still have very little idea how i am going to collect all this data and process it, but I am working on it. All contributions very welcome!   

 

 

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote
Page 1 / 9
Share:

Join Us!

Latest Posts

Members Online

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