I have the SenseCAP M2 running as a TTN Gateway! ![]()
Here are some hints how I got it working.
- Register a new gateway on TTN console and fill out the Gateway EUI from the SenseCAP.
- Create a LNH API key.
Log into your SenseCAP (192.168.168.1)
Find instructions here how to: SenseCAP M2 Multi-Platform Gateway LNS Configuration | Seeed Studio Wiki
In LORA tab:
- put SenseCAP on Basics Station mode
- LNS URI: wss://eu1.cloud.thethings.network:8887
- Authentication mode TLS
- trust field: this was a bit tricky: fill out with all contents of a ca.pem file downloaded from TTN:
Root Certificates | The Things Stack for LoRaWAN
(use the minimum Certificate file: Download the minimal certificate list here.) - token field: use the LNS authentication key from TTN Gateway settings, preceded by
“Authorization: Bearer andthenyourtoken”
And boom! up and running.
PS. In a while (after testing) I will inform about coverage.