Closed richii93 closed 1 month ago
Please make a full log of ~ 2-3 minutes.
Hmm, we support more than one dhw circuit since #1634. I thought the first byte in 0x2F5/0x2F6 shows the dhw circuit. It was 00 for no circuit and 01 for dhw1 02 for dhw2. You have 02, so it's mapped as dhw2. Maybe this is a marker for 00- no dhw, 01 - boiler managed, 02 - mixer managed. I don't know.
But actual on your system it only shows as dhw2, but all should work.
I don’t know much about bytes and markers - that’s why I am glad that you are here. All I know is that it did show as dhw1 in version dev04 and changing “dhw/mode” did work and now in version dev43 it shows as dhw2 (that would not be a problem), but when I try to change “dhw2/mode”, nothing happens (I use this quite often to turn on or off the warm water circuit). Am I missing something here?
when I try to change “dhw2/mode”, nothing happens (
Can you please make a full log of this.
Thanks, there is a bug in the mapping of dhw circuits, it writes the mode to 0x2F6 instead of 0x2F5. Please check if t works with my builds: https://github.com/MichaelDvP/EMS-ESP32/releases
Would be nice if you can check both versions and send a log if something does not work correctly.
After a restart emsesp needs some time to collect the data from the bus. The command only works if the entity is registered and shown. Wait a few minutes before sending a command. (Check in web that the entiy is shown with value).
I did also wait a few minutes and the entity is shown in the web interface with value. I also use the web interface to change the value.
And when I try to change it, it says “Request failed”.
Oh, the same with my RC35 (only one dhw circuit). i've fixed it in both builds, same version number, but you need to download again and flash.
Now it does work in both versions.
Thank you very much.
@proddy what should we do in 3.7.0. I'm not sure what is right. In #1634 we have 2 water circuits and two mode telegrams 0x2F5 and 0x2F6,
I thought that the fist byte is the dhw circuit and handled telegram offset and dhw circuit number separate, but here we have mixer at 0x28 (dhw1). I now think the first byte is 00- no dhw, 01- handled by boiler, 02- handled by mixer. So the right way is to set the dhw circuit only on telegram offset only. Remove the extra circuit number and store only offset? Or leave the circuit number in code, but ignore it?
@proddy what should we do in 3.7.0. I'm not sure what is right. In #1634 we have 2 water circuits and two mode telegrams 0x2F5 and 0x2F6,
- first byte is 01 in 0x2F5, 02 in 0x2F6, first dhw circuit is managed by boiler, second by mixer 0x29 (dhw2)
- in systems with only one dhw circuit first byte was always 01 in 2F5 and 00 in 2F6
- When solar (SM100) module is used for dhw it is dhw3, with module address 0x2A,.., but i did not see the thermostat telegrams for this.
- Now we have only one dhw circuit and first byte of 2F5 is 02.
I thought that the fist byte is the dhw circuit and handled telegram offset and dhw circuit number separate, but here we have mixer at 0x28 (dhw1). I now think the first byte is 00- no dhw, 01- handled by boiler, 02- handled by mixer. So the right way is to set the dhw circuit only on telegram offset only. Remove the extra circuit number and store only offset? Or leave the circuit number in code, but ignore it?
I would say remove the circuit number and calculate based on the offset. That way it will match the messaging seen in the built-in interfaces. I'm trying to think if it will break anything....
DESCRIPTION
I did update from 3.7.0_dev.4 to 3.7.0_dev.43 but now I am missing the warm water entities dhw1 in the RC310. I do see dhw2 instead but it does not change anything.
REQUESTED INFORMATION
TO REPRODUCE
When I downgrade to version 3.7.0_dev.4 it works again.
SCREENSHOTS
version: dev.4
version: dev.43