Testing new control...
 
Notifications
Clear all

Testing new controls/monitoring for Midea Clone ASHP

176 Posts
10 Users
31 Reactions
5,745 Views
(@benson)
Reputable Member Member
Joined: 2 years ago
Posts: 212
Topic starter  

I think I've hit a stumbling block, or at least when it comes to any over/undershooting adjustments. I just can't figure out a way of effectively circumventing the fact that the midea unit turns itself off when changing serviceman settings. I've tried adding a building block to the automations that slightly adjust the WCC, in that I've included a sequence action to turn the CH back on. It doesn't work though, I guess because it still does both actions at the same time so it hasn't actually 'exited' the serviceman settings before the sequence action can operate.

It is very annoying that they've designed the controls like this. The only thing I can think of doing just having set flow temperatures at particular OATs which then won't involve any alteration to serviceman settings. That said setting up automations to then dial up or down dependent upon IAT are seemingly problematic as all I can do with automations that change the value of a setting, is to specify a particular value rather than say reduce it by 1 etc.

Any other ideas welcome....

I've just defaulted back to turning off all of the automations and just running the same set curve for the time being.



   
ReplyQuote
(@tasos)
Estimable Member Member
Joined: 12 months ago
Posts: 49
 

Posted by: @benson

The midea unit turns itself off when changing serviceman settings.

Are weather curve parameters changed through serviceman mode ? Not in my controller (I think).

 


Midea MHCV10WD2N7 R290, 5.8kWp energy community solar power.


   
ReplyQuote
cathodeRay
(@cathoderay)
Illustrious Member Moderator
Joined: 4 years ago
Posts: 2367
 

Posted by: @tasos

Are weather curve parameters changed through serviceman mode ?

They are on my Midea unit. I wonder if your more recent unit is different?

Posted by: @benson

I think I've hit a stumbling block, or at least when it comes to any over/undershooting adjustments.

Can you remind of the end to end details of how you connect to your heat pump? My auto-adapt script doesn't turn the unit off, even though it adjusts things that manually are found in the FOR SERVICEMAN menu, which means it can be done without turning off the unit. 


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


   
ReplyQuote



(@benson)
Reputable Member Member
Joined: 2 years ago
Posts: 212
Topic starter  

Posted by: @cathoderay

Can you remind of the end to end details of how you connect to your heat pump? My auto-adapt script doesn't turn the unit off, even though it adjusts things that manually are found in the FOR SERVICEMAN menu, which means it can be done without turning off the unit.

Via the modbus using the svenar (ESP home?) controller. It is odd how yours works, and this device doesn't.

@tasos definitely in the serviceman settings unfortunately. Sounds like you might have a newer model perhaps.



   
ReplyQuote
cathodeRay
(@cathoderay)
Illustrious Member Moderator
Joined: 4 years ago
Posts: 2367
 

@benson - can you provide a bit more detail, or links, or even links to the code used? Then I can compare to what I use, to see if I can spot any differences.


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


   
ReplyQuote
(@grantmethestrength)
Reputable Member Member
Joined: 10 months ago
Posts: 147
 

@cathoderay https://github.com/svenar-nl/Midea-heat-pump-ESPHome/blob/master/heatpump.yaml


Kind Regards
Si
——————————————————————————
Grant Aerona3 13kW
13 x 435w + 13x 480w Solar Panels
Sigenergy 10kW Inverter
16kW Sigenstor battery


   
👍
1
ReplyQuote
(@benson)
Reputable Member Member
Joined: 2 years ago
Posts: 212
Topic starter  

Yikes...I don't even know how you managed to find that 😆 . I also don't know if there's any way I can change the code on the physical device I have? I can approach Mr Sven to see if he has any ideas potentially?



   
ReplyQuote
(@grantmethestrength)
Reputable Member Member
Joined: 10 months ago
Posts: 147
 

Posted by: @benson

Yikes...I don't even know how you managed to find that 😆 . I also don't know if there's any way I can change the code on the physical device I have? I can approach Mr Sven to see if he has any ideas potentially?

