emsesp / EMS-ESP

ESP8266 firmware to read and control EMS and Heatronic compatible equipment such as boilers, thermostats, solar modules, and heat pumps
https://emsesp.github.io/docs
GNU Lesser General Public License v3.0
302 stars 97 forks source link

Support for multiple heating circuits #120

Closed KristofRobberechts closed 4 years ago

KristofRobberechts commented 5 years ago

Hi Proddy,

I have a set up with a Junker Cerapur, connected to a MM200 mixer and 2 Bosch CR 100 thermostats. I have two separate heating circuits I can control with the mixer. The MM200 has 2 channels. I've been experimenting a bit with giving different device ID's to my devices.

When I select circuit 1 in my thermostat, it uses device address 0x18. However, when I select circuit 2, the device ID becomes 0x19. I can go up until circuit 8, which gives me 0x1F. On the MM200, I can select addresses from 0x20 to 0x27.

Interesting as well is that the CR 100 can also be selected as a remote control for a C 400 / 800, in that case it uses addresses 0x38 to 0x3F. The product ID stays the same.

Would it be possible to add support for having multiple thermostats/mixers? I wouldn't keep using the device ID for auto-detecting any devices, but instead, just look at the product ID. It looks like the product ID's are unique to a specific device.

From what I gathered in the manuals that came with my system, it looks like the multiple circuits is a EMS2 thing only though.

proddy commented 5 years ago

this is possible to add, but it'll take some work and I think you would need to do most of the work as most of us don't have the setup to test with. Would you want multiple heating circuits on a single thermostat or the ability to separately manage multiple thermostats?

KristofRobberechts commented 5 years ago

I'm okay with doing most of the work. I have multiple thermostats, one per circuit.

I'm not sure how the single thermostat that controls multiple circuit works, but I suspect it will answer to multiple addresses, same as my mixer.

proddy commented 5 years ago

we can combine the implementation of this feature with https://github.com/proddy/EMS-ESP/issues/162

proddy commented 4 years ago

This has been added to 1.9.2.