Skip to content

bytebang/geolocation2mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

geolocation2mqtt

This project implements a HTML5 geolocation-API based position tracker which sends the current position as JSON via MQTT to the specified topic. Therefore it enables you to use your smartphone, tablet or laptop with webcam to be used as cheap tracking device in the IoT environment.

Installing

You do not need to install anything. Just visit the following link and use it:

Try the latest live demo

Note: The application behind this link points to the most recent version of the application. It will improove / change in the future - so dont expect a stable version here.

If you need a stable version then download the source file to your device and open it from there.

Using

The default parameters are pointing to a public broker with (more ore less) meaningful default values. However, you can set any of the GUI values using URL parameters. For example https://raw.githack.com/bytebang/geolocation2mqtt/master/tracker.html?host=something.noip.org&port=8080&tls=false&topic=house/1st_floor/signaling&lastWill=This is the end will give you the latest version of the scanner which points to the broker something.noip.org at the port 8080 without TLS and house/1st_floor/signaling as the suggested topic. If the scanner is disconnected, then the last will This is the end will be published.

Compatibility

I have tested the app with chrome on Android and Firefox & Chrome under Linux. It should work with other versions too. If you have any questions or wishes then please create an issue here in github.

Credits

It is entirely written in Javascript and utilizes the following components:

License

Copyright, 2020 bytebang e.U. MIT License. See LICENSE for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages