-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile App: report location should only allow location + battery #21761
Comments
At a minimum the iOS app would also need to be able to still send There are a number of location related attributes that the iOS app sends which users have found valuable that are outside of the standard
Do you have any thoughts on allowing these to still be sent? If I had to choose only one to keep, it would be Everything else we currently send as part of |
Okay, so thinking more about those extra attributes, I'll leave them out for now and expose them all via sensors (#21782) instead. Limited schema work at robbiet480@2b0658a |
@balloob So when we call |
we should generate a registration iD for the device ID. I'm fine with including speed, altitutde etc. Those can be useful. Source type should always be GPS, as that's what mobile devices use. Location name, shouldn't we resolve that using zones? Consider home, isn't that done by mapping GPS to the home zone at backend? |
Source type can be Location name is set by the app for situations in which a iBeacon doesn't have defined coordinates like its in a car. We set Consider Home to 180 seconds for iBeacon exits to resolve some issues people have had with the iOS app jumping in and out of the zone. |
I think that iBeacon sightings might have to be processed via the iOS extension |
iBeacon exists on Android though too... |
Wwe should not premature standardize, let's first see what things are in demand. |
It's a non-breaking change to move something from ios to mobile_app if the API stays the same |
The current report location is just a wrapper around
device_tracker.see
. We should only allow sending ingps
,gps_accuracy
andbattery
. All other data should be filled in on the server side with details from the registration.See API docs for how it should be: https://developers.home-assistant.io/docs/en/app_integration_sending_data.html#update-device-location
The text was updated successfully, but these errors were encountered: