Connecting to Midea...
 
Notifications
Clear all

Connecting to Midea MSmartHome using a PC

364 Posts
13 Users
23 Reactions
21.6 K Views
(@derek-m)
Illustrious Member Moderator
13735 kWhs
Veteran Expert
Joined: 3 years ago
Posts: 4168
 

Posted by: @cathoderay

@derek-m - thanks, will give the bytes 22 and 21 tests a try tomorrow.

On a general note, I think it might be worth continuing this in a new thread, as the thread title has become increasingly inaccurate. Maybe 'Connecting to a Midea Heat Pump from a PC'? 

Yes that's fine.

 


   
ReplyQuote
cathodeRay
(@cathoderay)
Famed Member Moderator
6909 kWhs
Joined: 2 years ago
Posts: 1391
Topic starter  

Posted by: @derek-m

So, I suppose the next test would be to change all the occurrences of 'outdoor_temperature' to 'byte_22', in all the relevant C3 files, including midea_devices.py.

Thinking about it, I have already done this (when I tested the individual bytes above 21 ages ago). The results were:

data_offset + 22 = 0 (fixed, stays at 0)        
data_offset + 23 = 128 (fixed, stays at 128)
24 device stops working (fails to load)
25 device stops working (fails to load)
30 device stops working (fails to load)

Posted by: @derek-m

A further test would be to change all occurrences of 'tank_actual_temperature' to 'byte_21' to see if it still produces data for 'tank_actual_temperature'.

I think I can predict that byte_21 will show the tank actual temperature, because the variable name is immaterial (the total mystery/porcine air speed  tests). Nonetheless I did this, but briefly (because tank_actual_temperature is a live reading, one that I record and use), and sure enough

'byte_21': 49

which is what the wired controller currently shows the DHW temp to be (49 degrees). 

  

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote
cathodeRay
(@cathoderay)
Famed Member Moderator
6909 kWhs
Joined: 2 years ago
Posts: 1391
Topic starter  

More HA f*ckwittery this morning, database corrupted again, I was working on HA or rather midea_ac_lan at the time but only editing python files as I have done before, so I very much doubt that was the cause. much more likely, HA was just being its usual delinquent self.

I'm almost out of patience with it, but am not yet quite angry enough to gleefully destroy it forever. In the meantime, this thread has wandered some way from its original title which includes MSmarthome (another crock of sheet) so it is time to start another thread with a more accurate title: Connecting Home Assistant to a Midea Heat Pump. You can find it here (<=link).  

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote
(@pensive)
New Member Member
22 kWhs
Joined: 6 months ago
Posts: 1
 

@fishboy25uk I have been using the Comfort Home app since I  had a Midea Heat pump installed 18 months ago. Pretty flakey ... often have to clear data and restart ... but working reasonably up until the last week or so when I have started to get network errors


   
ReplyQuote
Page 31 / 31



Share:

Join Us!

Latest Posts

Heat Pump Humour

Members Online

x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security