helium / router

router combines a LoRaWAN Network Server with an API for console, and provides a proxy to the Helium blockchain
Apache License 2.0
69 stars 32 forks source link

Unknown Decoder - IoTracker3 #924

Open thebrighthood opened 1 year ago

thebrighthood commented 1 year ago

1. Are you using Helium hosted Console or running your own open source Console? Helium Hosted Console

2. If you are on Helium hosted Console, which url are you currently on? https://console.helium.com/devices/56b955a1-1d39-4516-9e5b-908bcf103606

3. If you are experiencing bugs in Helium hosted Console, please specify your Organization name and Device ID. Org: SlidingLines DevID: 56b955a1-1d39-4516-9e5b-908bcf103606

Please describe your issue:

Unknown decoder in debug screen. Tried to hook things up again from scratch, but it always returns unknown decoder.

I can grab the payload and run it through the Script Validator and it outputs in the correct format. This is the decoder: https://github.com/ioTracker/decoder-js/blob/master/decoder_ttn.js The device is an IoThings IoTracker3.

I believe this decoder code is OK, because it gives the correct results in the Script Validator.

A couple of example payloads: EADdCwJFhsAigCKA 1000dd0b024586c022802280

EADdCwOyhpIBwAHA 1000dd0b03b2869201c001c0

scriptvalidator_correct jabbathenoob

ApolloDS commented 1 year ago

I have exactly the same problem here. Owning a IOTracker 3 and always get this error.

ApolloDS commented 1 year ago

Hi @thebrighthood , I figured it out, please see here: https://github.com/ioTracker/decoder-js/issues/1 Just add the 'port' variable name to the function and somehow this will work then in the helium console.

Peter