Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add more zones? #30

Open
jeroenhubgit opened this issue Dec 1, 2022 · 5 comments
Open

How to add more zones? #30

jeroenhubgit opened this issue Dec 1, 2022 · 5 comments

Comments

@jeroenhubgit
Copy link

I just tried your wonderfull integration :)!

I have 20 zones in my xComfort SHC. How can i add them all?
It seems that now it's only possible to add 5 zones.

image

@BirgerKo
Copy link

BirgerKo commented Dec 2, 2022 via email

@jeroenhubgit
Copy link
Author

Hi BirgerKo,

Thx for the response :).
Lights etc. I could put in one zone, although that's also not perfect for me.

Mainly it won't work, since I have many controlled heating zones which are needed due to multiple actuators for floor heating and radiators. Without more zones they can't be controlled independently with different startup times and master/slave settings. Also I use the zones for macro's that are used inside xComfort. I tried to have one zone in the past, but that gave me a lot of problems in my setup which I eventually had changed due to technical advice of EATON.

Is it possible to add more heating zones?

I see there is code written in the 'climate.py' and also in 'config_flow.py' and 'en.json'.
Can I just add more zones there, save it and copy it manual in HA? Or that won't work?

image

@plamish
Copy link
Owner

plamish commented Dec 2, 2022

Hey jeroenhubgit,
Yes, you would need to add more zones in climate.py like you showed on the picture and also in config_flow.py. Nothing complicated.
Good luck

@jeroenhubgit
Copy link
Author

Hi plamish,

Thx for the confirmation. The code looks very neat and compact btw!

I'm learning some python for a while and i'm starting to understand more and more.
So I just tried and it seems to work. Tomorrow we're going to test it on the network.

Btw, the first input 'zone'. Is that one used for other devices than heating?
And also, is the 'RM" description for heating zone 0 just a typo and also a radiator like the other zones, or is that input for sth else?

image

@plamish
Copy link
Owner

plamish commented Dec 3, 2022

Support for heating zones is really primitive :-)

"RM" indicates the heating zone is controlled by Room Manager. The first heating zone is coded to be controlled by Room Manager and other zones by radiator valves.

There is slight difference on how SHC builds device name for RM based thermostat vs. radiator valve. In climate.py line 164 you can see RM based thermostat has _u12 at the end and radiator valve _u0.

In climate.py line 55 you can see True at the end, where other climate zones have False. That's exactly how you define if zone is RM based.

I hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants