icloud3_v3 icon indicating copy to clipboard operation
icloud3_v3 copied to clipboard

iCloud3 v3 - General Questions & Help With Problems

Open gcobb321 opened this issue 1 year ago • 145 comments

Use this issue to ask for help with problems. Only v3 questions and problems will be answered here. If you are having a problem or v2 related question or problem, go here.

gcobb321 avatar May 13 '23 12:05 gcobb321

Spent last two evenings setting this up but failed. It wouldn't let me add a device. Whenever I try to submit in "Update Tracked iCloud3 Device" it auto scrolls up to icloud device tracker identity. Doesn't show any error. I could only add my device, none of the my friendsNFamily member's phone being added. image

chintito4ever avatar May 13 '23 22:05 chintito4ever

I see it could be the issue with Apple's latest change that broke FnF updates.

chintito4ever avatar May 13 '23 23:05 chintito4ever

You need to select the FamIly Sharing List Device and the iOS App device (if the iOS App is installed on it) to add ít. Find my Friends devices are not available due to the Apple change.

A message should have been displayed when all the FamShr, FmF and iOS app devices are None.

gcobb321 avatar May 14 '23 08:05 gcobb321

I just uploaded beta 16c1 that fixes the problem where error messages in the Update Devices screen were not being displayed. I did net change the version number. It will still read b16c

gcobb321 avatar May 14 '23 17:05 gcobb321

Do you know if that change by Apple is permanent or not? this basically makes it no use for me currently as I mostly track via FnF method.

chintito4ever avatar May 15 '23 05:05 chintito4ever

I have no idea

gcobb321 avatar May 15 '23 06:05 gcobb321

I'm not been able to get airpod battery pencentage... always 0%

thiago-s-medeiros avatar May 23 '23 18:05 thiago-s-medeiros

Mine are always zero too. The raw data from iCloud is always zero so it looks like Apple is not getting it from them.

2023-05-24 02:25:05 [pyicloud_ic3:1359]  ICLOUD > ──────── FAMSHR DEVICE - OFFLINE/NO LOCATION DATA - <GARY-AIRPODS> ────────
2023-05-24 02:25:05 [pyicloud_ic3:1359]  ICLOUD > {'▶ITEMS◀ (items)': {'id': 'AbrWudzuqf...', 'modelDisplayName': 'Accessory', 'lostModeCapable': False, 'name': 'Gary-AirPods', 'deviceClass': 'Accessory', 'deviceStatus': '201', 'rawDeviceModel': 'AirPods_8212', 'batteryLevel': 0.0, 'deviceDisplayName': 'AirPods Pro', 'prsId': None, 'batteryStatus': 'Unknown', 'location': None, 'deviceModel': 'AirPods_8212-0'}}

gcobb321 avatar May 24 '23 06:05 gcobb321

image how can i fix this message? thank you

pitoganzado avatar May 25 '23 14:05 pitoganzado

Have you done steps noted as 1, 2, and 3?

JtwoA avatar May 25 '23 16:05 JtwoA

As John said, your browser needs to be refreshed.

gcobb321 avatar May 25 '23 19:05 gcobb321

Hi @gcobb321 ! Loving the updated UI/UX for v3.

One issue though - I can't use my old interval of 1 minute for my Apple Watch.

I have issues when arriving home where it takes 5 minutes for my house to see I'm here, so for 5 minutes I get tons of security alerts "SOMEONE IS BREAKING INTO YOUR HOME" - 1 minute is what I used in v2 and it was perfect -- enough time for me to pull in the driveway and stop the car.

Is is possible to set a lower interval for when I arrive home / am home / leaving home zone?

amaisano avatar Jun 09 '23 14:06 amaisano

Did you not have enormous battery drain setting the Apple Watch interval to 1 minute?

JtwoA avatar Jun 09 '23 15:06 JtwoA

I do on my iPhone which is connected to the watch, but the watch itself was fine. made it 2 days.

I go for walks and leave my iphone at home too, which is originally why I wanted to use this component. If i always had my phone with me, i'd just use the Geocoded Location tracker that comes with the ios app which is faster than the 5 minute min for icloud.

Unless you have a better option - like something that instantly switches zones when i cross over, but otherwise keeps the polling at a reasonable level at home...

amaisano avatar Jun 09 '23 15:06 amaisano

