Skip to content
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

Using cell towers as an alternative to geolocation. #4368

Open
MeGilles opened this issue Apr 28, 2024 · 1 comment · May be fixed by #4380
Open

Using cell towers as an alternative to geolocation. #4368

MeGilles opened this issue Apr 28, 2024 · 1 comment · May be fixed by #4380
Labels
enhancement New feature or request sensor-tracking

Comments

@MeGilles
Copy link

Is your feature request related to a problem? Please describe.

I use the "minimal" F-droid version of the app and geolocation is not (yet) an option. #1511
As a workaround, when there is wifi it is possible to use the wifi_connection sensor which exposes the name of the current connected network.
However this method can't be used in places where there is no wifi. (e. g., workplace)

Describe the solution you'd like

The ha app could offer a similar mechanism with cell towers, by reporting the id of the cell tower the phone is connected to.
The automate app in the play store already offers this feature with the Cell tower near decision block : https://llamalab.com/automate/doc/block/cell_site_near.html

Describe alternatives you've considered, if any

Additional context

I am wondering if this feature interests people, if it is feasible reliably (the automate documentation warns that some devices only report cells when the screen is lit)
I have no development experience on android but I am willing to try and implement it if this feature shows some interest.

@MeGilles MeGilles added the enhancement New feature or request label Apr 28, 2024
@dshokouhi
Copy link
Member

This might be a cool neat feature but I am not really sure what API is being used here. Is it possibly CellIdentity?

https://developer.android.com/reference/android/telephony/CellIdentity

🤔

@MeGilles MeGilles linked a pull request May 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sensor-tracking
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants