Ok, so this seems a little too easy. I’d like some reassurance that I have not missed something, and it really is as simple as it appears. I’m using au1.cloud.thethings.network in New Zealand with AS915 FSB2 frequency plan.
Create gateway (with Mikrotik Lora 9 kit)
Follow instructions for v3. Create gateway in console. Create link to au1.cloud… in the Mikrotik webmin interface. Gateway is seen. Traffic appears in console. Is that it?
Create device (Ursalink UC1122 analogue sensor)
Follow instructions for v3. Configure device for AU915 FSB 2. Device is seen. Traffic appears in console. Is that it?
Create webhooks
By specifying my server in the ‘Base URL’ and “/lora.php” in ‘Enabled Messages|Uplink message’ a PHP script on my server is executed every time my device has something to say. I get the payload in a nice JSON chunk of data which I can parse in the PHP script, which then stores the payload in my database.
By creating a downlink API key I can make an HTTPS call with CURL to cause a downlink message to be sent. The CURL call can be executed from another PHP script, thus giving me a web interface to send a downlink message to my device (yes, I will use it sparingly!).
I’ve done all of this and it Just Works. I was a bit worried about moving from v2 to v3 because I had everything working in v2 and I was worried that I’d have to learn a whole lot more for v3, but, unless there’s more to it than I outlined above (which all works) then I’m pretty much done.
Is my approach too naive? Or is that how it’s supposed to work?
Thanks everybody. I’m still working on unpacking my payload in PHP, but the fact that it just arrives where I expected it, on my own server where I can do something with it is great.
I was a little worried that v3 wouldn’t be quite there yet and I’d have to wait for TTN for Workgroups v3.11*, but so far it’s all good.
World hunger is on my list, but I’m a bit stuck right now and can’t travel very much in my private jet to hob-nob with Prime Ministers, Presidents, billionaires, and oligarchs. Luckily I am able to use the time to work on my LoRaWAN infrastructure instead.
Actually, that looks like just the thing, thanks. I am currently looking at a big JSON blob. One the plus side, it contains everything I need. On the minus side, it contains everything I don’t need.
Don’t worry, plenty of grey hairs & grey beards on forum… and you should see the Mods private chats/exchanges on archeological tech
Space ships!.. don’t forget the space ships!.. from coming a Wednesday to reach/play with some monied types this will be the must have toy… how else can you expect to solve world hunger…