# Claimed Photons via CLI show as unknown

**URL:** <https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294>\
**Category:** Cloud\
**Created:** [December 15, 2015, 11:41am UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294 "2015-12-15T11:41:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe4465](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@joe4465](https://community.particle.io/u/joe4465)\
**Post date:** [December 15, 2015, 11:41am UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294/1 "2015-12-15T11:41:24Z")

</div>

I have been claiming my photons via the CLI but they show up as unknown in the IDE and when I call particle list.

Does this matter?  
Should I be claiming them differently so that they show up as Photons?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [December 15, 2015, 12:50pm UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294/2 "2015-12-15T12:50:48Z")

</div>

This is in connection with your other question

> [@How to remove products from the organisations dashboard](https://community.particle.io/t/how-to-remove-products-from-the-organisations-dashboard/18293):
>
> How can I remove products from the organisations dashboard?

---

<div class="post-metadata">

**Author:** ![joe4465](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@joe4465](https://community.particle.io/u/joe4465)\
**Post date:** [December 15, 2015, 12:51pm UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294/3 "2015-12-15T12:51:50Z")

</div>

Nope, totally unrelated.

In this question I am asking about the right way to claim photons so they appear as photons, I don’t want to use the app.

In the other question I am asking how to remove products from the organisations dashboard.

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [December 15, 2015, 12:54pm UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294/4 "2015-12-15T12:54:17Z")

</div>

Nope, it’s not not related 😉  
The usual cause for this is that the PRODUCT\_ID for a device was set (e.g. via dashboard) to something else than the original :particle: Particle PRODUCT\_ID and hence is treated as OTHER.

---

<div class="post-metadata">

**Author:** ![joe4465](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@joe4465](https://community.particle.io/u/joe4465)\
**Post date:** [December 15, 2015, 1:03pm UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294/5 "2015-12-15T13:03:10Z")

</div>

Are we talking about the PRODUCT\_ID that is used when writing code for a product in the organisations dashboard so that it can be flashed OTA? If so this is unrelated.

I can reproduce this behavior by:  
I claim a brand new photon from the CLI using "particle device add DEVICE\_ID"  
It immediately shows up as an unknown device in CLI, BUILD, DEV.  
No code was flashed to the device.

Example: C4 was claimed via CLI, C5 was claimed via the app.

```
C4 [xxx] is online
C5 [xxx] (Photon) is offline
```

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [December 15, 2015, 3:51pm UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294/6 "2015-12-15T15:51:17Z")

</div>

OK, now I hear you going - sorry!

Has the Photon been connected to the internet **_while_** you were claiming it?  
Could you try `particle setup` instead to go throught the whole process as the app would do it?

---

<div class="post-metadata">

**Author:** ![joe4465](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@joe4465](https://community.particle.io/u/joe4465)\
**Post date:** [December 15, 2015, 3:54pm UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294/7 "2015-12-15T15:54:13Z")

</div>

Yes it was, this has been my claiming process:

- particle identify to get the DEVICE\_ID
- particle setup wifi to connect to the cloud
- particle device add DEVICE\_ID

I have not tried particle setup, I will do that next.

Thanks

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [December 15, 2015, 3:56pm UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294/8 "2015-12-15T15:56:24Z")

</div>

You might have to release/unclaim the “OTHER” device first tho’.

---

<div class="post-metadata">

**Author:** ![joe4465](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@joe4465](https://community.particle.io/u/joe4465)\
**Post date:** [December 21, 2015, 5:39pm UTC](https://community.particle.io/t/claimed-photons-via-cli-show-as-unknown/18294/9 "2015-12-21T17:39:39Z")

</div>

Particle setup works, not sure how I missed that.

Thanks
