Sign inSign up

ifroglab/loragateway

By ifroglab

Updated over 9 years ago

LoRaGateWay, PHP, MySQL, myphpadmin, Dashboard

Image
3

10K+

ifroglab/loragateway repository overview

#.LoRa Gateway from iFrogLab now offers Docker Container, #.For developers and users of LoRa USB Dongle, your machine could become LoRa gateway at short time #. Port 80 is for Web #. Port 3306 is for MySQL #. Port 1883 is for MQTT mosquitto (option, if youwant setup local MQTT server port) #. /dev/ttyACM0 is iFrogLab LoRa USB

LoRa Gateway's Service Python Server program handles LoRa data transfer in the background. Dashboard shows LoRa passed information http: //localhost/index.php location in /var/www/html/ PHP Apache2 Web page shows Dashboard program LoRa MySQL to store information, account ifroglab password ifroglab myphpadmin management database, http: // localhost / myphpadmin account root password root MQTT, as long as through the following instructions, we can get the MQTT gateway information, as long as the Internet can be in iOS, Android, Windows, MAC, Linux can get LoRa data, $ mosquitto_sub -d -t ifroglab / mqtt -h test.mosquitto.org -h test.mosquitto.org

How to use it?

  1. connect iFrogLab LoRa USB Dongle to Docker PC.
  2. $ sudo docker pull ifroglab/loragateway:latest
  3. $ sudo docker run -p 82:80 -p 3306:3306 --device=/dev/ttyUSB0 -i -t ifroglab/loragateway:latest /loragateway.sh if you use 920_00 (it is 920.00hz), please use $ docker run -p 82:80 -p 3306:3306 --device=/dev/ttyUSB0 -i -t ifroglab/loragateway:920_00 /loragateway.sh
  4. open http://localhost:82
  5. power on you LoRa Node.
  6. Done. you will see the http://localhost dashboard, and display data from LoRa Node.

This is available at the Docker Hub

The contents are: #.LoRa Gateway's Service Python Server program handles LoRa data passing in the background. #.Dashboard shows LoRa pass over the information http: //localhost/index.php location in / var / www / html / #. PHP uses the Apache2 web page to display the Dashboard program #.MySQL storage LoRa to the information, account ifroglab password ifroglab Myphpadmin management database, http: // localhost / myphpadmin account root password root

MQTT

#. for get the iFrogLab MQTT message, please use below command. gateway will also send the LoRa data though MQTT

Linux lnstall $ sudo apt-get install mosquitto mosquitto-clients Linux Get iFrogLab LoRa Gateway MQTT message $ mosquitto_sub -d -t ifroglab/mqtt -h test.mosquitto.org

Mac Install $ brew install mosquitto Mac Get iFrogLab LoRa Gateway MQTT message $ mosquitto_sub -d -t ifroglab/mqtt -h test.mosquitto.org

Tag summary

Content type

Image

Digest

Size

280.9 MB

Last updated

over 9 years ago

docker pull ifroglab/loragateway