You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Hello,
Today, using the community integration “Autenthicated” helps to check who’s connected to HA. But this is quite difficult to filter out if the logons are from an external authorized device or from some sort of hackers. This is because the ip that this integration return is a Public IP and the location information is very inaccurated. Per definition, the public IP of our own mobile device is not fixed. It changes when we move from an antenna to another one, when we turn on again the mobile… The Public IP cannot be static for any mobile device.
This feature request has been also published there
Describe the solution you'd like
Would it be possible to return Public IP for sensor.ssid when iOS device is not at home.
This information might be easily get in json through a webervice as ipify.org.
This would be really helpful to detect who’s logged on homeassistant from outside home.
With this feature, if we create in HA an automation that send to the mobile device a request to get its Public IP (through sensor.ssid and Requesting location updates Notification), we would be able to dynamically correlate logon in HA with the current Public IP of the mobile device. So, we might remove the corresponding persistent data from ip_authenticated.yaml.
Describe alternatives you've considered
I thought using iOs shortcuts to get the Public IP and return it to HA but I cannot think a way to trigger an event from HA on iOS to launch the corresponding iOS shortcut, get the IP and send it back to HA.
This discussion was converted from issue #570 on July 18, 2021 04:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is your feature request related to a problem? Please describe.
Hello,
Today, using the community integration “Autenthicated” helps to check who’s connected to HA. But this is quite difficult to filter out if the logons are from an external authorized device or from some sort of hackers. This is because the ip that this integration return is a Public IP and the location information is very inaccurated. Per definition, the public IP of our own mobile device is not fixed. It changes when we move from an antenna to another one, when we turn on again the mobile… The Public IP cannot be static for any mobile device.
This feature request has been also published there
Describe the solution you'd like
Would it be possible to return Public IP for sensor.ssid when iOS device is not at home.
This information might be easily get in json through a webervice as ipify.org.
This would be really helpful to detect who’s logged on homeassistant from outside home.
With this feature, if we create in HA an automation that send to the mobile device a request to get its Public IP (through sensor.ssid and Requesting location updates Notification), we would be able to dynamically correlate logon in HA with the current Public IP of the mobile device. So, we might remove the corresponding persistent data from ip_authenticated.yaml.
Describe alternatives you've considered
I thought using iOs shortcuts to get the Public IP and return it to HA but I cannot think a way to trigger an event from HA on iOS to launch the corresponding iOS shortcut, get the IP and send it back to HA.
Additional context
Thanks for considering this feature.
Beta Was this translation helpful? Give feedback.
All reactions