New Gateway Registration

Looks like the location information is not available, ttsstatus reports:
{"eui":"AA555A0008060249","location":"0,0","status":"up","last_seen":"2015-12-07 22:58:54","remarks":"TTN Flevoland, Voiceworks #2","created_at":"2015-12-03 16:23:53","updated_at":"2015-12-07 23:00:08"},{"eui":"AA555A00080605A2","location":"0,0","status":"up","last_seen":"2015-12-07 22:58:41","remarks":"TTN Flevoland, Voiceworks #1","created_at":"2015-12-03 16:23:53","updated_at":"2015-12-07 23:00:08"},

Looking at the API results for those euis:
{ "status_packets_count": 10332, "eui": "AA555A00080605A2", "altitude": 0.0,** "latitude": 0.0,** "last_seen": "2015-12-07T22:06:11.501Z", "longitude": 0.0 },
and
{ "status_packets_count": 28023, "eui": "AA555A0008060249", "altitude": 0.0, "latitude": 0.0, "last_seen": "2015-12-07T22:05:54.923Z", "longitude": 0.0 },

No location information either…

Have you set (part of gateway_conf):
"ref_latitude": 52.510113, "ref_longitude": 5.479591, "ref_altitude": 8,
as well as "fake_gps": true, ??
(this is just a random coordinate in lelystad)

Yep, did all of that. Running the poly_pkt_fwd

I reinstalled the gps_pkt_fwd again and this does seem to work correctly, it’s now sending coordinates…

1 Like

I tried to draw them on a map with output of
http://www.ttnstatus.org/gateways
How is this output coming in the url above?

used input as below with range of 3 km

52.37283,4.90041,3
52.37361,4.88664,3
52.3599,4.89861,3
52.10208,5.18013,3
52.69021,4.70053,3
59.43799,2.479339,3
50.97113,5.82451,3
52.34184,4.82978,3
51.52865,-.012691,3
51.40736,-.126244,3
53.21388,6.56654,3
52.4551,1.695549,3
52.18331,5.39639,3
52.09296,5.08608,3
52.6309,4.73459,3
50.13998,8.74368,3
52.08967,5.11413,3
53.18977,6.55738,3
52.5,4.956,3
53.1338,6.5676,3
47.40457,8.49659,3
-3.458772,-.5843257,3
51.44103,-.096742,3
52.21333,5.47029,3
52.39776,5.31575,3
-3.379613,1.5121191,3

Not sure what’s your question, but the data comes from the API http://thethingsnetwork.org/api/v0/gateways/, status is added on http://www.ttnstatus.org/gateways based on last seen.

As for the mapping: Gateways on the main website (e.g. http://thethingsnetwork.org/c/amsterdam) are mapped with Google Maps, which just has an API for “draw a circle with radius R”. The gateways on http://ttn.lpwan.uk/ are mapped with OpenSteetMap, and I assume they have a similar drawing API.

As I am living in oostzaan i was looking for a gateway that i could reach with a sensor. Thats the reason I try to plot all gateways on a map.

Thanks, wasn’t aware of that website, but it’s exactly what i meant.

Ewald…

My new Gateway is active, but it does not show the GPS location in the output on the Gateways page of TTN. I read in the answers above that the gps forwarder is needed for that, still in the wiki manual for setting up the Kerlink Gateway, the poly forwarder is named as the best option. Can somebody clarify?

The gateway from Analyze Direct, postcode 1733 Nieuwe Niedorp is online.
(At thius moment inside the building)

FFFEB827EBB81102, please list it.

Wim

on my GW the poly_forwarder supports setting GPS coordinates manually in local_conf.json under gateway_conf

{ "gateway_conf": { "ref_latitude": x.xxx, /* put your latitude here */ "ref_longitude": y.yyy, /* put your longitude here */ "ref_altitude": z, /* put your altitude here */ } }

Those options are in my config, my they do not appear in the Gateway api. I additionally have ‘“fake_gps”: true’ in the config.

Hi all,
Is this problem with the coordinates, description and owner info already solved?

I put them for the Lorank8 in de global json but a API / Json request show’s no change.

{“altitude”:0.0,“eui”:“1DEE17627C84BEA5”,“last_seen”:“2016-02-01T09:25:55.913Z”,“latitude”:0.0,“status_packets_count”:8664,“longitude”:0.0},

Regards
Dagmar

per instructions these should go in local_conf.json - do not forget to reload - systemctl restart lorank.service

You also need to set ‘“gps”: true’ in your local_conf.json in addition to fake_gps and your coordinates.
Seems odd this is not documented somewhere.

Cheers!

Erwin

It has been described for Multitech mLinux Conduit, but apparantly it hasn’t made it to the other gateway installation notes on the wiki

Finally got Multiech online covering Twickenham, TW2 Greater London.

I’ve been at it over 24 hours and in all that time I missed one line of instruction.
*Edit /etc/init.d/lora-network-server. Around line 17 you need to change from using *
basic_pkt_fwd to using poly_pt_fwd: pkt_fwd=/opt/lora/poly_pkt_fwd

This is insanely hard…

Still another node on line, just need to start sending some data and stuff now

I don’t know wether to laugh or cry right now.

2 Likes

Well done @JimK !

Just been setting up another one in Reading today :slight_smile:

Yeah I reckon having spent the time learning (for learning read, Trial by ordeal). I could get this reasonably off pat now.

Well done to all the guys on here with the massive amounts of shared knowledge.

Mark Stanley I’m just working through your own Reading team website. It’s very good well done.

Jim

1 Like

Small update: the status and coordinates of the gateways on the main website (http://thethingsnetwork.org) are now updated live, based on the API. So if you have a live gateway, be sure to add it - including eui identifier - to the community platform using your own account.

See also:

I only get a Server Error (500) when i try to add a gateway