Documentation: iCloud3
@gcobb321, Thank you for creating and maintaining this app. Iām excited to have an iCloud solution that is more reliable and accurate than the core iCloud integration.
After configuring iCloud3, it might be helpful to move the authentication section to where it occurs in the installation/configuration flow. I stumbled upon the 2FA HA Notificationā¦HA did not alert me with an orange dot, so after the restart I was thinking ānow what?ā
Also, to be sure, is there any way to change the Device and/or Entity names in HA and/or the Name (General > About > Name) on my iPhone to what Iād prefer? For example, Iād like to suffix all of the iCloud3 created sensors with _icloud3.
Lastly, since all of my iOS app entities are suffixed with _app, how do I know if I need to set iosapp_suffix? Itās a little confusing since earlier it states āA suffix must be added to the iOS App mobile_app integration device_tracker entity name to make it unique,ā but in the parameter sections, it states " iosapp_suffix - (Optional, not normally used)"
Whoops, sorry. I tagged the wrong Gary! Itās fixed. Thanks.
- The docs will be updated with v3 that is under development.
- This will be possible with v3.
- The HA entity registry is searched for an iOS app device tracker entity starting with the iCloud3 devicename when iCloud3 starts. If only one entity is found, that one will be monitored. If there are several, the last one added (hopefully) is monitored. The
iosapp_suffix
is only needed if there are several iOS app entities and you want to monitor a different one than iCloud3 chooses.
Thanks, so for (3) would it throw an error of some sort that I would see on the Event Log card if it couldnāt find a match?
@GoodyGizmos
All of the matched iOS app device_tracker entity name suffixes that are found are listed on the Event Log with a message showing which one will be used.
Hi Gary,
I donāt know if this is expected behaviour; icloud3 does not appear to keep the formatting of the zones Iāve created in HA.
Eg: a zone called RonAndTammy will appear in icloud3 as Ronandtammy, and a zone with an & in the name will skip the & entirely in icloud3.
Iām expecting Iām doing something wrong but I canāt figure out what. Any idea what it could be?
Thank you in advance.
@Nabs
The zone name can be displayed several ways in the Event Log and other places. See iCloud3 docs here for info on the display_zone_format
parameter.
Hi,
I get any time whis message:;
Setup failed for custom integration icloud3
I have all devices in the family account.
configuration.yaml
# iCloud3
recorder:
purge_keep_days: 3
exclude:
entities:
- sensor.icloud3_event_log
device_tracker:
- platform: icloud3
username: !secret icloud3_user
password: !secret icloud3_pw
create_sensors: zon,zonn,ttim,zdis,cdis,wdis,nupdt,lupdt,info`
exclude_sensors: zont,zonfn,lzont,lzonfn,zonts,bat
event_log_card_directory: '/www/custom_cards'
config_ic3_file_name: '/config/config_ic3.yaml'
tracking_method: famshr
config_ic3.yaml:
devices:
- device_name: myphone
email: [email protected]
name: Manager
picture: manager.jpg
- device_name: wife
email: [email protected]
name: Wife
picture: wife.jpg
- device_name: daughter
email: [email protected]
name: Daughter
picture: daughter.jpg
- device_name: ipad-manager
email: [email protected]
name: iPad
picture: ipad.jpg
#-- Formatting Parameters
unit_of_measurement: km
time_format: 24
#--Zone/Tracking Parameters
inzone_interval: '60 min'
max_interval: '4 hrs'
center_in_zone: True
stationary_inzone_interval: '30 min'
stationary_still_time: '8 min'
stationary_zone_offset: 1, 0
travel_time_factor: .6
distance_method: waze
#--Accuracy Parameters
gps_accuracy_threshold: 100
ignore_gps_accuracy_inzone: True
old_location_threshold: '2 min'
@Grandor
See iCloud3 docs here that describe some troubleshooting steps that might help solve your probableā¦
First, what an awesome app! I canāt imagine the hours of coding behind it.
I am having difficulty tracking 4 devices at the same time. Mom, Dad and Child_1 are famshr. Child_2 has her own account and is FmF with Mom, Dad and Child_1.
When I load iCloud3 with the configuration file entries below, I can only track the members of famshr (Mom, Dad and Child_1). Iāve tried specifying tracking_method: famshr and also tracking_method: fmf with the same results. Iāve also tried it without track_devices.
configuration.yaml File
device_tracker:
- platform: icloud3
username: [email protected]
password: !secret Dad_yahoo_password
tracking_method: famshr
tracking_method: fmf
track_devices:
- Mom_iPhone > [email protected]
- Child_1_iPhone > [email protected]
- Dad_iPhone > Dad@yahoo
- Child_2_iPhone > Child_2@yahoo
When I load iCloud3 with the configuration file entries below, I can only track Dad and Child_2.
configuration.yaml File
device_tracker:
- platform: icloud3
username: [email protected]
password: !secret Dad_yahoo_password
tracking_method: famshr
tracking_method: fmf
track_devices:
- Mom_iPhone > [email protected]
- Child_1_iPhone > [email protected]
- Dad_iPhone > Dad@yahoo
device_tracker:
- platform: icloud3
username: [email protected]
password: !secret Child_2_Yahoo_password
track_devices:- Child_2_iPhone > Child_2@yahoo
Here is the config_ic3.yaml File:
devices:
- device_name: Dad_iPhone
email: [email protected]
name: Dad
inzone_interval: 30 secs
iosapp_installed: True - device_name: Mom_iPhone
email: [email protected]
inzone_interval: 30 secs
name: Mom
iosapp_installed: True - device_name: Child_1_iPhone
email: [email protected]
inzone_interval: 30 secs
name: Child_1
iosapp_installed: True - device_name: Child_2_iPhone
email: [email protected]
inzone_interval: 30 secs
name: Child_2
iosapp_installed: True
What am I doing wrong?
Is there a way to cause a location/interval update based off the state of another entity. For example I have a user that doesnāt have the HA app. Currently using icloud3 to update location. I also have BLE room presence detection. When BLE detects not home can I cause icloud3 to change interval of update? Other wise it marks user at home with an interval update of 2 hours. I am trying to trigger away automations and this is delaying it by 2 hours.
@chrisryn
You might be able to do what you want using the iCloud3 update service call with the resume command for the device. That will initiate a device Location request that will change the zone to away and restart the interval between Location updates.
icloud3_command_resume_polling:
alias: 'Resume Polling'
sequence:
- service: device_tracker.icloud3_update
data:
command: resume
devicename: [devicename-of-device]
Also, you might want to change the inzone_interval
of the device without the iOS app to a smaller number (15 mins) so it will pick up the zone exit sooner.
- You can only log into one iCloud account and have only one iCloud3 platform. You have two-Dad and Child 2.
- The
track_devices
parameter was depreciated a long time ago. I couldnāt tell if you were using it or not.
What you want to do is use the Dad iCloud account like you are doing but donāt specify the tracking _method parameter. Then put child2 as a device_name on that account. Enter the child2 email and put the tracking_method: fmf in the child2 device_name parameter to specify that it should us the fmf method.
Hereās the configuration.yaml file.
device_tracker:
- platform: icloud3
username: [email protected]
password: !secret Dad_Yahoo_password
Hereās the config_ic3.yaml file.
devices:
- device_name: Dad_iPhone
email: [email protected]
name: Dad
inzone_interval: 30 secs
iosapp_installed: True - device_name: Mom_iPhone
email: [email protected]
inzone_interval: 30 secs
name: Mom
iosapp_installed: True - device_name: Child_1_iPhone
email: [email protected]
inzone_interval: 30 secs
name: Child_1
iosapp_installed: True - device_name: Child_2iPhone
email: [email protected]
tracking_method: fmf
inzone_interval: 30 secs
name: Child_2
iosapp_installed: True
This results in iCloud Error Invalid configuration parameter and iCloud Error for [email protected] > Setup aborted, no devices to track.
Hereās the config_ic3.yaml file for the iPhone Iām having trouble with
- device_name: Child_2
email: [email protected]
inzone_interval: 30 secs
name: Gracie
iosapp_installed: True
The device name has been verified on the phone itself: āSettings>General>About>Nameā
Hereās a snapshot of the event log and a snapshot of the Find My app on [email protected] phone:
@garygcastleberry
Set the configuration to :
device_name: Child_2
email: [email protected]
inzone_interval: 10 mins
name: Gracie
tracking_method: fmf
and see if that works.
The Event Log shows the fmf device that are valid for the Dad account. Make sure Gracie itās listed and can be seen in FindMe app on Dadās phone. Also make sure dad can be seen on her phone. If they are both not visible in the FindMy app, they will not be able to be linked and located by iCloud3.
If that doesnāt work and you still need help, export the Event Log file using Event Log > Actions > and send the log file to [email protected]. Iāll need to see your exact setup so donāt change the names to dad, child _1, child_2, etc.
I changed the inside interval from 30 secs to 10 mins.
Hey guys,
Loving this addon, and itās made presence and location detection so much more usefull.
Iām having a problem, and I canāt seem to get my head around it. Iām have the "The see service is not supported for this entity device_tracker.name_of_iphone"
.
Now, the manual says that this is related to the HA iOS app, and this is where it gets odd for me and Iām getting lost. My phone has the iOS app and Iāve changed the entity name to have _iosapp
at the end. 2 other iphones do not have the iOS app installed, so I have no idea what is going on with those. My wifes iPhone seems to be working fine with no errors.
Also, these errors are flooding the HA logs, and I think itās affecting performance of HA. Apart from the see service error, Iām not see any other errors.
Any one have any idea whatās going on? If you need to see yaml, or logs or something, let me know what exactly you need. Maybe itās just the simplest mistake on my part. But Iām at my end here.
Thanks.
@cjsimmons
You may still have an iOS app device_tracker with the same name as the iCloud devicename left over from an earlier install. You can look at the iosapp Integration/devices or the settings > Devices to find it. Whatās happening is there itās an old device tracker entity that loads before iCloud3 so iCloud3 cannot use it.