Home/Support/Support Forum/How do I get Device ID from DIA?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How do I get Device ID from DIA?

0 votes
Hello,

I have created a custom device on a DIA project similar to existing devices in structure. I want to be able to read the device id of the Xbee Gateway. How do I do that?

Thanks!
asked Sep 15, 2015 in Python by rigers New to the Community (7 points)

Please log in or register to answer this question.

1 Answer

0 votes
 
Best answer
Figured it out.
Code:
from common.digi_device_info import get_device_id gatewayID = get_device_id()

returns a hex value of the device id.
answered Sep 16, 2015 by rigers New to the Community (7 points)
selected Sep 16, 2015 by rigers
...