Get Signal Strength of all available Access Points

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
User avatar
Uli
Posts: 14
Joined: 30 Mar 2019 21:10

Get Signal Strength of all available Access Points

Post by Uli » 25 Sep 2019 05:01

Hi,

I try to make my question shorter.

I need a function, which gets the signal strengt of all available access points, without connecting to them.

I hope that there is a possibility.

Thank you very much!!!

Kind regards
Uli

xdauser
Posts: 35
Joined: 05 Aug 2015 17:55

Re: Get Signal Strength of all available Access Points

Post by xdauser » 25 Sep 2019 11:10


User avatar
Uli
Posts: 14
Joined: 30 Mar 2019 21:10

Re: Get Signal Strength of all available Access Points

Post by Uli » 29 Sep 2019 11:09

Hi xdauser,

thank you very much for your hint.
I tried it. But I am only a "normal" person, which is able to write some lines of code, but I am no programmer. :D So I have my problems :( ... But nevertheless ... thank you very mu h for this hint!!!
;)

Kind regards
Uli

vertigo
Posts: 147
Joined: 28 Oct 2018 00:28

Re: Get Signal Strength of all available Access Points

Post by vertigo » 07 Oct 2019 13:04

I came to post a few requests, and this is one of them. I actually already saw the other thread linked here while looking into this, but while I can sometimes make enough sense of posted code to make use of it, and I might be able to do so with that, it would be much, much easier, and more user-friendly, to have a built-in way to do this. Even if half the users could do it with the code (and I suspect that's a high estimate), that leaves half unable to do so.

I'm trying to make a flow to enter DND at night, which starts checking at a certain time first for my home WiFi (to see if I'm home or out) and then if I'm still up or in bed. The best way I can think of or find to do this would be with WiFi strength, since the bedroom is farther from the router, but even when I go in there, or in other rooms equally far away, the strength still stays mostly at level four, with one brief dip down to level 3. I have an alarm app that requires you to be within a certain range of the router before you can dismiss it, which shows the change in signal strength in real-time and with pretty good sensitivity while setting it up, so it clearly is possible. I tried using the light sensor and sound level, but neither seem like they would be reliable. BTW, I realize I can set DND to turn on and off at certain times in the phone settings, but that's completely unreliable, as I'll find DND on in the middle of the day all the time, and I'd like to make something that's more flexible, adjusting to me. Another possible use of this, if it were more sensitive to change, i.e. more analog/continuous vs digital with just four discrete levels that also don't seem to be broken up well (it sort of seems like level four is 30-100% strength and the other levels are the lower 30%), would be to possibly use the strength to determine if I'm getting in the car (weak from being in the garage but not disconnected) and start doing checks on that assumption, without having to wait until it actually disconnects, which can delay it until driving 20-30m or more. Though I'm guessing that keeping an eye on this to use it as a trigger would be a battery drain.

Locked