I can’t find a way to solve my issue, maybe someone has an idea…
- I am testing a Sigfox device
- I created a device on Losant to represent it, so I got the deviceID created by Losant
- want to trigger a Losant webhook from Sigfox server when it receives data from the device
- but the Sigfox device has a hardcoded id
And I have no clue on how to match the webhook with the right Losant device.
Well, I could of course introduce an intermediate layer who would do the mapping but this is not elegant.
I could also use a tag to store the Sigfox id, but I call on regular basis the patch tags API and for some reason such a call deletes all tags before storing the tags passed by the caller, so my Sigfox id would be lost.
The only option I see, but again not elegant, is to use a tag and get all tags before each invocation of tag patcher, so I could pass back the sigfox id tag…
Any smart advise ?
Actually the solution could be a feature request : when creating a device, next to the device id assigned by Losant, we should be able to assign a second device id.