Closed HonestJohn61 closed 9 months ago
This is the base error message:
Config error: 'location_idx' = 1, but the valid range is 0-0.
This says that your account ("username2"
) has access to only one location: 0-0
is a range (the first location is 0, and the last is 0). For two locations, it would have been 0-1
(for 3 locations: 0-2
, and so on).
So: the obvious thing to do is this:
evohome_1:
username: "username2"
password: "password2"
location_idx: 0
Or maybe "username1" has access to both locations, try (on evohome:
):
evohome:
username: "username1"
password: "password1"
location_idx: 1
Brilliant! Thanks Dave. I adopted your first suggestion and that worked. Looking at it now, it's obvious that location_idx refers to the TCC login and selection of the location from all those available to that user. I'd set up a second user as suggested, but only granted access to the second location - so to that second user, the location is the first available, location_idx 0.
It's maybe worth reviewing your instructions since your suggested method is the one I followed. That results in the second user having access only to the second location - which is then at odds with Step 6 referring to location_idx: 1.
Many thanks again for the quick response, and such a great integration. Cheers
That's fixed it. Thanks
Good point - I have changed the wording subtly.
Sorry to raise this supplementary point, but the secondary controller/location on evohome_1 is reporting precise temperatures to 0.1 C whereas the primary controller/locaction is reporting to the nearest 0.5 degrees. Both are on location_idx 0 as discussed. Is it possible to reverse the arrangement so the primary location is reported precisely? I also noted that your comment at the top of the Wiki on this suggests that something else may be going on:
_NOTE: The high precision feature (temps measured to 0.01 C rather than 0.5 C) only works with locationidx 0.
What you request is not supported.
Just create another secondary account, and that should give you want you want.
Hi, Thanks for doing the work on developing this solution. I followed the instruction carefully, including the check items, but it seems something failed. I'm running HA in a Docker container on a Synology NAS with a macvlan IP address. I logged in as root to the container using Portainer's container console to execute the various instructions. Below are the error logs, summary and detailed. I've also attached an extract from my configuration.yaml and the session. Any help much appreciated.
Summary
configuration.yaml redacted extract
Checking the custom_component changes: