cync_lights icon indicating copy to clipboard operation
cync_lights copied to clipboard

Repository Installation

Open Beastie71 opened this issue 2 years ago • 17 comments

So I am pretty new to HomeAssistant but I've followed the instructions on installing the repo, but cannot find your integration after I've added the repository. I've tried restarting the VM, using a different browser after restart, and yet I cannot find the integration for configuration. I am using: Home Assistant 2023.2.1 Supervisor 2023.01.1 Operating System 9.5 Frontend 20230202.0 - latest

The repository does show up in my list of repositories.

Beastie71 avatar Feb 03 '23 14:02 Beastie71

Upvoting this as I am running into the same issue. The repository will not show up in my add-ons store for some reason even after doing everything noted.

rawalter21 avatar Feb 21 '23 22:02 rawalter21

I checked my log files and was getting this error. ERROR (SyncWorker_3) [homeassistant.loader] Error parsing manifest.json file at /config/custom_components/cync_lights/manifest.json: input length is 0: line 1 column 1 (char 0)

I installed a file editor add-on to HA and was able to view that all the files in /config/custom_components/cync_lights/ existed but were empty. I went back to HACS > integrations > cync lights. The three dots in the right will open an menu with a re-download option. Clicked that and rebooted and then cync lights showed up in the normal integrations location. Hope that helps but maybe my issue is different.

bagstoper avatar Feb 25 '23 17:02 bagstoper

@bagstoper, in my case, I can't even see the repository's add-on to install for some reason so I can't even get to the point of installing the integration. It just won't show up even after multiple resets and restarts of the VM.

rawalter21 avatar Feb 25 '23 19:02 rawalter21

Are you talking about step 1 or step 4 in the Installation section?

bagstoper avatar Feb 25 '23 19:02 bagstoper

Step 1

rawalter21 avatar Feb 25 '23 19:02 rawalter21

Other add-ons work fine which is the strange part. I'm also not seeing anything in the logs to indicate what the problem might be

rawalter21 avatar Feb 25 '23 19:02 rawalter21

Do you have HACS installed? https://hacs.xyz/docs/setup/prerequisites

They install for that was a little odd and I had some trouble there. If it is installed was HACS linked to your github account?

bagstoper avatar Feb 25 '23 19:02 bagstoper

Geez, I figured it out. I was adding the repo in the wrong spot. Sorry for the confusion

rawalter21 avatar Feb 25 '23 19:02 rawalter21

No problem, it took me a bit to find where I was supposed to put the repo URL too.

@Beastie71 Are you getting errors in the log file?

bagstoper avatar Feb 25 '23 19:02 bagstoper

I'm not seeing anything in the log files, and not finding anything created on the filesystem. I'm even trying to find where it refers to the repo in a file, I am guessing its doing it in the .db file, because I am not finding anything in a yaml.

Beastie71 avatar Feb 27 '23 16:02 Beastie71

Okay so with the information above, I did some playing around. I went through and used git to clone the repo for this repository directly. Then I setup the files in the path mentioned in one of the previous comments on this issue. Then I re-added the repository. Then I restarted the HA VM (I'm using the VM version). Then I was able to see the integration in the integrations section. I then went in and did a configure and was able to add my lights. But thats it, they don't show up anywhere to do any type of management. :/

Beastie71 avatar Mar 03 '23 15:03 Beastie71

Can you click on the entities associated with the integration and see the detail view? Do they show up as disabled. Mine were not disabled after being added but that might be worth checking.

Even after getting the lights and two plugs added in my system I can't control them. I can control the plugs as long as the app on my phone was opened recently. I can see the status of lights get updated as I turn them on and off in the app but HA can't actually control anything but the plugs.

I think it controlled the lights one time successfully but that could have been a fever dream as it was only once and I've not replicated it. I was to busy with something else to test at the time when it worked.

bagstoper avatar Mar 03 '23 15:03 bagstoper

Unfortunately nothing shows up in entities. I've tried removing the add-on, adding it back in as I did the first way selecting all the devices, and still nothing showing up.

Beastie71 avatar Mar 03 '23 16:03 Beastie71

New to home assistant, I don't know where I should paste the repo URL. Thanks

ocaba002 avatar Apr 22 '23 20:04 ocaba002

Pretty new to Home Assistant here, so apologies if the answer to this is obvious. I have HACs installed and have been able to use additional integrations successfully. I'm having trouble installing the integration. I am able to add the repo to HA, and can then proceed to downloading the integration. I don't see an install button, and couldn't find one after multiple tries. After downloading (but not installing, the UI prompts to restart HA). After multiple tries, I still can't the install button. After restart, still can't find the CNYC integration in HACS, not under add integration. I've checked the /config/custom_components/cync_lights and the files are there, and there not empty. Any help would be appreciated!

Nessipud avatar Jul 23 '23 19:07 Nessipud

Worked now. I don't know that I did anything different. Maybe I fat-fingered something or it was just a glitch. Anyway, now stuck on the 2FA issue

Nessipud avatar Jul 23 '23 20:07 Nessipud

I would love to buy you some coffees if you would please fix the Cync integration for Home Assistant. I can’t get past the two factor authentication. Is this normal ? My password has no special characters, only 12 long, letters, numbers and caps

rscoops avatar Dec 15 '23 01:12 rscoops