Plus de remontée de la geolocalisation - bis -

Tags: #<Tag:0x00007f384b706658>

Je fais suite à mon précédent message (Plus de remontée de la geolocalisation) car j’ai toujours le problème.

Ci dessous un extrait du log. Je précise que le contenu du log n’est pas le meme quand ça marche et quand ça ne marche pas. Celui en dessous est quand ça ne marche pas. La structure n’est pas la même, mais les coordonnées GPS qui sont dedans sont bonnes.
J’ai modifié les coordonnées GPS et supprimmées quelques info (taggué #deleted#)

[2020-10-19 09:25:06][DEBUG] : ------------------- updateLocation : 141---------------------- Icloud Fanny
[2020-10-19 09:25:08][DEBUG] : stdClass Object (     [msg] =>      [canWipeAfterLock] => 1     [baUUID] => #deleted#     [wipeInProgress] =>      [lostModeEnabled] =>      [activationLocked] => 1     [passcodeLength] => 6     [deviceStatus] => 200     [deviceColor] => 1-5-0     [features] => stdClass Object         (             [BTR] =>              [LLC] =>              [CLK] =>              [TEU] => 1             [SND] => 1             [CLT] =>              [SVP] =>              [SPN] =>              [XRM] =>              [CWP] =>              [MSG] => 1             [LOC] => 1             [LMG] =>              [LKL] =>              [LST] => 1             [LKM] =>              [WMG] => 1             [PSS] =>              [PIN] =>              [LCK] => 1             [REM] =>              [MCS] =>              [KEY] =>              [KPD] =>              [WIP] => 1         )      [lowPowerMode] =>      [rawDeviceModel] => iPhone9,4     [id] => #deleted#     [deviceDiscoveryId] => #deleted#     [remoteLock] =>      [isLocating] => 1     [modelDisplayName] => iPhone     [lostTimestamp] =>      [batteryLevel] => 0.68000000715256     [mesg] =>      [locationEnabled] => 1     [lockedTimestamp] =>      [locFoundEnabled] =>      [snd] =>      [fmlyShare] =>      [lostDevice] =>      [lostModeCapable] => 1     [wipedTimestamp] =>      [deviceDisplayName] => iPhone 7 Plus     [prsId] =>      [audioChannels] => Array         (         )      [locationCapable] => 1     [batteryStatus] => Charging     [trackingInfo] =>      [name] => iPhone     [isMac] =>      [thisDevice] =>      [deviceClass] => iPhone     [location] => stdClass Object         (             [isOld] =>              [isInaccurate] =>              [altitude] => 0             [positionType] => Wifi             [latitude] => 45.614135116936             [floorLevel] => 0             [horizontalAccuracy] => 65             [locationType] =>              [timeStamp] => 1603113730440             [locationFinished] => 1             [verticalAccuracy] => 0             [longitude] => -84.571051507403         )      [deviceModel] => iphone7plus-1-5-0     [maxMsgChar] => 160     [darkWake] =>      [remoteWipe] =>  ) 
[2020-10-19 09:25:08][DEBUG] :  --- horizontalAccuracy --- 65
[2020-10-19 09:25:08][DEBUG] :  --- locationFinished --- 1
[2020-10-19 09:25:08][DEBUG] :  --- hot horizontalAccuracy --- 
[2020-10-19 09:25:08][DEBUG] :  --- location: 45.614135116936,-84.571051507403
[2020-10-19 09:30:10][DEBUG] : ------------------- updateLocation : 141---------------------- Icloud Fanny
[2020-10-19 09:30:11][DEBUG] : stdClass Object (     [msg] =>      [canWipeAfterLock] => 1     [baUUID] => #deleted#     [wipeInProgress] =>      [lostModeEnabled] =>      [activationLocked] => 1     [passcodeLength] => 6     [deviceStatus] => 200     [deviceColor] => 1-5-0     [features] => stdClass Object         (             [BTR] =>              [LLC] =>              [CLK] =>              [TEU] => 1             [SND] => 1             [CLT] =>              [SVP] =>              [SPN] =>              [XRM] =>              [CWP] =>              [MSG] => 1             [LOC] => 1             [LMG] =>              [LKL] =>              [LST] => 1             [LKM] =>              [WMG] => 1             [PSS] =>              [PIN] =>              [LCK] => 1             [REM] =>              [MCS] =>              [KEY] =>              [KPD] =>              [WIP] => 1         )      [lowPowerMode] =>      [rawDeviceModel] => iPhone9,4     [id] => #deleted#     [deviceDiscoveryId] => #deleted#     [remoteLock] =>      [isLocating] => 1     [modelDisplayName] => iPhone     [lostTimestamp] =>      [batteryLevel] => 0.72000002861023     [mesg] =>      [locationEnabled] => 1     [lockedTimestamp] =>      [locFoundEnabled] =>      [snd] =>      [fmlyShare] =>      [lostDevice] =>      [lostModeCapable] => 1     [wipedTimestamp] =>      [deviceDisplayName] => iPhone 7 Plus     [prsId] =>      [audioChannels] => Array         (         )      [locationCapable] => 1     [batteryStatus] => Charging     [trackingInfo] =>      [name] => iPhone     [isMac] =>      [thisDevice] =>      [deviceClass] => iPhone     [location] => stdClass Object         (             [isOld] =>              [isInaccurate] =>              [altitude] => 0             [positionType] => Wifi             [latitude] => 45.61414082341             [floorLevel] => 0             [horizontalAccuracy] => 65             [locationType] =>              [timeStamp] => 1603114028260             [locationFinished] => 1             [verticalAccuracy] => 0             [longitude] => -84.571079240044         )      [deviceModel] => iphone7plus-1-5-0     [maxMsgChar] => 160     [darkWake] =>      [remoteWipe] =>  ) 
[2020-10-19 09:30:11][DEBUG] :  --- horizontalAccuracy --- 65
[2020-10-19 09:30:11][DEBUG] :  --- locationFinished --- 1
[2020-10-19 09:30:11][DEBUG] :  --- hot horizontalAccuracy --- 
[2020-10-19 09:30:11][DEBUG] :  --- location: 45.61414082341,-84.571079240044
[2020-10-19 09:35:06][DEBUG] : ------------------- updateLocation : 141---------------------- Icloud Fanny
[2020-10-19 09:35:07][DEBUG] : stdClass Object (     [msg] =>      [canWipeAfterLock] => 1     [baUUID] => #deleted#     [wipeInProgress] =>      [lostModeEnabled] =>      [activationLocked] => 1     [passcodeLength] => 6     [deviceStatus] => 200     [deviceColor] => 1-5-0     [features] => stdClass Object         (             [BTR] =>              [LLC] =>              [CLK] =>              [TEU] => 1             [SND] => 1             [CLT] =>              [SVP] =>              [SPN] =>              [XRM] =>              [CWP] =>              [MSG] => 1             [LOC] => 1             [LMG] =>              [LKL] =>              [LST] => 1             [LKM] =>              [WMG] => 1             [PSS] =>              [PIN] =>              [LCK] => 1             [REM] =>              [MCS] =>              [KEY] =>              [KPD] =>              [WIP] => 1         )      [lowPowerMode] =>      [rawDeviceModel] => iPhone9,4     [id] => #deleted#     [deviceDiscoveryId] => #deleted#     [remoteLock] =>      [isLocating] => 1     [modelDisplayName] => iPhone     [lostTimestamp] =>      [batteryLevel] => 0.75999999046326     [mesg] =>      [locationEnabled] => 1     [lockedTimestamp] =>      [locFoundEnabled] =>      [snd] =>      [fmlyShare] =>      [lostDevice] =>      [lostModeCapable] => 1     [wipedTimestamp] =>      [deviceDisplayName] => iPhone 7 Plus     [prsId] =>      [audioChannels] => Array         (         )      [locationCapable] => 1     [batteryStatus] => Charging     [trackingInfo] =>      [name] => iPhone     [isMac] =>      [thisDevice] =>      [deviceClass] => iPhone     [location] => stdClass Object         (             [isOld] =>              [isInaccurate] =>              [altitude] => 0             [positionType] => Wifi             [latitude] => 45.614138533735             [floorLevel] => 0             [horizontalAccuracy] => 65             [locationType] =>              [timeStamp] => 1603114331595             [locationFinished] => 1             [verticalAccuracy] => 0             [longitude] => -84.571070671076         )      [deviceModel] => iphone7plus-1-5-0     [maxMsgChar] => 160     [darkWake] =>      [remoteWipe] =>  ) 
[2020-10-19 09:35:07][DEBUG] :  --- horizontalAccuracy --- 65
[2020-10-19 09:35:07][DEBUG] :  --- locationFinished --- 1
[2020-10-19 09:35:07][DEBUG] :  --- hot horizontalAccuracy --- 
[2020-10-19 09:35:07][DEBUG] :  --- location: 45.614138533735,-84.571070671076
[2020-10-19 09:40:09][DEBUG] : ------------------- updateLocation : 141---------------------- Icloud Fanny
[2020-10-19 09:40:10][DEBUG] : stdClass Object (     [msg] =>      [canWipeAfterLock] => 1     [baUUID] => #deleted#     [wipeInProgress] =>      [lostModeEnabled] =>      [activationLocked] => 1     [passcodeLength] => 6     [deviceStatus] => 200     [deviceColor] => 1-5-0     [features] => stdClass Object         (             [BTR] =>              [LLC] =>              [CLK] =>              [TEU] => 1             [SND] => 1             [CLT] =>              [SVP] =>              [SPN] =>              [XRM] =>              [CWP] =>              [MSG] => 1             [LOC] => 1             [LMG] =>              [LKL] =>              [LST] => 1             [LKM] =>              [WMG] => 1             [PSS] =>              [PIN] =>              [LCK] => 1             [REM] =>              [MCS] =>              [KEY] =>              [KPD] =>              [WIP] => 1         )      [lowPowerMode] =>      [rawDeviceModel] => iPhone9,4     [id] => #deleted#     [deviceDiscoveryId] => #deleted#     [remoteLock] =>      [isLocating] => 1     [modelDisplayName] => iPhone     [lostTimestamp] =>      [batteryLevel] => 0.79000002145767     [mesg] =>      [locationEnabled] => 1     [lockedTimestamp] =>      [locFoundEnabled] =>      [snd] =>      [fmlyShare] =>      [lostDevice] =>      [lostModeCapable] => 1     [wipedTimestamp] =>      [deviceDisplayName] => iPhone 7 Plus     [prsId] =>      [audioChannels] => Array         (         )      [locationCapable] => 1     [batteryStatus] => Charging     [trackingInfo] =>      [name] => iPhone     [isMac] =>      [thisDevice] =>      [deviceClass] => iPhone     [location] => stdClass Object         (             [isOld] =>              [isInaccurate] =>              [altitude] => 0             [positionType] => Wifi             [latitude] => 45.614126461102             [floorLevel] => 0             [horizontalAccuracy] => 65             [locationType] =>              [timeStamp] => 1603114628018             [locationFinished] => 1             [verticalAccuracy] => 0             [longitude] => -84.571068504875         )      [deviceModel] => iphone7plus-1-5-0     [maxMsgChar] => 160     [darkWake] =>      [remoteWipe] =>  ) 
[2020-10-19 09:40:10][DEBUG] :  --- horizontalAccuracy --- 65
[2020-10-19 09:40:10][DEBUG] :  --- locationFinished --- 1
[2020-10-19 09:40:10][DEBUG] :  --- hot horizontalAccuracy --- 
[2020-10-19 09:40:10][DEBUG] :  --- location: 45.614126461102,-84.571068504875
[2020-10-19 09:45:06][DEBUG] : ------------------- updateLocation : 141---------------------- Icloud Fanny
[2020-10-19 09:45:07][DEBUG] : stdClass Object (     [msg] =>      [canWipeAfterLock] => 1     [baUUID] => #deleted#     [wipeInProgress] =>      [lostModeEnabled] =>      [activationLocked] => 1     [passcodeLength] => 6     [deviceStatus] => 200     [deviceColor] => 1-5-0     [features] => stdClass Object         (             [BTR] =>              [LLC] =>              [CLK] =>              [TEU] => 1             [SND] => 1             [CLT] =>              [SVP] =>              [SPN] =>              [XRM] =>              [CWP] =>              [MSG] => 1             [LOC] => 1             [LMG] =>              [LKL] =>              [LST] => 1             [LKM] =>              [WMG] => 1             [PSS] =>              [PIN] =>              [LCK] => 1             [REM] =>              [MCS] =>              [KEY] =>              [KPD] =>              [WIP] => 1         )      [lowPowerMode] =>      [rawDeviceModel] => iPhone9,4     [id] => #deleted#     [deviceDiscoveryId] => #deleted#     [remoteLock] =>      [isLocating] => 1     [modelDisplayName] => iPhone     [lostTimestamp] =>      [batteryLevel] => 0.81999999284744     [mesg] =>      [locationEnabled] => 1     [lockedTimestamp] =>      [locFoundEnabled] =>      [snd] =>      [fmlyShare] =>      [lostDevice] =>      [lostModeCapable] => 1     [wipedTimestamp] =>      [deviceDisplayName] => iPhone 7 Plus     [prsId] =>      [audioChannels] => Array         (         )      [locationCapable] => 1     [batteryStatus] => Charging     [trackingInfo] =>      [name] => iPhone     [isMac] =>      [thisDevice] =>      [deviceClass] => iPhone     [location] => stdClass Object         (             [isOld] =>              [isInaccurate] =>              [altitude] => 0             [positionType] => Wifi             [latitude] => 45.614136115202             [floorLevel] => 0             [horizontalAccuracy] => 65             [locationType] =>              [timeStamp] => 1603114930511             [locationFinished] => 1             [verticalAccuracy] => 0             [longitude] => -84.571062752011         )      [deviceModel] => iphone7plus-1-5-0     [maxMsgChar] => 160     [darkWake] =>      [remoteWipe] =>  ) 
[2020-10-19 09:45:07][DEBUG] :  --- horizontalAccuracy --- 65
[2020-10-19 09:45:07][DEBUG] :  --- locationFinished --- 1
[2020-10-19 09:45:07][DEBUG] :  --- hot horizontalAccuracy --- 
[2020-10-19 09:45:07][DEBUG] :  --- location: 45.614136115202,-84.571062752011

Ci dessous le log lorsque ça fonctionne

[2020-10-18 22:00:09][DEBUG] : ------------------- updateLocation : 141---------------------- Icloud Fanny
[2020-10-18 22:00:11][DEBUG] : stdClass Object (     [msg] =>      [canWipeAfterLock] => 1     [baUUID] => #deleted#     [wipeInProgress] =>      [lostModeEnabled] =>      [activationLocked] => 1     [passcodeLength] => 6     [deviceStatus] => 201     [deviceColor] => 1-5-0     [features] => stdClass Object         (             [BTR] =>              [LLC] =>              [CLK] =>              [TEU] => 1             [SND] => 1             [CLT] =>              [SVP] =>              [SPN] =>              [XRM] =>              [CWP] =>              [MSG] => 1             [LOC] => 1             [LMG] =>              [LKL] =>              [LST] => 1             [LKM] =>              [WMG] => 1             [PSS] =>              [PIN] =>              [LCK] => 1             [REM] => 1             [MCS] =>              [KEY] =>              [KPD] =>              [WIP] => 1         )      [lowPowerMode] =>      [rawDeviceModel] => iPhone9,4     [id] => #deleted#     [deviceDiscoveryId] => #deleted#     [remoteLock] =>      [isLocating] =>      [modelDisplayName] => iPhone     [lostTimestamp] =>      [batteryLevel] => 0.33000001311302     [mesg] =>      [locationEnabled] => 1     [lockedTimestamp] =>      [locFoundEnabled] =>      [snd] =>      [fmlyShare] =>      [lostDevice] =>      [lostModeCapable] => 1     [wipedTimestamp] =>      [deviceDisplayName] => iPhone 7 Plus     [prsId] =>      [audioChannels] => Array         (         )      [locationCapable] => 1     [batteryStatus] => Charging     [trackingInfo] =>      [name] => iPhone     [isMac] =>      [thisDevice] =>      [deviceClass] => iPhone     [location] => stdClass Object         (             [isOld] =>              [isInaccurate] =>              [altitude] => 0             [positionType] => GPS             [latitude] => 45.638564064067             [floorLevel] => 0             [horizontalAccuracy] => 8.0012082736809             [locationType] =>              [timeStamp] => 1603072553694             [locationFinished] => 1             [verticalAccuracy] => 0             [longitude] => -84.580907197141         )      [deviceModel] => iphone7plus-1-5-0     [maxMsgChar] => 160     [darkWake] =>      [remoteWipe] =>  ) 
[2020-10-18 22:00:11][DEBUG] :  --- horizontalAccuracy --- 8.0012082736809
[2020-10-18 22:00:11][DEBUG] :  --- locationFinished --- 1
[2020-10-18 22:00:11][DEBUG] :  --- location: 45.638564064067,-84.580907197141
[2020-10-18 22:00:11][DEBUG] : Update Battery 33
[2020-10-18 22:00:11][DEBUG] : Update location timestamp Telephone Fanny : 1603072553694 status :201
[2020-10-18 22:00:11][DEBUG] : location Telephone Fanny update : 45.638564064067,-84.580907197141

Je remarque que la geolocalisation fonctionne bien lorsque le telephone est à la maison. Mais lorsqu’il n’est plus à la maison, la geolocalisation fonctionne pendant 30min. Puis le log de debug change et la position reste figée à la meme place

J’ai relu la documentation et il y a cette note la dedans que je ne comprends pas bien, mais qui est peut être la source de mon problème:

IMPORTANT

Possible de paramétrer la précision de la localisation. Sur la capture si dessus , 70 correspond à une bonne précision. Pour être encore plus précis vous pouvez descendre jusqu’à 30. Laisser vide si vous ne voyez pas l’utilité La récupération des informations se fait selon le cron choisi.Si le paramètre récupéré est supérieur à la valeur souhaitée , la localisation ne sera pas mise à jour avant le prochain cron . Trés efficace pour l’utilisation dans la gestion d’une présence à domicile par exemple. Moins pour la localisation dans un périmètre.