Giter VIP home page Giter VIP logo

sigfoxwifigeoloc's Introduction

Geolocation without GPS, transmitted to your server without GSM nor Wi-Fi

Its is kind of magic. By combining the Unwired Labs Wifi fingerprints API with the Sigfox transmission network, you get a geolocation device that knows where you are without the need of a GPS device, and transmits your location to a server without GSM nor Wi-Fi connection.

Ten minutes after you plug your Raspberry Pi, it will start to transmit every 10 minutes the two first Wi-Fi BSSID detected. Sigfox will forward these to your server. A php script will query the Unwired Labs database, which will return the location (lat/lon/accuracy), that you can use for your own purposes.

Just follow the steps !

You need

Hardware

Software

  1. sendsigfox.py, from the repository rpisigfox
  2. loc.sh, that will run on the Raspberry Pi
  3. from_sigfox.php, that will run on your web server

Services

  • When buying the Yadom Rpi Sigfox card, you get a one-year subscription to the service telemesure.net
  • A token from Unwired Labs (as a developer, you get 50 free per day)
  • 1 webserver that can run php scripts and execute curl commands

How to proceed

  1. Start from an working Raspberry Pi
  2. Assemble the sigfox module, the antenna & the pi
  3. Follow the steps on the repository rpisigfox to configure your pi
  4. Put sendsigfox.py in /home/pi
  5. Put loc.sh in /home/pi
  6. in from_sigfox.php, change "00000000000000" to be your token from unwiredlabs
  7. Do something with the $ret variable (eg : put the data in a database)
  8. put from_sigfox.php on your webserver
  9. configure the callback on telemesure.net. Be sure to choose the 'POST' method
  10. On your Raspberry pi : sudo crontab -e, and add the following line : */10 * * * * /home/pi/loc.sh

And that's it !

Ten minutes after you plug your Raspberry Pi, it will start to transmit every 10 minutes the two first Wi-Fi BSSID detected. Sigfox will forward these to your server. The php script will query the Unwired Labs database, which will return the location (lat/lon/accuracy), that you can use for your own purposes.

sigfoxwifigeoloc's People

Contributors

ccloquet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sigfoxwifigeoloc's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.