ttnmapper / documentation

Documentation on the working of TTN Mapper.
MIT License
20 stars 6 forks source link

TTN Mapper webhook not working. #1

Closed wizzfizz94 closed 3 years ago

wizzfizz94 commented 3 years ago

My device's payload formater looks like this:

function decodeUplink(input) {
  return {
    data: {
      latitude: -38.12,
      longitude: 151.91,
      altitude: 0,
      sats: 0
    },
    warnings: [],
    errors: []
  };
}

I have setup the TTN Mapper webhook as well: webhook

I can also confirm i'm receiving up links from the device but when i look at advanced maps for this device or experiment it is empty.

jpmeijers commented 3 years ago

Yes you are absolutely right. The URL in the webhook template is wrong. I'm currently busy investigating a workaround to do a redirect from the incorrect to the correct URL as a temporary fix.

A proper fix is to replace the base url: From https://ttnmapper.org/integrations/tts/v3 to https://integrations.ttnmapper.org/tts/v3

Can you please try this and confirm if it works. I'll continue investigation a workaround, but I will also file a fix for the webhook template later today - but these can take weeks to update.

wizzfizz94 commented 3 years ago

@jpmeijers thanks for the response. I tried replacing the url but i'm still not getting any data plotted in the TTN Mapper. I can also see the Payload JSON in the live data stream so i can confirm the decoding is working.

wizzfizz94 commented 3 years ago

Ok so i can see a couple of data entries for my device if I get the CSV data for my device from https://ttnmapper.org/advanced-maps/ by specifying the device ID but i can not view the measurements on the map and i can not locate my experiment name in the experiment list or by specifying the experiment ID from advanced maps.

jpmeijers commented 3 years ago

Many of these features are not yet implemented. Please keep an eye on https://docs.ttnmapper.org/project_status.html