Joining the Renewable Heating Hub forums is completely free and only takes a minute. By registering you’ll be able to ask questions, join discussions, follow topics you’re interested in, bookmark useful threads and receive notifications when someone replies. Non-registered members also do not have access to our AI features. When choosing your username, please note that it cannot be changed later, so we recommend avoiding brand or product names. Before registering, please take a moment to read the Forum Rules & Terms of Use so we can keep the community helpful, respectful and informative for everyone. Thanks for joining!
@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
- 26 Forums
- 2,607 Topics
- 60.8 K Posts
- 493 Online
- 6,967 Members
Join Us!
Worth Watching
Latest Posts
-
RE: Renewables & Heat Pumps in the News
@editor, I hear that too. I can confirm that out of ...
By ASHP-BOBBA , 2 hours ago
-
End-of-Life Heat Pumps: How Do You Dispose of an ASHP in the UK?
As many of you know, our Global Energy Systems heat pum...
By Mars , 2 hours ago
-
@derbygraham fully agree with James, and it’d be good t...
By Mars , 3 hours ago
-
RE: Indevolt Batteries UK Support & Info Thread
Finally got around to installing and setting up the Sol...
By Mars , 3 hours ago
-
Unfortunately its a function of the physics. Max heat ...
By JamesPa , 4 hours ago
-
RE: Microbore heat pump installs
In principle you are almost certainly right, but in pra...
By JamesPa , 4 hours ago
-
RE: Electricity price predictions
@old_scientist We are a low mileage home, so bulk of ou...
By ChandyKris , 5 hours ago
-
There are just too many unknowns for me to comment on p...
By Transparent , 7 hours ago
-
RE: What is the main ‘dictator’ of Agile’s unit price?
@toodles I keep an eye on wholesale prices and energy m...
By ChandyKris , 8 hours ago
-
RE: Brand and installer questions for ASHP
Strange, perhaps it doesnt use modbus which the third p...
By JamesPa , 10 hours ago
-
RE: Upgrading my system, how far do I go?
For comparison, my PW3 with 11.04kW inverter, will char...
By Old_Scientist , 12 hours ago
-
RE: Changes to Tesla Powerwall Charging Regime?
Elon gate - legendary! I take my hat off to you @toodle...
By Old_Scientist , 16 hours ago
-
RE: Mitsubishi Ecodan not good enough ?
Thanks @goody, appreciate the feedback and sorry you ha...
By marcexec , 1 day ago
-
RE: Minimum and Zero Disrupt Heat Pump Installations
True (first sentence) Thats the reason to consider th...
By JamesPa , 1 day ago
-
RE: High air source heat pump running costs – Vaillant AroTherm Plus
Quite right. I was using a rough guesstimate of doublin...
By Majordennisbloodnok , 2 days ago
-
RE: My Grant R290 9kW Heat Pump Installation
Again, really don't know how accurate this is! &nb...
By petch , 2 days ago
-
RE: MCS Quality Audit – Has Anyone Had One? Did It Lead to Remediation?
@toodles The whole scheme is a shocking waste of money....
By Papahuhu , 2 days ago
-
RE: Anyone concerned about GivEnergy?
Many thanks for your, and the subsequent, answers tk qu...
By KevH , 2 days ago
-
RE: DIY or Don’t Touch? Solarman Smart Meter Install
Yes, and these guys would probably be my preferred inst...
By Batpred , 2 days ago
-
RE: Hot water tank lose heat rapidly on random days
@jamespa Hopefully their reasons are well intended! ...
By Bash , 2 days ago
-
RE: Ecoflow UK Support & Info Thread
As mentioned above, we’ve got our full review of the Ec...
By Mars , 3 days ago
-
RE: Say hello and introduce yourself
@sonosppp welcome to the forums. I see you've posted in...
By Mars , 3 days ago
-
RE: Guidance with installing a new heating system
@bobflux Great, thanks for the advice. The pipe has an ...
By Hamilton , 4 days ago
-
RE: Daikin Altherma 3 LT compressor longevity question
@optimistic-optimiser I have has a Daikin for a few yea...
By madsid , 4 days ago
-
RE: UK DIY Battery: SEPLOS 48V 200Ah x2 + Sunsynk 8K – Safe Installation for Garage Conversion
The rule of thumb is to ensure that you can isolate any...
By Transparent , 4 days ago