Your use case is exactly mine. I have the cellular Ultra Apple Watch and would love to leave my phone behind for runs/rides.

JtwoA avatar Jun 09 '23 15:06 JtwoA

Here is a preview of beta 18. I'll publish it in a few days if everything looks good and there are no new problems.

The two main big changes are (1) the new 'HA hack' that fixes the problem created when the HA guys changed the recorder log history module history and (2) the additional startup retry methods when missing famshr location data is detected during startup.

Unzip to the custom_components/icloud3 directory. icloud3_v3-beta-18b.zip

Change Log:

Beta 18a/b

  1. Fixed the problem where starting iCloud3 would go into a loop between Stages 4, 5, 6, 4, 5, etc.
  2. Fixed a problem doing a fresh install (missing 'start_ic3.set_icloud_username_password' error message)

Beta 18

  1. Event Log - Fixed a problem where displaying a Nearby Devices message would display the text below the Event Log items window due to a HA Front End change.
  2. iOS App Only - Location requests will be sent to the device when the iOS App is the primary data source just like it is to the iCloud Web Service. This only sends a request to the iOS App. If the device is asleep or the iOS App is running in the background or not loaded, it will not respond and send the location. In this case, another location request will be sent when the next update time is reached.
  3. StatZone - Do not create a Stationary Zone when the current location data is old.
  4. History Recorder - Fixed the problem leading to the '_exclude_e' not being found error while adding iCloud3 HA Recorders sensors to the exclude_entities list.
  5. icloud3_debug_log file - Changed the name to 'icloud3-0.log' since it now contains a lot more info than just debug entries. Three generations of the log file will be kept, indicated by the suffix ('-0'=Today, '-1'=Yesterday, '-2'=Two days ago).
  6. Device Verification during startup - When starting up, device data/location information is used to verify the device. If the iCloud Location Service does not respond with location data for one or more devices during startup, the verification process is now automatically retried several times. If it still fails for one or more devices, a restart is needed message is displayed to try again later. The verified devices will continue to be tracked.
  7. Configuration Wizard - Change the range of the inzone interval parameter values from 5-240 minutes to 1-300 minutes.

gcobb321 avatar Jun 14 '23 20:06 gcobb321

@amaisano - I'd like to know more how you have your apple watch configured. I bumped mine down to InZone every minute and went for a 12 mi bike ride, coming back in an hour and finding 30% of my battery gone on my Ultra. I was running a workout tracker but I do that every night and it hasn't had that result.

Curious how you're configured in iC3.

JtwoA avatar Jun 15 '23 01:06 JtwoA

I found some HACS configuration problems, have fixed them and v3 is now showing up on my system in the Integrations category (along with v2). I had to readd iC3 as a custom repository, download it and restart HA.

See here for information about adding the custom repository.

gcobb321 avatar Jun 20 '23 20:06 gcobb321

Cool!! Tks

marceloaf avatar Jun 20 '23 21:06 marceloaf

Does that mean we can update to newer betas via the UI / and/or get notifications on new versions now?

On Tue, Jun 20, 2023 at 5:06 PM marceloaf @.***> wrote:

Cool!! Tks

— Reply to this email directly, view it on GitHub https://github.com/gcobb321/icloud3_v3/issues/129#issuecomment-1599507242, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFICM5VFTODAO5MLVESBLTXMIGDXANCNFSM6AAAAAAYAO3R7Y . You are receiving this because you were mentioned.Message ID: @.***>

amaisano avatar Jun 20 '23 22:06 amaisano

I hope so. I just updated to b18d to test everything. Will probably know tomorrow. I still can not get the iCloud3 description and info to display when iCloud3 is selected. Looking at the .storage/HACS.repository file, the config I submit does not get updated. I’m going to let HACS run overnight without touching anything to see what happens. If it is still not updated, I’ll be in touch with the HACS guys.

gcobb321 avatar Jun 20 '23 23:06 gcobb321

Hey it's working! I think! I just got this a short while ago and hit "Install" will post once restarted to see if it works...

image

amaisano avatar Jun 21 '23 04:06 amaisano

