Is there an API, shell command or AppleScript for getting an accurate reading of the current WiFi strength in Mac OSX?
FYI I can also open a browser and use JavaScript if it has that value available.
What I'm trying to do is check WiFi strength for different spots in my kitchen or living room. I need to check WiFi strength for each spot. If it's low I move to a new spot. The WiFi bars that OSX displays is not enough data for me.
There is a built-in airport command which will do it. It's location is:
For convenience, you can create a link which will let you run the command from anywhere.
To get info about the current wireless network
http://osxdaily.com/2007/01/18/airport-the-little-known-command-line-wireless-utility/
Assuming you've created the link, an AppleScript that converts the value to percentage and displays a notification: