@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
- 25 Forums
- 1,576 Topics
- 33.6 K Posts
- 35 Online
- 1,853 Members
Join Us!
Latest Posts
-
RE: Is the Grant controller a thermostat?
@derek-m I had tried just turning off at the display po...
By Marvinator80 , 5 hours ago
-
No, 2nd was not a one-off. No, the carbon intensity doe...
By Majordennisbloodnok , 6 hours ago
-
RE: Say hello and introduce yourself
@transparent Thank you. My aim is firstly to heat my ho...
By Jancold , 6 hours ago
-
RE: Are you planning to use a wood burner to supplement your central heating this winter?
The option of supplementing the heat in shoulder season...
By Judith , 7 hours ago
-
RE: Two possible heat pump routes - how to evaluate them?
@johnmo @heacol @derek-m Perhaps it would help to dis...
By JamesPa , 9 hours ago
-
Ask why you need it? You should be running an open syst...
By Johnmo , 9 hours ago
-
RE: ASHP added to Biomass System?
My view Make sure you heating system can run at a low...
By Johnmo , 9 hours ago
-
RE: Determining correct flow rate?
Optimising flow rate for DHW heating is something I'd b...
By Old_Scientist , 11 hours ago
-
RE: My horrific Samsung heat pump installation and experience
@iantelescope Good. Why are you expecting the ...
By JamesPa , 12 hours ago
-
RE: 6 Red Flags to Avoid When Considering a Heat Pump Installation
Please keep us posted with any progress and if there is...
By Toodles , 12 hours ago
-
-
RE: Gravel trays and flexible pipes
@mike-patrick I don’t know how much condensate drains a...
By Toodles , 14 hours ago
-
RE: Heat pump monitoring - what are you using?
@njt As the Cosy peak rate (4-7pm) immediately follows ...
By Old_Scientist , 16 hours ago
-
RE: Ecodan - Legionella Operation Time and Target Temperature
Hi. Unfortunately on-going. Mitsubishi agreed that th...
By Richard24738 , 17 hours ago
-
RE: Will heat pump heat hot water without increasing the temp in my home?
@ellyse I’m on octopus and initially flux because I had...
By David999 , 18 hours ago
-
RE: Energy tariffs and consumption fiddling to make my heat pump more cost efficient.
Would not bother wasting your time, every house is diff...
By Johnmo , 18 hours ago
-
@transparent it’s a 20 tube panel and at least 4 tubes ...
By David999 , 1 day ago
-
RE: Enabling WiFi: Samsung ASHP on Smart Things App
Hi, You would need the MIM-H04EN in order to use ...
By NetDonkey , 1 day ago
-
RE: VDI 2035 heating water specification
Your water looks to in a similar place to mine, after I...
By Johnmo , 2 days ago
-
RE: Single vs. three phase for heat pump, EV and appliances
@transparent no they were a concept in America but went...
By David999 , 2 days ago
Latest Topics
-
Determining correct flow rate?
By rhh2348 18 hours ago
-
By VincePrince 19 hours ago
-
By bontwoody 2 days ago
-
By David999 2 days ago
-
Recommendation for natural herbicide
By Mars 3 days ago
-
Powerwall 3 - is it worth the outlay?
By Profzarkov 4 days ago