项目作者: OnionIoT

项目描述 :
Use surrounding WiFi networks to find the geolocation of the device
高级语言: Python
项目地址: git://github.com/OnionIoT/wifi-geolocation.git
创建时间: 2017-06-15T19:02:24Z
项目社区:https://github.com/OnionIoT/wifi-geolocation

开源协议:GNU General Public License v3.0

下载


wifi-geolocation

WiFi geolocation using WiFi Accesspoints
Requires Omega2 Plus, Omega expansion dock and Omega Oled expansion.

Installation

  1. Generate your google API Key to use with the application by following the link :
    https://developers.google.com/maps/documentation/geolocation/get-api-key

  2. Install the required software packages:

Python2:

  1. ```
  2. opkg update
  3. opkg install python-light pyOledExp python-urllib3
  4. ```

Python3:

  1. opkg update
  2. opkg install python3-light python3-oled-exp python3-pip
  3. pip3 install urllib3
  1. Edit the config.json file to add the generated API Key and save the file

  2. Run the following command:

  • python /root/wifi-geolocation/main.py

The program will now scan the surroundings for WiFi networks, use the Google Maps API to find the GPS location, and display the GPS coordinates