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?
- 23 Forums
- 2,098 Topics
- 46.2 K Posts
- 49 Online
- 3,385 Members
Join Us!
Latest Posts
-
RE: Heating coming on when not required
@editor Thats correct. Its not particularly cold but th...
By bontwoody , 2 hours ago
-
RE: Heat pump solutions and/or installer recommendations for France
I’d travel to France for work if you were struggling wi...
By Damon Blakemore , 3 hours ago
-
RE: Pressure drop Primary circuit
Just to update you all. I made up my own fill loop as...
By ohdearism , 4 hours ago
-
RE: Ecodan consuming 100kwh per day in new build!!!
Hmm Before doing that I would want to be certain that...
By JamesPa , 9 hours ago
-
RE: 5 Star Service from Havenwise
That's always a danger with any new good idea, @morgan....
By Majordennisbloodnok , 9 hours ago
-
Have your say in the Renewable Heating Hub Awards
It’s time to celebrate the best (and call out the worst...
By Mars , 20 hours ago
-
-
RE: Mitsubishi cycling while on chilled water output
@iaack yes there's no denying that cold air sinks! I s...
By downfield , 1 day ago
-
RE: Weather compensated secondary circuits with Biomass
@andycoo that flooring sounds ideal. Extra volume is ...
By Sune , 1 day ago
-
If you are thinking of heating on the immersion conside...
By JamesPa , 2 days ago
-
RE: Surface mount or bury primaries for heat pump installation?
@tomasmcguinness, I think your best bet would be using ...
By Aventus Eco , 3 days ago
-
RE: Solar Power Output – Let’s Compare Generation Figures
@toodles all depends on asking the right questions! And...
By Tim441 , 3 days ago
-
RE: Commencing on an ASHP Installation Process
I received confirmation this morning that my Greener Ho...
By Sheriff Fatman , 3 days ago
-
@jamespa Thanks for the advice - very helpful. I had al...
By abam48 , 4 days ago
-
RE: Adding battery storage to SolarEdge PV system
@chandykris No need to apologise at all! I forgot to ad...
By Toodles , 5 days ago