home-assistant / iOS

:iphone: Home Assistant for Apple platforms
https://companion.home-assistant.io
Other
1.59k stars 311 forks source link

Geocoded location never updating outside of Home #2796

Closed Nelluk closed 2 months ago

Nelluk commented 5 months ago

Model Name: iPhone 13 Software Version: iOS 17.5.1 App version: 2024.5.1 (2024.684) HA Core version: 2024.5.5

Describe the bug

I’ve been trying various things to get my iOS companion app to update my server with my location when I am away from home. This has been going on since I started using HA iOS in March.

My server is accessible remotely via Cloudflare tunneling. I can open the app and view the server remotely no problem. I use it frequently when I'm away from home.

All of the permissions are enabled, including background updating, exact location, and all the update triggers.

Even if I open the app and click on the manual location update, nothing will be reflected on the server side. The location history on the app is all correct and shows me leaving my home zone and entering other zones in the neighborhood. But that is never sent to the server (even with a manual trigger).

I have deleted the app, deleted the iPhone device within HA, reinstalled the app, re-checked the settings, and the behavior is identical. I have also deleted the server from within the companion app, restarted the app, and signed back in as a new device.

Most of the sensors update as you would expect (see screenshot). The notable exceptions are SSID and Connection Type which make it look like I have never left my home wifi.

To Reproduce

