gekkekoe / esphome-ecodan-hp

ESPHome Ecodan heatpump
GNU General Public License v3.0
40 stars 21 forks source link

Missing "selected operating mode" for zone2 #46

Closed wolterink closed 1 week ago

wolterink commented 1 week ago

Great project so far,

I'm trying to determine if there should be a option to set the operating mode for zone 2 independently or not.

I'm my config I can only set the operating mode for zone 1 and not 2. Changing the mode only change the setting in the controller for zone 1, zone2 stays as is. I'm able to change the mode on the controller itself and just not via the esp controller.

I enabled the zone2.yaml and all other controls do show up for zone 2, just not the operating mode (flow temp, cool temp,weather compensation, etc) I did have to change the code slightly to make it work with my esp32 ethernet module, but I only took the wifi coding out and left the rest in tact.

Screenshot 2024-09-08 at 06 13 52

Any ideas to have the option enabled for zone 2?

gekkekoe commented 1 week ago

how would that work ? don't think the ecodan can do different modes for zone 1 vs zone 2? I did check the procon manual, and it seems possible to set the "A/C Mode – Zone 2" independently from "A/C Mode – Zone 1".

https://github.com/gekkekoe/esphome-ecodan-hp/blob/main/protocol.md#0x32---set-options zone2 was reversed, but no one implemented it, are you willing to test an experimental version to see if it works ? I don't have zone2 so cannot verify. But not sure what good it will do since you cannot run 2 separate programs for zone 1 and zone 2?

wolterink commented 1 week ago

My intension is not to have them in different modes, either both in set flow temp or heat compensation. The problem is, if I change the mode for zone 1, zone 2 remains in its previous set mode. So now they will operate in different modes. I haven't seen what behaviour this causes and who wins with its settings. (unit still being installed).

IMG_3759

If changing the operating mode setting causes both zone 1 and 2 to change to the new setting, I would be happy with that. As there is no need to have them set independently.

Changing the unit to cooling mode, does change the settings for zone 2 to match the cooling mode (unable to have one set for cooling and the other to heating). Same when it's changed back to heating.

gekkekoe commented 1 week ago

So If we always set Z1 and Z2 with the same operating mode that would work for you? Thinking of it, that probably a good idea (was suggested by @F1p).

gekkekoe commented 1 week ago

I pushed the change, please rebuild and test and report if it works properly

F1p commented 1 week ago

Interesting picture, i have 2 zones - but one selection option for mode, so i keep synced:

image image

wolterink commented 1 week ago

Syncing it would be perfect.

I did do a rebuild, but unfortunately it had no effect.

gekkekoe commented 1 week ago

are you using a local version of the repo ? and you did flash the new firmware right? Please confirm build timestamp, can be seen in HA. Should say something like "Firmware: 2024.8.3 (Sep 6 2024, 17:43:59)", but with your build date

Cause I'm doing the same as https://github.com/F1p/Mitsubishi-CN105-Protocol-Decode/blob/b5d98bfbb02f09f4de870cf1e8b64746817f2f67/EcodanDecoder.cpp#L701

Just to avoid confusion: when you set a z1 operating mode, please check at the ftc screen that both are in sync ?

wolterink commented 1 week ago

No luck, I can only see zone 1 change on the screen.

my config: only the base and esp32 are local files

external_components:

packages: base: !include ecodan/base.yaml esp32: !include ecodan/esp32.yaml

remote_package: url: https://github.com/gekkekoe/esphome-ecodan-hp/ ref: main refresh: always files: [

confs/base.yaml, # required

confs/esp32s3.yaml, # confs/esp32.yaml, for regular board

        confs/zone1.yaml,
        ## enable if you want to use zone 2
        confs/zone2.yaml,
        ## enable label language file
        confs/ecodan-labels-en.yaml,
        #confs/ecodan-labels-nl.yaml,
        #confs/ecodan-labels-it.yaml,
        #confs/ecodan-labels-fr.yaml,
        confs/server-control.yaml,
        #confs/debug.yaml,
       ]
gekkekoe commented 1 week ago

please check if the new firmware is flashed by checking the build number/date in HA, device info

wolterink commented 1 week ago

It does show the new version Firmware: 2024.8.3 (Sep 8 2024, 09:57:51)

I also tried a local repo with the updated commands file. No effect I'm afraid