The HACS repository file that stores the config may not get updated automatically. If after you select iCloud3 v3, all you see at the top is text with the version and my GitHub user ID (v3.0.0-beta-18c, @gcobb321, ### ,###) with a blank screen below that, you need to force HACS to do an update.

To update the iCloud3 HACS config:

  • Go to HACS > Integrations > 3-dots upper right > Custom Repository > iCloud3 > 3-dots upper right > Update information

If iCloud3 v3 does not show up, you will need to readd it to HACS as a custom repository:

  • Go to HACS > Integrations > 3-dots upper right > Custom Repository
  • Enter gcobb321/icloud3_v3 in the Repository field and select Integration, then select +Add

gcobb321 avatar Jun 21 '23 09:06 gcobb321

@Snuffy2 Some files for you with the new recorder_prefilter.

Places files - recorder_filter & sensor

icloud3_v3-beta-19.zip

places-ha-log-new-r_p.py.log.zip

gcobb321 avatar Jun 26 '23 17:06 gcobb321

This looks great and, on initial testing, seems to work well. Thanks!

Snuffy2 avatar Jun 26 '23 23:06 Snuffy2

@Snuffy2 I've done some code cleanup and updated some of the logging. Also redid the docs.

The latest and final is now on GitHub in the recorder_history_prefilter repo here

gcobb321 avatar Jun 27 '23 17:06 gcobb321

Perfect! I'm going to add it as a git submodule to places.

Snuffy2 avatar Jun 27 '23 23:06 Snuffy2

@JtwoA the 5 minute interval on my watch allowed me to use my watch for about 24 hours, full to empty.

However I noticed this past week since I was able to change the interval to 1 minute, it's been reduced to more like 16 hours.

AND STILL i'm getting reported as an intruder by my home automations when I return home, because 1 minute is still not accurate enough to detect me as home between parking the car and opening the doors.

Here's the issue:

image

You can see the storm door is opened between being "Away" and "Home" on the iCloud3 watch tracker. The iOS companion app is the fastest and is basically instantaneously showing me as home before I even get out of the parked car.

@gcobb321 is there something I can configure to make the -to-home-zone transition snappier?

If not I'll likely create a node-red sensor that uses my iOS companion location if certain criteria is met. 75% of the time I have both my iPhone and Watch on me, so the companion app is good.

It's the 25% of the time I go out for walks and runs WITHOUT my phone that i need/use the iCloud3 tracker for.

amaisano avatar Jun 30 '23 14:06 amaisano

I've been testing this and have been able to run the full day plus a bit with my Ultra (running beta WatchOS 10).

  • I'm set to one minute.
  • When I return from walks it takes up to two minutes for my Watch to be reflected at home at which point my house switches over to HOME, alarm disarmed, etc. (The alarm people have been very patient with frequent misfires last week.)

I, too, carry the phone probably 90% of the time. It's bike rides locally and quick trips to workout that it's Watch-only.

------- Original Message ------- On Friday, June 30th, 2023 at 10:33, Adamo Maisano @.***> wrote:

@.***(https://github.com/JtwoA) the 5 minute interval on my watch allowed me to use my watch for about 24 hours, full to empty.

However I noticed this past week since I was able to change the interval to 1 minute, it's been reduced to more like 16 hours.

AND STILL i'm getting reported as an intruder by my home automations when I return home, because 1 minute is still not accurate enough to detect me as home between parking the car and opening the doors.

Here's the issue:

image

You can see the storm door is opened between being "Away" and "Home" on the iCloud3 watch tracker. The iOS companion app is the fastest and is basically instantaneously showing me as home before I even get out of the parked car.

@.***(https://github.com/gcobb321) is there something I can configure to make the -to-home-zone transition snappier?

If not I'll likely create a node-red sensor that uses my iOS companion location if certain criteria is met. 75% of the time I have both my iPhone and Watch on me, so the companion app is good.

It's the 25% of the time I go out for walks and runs WITHOUT my phone that i need/use the iCloud3 tracker for.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

JtwoA avatar Jun 30 '23 14:06 JtwoA

@amaisano

There are some sample automations you might want to look at in the iCloud3 docs. The one I use for opening my garage door checks if I’m entering the Home zone OR if the home distance sensors is less than .2. There is also a check to make sure I was driving and had gone 3 more than miles from home. You will never get a fast enough response with just a zone enter because of delays responding to internet location requests, iosapp polling delays, gps accuracy, etc. When you get within 1 mile from home (it may be less), iCloud3 goes to a 15-secs polling interval so you don’t really need a 1-min interval all the time. Follow the events in the Event Log to see what is going on.

gcobb321 avatar Jun 30 '23 21:06 gcobb321