The log snippet and the screenshot below covers a period of time where I did this, leaving zone.home around 2:30 and arriving at zone.mtes around 2:45, spending around an hour there, and then walking back and arriving back at Home just before 4:00. Also the screenshot covers my second outing that day where went to another zone around 5:45 and back home around 8:00. I can provide those logs on request. During that second outing I notice several errors in the log of the form of Didn't update: the operation couldn't be completed (Shared.BackgroundTaskError error 0

Screenshots I went to two defined zones outside of the home on this day. One I entered a new zone around 2:40 and back home just before 4:00, and another zone around 5:45 and back home just after 8:00. image

Logs

2024-05-24 14:38:14.913 [Verbose] [main] [WebViewController.swift:1127] sendExternalBus(message:) > sending {"type":"command","id":-1,"command":"restart"}
2024-05-24 14:38:14.915 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"id":118,"type":"ping"}
2024-05-24 14:38:15.037 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
2024-05-24 14:38:15.037 [Info] [main] [Environment.swift:71] init() > WebSocket: Peer closed
2024-05-24 14:38:15.037 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to disconnected(error: nil, forReset: false)
2024-05-24 14:38:15.037 [Info] [main] [Environment.swift:71] init() > WebSocket: disconnecting; permanently: false, error: nil
2024-05-24 14:38:15.037 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to disconnected(error: nil, forReset: true)
2024-05-24 14:38:15.043 [Info] [main] [Environment.swift:71] init() > WebSocket: connecting using HAConnectionInfo(url: https://ha.hostable.top, userAgent: Optional("Home Assistant/2024.5.1 (io.robbie.HomeAssistant; build:2024.681; iOS 17.5.1)"), engine: nil, evaluateCertificate: Optional((Function)))
2024-05-24 14:38:15.045 [Info] [main] [WebhookManager.swift:223] sendEphemeral(server:request:) > sending to 9999999305354b6d984af8e99999993f: WebhookRequest(type: "fire_event", data: ["event_data": ["sourceDevicePermanentID": "9E656803-C5F1-46CD-89D2-8F99D9999999", "sourceDeviceName": "Name’s iPhone 13b", "sourceDeviceID": "Names_iphone_13", "zone": "zone.mtes"], "event_type": "ios.zone_entered"], localMetadata: nil)
2024-05-24 14:38:15.045 [Info] [main] [ZoneManager.swift:87] log(state:) > didReceive(ZoneManagerEvent(region(CLCircularRegion (identifier:'9999999305354b6d984af8e99999993f/zone.mtes', center:<+38.99999990,-77.99999993>, radius:146.00m), inside), 9999999305354b6d984af8e99999993f/zone.mtes))
2024-05-24 14:38:15.092 [Verbose] [main] [CLLocationManager+OneShotLocation.swift:256] locationManager(_:didUpdateLocations:) > got raw locations [<+38.99999999,-77.99999996> +/- 77.00m (speed -1.00 mps / course -1.00) @ 5/24/24, 2:37:00 PM Eastern Daylight Time] and turned into potential: [coordinate CLLocationCoordinate2D(latitude: 38.999999999999996, longitude: -77.99999999999999) accuracy 77.0 from 2024-05-24 18:37:00 +0000 quality meh]
2024-05-24 14:38:15.093 [Verbose] [main] [CLLocationManager+OneShotLocation.swift:256] locationManager(_:didUpdateLocations:) > got raw locations [<+38.99999997,-77.99999993> +/- 167.00m (speed -1.00 mps / course -1.00) @ 5/24/24, 2:38:15 PM Eastern Daylight Time] and turned into potential: [coordinate CLLocationCoordinate2D(latitude: 38.99999999999999, longitude: -77.99999999999999) accuracy 167.0 from 2024-05-24 18:38:15 +0000 quality meh]
2024-05-24 14:38:15.097 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <B4C2E315-20FC-42E9-929E-ECB01323F16B>.<51> (nil)
2024-05-24 14:38:15.133 [Info] [main] [Environment.swift:71] init() > WebSocket: Viability changed: true
2024-05-24 14:38:15.209 [Info] [main] [Environment.swift:71] init() > WebSocket: connected with headers: ["Connection": "upgrade", "Sec-WebSocket-Extensions": "permessage-deflate", "CF-Cache-Status": "DYNAMIC", "NEL": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}", "Upgrade": "websocket", "Sec-WebSocket-Accept": "cEOzAWiJSmfDseyeUyS6qWI3oJc=", "Date": "Fri, 24 May 2024 18:38:15 GMT", "Report-To": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=VjEy%2BYbrDvFUKonhc4TL9YCbLIWWuMnEcej1UEVvQKbL3tAErUPIpsN6w5UGe%2B6Q9jwZ%2Bgsqx47qCfS8AqFU15CfWFbIC83KLrSgiKTL5oNPKSxfEUwCM0MoEuk0eBZwdHH2XJt1hCXiJq6V8oM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}", "CF-RAY": "888f66d0ade87007-IAD", "Server": "cloudflare", "Alt-Svc": "h3=\":443\"; ma=86400"]
2024-05-24 14:38:15.209 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to auth
2024-05-24 14:38:15.209 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: auth: required
2024-05-24 14:38:15.209 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: (auth)
2024-05-24 14:38:15.225 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <B4C2E315-20FC-42E9-929E-ECB01323F16B>.<51> (nil)
2024-05-24 14:38:15.268 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: auth: ok(version: "2024.5.4")
2024-05-24 14:38:15.268 [Info] [main] [Environment.swift:71] init() > WebSocket: phase transition to command(version: "2024.5.4")
2024-05-24 14:38:15.269 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"event_type":"component_loaded","id":119,"type":"subscribe_events"}
2024-05-24 14:38:15.269 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"id":120,"type":"subscribe_entities"}
2024-05-24 14:38:15.269 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"event_type":"core_config_updated","id":121,"type":"subscribe_events"}
2024-05-24 14:38:15.269 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"id":122,"type":"ping"}
2024-05-24 14:38:15.269 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"id":123,"type":"get_panels"}
2024-05-24 14:38:15.269 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"id":124,"type":"subscribe_entities"}
2024-05-24 14:38:15.269 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"id":125,"subscription":120,"type":"unsubscribe_events"}
2024-05-24 14:38:15.319 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 119)
2024-05-24 14:38:15.384 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 120)
2024-05-24 14:38:15.384 [Error] [main] [Environment.swift:72] init() > WebSocket: unable to find request for identifier HARequestIdentifier(rawValue: 120)
2024-05-24 14:38:15.400 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 120)
2024-05-24 14:38:15.400 [Error] [main] [Environment.swift:72] init() > WebSocket: unable to find subscription for identifier HARequestIdentifier(rawValue: 120)
2024-05-24 14:38:15.400 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 121)
2024-05-24 14:38:15.400 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 122)
2024-05-24 14:38:15.400 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 123)
2024-05-24 14:38:15.400 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:15.402 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Sending: {"event_type":"panels_updated","id":126,"type":"subscribe_events"}
2024-05-24 14:38:15.406 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:15.406 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 125)
2024-05-24 14:38:15.429 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMScene server(9999999305354b6d984af8e99999993f) from(13) eligible(13) deleted(0) ignored(0) new(0)
2024-05-24 14:38:15.432 [Info] [com.apple.root.user-initiated-qos] [RealmScene.swift:71] willDelete(objects:server:realm:) > deleting actions []
2024-05-24 14:38:15.435 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMZone server(9999999305354b6d984af8e99999993f) from(5) eligible(5) deleted(0) ignored(0) new(0)
2024-05-24 14:38:15.440 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
2024-05-24 14:38:15.465 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: result success HARequestIdentifier(rawValue: 126)
2024-05-24 14:38:15.646 [Error] [main] [WebhookManager.swift:265] sendEphemeral(server:request:) > got failure from 9999999305354b6d984af8e99999993f for fire_event: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:15.646 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:15.954 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:15.954 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:16.239 [Verbose] [main] [CLLocationManager+OneShotLocation.swift:256] locationManager(_:didUpdateLocations:) > got raw locations [<+38.99999998,-77.99999995> +/- 44.20m (speed 3.55 mps / course 172.62) @ 5/24/24, 2:38:16 PM Eastern Daylight Time] and turned into potential: [coordinate CLLocationCoordinate2D(latitude: 38.99999999999999, longitude: -77.99999999999999) accuracy 44.99999999999999 from 2024-05-24 18:38:16 +0000 quality perfect]
2024-05-24 14:38:16.239 [Info] [main] [CLLocationManager+OneShotLocation.swift:230] checkPotentialLocations(outOfTime:) > Got a perfect location!
2024-05-24 14:38:16.255 [Info] [main] [HAAPI.swift:533] SubmitLocation(updateType:location:zone:) > Location update payload: ["gps": [38.99999999999999, -77.99999999999999], "speed": 3.999999999999994, "battery": 65, "altitude": 115.99999999999999, "vertical_accuracy": 32.0, "course": 172.9999999, "gps_accuracy": 44.99999999999999]
2024-05-24 14:38:16.290 [Info] [webhookmanager-data] [WebhookManager.swift:305] send(identifier:server:request:) > in background, choosing to not use background session
2024-05-24 14:38:16.292 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: non-background, task: 52), server(9999999305354b6d984af8e99999993f), type(WebhookResponseLocation), request(WebhookRequest(type: "update_location", data: ["gps": [38.99999999999999, -77.99999999999999], "speed": 3.999999999999994, "battery": 65, "altitude": 115.99999999999999, "vertical_accuracy": 32.0, "course": 172.9999999, "gps_accuracy": 44.99999999999999], localMetadata: Optional(["zone_name": "MTES", "trigger": "Geographic Region Entered"])))
2024-05-24 14:38:16.516 [Info] [main] [HAAPI.swift:795] UpdateSensors(trigger:limitedTo:location:) > updating sensors ["activity", "pedometer_distance", "pedometer_floors_ascended", "pedometer_floors_descended", "pedometer_steps", "pedometer_avg_active_pace", "battery_level", "battery_state", "storage", "connectivity_ssid", "connectivity_bssid", "connectivity_connection_type", "connectivity_sim_1", "connectivity_sim_2", "geocoded_location", "focus", "last_update_trigger"]
2024-05-24 14:38:16.516 [Info] [webhookmanager-data] [WebhookManager.swift:305] send(identifier:server:request:) > in background, choosing to not use background session
2024-05-24 14:38:16.519 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: non-background, task: 53), server(9999999305354b6d984af8e99999993f), type(WebhookResponseUpdateSensors), request(WebhookRequest(type: "update_sensor_states", data: [["type": "sensor", "attributes": ["Confidence": "High", "Types": ["Walking"]], "icon": "mdi:walk", "state": "Walking", "unique_id": "activity"], ["unique_id": "pedometer_distance", "state": 10329, "icon": "mdi:hiking", "type": "sensor"], ["state": 15, "type": "sensor", "icon": "mdi:stairs-up", "unique_id": "pedometer_floors_ascended"], ["icon": "mdi:stairs-down", "unique_id": "pedometer_floors_descended", "state": 10, "type": "sensor"], ["type": "sensor", "unique_id": "pedometer_steps", "icon": "mdi:walk", "state": 11971], ["icon": "mdi:speedometer", "unique_id": "pedometer_avg_active_pace", "type": "sensor", "state": 0], ["state": 65, "unique_id": "battery_level", "attributes": [:], "type": "sensor", "icon": "mdi:battery-60"], ["icon": "mdi:battery-60", "attributes": ["Low Power Mode": false], "unique_id": "battery_state", "state": "Not Charging", "type": "sensor"], ["icon": "mdi:database", "state": "11.70", "type": "sensor", "unique_id": "storage", "attributes": ["Available (Opportunistic)": "29.94 GB", "Total": "255.87 GB", "Available (Important)": "70.83 GB", "Available": "11.79 GB"]], ["type": "sensor", "state": "Not Connected", "unique_id": "connectivity_ssid", "icon": "mdi:wifi-off"], ["icon": "mdi:wifi-off", "state": "Not Connected", "type": "sensor", "unique_id": "connectivity_bssid"], ["attributes": ["Cellular Technology": "5G"], "icon": "mdi:signal", "type": "sensor", "state": "Cellular", "unique_id": "connectivity_connection_type"], ["state": "--", "attributes": ["Carrier ID": "9999999999999901", "Allows VoIP": true, "Mobile Country Code": "65535", "ISO Country Code": "--", "Mobile Network Code": "65535", "Carrier Name": "--", "Current Radio Technology": "5G Non-Standalone"], "type": "sensor", "unique_id": "connectivity_sim_1", "icon": "mdi:sim"], ["state": "--", "type": "sensor", "unique_id": "connectivity_sim_2", "icon": "mdi:sim", "attributes": ["Mobile Network Code": "65535", "Allows VoIP": true, "Carrier ID": "9999999999999902", "Carrier Name": "--", "Mobile Country Code": "65535", "ISO Country Code": "--"]], ["unique_id": "geocoded_location", "attributes": ["Administrative Area": "VA", "Country": "United States", "Sub Thoroughfare": "N/A", "Time Zone": "America/New_York", "Location": [38.99999999999999, -77.99999999999999], "Thoroughfare": "N/A", "Name": "Hal & Berni Hanson Regional Park", "Postal Code": "20105", "Areas Of Interest": ["Hal & Berni Hanson Regional Park"], "Zones": [], "Sub Locality": "N/A", "ISO Country Code": "US", "Locality": "Aldie", "Sub Administrative Area": "Loudoun County", "Inland Water": "N/A", "Ocean": "N/A"], "icon": "mdi:map", "state": "Aldie VA 20105\nUnited States", "type": "sensor"], ["state": false, "type": "binary_sensor", "icon": "mdi:moon-waning-crescent", "unique_id": "focus"], ["unique_id": "last_update_trigger", "icon": "mdi:cellphone-wireless", "type": "sensor", "state": "Geographic Region Entered"]], localMetadata: nil))
2024-05-24 14:38:16.560 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 9999999305354b6d984af8e99999993f for WebhookResponseLocation: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:16.560 [Error] [webhookmanager-data] [WebhookManager.swift:307] send(identifier:server:request:) > in-background non-background failed: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:16.560 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:16.560 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:16.570 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 19), server(9999999305354b6d984af8e99999993f), type(WebhookResponseLocation), request(WebhookRequest(type: "update_location", data: ["gps": [38.99999999999999, -77.99999999999999], "speed": 3.999999999999994, "battery": 65, "altitude": 115.99999999999999, "vertical_accuracy": 32.0, "course": 172.9999999, "gps_accuracy": 44.99999999999999], localMetadata: Optional(["zone_name": "MTES", "trigger": "Geographic Region Entered"])))
2024-05-24 14:38:16.792 [Error] [webhookmanager-data] [WebhookManager.swift:307] send(identifier:server:request:) > in-background non-background failed: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:16.792 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 9999999305354b6d984af8e99999993f for WebhookResponseUpdateSensors: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:16.792 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:16.792 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:16.805 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 20), server(9999999305354b6d984af8e99999993f), type(WebhookResponseUpdateSensors), request(WebhookRequest(type: "update_sensor_states", data: [["type": "sensor", "attributes": ["Confidence": "High", "Types": ["Walking"]], "icon": "mdi:walk", "state": "Walking", "unique_id": "activity"], ["unique_id": "pedometer_distance", "state": 10329, "icon": "mdi:hiking", "type": "sensor"], ["state": 15, "type": "sensor", "icon": "mdi:stairs-up", "unique_id": "pedometer_floors_ascended"], ["icon": "mdi:stairs-down", "unique_id": "pedometer_floors_descended", "state": 10, "type": "sensor"], ["type": "sensor", "unique_id": "pedometer_steps", "icon": "mdi:walk", "state": 11971], ["icon": "mdi:speedometer", "unique_id": "pedometer_avg_active_pace", "type": "sensor", "state": 0], ["state": 65, "unique_id": "battery_level", "attributes": [:], "type": "sensor", "icon": "mdi:battery-60"], ["icon": "mdi:battery-60", "attributes": ["Low Power Mode": false], "unique_id": "battery_state", "state": "Not Charging", "type": "sensor"], ["icon": "mdi:database", "state": "11.70", "type": "sensor", "unique_id": "storage", "attributes": ["Available (Opportunistic)": "29.94 GB", "Total": "255.87 GB", "Available (Important)": "70.83 GB", "Available": "11.79 GB"]], ["type": "sensor", "state": "Not Connected", "unique_id": "connectivity_ssid", "icon": "mdi:wifi-off"], ["icon": "mdi:wifi-off", "state": "Not Connected", "type": "sensor", "unique_id": "connectivity_bssid"], ["attributes": ["Cellular Technology": "5G"], "icon": "mdi:signal", "type": "sensor", "state": "Cellular", "unique_id": "connectivity_connection_type"], ["state": "--", "attributes": ["Carrier ID": "9999999999999901", "Allows VoIP": true, "Mobile Country Code": "65535", "ISO Country Code": "--", "Mobile Network Code": "65535", "Carrier Name": "--", "Current Radio Technology": "5G Non-Standalone"], "type": "sensor", "unique_id": "connectivity_sim_1", "icon": "mdi:sim"], ["state": "--", "type": "sensor", "unique_id": "connectivity_sim_2", "icon": "mdi:sim", "attributes": ["Mobile Network Code": "65535", "Allows VoIP": true, "Carrier ID": "9999999999999902", "Carrier Name": "--", "Mobile Country Code": "65535", "ISO Country Code": "--"]], ["unique_id": "geocoded_location", "attributes": ["Administrative Area": "VA", "Country": "United States", "Sub Thoroughfare": "N/A", "Time Zone": "America/New_York", "Location": [38.99999999999999, -77.99999999999999], "Thoroughfare": "N/A", "Name": "Hal & Berni Hanson Regional Park", "Postal Code": "20105", "Areas Of Interest": ["Hal & Berni Hanson Regional Park"], "Zones": [], "Sub Locality": "N/A", "ISO Country Code": "US", "Locality": "Aldie", "Sub Administrative Area": "Loudoun County", "Inland Water": "N/A", "Ocean": "N/A"], "icon": "mdi:map", "state": "Aldie VA 20105\nUnited States", "type": "sensor"], ["state": false, "type": "binary_sensor", "icon": "mdi:moon-waning-crescent", "unique_id": "focus"], ["unique_id": "last_update_trigger", "icon": "mdi:cellphone-wireless", "type": "sensor", "state": "Geographic Region Entered"]], localMetadata: nil))
2024-05-24 14:38:17.237 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 9999999305354b6d984af8e99999993f for WebhookResponseUpdateSensors: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:17.238 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:17.238 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:17.309 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 9999999305354b6d984af8e99999993f for WebhookResponseLocation: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:17.309 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:17.309 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:17.310 [Info] [main] [ZoneManager.swift:87] log(state:) > didIgnore(ZoneManagerEvent(locationChange([<+38.99999997,-77.99999993> +/- 167.00m (speed -1.00 mps / course -1.00) @ 5/24/24, 2:38:14 PM Eastern Daylight Time])), HomeAssistant.ZoneManagerIgnoreReason.recentlyUpdated)
2024-05-24 14:38:17.310 [Error] [main] [ZoneManager.swift:112] perform(event:) > final error for ZoneManagerEvent(locationChange([<+38.99999997,-77.99999993> +/- 167.00m (speed -1.00 mps / course -1.00) @ 5/24/24, 2:38:14 PM Eastern Daylight Time])): recentlyUpdated
2024-05-24 14:38:17.310 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > locationUpdate: Didn't update: recent location update already occurred ["error": recentlyUpdated, "start_ssid": none, "event": ZoneManagerEvent(locationChange([<+38.99999997,-77.99999993> +/- 167.00m (speed -1.00 mps / course -1.00) @ 5/24/24, 2:38:14 PM Eastern Daylight Time]))]
2024-05-24 14:38:17.322 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
2024-05-24 14:38:17.322 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > locationUpdate: Updated location ["event": ZoneManagerEvent(region(CLCircularRegion (identifier:'9999999305354b6d984af8e99999993f/zone.mtes', center:<+38.99999990,-77.99999993>, radius:146.00m), inside), 9999999305354b6d984af8e99999993f/zone.mtes), "start_ssid": none]
2024-05-24 14:38:18.866 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
2024-05-24 14:38:18.866 [Info] [main] [WebhookManager.swift:223] sendEphemeral(server:request:) > sending to 9999999305354b6d984af8e99999993f: WebhookRequest(type: "fire_event", data: ["event_type": "ios.zone_exited", "event_data": ["sourceDeviceID": "Names_iphone_13", "sourceDevicePermanentID": "9E656803-C5F1-46CD-89D2-8F99D9999999", "sourceDeviceName": "Name’s iPhone 13b", "zone": "zone.home"]], localMetadata: nil)
2024-05-24 14:38:18.866 [Info] [main] [ZoneManager.swift:87] log(state:) > didReceive(ZoneManagerEvent(region(CLCircularRegion (identifier:'9999999305354b6d984af8e99999993f/zone.home', center:<+38.99999990,-77.99999990>, radius:100.00m), outside), 9999999305354b6d984af8e99999993f/zone.home))
2024-05-24 14:38:18.880 [Verbose] [main] [CLLocationManager+OneShotLocation.swift:256] locationManager(_:didUpdateLocations:) > got raw locations [<+38.99999990,-77.99999995> +/- 22.85m (speed 3.55 mps / course 67.15) @ 5/24/24, 2:38:18 PM Eastern Daylight Time] and turned into potential: [coordinate CLLocationCoordinate2D(latitude: 38.999999999999996, longitude: -77.99999999999999) accuracy 22.999999999999992 from 2024-05-24 18:38:18 +0000 quality perfect]
2024-05-24 14:38:18.880 [Info] [main] [CLLocationManager+OneShotLocation.swift:230] checkPotentialLocations(outOfTime:) > Got a perfect location!
2024-05-24 14:38:18.886 [Info] [main] [HAAPI.swift:533] SubmitLocation(updateType:location:zone:) > Location update payload: ["speed": 3.999999999999994, "battery": 65, "vertical_accuracy": 8.0, "gps_accuracy": 22.999999999999992, "gps": [38.999999999999995, -77.99999999999999], "course": 67.9999999, "altitude": 121.99999999999999]
2024-05-24 14:38:18.900 [Info] [webhookmanager-data] [WebhookManager.swift:305] send(identifier:server:request:) > in background, choosing to not use background session
2024-05-24 14:38:18.904 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: non-background, task: 55), server(9999999305354b6d984af8e99999993f), type(WebhookResponseLocation), request(WebhookRequest(type: "update_location", data: ["speed": 3.999999999999994, "battery": 65, "vertical_accuracy": 8.0, "gps_accuracy": 22.999999999999992, "gps": [38.999999999999995, -77.99999999999999], "course": 67.9999999, "altitude": 121.99999999999999], localMetadata: Optional(["trigger": "Geographic Region Exited", "zone_name": "Home"])))
2024-05-24 14:38:18.904 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <1EAD67EC-5C71-4E4D-A53E-7DA672CE0356>.<54> (nil)
2024-05-24 14:38:18.987 [Info] [main] [HAAPI.swift:795] UpdateSensors(trigger:limitedTo:location:) > updating sensors ["activity", "pedometer_distance", "pedometer_floors_ascended", "pedometer_floors_descended", "pedometer_steps", "pedometer_avg_active_pace", "battery_level", "battery_state", "storage", "connectivity_ssid", "connectivity_bssid", "connectivity_connection_type", "connectivity_sim_2", "connectivity_sim_1", "geocoded_location", "focus", "last_update_trigger"]
2024-05-24 14:38:18.987 [Info] [webhookmanager-data] [WebhookManager.swift:305] send(identifier:server:request:) > in background, choosing to not use background session
2024-05-24 14:38:18.989 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: non-background, task: 56), server(9999999305354b6d984af8e99999993f), type(WebhookResponseUpdateSensors), request(WebhookRequest(type: "update_sensor_states", data: [["attributes": ["Confidence": "High", "Types": ["Walking"]], "unique_id": "activity", "state": "Walking", "type": "sensor", "icon": "mdi:walk"], ["type": "sensor", "unique_id": "pedometer_distance", "icon": "mdi:hiking", "state": 10334], ["state": 15, "type": "sensor", "icon": "mdi:stairs-up", "unique_id": "pedometer_floors_ascended"], ["unique_id": "pedometer_floors_descended", "icon": "mdi:stairs-down", "type": "sensor", "state": 10], ["type": "sensor", "state": 11979, "unique_id": "pedometer_steps", "icon": "mdi:walk"], ["state": 0, "icon": "mdi:speedometer", "type": "sensor", "unique_id": "pedometer_avg_active_pace"], ["icon": "mdi:battery-60", "type": "sensor", "attributes": [:], "unique_id": "battery_level", "state": 65], ["icon": "mdi:battery-60", "state": "Not Charging", "attributes": ["Low Power Mode": false], "type": "sensor", "unique_id": "battery_state"], ["icon": "mdi:database", "attributes": ["Available": "11.79 GB", "Available (Opportunistic)": "29.94 GB", "Available (Important)": "70.83 GB", "Total": "255.87 GB"], "state": "11.70", "type": "sensor", "unique_id": "storage"], ["unique_id": "connectivity_ssid", "type": "sensor", "icon": "mdi:wifi-off", "state": "Not Connected"], ["icon": "mdi:wifi-off", "unique_id": "connectivity_bssid", "state": "Not Connected", "type": "sensor"], ["icon": "mdi:signal", "state": "Cellular", "attributes": ["Cellular Technology": "5G"], "type": "sensor", "unique_id": "connectivity_connection_type"], ["type": "sensor", "icon": "mdi:sim", "state": "--", "unique_id": "connectivity_sim_2", "attributes": ["ISO Country Code": "--", "Mobile Network Code": "65535", "Allows VoIP": true, "Mobile Country Code": "65535", "Carrier ID": "9999999999999902", "Carrier Name": "--"]], ["icon": "mdi:sim", "attributes": ["Carrier ID": "9999999999999901", "ISO Country Code": "--", "Mobile Country Code": "65535", "Current Radio Technology": "5G Non-Standalone", "Allows VoIP": true, "Carrier Name": "--", "Mobile Network Code": "65535"], "unique_id": "connectivity_sim_1", "type": "sensor", "state": "--"], ["state": "Aldie VA 20105\nUnited States", "unique_id": "geocoded_location", "attributes": ["Inland Water": "N/A", "Postal Code": "20105", "Locality": "Aldie", "Administrative Area": "VA", "Country": "United States", "Sub Administrative Area": "Loudoun County", "ISO Country Code": "US", "Sub Thoroughfare": "N/A", "Time Zone": "America/New_York", "Sub Locality": "N/A", "Areas Of Interest": ["Hal & Berni Hanson Regional Park"], "Ocean": "N/A", "Thoroughfare": "N/A", "Zones": [], "Name": "Hal & Berni Hanson Regional Park", "Location": [38.999999999999995, -77.99999999999999]], "type": "sensor", "icon": "mdi:map"], ["state": false, "unique_id": "focus", "icon": "mdi:moon-waning-crescent", "type": "binary_sensor"], ["unique_id": "last_update_trigger", "type": "sensor", "icon": "mdi:cellphone-wireless", "state": "Geographic Region Exited"]], localMetadata: nil))
2024-05-24 14:38:18.989 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <1EAD67EC-5C71-4E4D-A53E-7DA672CE0356>.<54> (nil)
2024-05-24 14:38:19.124 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 9999999305354b6d984af8e99999993f for WebhookResponseLocation: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.124 [Error] [webhookmanager-data] [WebhookManager.swift:307] send(identifier:server:request:) > in-background non-background failed: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.124 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.124 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.128 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 21), server(9999999305354b6d984af8e99999993f), type(WebhookResponseLocation), request(WebhookRequest(type: "update_location", data: ["speed": 3.999999999999994, "battery": 65, "vertical_accuracy": 8.0, "gps_accuracy": 22.999999999999992, "gps": [38.999999999999995, -77.99999999999999], "course": 67.9999999, "altitude": 121.99999999999999], localMetadata: Optional(["trigger": "Geographic Region Exited", "zone_name": "Home"])))
2024-05-24 14:38:19.128 [Error] [webhookmanager-data] [WebhookManager.swift:540] responseInfo(from:) > no persisted info for LocalUploadTask <1EAD67EC-5C71-4E4D-A53E-7DA672CE0356>.<54> (nil)
2024-05-24 14:38:19.141 [Error] [main] [WebhookManager.swift:265] sendEphemeral(server:request:) > got failure from 9999999305354b6d984af8e99999993f for fire_event: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.141 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.257 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 9999999305354b6d984af8e99999993f for WebhookResponseUpdateSensors: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.257 [Error] [webhookmanager-data] [WebhookManager.swift:307] send(identifier:server:request:) > in-background non-background failed: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.257 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.258 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.270 [Info] [webhookmanager-data] [WebhookManager.swift:402] send(on:server:identifier:request:waitForResponse:) > starting request: taskKey(session: webhook-io.robbie.HomeAssistant, task: 22), server(9999999305354b6d984af8e99999993f), type(WebhookResponseUpdateSensors), request(WebhookRequest(type: "update_sensor_states", data: [["attributes": ["Confidence": "High", "Types": ["Walking"]], "unique_id": "activity", "state": "Walking", "type": "sensor", "icon": "mdi:walk"], ["type": "sensor", "unique_id": "pedometer_distance", "icon": "mdi:hiking", "state": 10334], ["state": 15, "type": "sensor", "icon": "mdi:stairs-up", "unique_id": "pedometer_floors_ascended"], ["unique_id": "pedometer_floors_descended", "icon": "mdi:stairs-down", "type": "sensor", "state": 10], ["type": "sensor", "state": 11979, "unique_id": "pedometer_steps", "icon": "mdi:walk"], ["state": 0, "icon": "mdi:speedometer", "type": "sensor", "unique_id": "pedometer_avg_active_pace"], ["icon": "mdi:battery-60", "type": "sensor", "attributes": [:], "unique_id": "battery_level", "state": 65], ["icon": "mdi:battery-60", "state": "Not Charging", "attributes": ["Low Power Mode": false], "type": "sensor", "unique_id": "battery_state"], ["icon": "mdi:database", "attributes": ["Available": "11.79 GB", "Available (Opportunistic)": "29.94 GB", "Available (Important)": "70.83 GB", "Total": "255.87 GB"], "state": "11.70", "type": "sensor", "unique_id": "storage"], ["unique_id": "connectivity_ssid", "type": "sensor", "icon": "mdi:wifi-off", "state": "Not Connected"], ["icon": "mdi:wifi-off", "unique_id": "connectivity_bssid", "state": "Not Connected", "type": "sensor"], ["icon": "mdi:signal", "state": "Cellular", "attributes": ["Cellular Technology": "5G"], "type": "sensor", "unique_id": "connectivity_connection_type"], ["type": "sensor", "icon": "mdi:sim", "state": "--", "unique_id": "connectivity_sim_2", "attributes": ["ISO Country Code": "--", "Mobile Network Code": "65535", "Allows VoIP": true, "Mobile Country Code": "65535", "Carrier ID": "9999999999999902", "Carrier Name": "--"]], ["icon": "mdi:sim", "attributes": ["Carrier ID": "9999999999999901", "ISO Country Code": "--", "Mobile Country Code": "65535", "Current Radio Technology": "5G Non-Standalone", "Allows VoIP": true, "Carrier Name": "--", "Mobile Network Code": "65535"], "unique_id": "connectivity_sim_1", "type": "sensor", "state": "--"], ["state": "Aldie VA 20105\nUnited States", "unique_id": "geocoded_location", "attributes": ["Inland Water": "N/A", "Postal Code": "20105", "Locality": "Aldie", "Administrative Area": "VA", "Country": "United States", "Sub Administrative Area": "Loudoun County", "ISO Country Code": "US", "Sub Thoroughfare": "N/A", "Time Zone": "America/New_York", "Sub Locality": "N/A", "Areas Of Interest": ["Hal & Berni Hanson Regional Park"], "Ocean": "N/A", "Thoroughfare": "N/A", "Zones": [], "Name": "Hal & Berni Hanson Regional Park", "Location": [38.999999999999995, -77.99999999999999]], "type": "sensor", "icon": "mdi:map"], ["state": false, "unique_id": "focus", "icon": "mdi:moon-waning-crescent", "type": "binary_sensor"], ["unique_id": "last_update_trigger", "type": "sensor", "icon": "mdi:cellphone-wireless", "state": "Geographic Region Exited"]], localMetadata: nil))
2024-05-24 14:38:19.729 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 9999999305354b6d984af8e99999993f for WebhookResponseUpdateSensors: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.730 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.730 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.762 [Error] [main] [WebhookManager.swift:633] urlSession(_:task:didCompleteWithError:) > failed request to 9999999305354b6d984af8e99999993f for WebhookResponseLocation: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.762 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.763 [Info] [main] [Environment.swift:54] init() > PromiseKit:cauterized-error: Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
2024-05-24 14:38:19.770 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
2024-05-24 14:38:19.771 [Info] [main] [ClientEventStore.swift:8] ClientEventStore > locationUpdate: Updated location ["start_ssid": none, "event": ZoneManagerEvent(region(CLCircularRegion (identifier:'9999999305354b6d984af8e99999993f/zone.home', center:<+38.99999990,-77.99999990>, radius:100.00m), outside), 9999999305354b6d984af8e99999993f/zone.home)]
2024-05-24 14:38:20.187 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:20.187 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:20.187 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:20.188 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:20.188 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:20.188 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:20.188 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:20.188 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:20.188 [Info] [hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 124)
2024-05-24 14:38:20.202 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMZone server(9999999305354b6d984af8e99999993f) from(5) eligible(5) deleted(0) ignored(0) new(0)
2024-05-24 14:38:20.209 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMZone server(9999999305354b6d984af8e99999993f) from(5) eligible(5) deleted(0) ignored(0) new(0)
2024-05-24 14:38:20.213 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMZone server(9999999305354b6d984af8e99999993f) from(5) eligible(5) deleted(0) ignored(0) new(0)
2024-05-24 14:38:20.214 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
2024-05-24 14:38:20.215 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMZone server(9999999305354b6d984af8e99999993f) from(5) eligible(5) deleted(0) ignored(0) new(0)
2024-05-24 14:38:20.218 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMZone server(9999999305354b6d984af8e99999993f) from(5) eligible(5) deleted(0) ignored(0) new(0)
2024-05-24 14:38:20.220 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
2024-05-24 14:38:20.221 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMZone server(9999999305354b6d984af8e99999993f) from(5) eligible(5) deleted(0) ignored(0) new(0)
2024-05-24 14:38:20.223 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMZone server(9999999305354b6d984af8e99999993f) from(5) eligible(5) deleted(0) ignored(0) new(0)
2024-05-24 14:38:20.225 [Verbose] [com.apple.root.user-initiated-qos] [ModelManager.swift:316] store(type:from:sourceModels:) > updating RLMZone server(9999999305354b6d984af8e99999993f) from(5) eligible(5) deleted(0) ignored(0) new(0)
2024-05-24 14:38:20.225 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
2024-05-24 14:38:20.230 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
2024-05-24 14:38:20.231 [Info] [main] [ZoneManager.swift:191] sync(zones:) > available 5, enabled true, monitoring 5 ((beacon: 0, circular: 5, zone: 5)), started 0, ended 0
DarthGaymer commented 2 months ago

I am having the same issue with a similar setup, however I have noticed that Home Assistant remains stuck on reporting the App Version as 2024.8 even though the current version of the app is 2024.8.3

image

It appears that the app does not correctly send data over a cellular connection and/or Home Assistant does not receive the data that was sent.

bgoncal commented 2 months ago

@DarthGaymer Current App version is 2024.8.1 (released today) so yours is correctly reported

bgoncal commented 2 months ago

@Nelluk I see you have

"state": "Aldie VA 20105\nUnited States",
"unique_id": "geocoded_location",

being reported, perhaps the \n is breaking the logic (of course if that's the case we can fix this), does this also happens when the location reported is something else?

Nelluk commented 2 months ago

@bgoncal You helped me resolve this on the HA Discord - it ended up being Cloudflare tunneling blocking the location updates when not on home wifi. Thanks again.