Here's the local Met Office weather station recorded outdoor temp vs byte_09 for the last 48 hours:
I think that pretty much confirms byte_09 is the Midea ambient temp value.
Midea 14kW (for now...) ASHP heating both building and DHW
Hi CathodeRay,
I delved a little deeper into the Python code last night and may have some possible code modifications to try. Could you send a text copy of any routines that you have modified so that we are both looking at the same song sheet.
Posted by: @derek-mCould you send a text copy of any routines that you have modified so that we are both looking at the same song sheet.
Done!
Midea 14kW (for now...) ASHP heating both building and DHW
@derek-m - they are text files, just open them in any text editor. If you use one of the better ones (I use Notepad++), it will do some basic code highlighting and auto-completion for you.
Midea 14kW (for now...) ASHP heating both building and DHW
Have you obtained any Type 01 messages recently, and if so did they show any additional data?
Looking at the Type 04 group of messages, the byte, Hex ec to fa, in position 155 gives decimal values of 236 to 250, which would appear to indicate a changing variable. It could not be a temperature, unless it requires decoding with some form of equation, but I wondered if it could be something like 'fan speed'. Is there anything in the controller data that could give some form of indication?
Posted by: @derek-mHave you obtained any Type 01 messages recently, and if so did they show any additional data?
They (the 03/01messages) are the ones that arrive every minute, so lots of them, but most of the values are static, and I think all the available bytes in the message are already decoded/extracted. Here's recent pair, first the 'Received' message, then the decoded 'Status update':
2023-02-24 19:52:56.182 DEBUG (Heat Pump Wi-Fi Controller) [custom_components.midea_ac_lan.midea.devices.c3.device] [device_id] Received: {'header': 'aa23c300000000000003', 'body': '010975910303281e323041231905371919053c223c14290080', 'message type': '03', 'body type': '01'}
2023-02-24 19:52:56.184 DEBUG (Heat Pump Wi-Fi Controller) [custom_components.midea_ac_lan.midea.core.device] [device_id] Status update: {'zone1_power': True, 'zone2_power': False, 'dhw_power': False, 'disinfect': False, 'fast_dhw': False, 'zone_temp_type': [True, True], 'mode': 3, 'mode_auto': 3, 'zone_target_temp': [40, 30], 'dhw_target_temp': 50, 'room_target_temp': 24.0, 'zone_heating_temp_max': [65, 55], 'zone_heating_temp_min': [35, 25], 'zone_cooling_temp_max': [25, 25], 'zone_cooling_temp_min': [5, 5], 'room_temp_max': 30.0, 'room_temp_min': 17.0, 'dhw_temp_max': 60, 'dhw_temp_min': 20, 'tank_actual_temperature': 41, 'outdoor_temperature': 0, 'zone1_water_temp_mode': True, 'zone2_water_temp_mode': False, 'zone1_room_temp_mode': False, 'zone2_room_temp_mode': False}
Posted by: @derek-mIs there anything in the controller data that could give some form of indication?
Here's a list of all the Operational Paramater pages available in the wired controller. Note that in some cases my wired controller is blank (shows '--') for the value eg on page 3 both T1 LEAVING WATER TEMP and Ta ROOM TEMP are both blank (but the LWT/RWT do show up on page 4 as TW_O PLATE WATER OUTLET TEMP and TW_I PLATE WATER INLET TEMP, TW_O(ut) is LWT, TW_I(n) is RWT and also note the image is wrong, my controller has TW_I PLATE WATER INLET not OUTLET TEMP):
Midea 14kW (for now...) ASHP heating both building and DHW
@cathoderay My Lenovo M710q arrived this morning and is all setup for Remote Desktop. When doing nothing it consumes about 8W!
I’m going to get it setup to run my telescope which it will be mounted to. Quite a task. It will then go in the Observatory on the motorised mount.
I’ll then install HA again and set it up to run in the background.
Phil
I have some thoughts as to what additional code may be required to obtain additional data, though I still don't fully understand how the different parameters are being included in the desired list, or the 'available' list.
If you are agreeable, I would suggest changing the 'indoor_temperature' and 'outdoor_temperature' to 'current_temperature' and 'target_temperature', both of which have been used as parameter names elsewhere. Then see if there are any changes to the data collected.
Posted by: @derek-mIf you are agreeable, I would suggest changing the 'indoor_temperature' and 'outdoor_temperature' to 'current_temperature' and 'target_temperature', both of which have been used as parameter names elsewhere. Then see if there are any changes to the data collected.
Have done so, but only for indoor/current_temperature, target_temperature causes a fatal error ("TypeError: Attempted to reuse key: 'target_temperature'"). The results may also throw some light on whether the parameter names have an inherent meaning inside the code, or are arbitrary labels attached by us to particular data in a specific location. As you know, I think it is the latter, that's why labelling the data at position xx as 'byte_xx' works, as would labelling it 'any_name_xx'.
Will report back when I have some results.
PS target_temperature was used twice, but only in one place, may be able to add it after all
Midea 14kW (for now...) ASHP heating both building and DHW
I have been delving ever deeper into the Python code, with a few interesting results, details of which I will provide shortly.
Have you made any progress at your end?
- 26 Forums
- 2,342 Topics
- 53 K Posts
- 273 Online
- 6,000 Members
Join Us!
Worth Watching
Latest Posts
-
RE: Advice on internal circulation pump noise
Welcome and I am sorry you are having this problem. &...
By JamesPa , 28 minutes ago
-
RE: Octopus Cosy Heat Pump Owners & Discussion Thread
@harrisonc mine has level 3 MID monitoring and you can ...
By swwils , 2 hours ago
-
RE: Heat Pump Heats the House… But It’s Not Cosy. Emitter Changes or System Tweak?
@alastair, in short, no, increasing emitter capacity wo...
By Mars , 3 hours ago
-
RE: Setback savings - fact or fiction?
Hi @cathoderay - this is a good discussion! I feel like...
By RobS , 4 hours ago
-
RE: Free Ecoheat Heat Pump Install
@deltona happy to help as much as I can if you decide t...
By bontwoody , 4 hours ago
-
RE: Are We Sleepwalking Into Another Race to the Bottom?
I'll be honest, I love that idea! I'll start working on...
By Mars , 5 hours ago
-
RE: Configuring third party dongle for Ecodan local control
@majordennisbloodnok I think the HPDHD diagnosis may be...
By Sheriff Fatman , 6 hours ago
-
RE: External pipework insulation
I don't think we can tell from a photo whether your exi...
By Transparent , 6 hours ago
-
RE: Controlling Daikin Altherma via P1P2 and Home Assistant
@majordennisbloodnok That’s correct. I can’t find anywh...
By weoleyric , 12 hours ago
-
RE: A Smarter Smart Controller from Homely?
@papahuhu I hope you get a swift resolution. Regards, T...
By Toodles , 1 day ago
-
RE: Poll for Time of Use, tariffs, technology
That’s fine by me too Major, I feel it is a sad reflect...
By Toodles , 1 day ago
-
Bingo. Sometimes a judiciously placed size 10 bovver bo...
By Majordennisbloodnok , 1 day ago
-
RE: Mitsubishi Ecodan 11.2kW heat pump with low COP
@ciocoiu-alexandru I can't provide the same level of di...
By Sheriff Fatman , 1 day ago
-
The three technical issues I'm considering are: BMS...
By Transparent , 2 days ago
-
RE: LiFePO4 lithium battery fires and explosions
@transparent Your post may fit better in th...
By Batpred , 2 days ago
-
RE: British Gas vs Octopus Energy vs Heat Geek vs EDF vs Aira vs OVO vs EON.Next vs Boxt
@jamespawhite, if you could be bothered, you could also...
By Mars , 2 days ago
-
RE: Commencing on an ASHP Installation Process
I've got a bit of time to draft something today, so the...
By Sheriff Fatman , 2 days ago
-
RE: Help with heat pump sizing
@amin I dont think materially relative to t...
By JamesPa , 2 days ago




