@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
- 27 Forums
- 2,495 Topics
- 57.8 K Posts
- 239 Online
- 6,220 Members
Join Us!
Worth Watching
Latest Posts
-
RE: Setback savings - fact or fiction?
This illustrates what I am getting at, even apparent st...
By cathodeRay , 20 minutes ago
-
No you arent, because you dont need any, and furthermor...
By JamesPa , 53 minutes ago
-
RE: Humidity, or lack thereof... is my heat pump making rooms drier?
Can you link them to Home Assistant so they can be inte...
By JamesPa , 58 minutes ago
-
RE: Testing new controls/monitoring for Midea Clone ASHP
@tasos ignore the set LWT value on the graph before aro...
By benson , 1 hour ago
-
RE: Electricity price predictions
I have often thought the same. In Italy (I am told) th...
By JamesPa , 1 hour ago
-
RE: Oversized 10.5kW Grant Aerona Heat Pump on Microbore Pipes and Undersized Rads
As I mentioned earlier most radiators have a power outp...
By JamesPa , 1 hour ago
-
RE: Our Experience installing a heat pump into a Grade 2 Listed stone house
@travellingwave Looking forward to hearing the rest ...
By MK4 , 2 hours ago
-
RE: Solis inverters S6-EH1P: pros and cons and battery options
As a side note I observed the the charge/discharge time...
By Bash , 2 hours ago
-
RE: What determines the SOC of a battery?
@batpred Ironically you didn't have anything good to...
By Bash , 13 hours ago
-
Below is a better quality image. Does that contain all ...
By trebor12345 , 13 hours ago
-
@painter26 — they (the analogue gauges) are subtly diff...
By cathodeRay , 14 hours ago
-
RE: Struggling to get CoP above 3 with 6 kw Ecodan ASHP
Welcome to the forums.I assume that you're getting the ...
By Sheriff Fatman , 21 hours ago
-
RE: Say hello and introduce yourself
@editor @kev1964-irl This discussion might be best had ...
By GC61 , 22 hours ago
-
RE: Getting ready for export with a BESS
I would have not got it if it was that tight
By Batpred , 2 days ago
-
RE: Need help maximising COP of 3.5kW Valiant Aerotherm heat pump
@judith thanks Judith. Confirmation appreciated. The ...
By DavidB , 2 days ago
-
RE: Recommended home battery inverters + regulatory matters - help requested
That makes sense. I thought better to comment in this t...
By Batpred , 2 days ago
-
Bosch CS5800i 7kW replacing Greenstar Junior 28i
My heat pump journey began a couple of years ago when I...
By Slartibartfast , 2 days ago
-
RE: How to control DHW with Honeywell EvoHome on Trianco ActiveAir 5 kW ASHP
The last photo is defrost for sure (or cooling, but pre...
By JamesPa , 2 days ago
-
RE: Plug and play solar. Thoughts?
Essentially, this just needed legislation. In Germany t...
By Batpred , 2 days ago
-
RE: A Smarter Smart Controller from Homely?
@toodles Intentional opening of any warranty “can of wo...
By Papahuhu , 2 days ago
-
RE: Safety update; RCBOs supplying inverters or storage batteries
Thanks @transparent Thankyou for your advic...
By Bash , 2 days ago
-
RE: Air source heat pump roll call – what heat pump brand and model do you have?
Forum Handle: Odd_LionManufacturer: SamsungModel: Samsu...
By Odd_Lion , 2 days ago
-
RE: Configuring third party dongle for Ecodan local control
Well, it was mentioned before in the early pos...
By F1p , 3 days ago



