sigfox support
sigfox slack community
  • Spaces
    • SIGFOX Ready Certification
    • Help
    • Tutorial
    • Topics
    • Questions
  • Sign in
  • Home /
  • Help /
This question was closed Apr 11 at 12:08 PM by Christopheallasia for the following reason:

The question is answered, right answer was accepted

avatar image
Question by VodolanJ · Apr 11 at 06:51 AM · sigfox backendsigfox backend integrationui

Link to device info page in sigfox backend.

Hello,

in our application we would like to give our administrator simple way to show detail of device in sigfox backend. Typical usecase is: Admin investigating some problems and need to check status in sigfox backend. We want to have direct link to device info page in our web application. To give him fast and easy way to check it... (also direct link to deviceType).

E.g.: Device info page:

https://backend.sigfox.com/devicetype/5a96933290xxxx/info

E.g.: DeviceType info page:

https://backend.sigfox.com/device/368xxxx/info

Unfortunatelly, 368xxxx in URL is not a hexId. It is sigfox internal ID which is not published anwhere. It is not readable even trought REST API.

Q: is there a way to link to info pages? by hexId? or with cooperation with REST API ?

Comment

People who like this

0 Show 0
100 |1010 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

7 Replies

  • Sort: 
avatar image
Best Answer

Answer by VodolanJ · Apr 11 at 11:11 AM

SOLVED:

... I do not know nor understand why ... but experimentally... my friend (big thanks) realized that what I called internal ID is simple decadical value of hexId.

So, link to device information page is

https://backend.sigfox.com/device/<Long.parseLong(hexID, 16)>/info

Comment

People who like this

0 Show 0 · Share
100 |1010 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Christopheallasia · Apr 11 at 07:53 AM

Hello @VodolanJ

Indeed you can use REST API in order display some information from the backend as device's information, device type page ect.

If you have an access to the backend you can create your own API with associated credentials :

- All Devices ID/PAC for a device type and/or :

GET https://backend.sigfox.com/api/devicetypes/{devicetype-id}/id-pac

- Device type information:

GET https://backend.sigfox.com/api/devicetypes/{devicetype-id}

Comment

People who like this

0 Show 0 · Share
100 |1010 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by VodolanJ · Apr 11 at 07:57 AM

Yes, I know.

But it is not what we want. We want a link to human readable backend UI. Not a REST api returning json... it is shortcut for administrator investigating problems with a device. He will check last messages, location, ...

Comment

People who like this

0 Show 0 · Share
100 |1010 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Christopheallasia · Apr 11 at 08:01 AM

Hello @VodolanJ,

Unfortunately there is no human readable backend UI regarding API request. It's not the aim of the backend...

Sorry for that

Comment

People who like this

0 Show 0 · Share
100 |1010 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by VodolanJ · Apr 11 at 08:08 AM

... we are not understand each other...

There already IS info page (human readable):

https://backend.sigfox.com/device/368xxxx/info

And I want to link to this existing page with information I have about this device. The basic natural ID of device is its own HEX_ID.

Problem is that ID used in URL 368xxxx is not a device's hexID, it is internal sigfox id.

What I am asking is whether there is another way to get to this page with hexID.

something like: https://backend.sigfox.com/device/<hexID>/info

OR

is there a way how to translate HEX_ID to internal sigfox ID (368xxxx) ?

Comment

People who like this

0 Show 0 · Share
100 |1010 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Christopheallasia · Apr 11 at 08:24 AM

Hello @VodolanJ

Oh ok , sorry for misunderstanding,

There is no way to translate this directly in the backend, and i don't think it will be a priority for the backend team.

For now you need to use the decimal ID in URL..

Comment

People who like this

0 Show 0 · Share
100 |1010 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by VodolanJ · Apr 11 at 08:30 AM

ok... and is there a way to find decimal ID programically? from REST api ?

Comment

People who like this

0 Show 0 · Share
100 |1010 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Can I store my data from sigfox backend to an MySQL server database? 2 Answers

Unable to connect device to backend 1 Answer

Adruino sends data to sigfox but is not in hexidecimal, the data is in what format? 1 Answer

Problems with Arduino MKRFOX1200 registering process 2 Answers

Delete Devices from Sigfox Backend 2 Answers

  • About
  • Terms & Condition
  • Privacy
  • Answerhub FAQ


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • SIGFOX Ready Certification
  • Help
  • Tutorial
  • Explore
  • Topics
  • Questions