Does System.deviceID() work on Pi?


#1

I have a few of photons running temp sensors. I am trying to use a pi running the particle-agent to run the same system. On the photons System.deviceID() gives me the 24 digit device ID. Running the exact same code on the pi gives me a bunch of zeros as the deviceID.

Am I missing something or is that not available on the Pi?

String deviceId = System.deviceID();

//In Setup
Particle.variable("devId", deviceId);

Then in the console is shows:

Any help would be appreciated. If you need more info just ask. Thanks


#2

Let me ping someone that might be able to help, @rickkas7 are you able to assist?

Kyle