Two Honeywell Evohome locations

I haven’t had a lot of success getting responses to my previous question relating to Honeywell Evohome and watchforstock’s integration of his python modules with HA, but here’s another issue and another try.

I have Evohome (and HA) in two locations, but HA only every shows the setup for one of the two. I am guessing the ability to differentiate the locations would require me to have two separate accounts, but the API calls return JSON including the two location codes, so I was wondering if anyone knew a smart way to identify the locations and display the appropriate setup.

Hi, I have the same issue, so also curious for an answer

Hi, just seen this discussion and I have the same problem as well. Did anyone manage to find a way to allow the two different evohome locations on 1 login to show in HA?

I also have two locations and therefore also very interested in this. The standard setup shows the least interesting location.
In homebridge there was an easy fix by just adding two config entries with different location IDs. Wonder if there would be a similar fix for HA.

Multiple locations would be difficult, and the author of the underlying evohomeclient api (which sits between the HA platform and the Honeywell services) makes an assumption of only one location - if it sees multiple locations, it raises an exception.

IIRC, he has previously refused the offer of PRs to increase to multiple locations.

It’s not that difficult. I had never looked at Python in my life, but determined to achieve this, I managed it in a couple of weeks from a standing start. I am using the Python routine on a Pi, being called externally from a Crestron processor, it returns the location names so a user can select the location he/she wants to control and the rest is standard, simply passing the relevant location number to the routine constructing the GET command.

It is horrible, inelegant code from someone who doesn’t know what a class is, but it works just fine…

Ha! Well done - did you ever publish your code?

My code is embarrassing, there is no way I can post it without subjecting myself to public ridicule! If you would like a copy pm me an email address and I will sen it, but it’s one long blob of code, not those elegant .py files split by function, all interacting with one another in a ballet of technology. I don’t know how to do that!

…plus, it isn’t written to work with HomeAssistant, it sits as a server running on a Pi waiting for commands from an external processor, in this case a Crestron Programme, which is rather off-topic around here!

Hi friends, I would like to refresh this conversation after couple of months. I need to integrate 4 locations into HA. Anybody succeed to solve this? Any idea how to manage it? Any idea is appreciated!

This thread was nearly two years old, but has been resurrected! My answer is below.