@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,136 Topics
- 46.8 K Posts
- 27 Online
- 5,662 Members
Join Us!
Podcast Picks
Latest Posts
-
RE: Powerwall 3 or Myenergi or something else?
We have a Tesla Powerwall 3, recently installed, so I m...
By Old_Scientist , 3 hours ago
-
@majordennisbloodnok The drying out of air shouldn't ha...
By dgclimatecontrol , 3 hours ago
-
RE: Does anyone have experience of a smart water meter?
Thanks, @technogeek. So far as I can make out, whilst...
By Majordennisbloodnok , 23 hours ago
-
RE: Mitsubishi PAR-WT60R-E Wireless Controller installation
@morgan They have been paired once but it was thought b...
By DavidAlgarve , 1 day ago
-
RE: Isolating the system for a planned power cut
A great many ground-mounted local substation transforme...
By Transparent , 1 day ago
-
@bontwoody From what I’ve learned the hard way: 1) T...
By DREI , 2 days ago
-
RE: Heat Pump Servicing & Maintenance – Good Value or Rip-Off?
Having bit the bullet and paid £250 for a service, our ...
By Old_Scientist , 2 days ago
-
New heat pump heating system underperforming in Italy... Advice needed!
hi all, first post! I've just renovated a house in sout...
By robinlawrie , 2 days ago
-
RE: Anyone still weathering it out with Agile?
I went to Agile when I had solar installed July last ye...
By NJT , 3 days ago
-
RE: Mitsu Wireless Controller and MelCloud
Well it has now become obvious that the installation of...
By DavidAlgarve , 3 days ago
-
RE: Say hello and introduce yourself
Whilst you're busy installing services (pipes and wires...
By Transparent , 4 days ago
-
RE: New Vaillant aroTherm Plus in black - When will it come to the UK?
@editor I know it was formally announced at Ish the oth...
By PatrickVito , 5 days ago
-
@moman0311 welcome to the forums. I've received your em...
By Mars , 5 days ago
-
RE: Thermostat for Ideal Logic Air with 3 zone support
No harm at all in plumbing it as 3 zones, I would have ...
By JamesPa , 6 days ago
-
RE: ASHP heat output monitoring
@carlo I see there is a discussion in Facebook user gro...
By Tim441 , 6 days ago
-
RE: Flexi-Orb Heat Pump Scheme: A Game-Changer for the UK's Heat Pump Industry
MCS have set a potential trap in the new version of MCS...
By JamesPa , 1 week ago
-
RE: Who has a V2G EV installation
General comment on battery care... I guess if ev is on ...
By Tim441 , 1 week ago
-
@old_scientist like for like comparisons are almost imp...
By Tim441 , 1 week ago
-
RE: Who's your electricity provider and what's your tariff?
@old_scientist There is an option in the Tesla app that...
By Toodles , 1 week ago
-
RE: Octopus Cosy & Octopus EV + bidirectional smart tariff, together. What, eh?
@old_scientist me too. Just installed my new heat pump ...
By Eliuccio , 1 week ago