lol I have been stalking his repo for a while and am currently building my own smart controller for my Grant Aerona3 

IMG 0092

 

Just had a look at his repo and there is no way to raise an issue on his git-repo so you would need to email him through his website.

 

@cathoderay is definitely onto something using minimal modbus but I just can’t walk awat from home assistant it is like a drug lol! I have a ton of esp32 chips lying around I might just build a simple controller that can control the ashp and publish the readout to HA. That said my little touchscreen project should do that.

 

 

 


This post was modified 3 weeks ago by Grantmethestrength

Kind Regards
Si
——————————————————————————
Grant Aerona3 13kW
13 x 435w + 13x 480w Solar Panels
Sigenergy 10kW Inverter
16kW Sigenstor battery


   
ReplyQuote
cathodeRay
(@cathoderay)
Illustrious Member Moderator
Joined: 4 years ago
Posts: 2367
 

The weather compensation curve 9 end point settings are in the yaml file (thanks for the github link), at lines 2722 and 2734, registers 265 and 266, but I can't make out how they are used.

There are two things in particular I want to look at: how it makes the modbus connection (the 'handshaking'), and how it writes to the register. The code I use for the latter (having used minimalmodbus to make the connection) is for example:

        if aIAT - dIAT >= 3:     # house is too warm, lower ends of WCC by 3 degree C
            instrument.write_register(265, leftBase - 3, 0)  
            instrument.write_register(266, rightBase - 3, 0)

where aIAT is actual IAT, dIAT is the desired IAT, leftBase is the default left hand setting and rightBase is the default right hand setting.

@benson - no harm at all in trying to contact Mr Sven. He may not even know the problem exists, because I suspect few people are trying to do what you are trying to do. The registers are in the code because, so far as I can see, all the registers are in the heatpump.yaml file (itself quite an achievement!), whether they are directly used or not. Even the first run drying out the floor settings are in there, how many people will use them?  

 

Note: edited for clarity, and to remove a redundant comment


This post was modified 3 weeks ago 2 times by cathodeRay

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


   
ReplyQuote



(@benson)
Reputable Member Member
Joined: 2 years ago
Posts: 212
Topic starter  

@grantmethestrength yes I remember you mentioning. Sounds impressive what you are doing. Hats off to you, and cathoderay...definitely lagging behind with respect to both of your knowhow when it comes to the more advanced stuff like coding.

I feel like this is another stupid question but could he apply a firmware upgrade remotely to all of his devices, if it was an issue with the coding? How would I know if the device is firmware upgradeable?



   
ReplyQuote
(@grantmethestrength)
Reputable Member Member
Joined: 10 months ago
Posts: 147
 

@benson it is based on an esp32 so yes it is updateable but you would probably need to do it yourself or send it back for an update. I haven’t used this particular one but I am assuming you had initial instructions to place a yaml file into esphome and then compile and then upload it to the device. If you get an update you would just do the same process.


Kind Regards
Si
——————————————————————————
Grant Aerona3 13kW
13 x 435w + 13x 480w Solar Panels
Sigenergy 10kW Inverter
16kW Sigenstor battery


   
ReplyQuote
(@grantmethestrength)
Reputable Member Member
Joined: 10 months ago
Posts: 147
 

Posted by: @benson

I think I've hit a stumbling block, or at least when it comes to any over/undershooting adjustments. I just can't figure out a way of effectively circumventing the fact that the midea unit turns itself off when changing serviceman settings. I've tried adding a building block to the automations that slightly adjust the WCC, in that I've included a sequence action to turn the CH back on. It doesn't work though, I guess because it still does both actions at the same time so it hasn't actually 'exited' the serviceman settings before the sequence action can operate.

@benson can you post an example of your automation please


Kind Regards
Si
——————————————————————————
Grant Aerona3 13kW
13 x 435w + 13x 480w Solar Panels
Sigenergy 10kW Inverter
16kW Sigenstor battery


   
ReplyQuote
Page 13 / 15
Share:

Join Us!

Latest Posts

Click to access the login or register cheese
x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
ShieldPRO