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

Setup failed for 'icloud3': Integration not found #355

Closed
michaelthompson1991 opened this issue Jul 11, 2024 · 22 comments
Closed

Setup failed for 'icloud3': Integration not found #355

michaelthompson1991 opened this issue Jul 11, 2024 · 22 comments

Comments

@michaelthompson1991
Copy link

michaelthompson1991 commented Jul 11, 2024

Hi, ive had iCloud3 for a while now and it’s throwing up the following errors https://imgur.com/a/8wgnm16 I also haven’t done anything because ive just came back from holiday today.

What could the problem be? Also how do I resolve this?

Also here’s another screenshot https://imgur.com/a/47uFdMo

Thanks!

@JaviOFC
Copy link

JaviOFC commented Jul 11, 2024

@michaelthompson1991
Copy link
Author

Thanks ill have a try in the morning 👍🏻

@gcobb321
Copy link
Owner

See here for a temporary solution to this problem. Scroll to the bottom and follow the instructions to get iCloud3 going again. An update will be released soon.

@michaelthompson1991
Copy link
Author

Thanks but the link you provided just takes me back to this page of me asking

@gcobb321
Copy link
Owner

Here is what it was suppose to point to.

iCloud3 inserts special code into the HA recorder that automatically excludes some text based iCloud3 sensors from the HA log database. HA release 3024.7 broke this and 2024.7.2 prevented iCloud3 from loading if it tried to do this injection.

I am in Switzerland and cannot release an update to iCloud3 to fix this error. However, I have updated the code in GitHub.

  1. Download the support/recorder_prefilter.py file in the iCloud3 GitHub repository here and save it to the icloud3/support directory. (Look for ‘Raw’ in the menu bar above the code on the right. The Download icon is the 2nd icon to the right)
  2. Edit the icloud3/manifest.json file. Change the version value from “3.0.5.2” to “3.0.5.3”.
  3. Restart HA.

The Event Log also adds a large item into the log and will generate a warning message in the Error Log. To stop the warning message and exclude this sensor from being added, add the following to the configuration.yaml file. It adds a manual exclude for sensor.

recorder:
  exclude:
    entities:
      - sensor.icloud3_event_log

@michaelthompson1991
Copy link
Author

Thanks!

@gcobb321
Copy link
Owner

iCloud3 v3.0.5.5 (7/16/2024) has been released that fixes this problem. It should be available on HACS in a day or so. No other changes have been made.

@michaelthompson1991
Copy link
Author

No problem, that's great thanks! Thank you for the hard work!

@michaelthompson1991
Copy link
Author

michaelthompson1991 commented Jul 16, 2024

I've downloaded the update but it still says not loaded in the devices and services part of HA, am I missing something? Also I still have a notification saying The following integrations and platforms could not be set up:

icloud3 (Show logs)
Please check your config and logs.
4 minutes ago

@gcobb321
Copy link
Owner

I assume you restarted HA. Try restarting again. Maybe that will clear the cache.

@michaelthompson1991
Copy link
Author

Yeah I restarted then rebooted HA and still nothing 🤔

@michaelthompson1991
Copy link
Author

Shall I try redownloading from HACS or will that cause more problems?

@michaelthompson1991
Copy link
Author

This is what it says when I open the logs https://imgur.com/a/OfAHgmg

@gcobb321
Copy link
Owner

Don't use HACS. It probably has not done the scan yet and will pick up v3.0.5.2. The zip file with v3.0.5.5 is on the releases page here.

Here is another copy of it.

icloud3.zip

@michaelthompson1991
Copy link
Author

So shall I just wait then? I'm busy tonight anyway so I can get back onto it tomorrow if that's easier?

@gcobb321
Copy link
Owner

HACS was the problem. It was downloading the v3.0.5.2 release, not the v3.0.5.5 release even though the zip file for the release was correct and the files were correct. I will create a new release and see what happens.

Here is the v3.0.5.5 zip file.
icloud3.zip

@michaelthompson1991
Copy link
Author

No problem, thanks. What do I do with the zip file? Shall I just wait for the new release you post?

@gcobb321
Copy link
Owner

It was my error. I did everything except update the custom_components/icloud3 code files on the GitHub repository so it was picking up v3.0.5.2 code instead.

All is good now. HACS updates the files with the v3.0.5.5 version after refreshing via the Update Information option.

@michaelthompson1991
Copy link
Author

michaelthompson1991 commented Jul 16, 2024 via email

@michaelthompson1991
Copy link
Author

I have the download ready and waiting to do when I get home, will keep you updated 👍🏻

@michaelthompson1991
Copy link
Author

It's now working, thanks for the amazing support!

@gcobb321
Copy link
Owner

Completed with iCloud3 v3.0.5.5/v3.0.5.6

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