🛠 First IoT Deployment with KNOT Gateway HL9
Objectives
This tutorial guides beginners in commissioning the KNOT Gateway HL9 for a simple use case: collecting Bluetooth Low Energy (BLE) sensor data and transmitting it securely to a remote server via the LTE cellular network. You will learn how to power the gateway, connect the cellular antenna, and configure a data transfer rule.
Required Equipment
- 1x KNOT Gateway HL9
- 1x PoE Power Supply (injector or switch) or DC 12-57V power supply
- 1x Active LTE SIM Card (nano-SIM) or activated eSIM profile
- 1x Compatible BLE Sensor (e.g., iBeacon thermometer)
- Computer with web browser
- RJ45 Ethernet Cable
Steps
- Physical Installation: Insert the SIM card into the dedicated drawer on the side of the gateway. Tighten the LTE and Wi-Fi HaLow antennas onto the SMA connectors. Mount the gateway outdoors (IP66 rated).
- Power and Connection: Connect the Ethernet cable to the Gigabit port. Plug the PoE injector into a mains outlet. Wait 2 minutes for the power LED to turn solid green.
- Access RouterOS: From a PC connected to the same network as the gateway's Ethernet port, open a browser and type
http://192.168.88.1. Log in with usernameadminand empty password (default).
- LTE Configuration: Go to
Interfaces>LTE. Verify the interface isRunning. If necessary, enter the Access Point Name (APN) of your operator in advanced settings to force the connection.
- Bluetooth Scan: Go to
Bluetooth>Scan. Enable scanning to detect your BLE sensor. Note the sensor's MAC address.
- Transfer Rule: Go to
Tools>BLE>Rules. Create a new rule: select the sensor's MAC address, choose the data service (e.g., battery or temperature), and set the action toSend to HTTP. Enter your test server URL (e.g.,https://postman-echo.com/get) and enable the rule.
Verification
Check logs in Log to confirm LTE connection (lte1: connected). Verify that sensor data appears in the HTTP responses of your test server via logs or a monitoring interface.
Going Further
Explore MQTT integration for bidirectional communication and configure Wi-Fi HaLow to extend local network range.
Other tutorials for this board
Code examples for this board
gnss-position-tracking.pyPython-Bashble-advertising-sensor.inoRouterOS-Scriptlte-failover-monitor.pyPython-Bashnand-storage-cleanup.pyPython-Bashpoe-power-status.inoRouterOS-Scriptrouteros-mqtt-telemetry.inoRouterOS Script