That would be great. I wrote a very rudimentary python script to control my Ecodan but integration in the component would be much better. I posted some info months ago, please take a look at it.
Thatās almost all I need to add the support. Could you open an issue to the GitHub repo with some response captures? I need sample device from ListDevices
(both the root entry and the ensted Device
), Get
response and an individual POST request to SetA
for each parameter you need to control. Please, do not scramble the EffectiveFlags
field as it needs to be set correctly to tell the device what parameters to set.
What kind of platforms and devices should Ecodan be modeled? It looks sort of like it would be 3 climate devices and a water heater.
Will do. Iāll try to find time over the weekend. EffectiveFlags
was 0. In the meantime, Ecodans are basically 2 devices in one: a water heater and a radiators heater with up to two different configurable zones. A very simple implementation like the one I tried would only need to do this:
- Read
TankWaterTemperature
for current info - Read
OperationMode
for mode info (Possible responses: 0 = Off, 1 = Heating ACS, 2 = Heating Radiators, 3 = Cooling, 4 = Defrost, 5 = Standby, 6 = Legionella) - Read
RoomTemperatureZone1
,RoomTemperatureZone2
andOutdoorTemperature
for temp info - Read/write
Power
(true/false for on/off) - Read/write
SetTemperatureZone1
andSetTemperatureZone2
for thermostat setting - Read/write
TankWaterTemperature
for ACS water temp setting (max. 50) - Read/write
SetHeatFlowTemperatureZone1
andSetHeatFlowTemperatureZone2
for radiators water temp setting (max. 60)
Great! Iāll setup dev branch for Ecodan as soon as I get the request captures.
EffectiveFlags
is a bit field with bits for each pending change. Remember to include it for individual set requests.
Hi,
Sorry for the noob questionā¦butā¦what do you mean by āadd the integration via UIā ?
I tris to install your module through the regular HACS integration UI, but, for a reason I donāt get yet, I canāt add your repoā¦ So I downloaded your zip file, extracted and uploaded the melcloud folder into mu custom_component folder.
Okā¦ But now ? How can I make it work ? How to āadd the integration via UIāā¦?
Thanks for your help !
Ok !
I just find outā¦donāt know why, after 3 attempts, if finally showed up in the āintegrationā page (once clicked on the + button)ā¦
Thanks anyway for your work ;o))
I donāt think the repo format matches HACS format. I could take a look at that too while I am at it anyways. Now you would have to copy the sources manually to custom_components
.
Iāve managed to add partial read-only functionality to the protocol library. I need the ListDevices
captures to finish the lists of available operation modes and such. Iām currently working on wiring that stuff to the Home Assistant integration.
Iām leaning towards modeling this as
-
water_heater
platform with target temperature and modes -
climate
for 0-2 available zones (determined usingListDevices
response) -
sensors
for water temp, zone room temps, outside temp and energy consumption.
Iām expecting to get read-only stuff to a separate branch during the weekend.
That sounds about right. Power
(true/false) turns the unit on/off entirely, itās useful for vacation mode. Ideally there should be a separate Water on/off and Heater on/off switch.
ListDevices info sent via PM
I was using o0Zz module and now I was testing yours. Everything works well and itās very handful to have the energy consumption.
However, I miss an Off status on the thermostat so I may know when the AC is On or Off. Or, at least, have a state sensor that tells if the AC is working. Is this something that you may fix?
Cheers
Yeah I havenāt mapped the power control to operation modes yet. I havenāt even noticed it missing because of the season. Iām planning to put some more time into adding Ecodan support and think I can take a small detour and add the on/off mode mapping.
Great. Itās just because sometimes I use the heating from the AC to support the Gas Burner, and noticed it straight away.
Cheers
Off mode is now available if you pull the latest changes.
The commit messages are a little weird because Iām trying to do most of the changes to Home Assistant PR and I just cp -rf
the changes this repo. The PR does not appear to be moving anywhere tho. Anyone interested seeing this integration in upstream Home Assistant should go add a thumbs up reaction to the PR here: https://github.com/home-assistant/home-assistant/pull/30712
Thanks for the great work @vilppuvuorinen Switched to your component now and everything seems to be working Added a thumbs up to your PR
Hi,
Currently Iām using the o0Zz/ ha-melcloud plugin to control my Mitsubishi Kirigamine FH25 and it has been working ok.
But I wonder what the difference is between your plugin and o0Zz/ ha-melcloud?
I have looked through this thread but unfortunately I do not understand the difference ā¦
Thanks!
@anasazi both plugins will work. The difference is that o0Zzās plugin is unofficial. The plugin that @vilppuvuorinen is developing is going in a way to become official HA plugin so youāll get it out of the box.
Currently Iām still using o0Zsās plugin with no issues. @vilppuvuorinen - do you have any info on when this should become official? Iāve already added thumbs up on the link you provided.
Thank you so much for the explanation!
Great to see the off mode on. Thanks for the update.
@vilppuvuorinen- any news about the PR? Iāve seen some sort of movement in your github, but not sure what all that mean. Do you need any help or something?
@vilppuvuorinen I now see vertical vane adjusting is missing from your version? It was included in the o0Zz version.
Swing modes (vertical vane adjusting) Auto, Top, MiddleTop, Middle, MiddleBottom, Bottom and Swing
Any plans to add that? I had to change back to o0Zz version since I have automatons adjusting that and it need to be adjusted because of the placement to heat both floors.
Also Heat/cool should maybe be renamed to Auto? Like it was in o0Zz version and is also what its named in Melcloud and on the hvac remote.