Same hereâŚ
Supervised intall on an Odroid under Debian 11, because I am only dipping my toe into the pool that is called Linux
So adding a folder custom_components (through Samba) to the folder my configuration.yaml resides in would not be a problem, but if I put the async2 GitHub repo in there, nothing happens. If I create another renamed evohome entry with the same user/pw combination as the evohome: entry in my configuration. yaml I get âinvalid configâ beacuase the renamed entry is not recognised.
I can ssh into the machine, but I did not makage to find where homeassistant actually gets installed, let alone where I would find the compunents folder under itâŚ
Any help would be greatly appreciated, because I just spent about âŹ200 on a thermostat that has no added value because I already own the same one that I use in my caravan (so necessarily 2 locations, because 2 gateways). PfffâŚ
You need to install it as a custom component, and you must change the name of the folder.
The official integration would be ...\components\evohome, and you want it to be in (say) custom_components\evohome_cc (or \evohome_00, \evohome_01âŚ).
Or you can copy it direct from the git repo (make sure you use the correct branch).
Accessing the custom_components folder is a HA thing - you should be able to find the answer to that elsewhere in the docs/forum.
Once youâve done that, you have to edit the manifest.json file:
Once you get it working, every time you upgrade HA, you are at risk of having to re-copy/edit the files as above, because the HA team may well have modified the integration & itâs dependencies.
WIth little effort, you shoudl be able to make a script for that.
Iâve managed to get a second Evohome to show up in Home Assistant.
Various problems I had:
couldnât find the normal component files (probably because Iâm using HASSIO which uses Docker, which is still new to me)
so I downloaded files from GitHub. Had problems finding which version, and ended up having to copy/paste in the end
HA wouldnât load the custom component because it requires a âversionâ in the manifest.json, so I made one up (added âversionâ: â0.1â at the end of the JSON)
Honeywell refused the login, saying âtoo many attemptsâ. I guess because both components are logging in within milliseconds. So, I edited init.py and added a
time.sleep(5)
just before
client_v2 = evohomeasync2.EvohomeClient(
and that seems to have worked (need âimport timeâ at the top if the file as well). The 5 second delay may be OTT, but it works
Like Paul above, I was not able to find the official integration inside homeassistant through ssh, so I copied the files from core/homeassistant/components/evohome at dev ¡ home-assistant/core ¡ GitHub by selecting each file and âright-click save asâ the raw file. Put them all in a folder âevothuisâ (âthuisâ is Dutch for âat homeâ) inside a folder custom_components under the config folder of my Samba share of homeassistant.
Did the two modifications to have manifest.json and const.py point to âevothuisâ, and copy/pasted the evohome section of my configuration.yaml file to a new section âevothuisâ. Added the location_idx: 1 to that section, and âŚ_idx: 0 to the :evohome section.
After a save, H.A. configuration check failed because it âcould not find the integration âevothuisââ. So HA will not restart until I comment out the âevothuis:â section in my coonfiguration.yaml file again.
I have the standard evohome integration running for location_idx: 0 correctly. Do I need to also do something with the files from GitHub - zxdavb/evohome-client: Python client to access the Evohome web service (or the async version) too, to install a ânewâ intergration?
I am confused. Because this is the way I imaginged it would work (copy/paste the existing component under a different name, effectively, and use that new one for my new thermostat/gateway combo), but apparently I am not getting the whole picture yet.
To illustrate the situation, a snippet from configuration.yaml, and the message I get upon checking the configuration before restart (restart is not allowed because of this)
Yes; I got it working
It turned out that I did things right (sort of), but perhaps I should have done it all through ssh.
By placing the folder under my custom_components folder, the new folder was owned by the Samba User that created it. Had I created it using ssh as root (a supervised install plays HA as root user), then probably the permissions would have been set OK straight away.
Now I had to grant execute rights to /usr/share/hassio/homeassistant/custom_components/[new folder]/*, and that single action made it all work.
Apart from Honneywell having some issues with their server at this specific moment (I just got a notification of that while using their own app; measured temperature values are no longer fed back to the app / the integration; setting temperatures still works), I got HA to recognise the integration under the new name, and I now have two separate climate.thermostat entities to play with.
Thank you very, very much @zxdavb, for taking the time to explain the process to me in such detail that a Linux noob like myself could get it right .And of course for creating and maintaining the integration in the first place
I advise to create/use a second TCC account and give it permission to access to the location, via the TCC website (being logged on as your main account when you do so) - ?Grant Access button?.
Sorry to add to an old thread and please excuse my lack of knowledge. I have two evohome controllers and I can see from above it is possible to get it to register with HA. Are there any instructions to follow so I can set this up or has anything changed that can make it easier?
thanks
mark
@Eric-Jan_Oud I have the same problem as you getting this message when I do config.yaml check âIntegration error: evoheat - Integration âevoheatâ not foundâ, and it not finds the added integration so I assume I need to grant access also, but can you explain to me how did you do this?
âNow I had to grant execute rights to /usr/share/hassio/homeassistant/custom_components/[new folder]/*, and that single action made it all work.â
I am running HA pre-installed on a âHome Assistant Blueâ
i did already tryed going to SHH terminal (using add-on) > typing /config/custom_components to bring me to custom components folder ant there I typed sudo chmod 777 evoheat/* to grant full access to all users ⌠but this not did change anything for me
@zxdavb I already have a custom _components folder housing several other custom integrations, you mention start with a clean set up, does this mean I need to make a second custom_components folder or can I just add the secondary instance of evohome in my existing folder?
@zxdavb I did try to add to my existing custom_components folder following the steps you gave in WIKI using the SHH Terminal add-on also did try to add it by manually download the evohome Integration raw files and copy paste them in evohome_1 folder within custom_components trying with samba share from my PC and trying to add true file editor, all 3 of these ways to add the secondary integration result in the same error message that integration not can be found.
My primary evohome integration runs already for over 1,5 year without problems
Like this I tryed to add it to my configuration.yaml
@sesame26 Thanks for the additional informationâŚ
I apologise: I believe English may not be your native language, and so if I have misunderstood you, please forgive meâŚ
First, I am only needing you to confirm that you followed the instructions in the Wiki exactly. If you added a command, or didnât execute a command, then do tell me.
I am not interested in using Samba, etc - this is not in the wiki article. Please limit yourself to the exact instructions of the wiki.
Please be precise. For example, use formatting when necessary.
Please use the secrets.yaml file as described in the wiki.
Please follow the wiki again, but only via the SSH add-on. I wonder if you have a problem with permissions (I am using a different SSH add-on), so - when youâve finished, try:
@zxdavb yes I did follow the WIKI exactly as you described everything in there
My configuration.yaml indeed looks like you posted BUT I have, username, password and idx_location values all between " " so I not use 1 as value for idx_location but â1â I have it like this also in original evohome config and it works for 1.5 year already.
I will tomorrow try again your adjusted WIKI and let you know if did succeed or not.
@zxdavb I did try add again and still have the same error that integration can not be found if i run the following line > ls -al /config/custom_components/evohome_1 > I get to see following on the picture I added below to this post