gekkekoe commented 1 week ago

When my legionella is finished later today I will have a look. I can read back the z2 value probably. but this work for others, so strange why it does not for you. What FTC are you using?

Last thing you can try is do a clean build. esphome clean ... esphome compile ... esphome upload --device ip ...

wolterink commented 1 week ago

It’s a new unit with FTC6,

Maybe it’s an internal setting that is different?

I have extra sensors installed to measure the flow temps for Z1 + Z2 (flow return). They had to configure it as it had a buffer tank (no buffer tank installed). Maybe that has something to do with it. No a big deal breaker, I’m happy with the config so far. Would be nice to have them synced

On 8 Sep 2024, at 10:09, gekkekoe @.***> wrote:

When my legionella is finished later today I will have a look. I can read back the z2 value probably. but this work for others, so strange why it does not for you. What FTC are you using?

— Reply to this email directly, view it on GitHub https://github.com/gekkekoe/esphome-ecodan-hp/issues/46#issuecomment-2336609146, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQME6NEONPZOZAUOQVN4M3ZVQH6FAVCNFSM6AAAAABN2VKEYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGYYDSMJUGY. You are receiving this because you authored the thread.

gekkekoe commented 1 week ago

Ah you have the zone kit ? Z1 feed/return was added recently, to what thw 6,7,8,9 was it wired? I still needed confirmation for those

I have ftc6 too, but @F1p has ftc5. but don't think its different protocol wise if I look at the procon manual.

gekkekoe commented 1 week ago

I manage to check it locally and this is what I see: when I set to compensation curve, logging shows Operating mode z1: 2, z2: 1 When I set to cool fow: Operating mode z1: 4, z2: 4

modes:

            HEAT_ROOM_TEMP = 0,
            HEAT_FLOW_TEMP = 1,
            HEAT_COMPENSATION_CURVE = 2,
            COOL_ROOM_TEMP = 3,
            COOL_FLOW_TEMP = 4

Could it be that z2 is dependent on z1 (and probably only allows heat/cool flow). you probably cannot set both to compensation curve? Can you try via your FTC ? at least the cooling is in sync, but heating seems a bit weird.

wolterink commented 1 week ago

I can set both to compensation curve

IMG_3761

It makes sense that if you only use one zone it need to be controlled by a mode. If one zone would be off then the other can still work. But then if both are on which will get priority? If I would have a temp control valve it would be possible to have both run independent of each other. zone 1 running at 40 degrees while zone 2, ufh is reduce to 30. So it makes sense the can be controlled independently. Could it be that in my setup (buffer tank with temp regulating valve) the zone is defined differently?

for the sensors IMG_3764 IMG_3765 THW6 -9 for the flow return sensors and THW10 is not connected and but fixed to 25

gekkekoe commented 1 week ago

are you seeing those corresponding with the sensors in esphome ? (boiler feed/return and z1/z2 feed/return) ?

I can imagine that the heatpump for example does compensation curve, and some mixing for zone 2.

for example: set point z1: 40c, z2: 35c

then it will mix some colder water to get 35c for z2. But it would still run 1 mode, but with different set points. In that scenario it would make sense that the slave can only "follow" the master via mixing. When one zone reach its set point, the heatpump still runs the same program with mixing.

Question remains, can both have the master role. I also don't have an answer for wiring z1/z2 to boiler temps, I've seen installers do this before.

gekkekoe commented 1 week ago

@F1p noticed I needed to set correct mask for zone 2, so it works now as expected locally on my machine. Please refresh and rebuild. Should be synced now

wolterink commented 1 week ago

That did the trick, Thank you!!

When setting the mode, zone 1 changes and zone 2 syncs 1 sec after. So that works now.

F1p commented 1 week ago

Great news, thanks for confirming

gekkekoe commented 1 week ago

great, could you please confirm the boiler feed/return z1 feed/return z2 feed/return

temps ? So boiler is probably reporting z1 and z2 should be okay?

wolterink commented 1 week ago

So far I can see the temps are being reported. As it isn't a fully working unit yet, I can't monitor the temp for correct sense. But it look good to me.

Screenshot 2024-09-08 at 15 01 22 Screenshot 2024-09-08 at 15 01 35 Screenshot 2024-09-08 at 15 01 54
gekkekoe commented 1 week ago

thanks a lot, I will close this issue then