@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,441 Topics
- 30.2 K Posts
- 20 Online
- 1,225 Members
Join Us!
Latest Posts
-
RE: EV charger installation question – I don't want to bury the cable
@transparent Thank you for your reply. It's going to be...
By Hem , 53 mins ago
-
RE: ASHP Commissioning: What Questions Should I Ask the Installer?
@derek-m thanks - will look out for the point regarding...
By Declan90 , 9 hours ago
-
RE: Noise problems with newly installed Samsung 8kW ASHP
@editor @kenbone Thanks, I would be very interested ...
By Elton , 9 hours ago
-
RE: No-code, plug-and-play monitoring for your heat pump
This is all a bit too frequentist for my liking. The pr...
By scrchngwsl , 10 hours ago
-
RE: Are Octopuses Slowing Consumer Adoption of Heat Pumps?
@ivanopinion I stumbled across this thread Performance ...
By GunboatDiplomat , 11 hours ago
-
Relax with 4K drone footage of lawn mowing to a smooth Motown tune
Sending out some chilled weekend vibes to everyone. Lis...
By Mars , 19 hours ago
-
RE: Incorrect Billing of Customers with a Smart Meter
The starting point of that discussion on Camelot-Forum ...
By Transparent , 21 hours ago
-
Share Your Experiences with Heat Pump Manufacturer Support
Have you ever reached out to your air source heat pump ...
By Mars , 1 day ago
-
RE: Is this a bad installation and is there something wrong with my Samsung heat pump?
@ant87 thanks for that.
By David999 , 2 days ago
-
RE: Aira Heat Pump: Stylish Scandinavian Heating
I might change my mind again, but I'm currently unlikel...
By IvanOpinion , 2 days ago
-
RE: Samsung ASHP scheduling help
@elgreco69 worth reading the GitHub here as that will a...
By morh , 2 days ago
-
RE: ASHP sizing - value of Heat Transfer Coefficient
@toodles Thanks for the explanation I get it now as I h...
By Jancold , 2 days ago
-
RE: Questions about yearly heat pump maintenance
For the installer, I believe servicing and maintenance ...
By Majordennisbloodnok , 2 days ago
-
RE: Rate the quality of your heat pump design and installation
@retrorich It is very worrying that any of this should ...
By Toodles , 3 days ago
-
RE: Spacing for roof fixing bolts ?
There is another consideration...but alas this doesn't ...
By Transparent , 3 days ago
-
RE: Air source heat pumps and noise
Yes, but when they go wrong things get really sticky. D...
By Majordennisbloodnok , 3 days ago
-
RE: Are You Getting the Most Out of Your Renewable Energy?
As I mentioned, there are going to be some follow-up ar...
By Majordennisbloodnok , 3 days ago
-
RE: Tell us about your Solar (PV) setup
Now, I know that this may be a little simplistic and pe...
By Toodles , 4 days ago
-
-
RE: Save the Energy Save the World using Daikin Altherma 3 operation mode and schedules settings.
Hello Mevl, I won't be able to answer all your question...
By HCas , 4 days ago
Heat Pump Humour
Latest Topics
-
Spacing for roof fixing bolts ?
By heat-pump-newbie 5 days ago
-
ASHP sizing - value of Heat Transfer Coefficient
By jamesw 6 days ago
-
Incorrect Billing of Customers with a Smart Meter
By KoRWraith 1 week ago
-
Home energy storage & battery register
By Mars 1 week ago