Table of Contents Document Information ........................3 Overview ............................3 Hardware Description ........................3 Setup AWS ............................4 Set up the Gateway .......................... 5 Add End Device(s) ..........................8 Verifying Operation – a “Hello World” example ................8 Debugging ............................12...
2 Overview UG65/UG67 is a robust 8-channel indoor LoRaWAN® gateway. In the LoRaWAN® Gateway series from Milesight IoT, UG65/UG67 both adopt SX1302 as the LoRa module, and high-performance quad-core CPU. UG65/UG67 supports connection with more than 2000 nodes. UG65 has line of sight up to 15km and can cover about 2km in urbanized environment, which is ideally suited to smart office, smart building and many other indoor applications.
4 × Wall Mounting Kits; 3.5 Additional Hardware References Link to its official website for more detail: https://www.milesight-iot.com/lorawan/gateway/ug65/ 4 Setup AWS If you don’t have an AWS account, refer to the instructions in the guide here. The relevant sections are Sign up for an AWS account and Create a user and grant permissions.
5 Set up the Gateway 5.1 Set up Gateway hardware User guide link: https://resource.milesight-iot.com/milesight/document/ug65- user-guide-en.pdf Quick guide link: https://resource.milesight-iot.com/milesight/document/ug65- quick-guide-en.pdf A. Connect the Ethernet cable and power cable to corresponding interfaces. B. Pass two cables through the waterproof silicone and slid into the grooves.
Page 6
Blue Light Static: the system is running properly STATUS System Status Red Light The system goes wrong Packet Forwarder mode is running off LoRa LoRa Status Blue Light Packet Forwarder mode is running well Wi-Fi is disabled Wi-Fi Wi-Fi Status Blue Light Wi-Fi is enabled SIM card is registering or fails to register...
Page 7
Off → Static Blue The gateway is now reset to factory defaults. It is suggested that you contact Milesight technical support first before you upgrade gateway firmware. Gateway firmware file suffix is “.bin”. After getting firmware file, please refer to the following steps to complete the upgrade.
• Packet forwarder is enabled by default, and the destination is its internal network server. Under Multi-Destinations, disable Milesight and enable a Basic Station. • Fill in CUPS URI with what was copied when adding a gateway on AWS IoT for LoRaWAN.
Page 9
Runtime. • Click on Create function. • Navigate to this Link to Milesight IoT’s decoder repository and copy the code for the lambda function. • Under Function code, paste the copied code into the editor under the index.js tab.
Page 10
"Resource": [ "*" o Choose Review Policy, then Save changes • Create a test event that will allow you to test the functionality of the lambda function. Select a test event o In the drop-down for , choose Configure test events o Enter a name for the test event under Event name o Paste the following sample payload in the area under Event name:...
Page 11
• Click on Test in the Lambda function page to generate the test event you just created • Verify the published data in the AWS IoT Core MQTT Test client o Open another window. Go to AWS IoT Console, select Test, under Subscription Topic, enter # and select to Subscribe to topic o The output should look similar to this: 7.2 Create the Destination rule...
2. Subscribe to the wildcard topic ‘#” to receive messages from all topics 3. You should see traffic similar to that shown below. 8 Debugging Official support: https://support.milesight-iot.com/hc/en-us Use a web browser like Chrome to access default IP 192.168.23.150, or your custom one. Default credentials to log in is:...
Page 13
• Go to Maintenance > Log > Log Settings. • Under Local Log File, change Log Severity from Info to Debug. • Go to Maintenance > Log > System Log. • If you need further assistance you can contact https://support.milesight- iot.com/ for further support.
Need help?
Do you have a question about the UG65 LoRaWAN and is the answer not in the manual?
Questions and answers