@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
- 21 Forums
- 1,962 Topics
- 42.6 K Posts
- 62 Online
- 2,275 Members
Join Us!
Heat Pump Dramas?
Thinking about installing a heat pump but unsure where to start? Already have one but it’s not performing as expected? Or are you locked in a frustrating dispute with an installer or manufacturer? We’re here to help.
✅ Pre-Installation Planning
✅ Post-Installation Troubleshooting
✅ Performance Optimisation
✅ Complaint Support (Manufacturer & Installer)
Latest Posts
-
RE: Towel rails. An unexpected final hurdle
We have both Normal Rad for heating the room and then a...
By IRMartini , 27 minutes ago
-
RE: Newbie out of her depth – Samsung AE120RXYDEG 12kW heat pump
@majordennisbloodnok Absolutely! You only have to look...
By BAMi , 34 minutes ago
-
RE: Heat Pump Sizing & Installation Costs
Perhaps useful to have installed date too? To get conte...
By Tim441 , 3 hours ago
-
RE: What is the best strategy for operating a very oversized heat pump?
Something else... that works for some people... LG ha...
By Tim441 , 3 hours ago
-
RE: Setback savings - fact or fiction?
@cathoderay I see you are continuing to misquote from t...
By SUNandAIR , 4 hours ago
-
RE: Samsung Gen 7 R290 12kW is not behaving how I expected
So I turned my thermostats down last night And w...
By Joshua , 4 hours ago
-
RE: SolarPV tables / online calculator
I'd be interested what others find whilst using that we...
By Majordennisbloodnok , 5 hours ago
-
Volumisers in Heat Pump Systems: Does Placement Matter?
The debate over buffer tanks in heat pump systems has b...
By Mars , 6 hours ago
-
RE: F.788 Building circuit pump reports internal fault - Vaillant Arotherm
Guess I have to wait for engineer visit. I really hope ...
By jeegnesh , 17 hours ago
-
RE: Act now to defer the UK road tax increase on EVs
@majordennisbloodnok Damn right sir. my attempt at iron...
By Jancold , 19 hours ago
-
RE: ASHP and heating issues in new build house
That’s good gives you more capacity. It made me think, ...
By Terry1812 , 21 hours ago
-
RE: Seewet manhole cover within r290 exclusion zone
Thanks! I asked Vaillant, and they say I should be fi...
By dbrb2 , 23 hours ago
-
Looking for the Grant Aerona 3 setting to turn off completely at 20 OAT
I'm running my Aerona 3 on WC and the 'warm end of that...
By damonc , 1 day ago
-
RE: Do I just go with the lowest quote for my heat pump?
So after signing in Sept in two weeks the install may s...
By Jancold , 1 day ago
-
RE: Victorian Semi Retrofit / Extension ASHP and UFH Advice
When you are renovating is always a good time, as it ma...
By JamesPa , 1 day ago
-
RE: Just one room not reaching desired temperature
Looks like this issue is now resolved. Aira installed a...
By ChandyKris , 1 day ago
-
There have been several people on the OpenEnergyMonitor...
By RobS , 2 days ago
-
RE: Say hello and introduce yourself
Good point @jamespa But that probably strengthens @ch...
By Transparent , 2 days ago
-
RE: Visit a Heat Pump sessions.
Congratulations @toodles, that's a fantastic result. We...
By Old_Scientist , 2 days ago
Latest Topics
-
Heat Pump Sizing & Installation Costs
By Mars 5 hours ago
-
Volumisers in Heat Pump Systems: Does Placement Matter?
By Mars 6 hours ago
-
SolarPV tables / online calculator
By MichelleC 13 hours ago
-
By Toodles 2 days ago