Are you working in the IoT space and looking for the ideal platform to collect, visualise and report that data?
This series get you started with implementing LoRa into PRTG. I will show you how to collect end device data and send it to PRTG for alerting, visualisation and reporting.
The term IoT - Internet of Things gets used a lot, but what does it actually mean? In a nut shell, the concept of IoT involves network connectivity with physical devices (Electronic home devices, Thermometers, Relays, Flame detection, etc) which would have worked in a previous life as standalone devices.
For example, with an IoT enabled AC unit, turning on the system would be as easy as unlocking your smartphone and clicking on the AC app. Rather than...dragging yourself out of bed in the middle of the night, stepping over lego pieces, reaching over rubbing and patting the wall to finally lay hands on a waiting cockroach...screaming and turning on the AC.
First, you need a LoRa development kit followed by a running instance of PRTG.
The Dragino manual will also come in handy.
Once the dev kit arrives and PRTG is installed, unbox and wire up the components as follows:
Setup - PRTG:
Setup - Arduino IDE:
Once installed, make sure to add dragino libraries and other specifics (Page 18 of Dragino manual)
Setup LoRa Gateway(LG01)
Make sure to connect Dragino WAN port to LAN port of your router with internet access.
Power up the gateway(LG01) and on first boot will generate an unsecure WiFi network called dragino2-xxxxxx.
Connect to the newly created WiFi network and your laptop will automatically be allocated an address in the range of 10.130.1.xxx The LG01 has a default IP 10.130.1.1 (It is recommended to also setup WiFi security).
Once connected lets upload the custom arduino sketch to make the LG01 communicate with the LoRa node and send data directly to PRTG.
Upload Arduino Sketches To Both LoRa Node And LG01
Use the following custom scripts and Link to custom arduino PRTG scripts
(Start from page 17 of Dragino manual)
Test connection between LoRa node and gateway.
Check For Connectivity Between node <> gateway <> prtg
Tools > Serial monitor
SSH into LG01 gateway and run the command. Telnet localhost 6571.
Once the data starts arriving in PRTG, you can setup threshold alerting, visualise the data with other PRTG sensor data, report on that data and also trigger actions on other devices such as changing the AC temperature, turning on recording for a camera etc.