Am I doing this right? (v3)

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.

  1. 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?

  2. 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?

  3. 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.

3 Likes

“Follow the instructions” and “it just works”. I think that is how it is supposed to be.
I suspect you have been reading the documentation :smiley:

Yes it is. V3 is not really that difficult to work with if you have LoRaWAN compliant devices. :slight_smile:

Congrats!

1 Like

You sir, have achieved something special and will have a special place in my heart.

Your post will form the lyrics of songs created around camp fires where ever geeks meet.

As @AndyG says, this is how it is meant to be, read, learn, apply, succeed!

Huge congratulations - if you could move on to solving world hunger next that would be fantastic.

2 Likes

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.

* Some people might understand why this is funny.

This should get you started:

as seen TV (well, YouTube)

Actually it will get you working out the box as it’s a drag n drop solution for uplinks.

As long as we don’t end up with Windows Me

Greta won’t be singing songs around the campfire if you don’t sell the jet now.

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.

But, not tonight. It’s Kiwi bedtime.

Don’t worry, plenty of grey hairs & grey beards on forum… and you should see the Mods private chats/exchanges on archeological tech :wink:

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…

Bill Gates or MacKenzie Scott, can’t think of anyone else with money who know how to spend it.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.