home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.24k stars 626 forks source link

Mobile Network Strength Sensor #4572

Closed camsaway closed 3 days ago

camsaway commented 1 month ago

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

Not a problem. But more information I want access to. I want to be able to track mobile network availability and signal quality.

Describe the solution you'd like

The Phone Sensor -SIM1 and SIM2 to have extra attribute(s) that show mobile network Strength and connection mode, etc.

Describe alternatives you've considered, if any

I don't have any other ideas/alternatives.

Additional context

Below screenshot from network cell info shows the things I'd like to track RSRP (signal strength) and DataNetwork(e.g. LTE, 5G, etc)

Screenshot_20240811_144732_Network Cell Info Lite

igorsantos07 commented 1 month ago

If the attributes are already there, you could simply create a template sensor exposing those values directly as a sensor, and on new HA versions, even link it to the original device.

Edit: although I enabled my SIM sensor and I don't see signal data in the attributes 🤔

Network type would indeed be useful.

dshokouhi commented 1 month ago

a sensor like this would never update immediately, it would update during the normal sensor update interval. Would that even be useful here?

camsaway commented 1 month ago

Unfortunately the attributes aren't there yet. That's what this request is for. (Screenshot is from another app to show that the data does exist)

In terms of frequency, it's a fair point. I hadn't considered that. 15min default update and 1 min fast update should do for my use case though I think. I'm not trying to create some sort of coverage mapping tool.

So in short, I still think it would be useful to add the attribute.

Regards

Cameron Gray

079 528 4802

@.***

https://www.linkedin.com/in/camerongray76

On Sun, 11 Aug 2024, 18:24 Daniel Shokouhi, @.***> wrote:

a sensor like this would never update immediately, it would update during the normal sensor update interval. Would that even be useful here?

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/android/issues/4572#issuecomment-2282811578, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANNRNCO6LHYZWUDV5ZLJHATZQ6F3TAVCNFSM6AAAAABMKXLBJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSHAYTCNJXHA . You are receiving this because you authored the thread.Message ID: @.***>

dshokouhi commented 1 month ago

The Phone Sensor -SIM1 and SIM2 to have extra attribute(s) that show mobile network Strength and connection mode, etc.

this should not be an attribute but a separate sensor for signal strength

camsaway commented 1 month ago

Happy either way but all the other info is as attributes under the SIM card sensor (with multiple simcards you will get multiple values) so I was just proposing to continue this pattern.

Regards

Cameron Gray

079 528 4802

@.***

https://www.linkedin.com/in/camerongray76

On Mon, 12 Aug 2024, 03:39 Daniel Shokouhi, @.***> wrote:

The Phone Sensor -SIM1 and SIM2 to have extra attribute(s) that show mobile network Strength and connection mode, etc.

this should not be an attribute but a separate sensor for signal strength

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/android/issues/4572#issuecomment-2282986921, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANNRNCMBZCASTNOGFVIDXT3ZRAG6ZAVCNFSM6AAAAABMKXLBJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSHE4DMOJSGE . You are receiving this because you authored the thread.Message ID: @.***>