@cathoderay to be honest I've not look at it in a while. Anything you suggest I look for?
@batalto - if you can, see if you can see any record of a recent update? I can't, but my 'smart' phone isn't very smart.
Midea 14kW (for now...) ASHP heating both building and DHW
@batalto - that is interesting, I don't appear to have such a screen. But that does make it appear that the latest update was over a couple of weeks ago, so it seems unlikely that a covert upgrade broke my midea_ac_lan connection.
This morning, even after rebooting the mini PC, I can't connect to it, and it doesn't appear on the LAN. I'm going to have to get out the monitor again and see what is going on. All very tedious and boring...
Midea 14kW (for now...) ASHP heating both building and DHW
The 30 second refresh time delay comes from the 2010 software, a link to which you posted on page 2 of the present thread. This is the version that I have been using to investigate the software. It is now obvious that this may have differences from the version that you are using.
@derek-m - I don't think they should be too different, if at all. Only a very small number of the individual files in the full library get changed, I think only wasilukm versions of core/device.py c3/device.py and c3/message.py have had changes, and I sent you my working copies not so long ago (the zipped ones you couldn't open initially). I'm pretty sure we are working on the same code.
I think the 2010 is just part of the developer's name on github, all the files are much more recent, months not years old.
I've managed to get HA and midea_ac_lan back again, albeit with missing data for the time it was FUBAR. I think it is probably a dynamic IP address problem, I had to redo all the connections because IP addresses had changed. I seem to recall this is yet another HAPITA.
Midea 14kW (for now...) ASHP heating both building and DHW
Working on the theory that the files are virtually the same, I think that rather than adding further code at the moment, it would be best to confirm what action the present code is performing. I suggest that you try commenting certain lines of code in turn, to see what happens to the message produced.
Start by commenting the following line in C3/device.py
class DeviceAttributes(StrEnum):
tank_actual_temperature = "tank_actual_temperature"
Once the previous test has been completed, then remove the comment and comment the following line as shown below.
class MideaC3Device(MiedaDevice): # DeviceAttributes.tank_actual_temperature: None,
Continue the testing procedure in C3/message.py, as shown below.
class C3MessageBody(MessageBody): # self.tank_actual_temperature = body[data_offset + 21]
Posted by: @derek-mStart by commenting the following line in C3/device.py
class DeviceAttributes(StrEnum):tank_actual_temperature = "tank_actual_temperature"
Unfortunately, it breaks the code, and midea_ac_lan fails to start:
AttributeError: tank_actual_temperature 2023-03-07 08:39:58.571 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration midea_ac_lan: Unable to import component: Exception importing custom_components.midea_ac_lan
I've noticed this before, python is very fastidious, even the smallest exception breaks it.
Midea 14kW (for now...) ASHP heating both building and DHW
Posted by: @derek-mOnce the previous test has been completed, then remove the comment and comment the following line as shown below.
class MideaC3Device(MiedaDevice): # DeviceAttributes.tank_actual_temperature: None,
Okay, try changing the value to something like 100, to see if that value appears in the message or whether it is overwritten by the true value.
Posted by: @derek-mtry changing the value to something like 100, to see if that value appears in the message or whether it is overwritten by the true value
It gets overwritten by the true value, 'tank_actual_temperature': 38 in the log 'Status update' and 38 degrees C shows on HA dashboard. That seems plausible, the None is perhaps a default value, in the event nothing is returned.
Midea 14kW (for now...) ASHP heating both building and DHW
- 22 Forums
- 2,054 Topics
- 44.8 K Posts
- 22 Online
- 3,285 Members
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
Latest Posts
-
RE: Plate heat exchanger considerations
Work on 2-3 percent per degree. This is a reasonable e...
By JamesPa , 5 hours ago
-
RE: Advice for ground source heat pump in new build with PV and batteries
The useful bit is the bit that specifies the heat loss ...
By JamesPa , 6 hours ago
-
RE: Yes, the "zoning with ASHP" topic again...
@harryrea In a heat pump only system you are never heat...
By JamesPa , 6 hours ago
-
RE: Volumisers in Heat Pump Systems: Does Placement Matter?
You’re absolutely right that during defrost the refrige...
By Mars , 8 hours ago
-
@editor thanks Mars that’s the same table I found in th...
By Gary , 13 hours ago
-
RE: Tariff and charging strategy advice please
They haven't asked me to prove that I have an EV (I do)...
By JamesPa , 16 hours ago
-
RE: Solar Power Output – Let’s Compare Generation Figures
Took a while to find on the OFGEN site: ”The FIT sche...
By AgentGeorge , 21 hours ago
-
RE: why solar diverters for HW instead of the heat pump?
For me there are few factors why you may want to heat w...
By Johnmo , 22 hours ago
-
RE: Hydronic plinth heaters and ASHPs
@editor yes I think so. It will be a while until I get ...
By benson , 22 hours ago
-
RE: Aira Heat Pump: Stylish Scandinavian Heating
I’m an Aira customer with a 6kW Outdoor Unit in a small...
By KevinPotts , 1 day ago
-
RE: Is your heat pump insured?
@richard24738 good to hear. I’ll also review them this ...
By Mars , 1 day ago
-
RE: Warm weather and heat pumps.
Just looked at my WC setting, it is programmed for 25 D...
By Johnmo , 1 day ago
-
RE: How to disable radiator heating in LG HM161MR
Just to add to above,when adjusting WC heat pump should...
By JamesPa , 2 days ago
-
@johnmo yes I can believe that. It seems to be human na...
By SUNandAIR , 2 days ago
-
RE: Help optimising my system!
I would be doing things a little more simply. Your heat...
By Johnmo , 2 days ago
-
RE: Renewables & Heat Pumps in the News
If you want to read a huge amount of speculation, fabri...
By Judith , 2 days ago
-
IVT Greenline high pressure switch and electrical cassette errors
I have an IVT Greenline HT Plus C heat pump that is con...
By tdudgeon , 3 days ago
-
RE: Additional Battery v Wind Turbine v Ripple
There was a call today for Ripple investors and amongst...
By Judith , 4 days ago
-