@martoq The battery level is not returned from the iCloud Web Services for the Find-my-Friends tracking method. The next version (v2.2.0 in the ‘development v2.2.0-rc#’ directory in the iCoud3 GitHub repository here) does pick up the value from the iOS App attribute and passes it along. Or you can just use the battery level sensor from the iOS app for your needs.
v2.2.0 also brings back the Family Share tracking method which does include the battery level. With it, you track the devices that are included Family Sharing list on your 2fa account and you do not have to set up the non-2fa account with the contacts you want to track.
Hi there.
I have an issue where I have had to delete and reinstall the HA app on both mine and my partners phone.
This seems to have caused the device tracking to stop.
The simple things like location services are all activated, but I now have multiple device tracker entities
I have bens_iphone and bens_iphone _1 and 2 and 3.
Does anyone know how to get the tracking working again?
There doesn’t appear to be any errors in the icloud3 event log.
iCloud3 v2.2.0 Release Candidate 5 is now availablehere.
The new features are:
When an iCloud authentication fails (iCloud Web Services is offline or there is an error with the username/password), iC3 would reset the tracking method to the iOS App and going back to FmF or FamShr required an iC3 restart. Now, the authentication will be retried in 15-minutes, 30-minutes and 1-hour. When the iCloud Web Services come back online and the authentication is successful, iC3 will go back to the FmF or FamShr tracking method.
Fixed a problem with the config_ic3.yaml configuration file processing. The parameters were not being reset to their default values before the new file wad=s processed on an iC3 restart.
There may be times when your driving route takes you through the initial station zone. The stationary_zone_offset parameter was added to let you specify a 1km offset multiplier (north or south, east or west) of the Home zone or GPS coordinates of the Initial Stationary Zone.
`stationary_zone_offset` examples:
1. stationary_zone_offset: '1,0'=Offset 1km North of Home,
2. stationary_zone_offset: '2,1'=Offset 2km North, 1km East of Home,
3. stationary_zone_offset: (27.738520, -75.380462)'=Specify the GPS coordinates (parenthesis required)
Some minor changes to the Event Log
This is probably the final Release Candidate before iCloud3 is Updated.
I saw an earlier post by @pickerin that mentioned also copying icloud3-event-log-card.js.gz but I can’t see this file anywhere in the custom_component folder for icloud3 nor do I see it in the github repo anywhere.
I also tried putting the card’s js file into /config/www/community/lovelace-icloud3-event-log-card (manually created the directory and put the card there), rebooted but still get the same error.
I just moved the card’s js file to /config/www/custom_cards/icloud3_event_card_log.js and rebooted. Used your manual card config verbatim and still get the same error:
Do you only have the js file in that folder? Or do you have any other files there too?
i didn’t have a /config/www/custom_cards folder already… my HACS-installed cards go into /config/www/community. I’m so confused on how to get this working and why the lovelace card isn’t found.
Well, you can attempt a install with HACS again and see if it writes the resource to the lovelace_resources file. I wouldn’t recommend editing the file directly.
I don’t understand how HACS is involved with writing the lovelace entries since the HACS install is for the integration, not the lovelace card? Or does this happen behind the scenes as part of the icloud3 integration through HACS?
now that I think about it, i’m super confused since how would it know where to reference the card in .storage/lovelace_resources since i’m manually copying it after the integration is installed?
Sorry I’m not following. The js card is in /config/custom_components/icloud3-event-log-card.js after the integration is first installed, which isn’t where it needs to be, hence why you presumably copied it to /config/www/custom_cards/icloud3-event-log-card.js.
If the integration set this up when it was first installed, how would it know to point to /config/www/custom_cards/icloud3-event-log-card.js and not some other directory? (All over this thread is mention of people copying the card file to other folders, e.g. /config/www/, /config/www/community/lovelace-icloud3, etc)
And btw, i know the integration is running succesfully, as i added the device tracker config into configuration.yaml and put my icloud creds. I have 2FA enabled, and when HA starts, I get a 2FA prompt from Apple, so I at least know it’s running and trying to login.