# What is "device\_id", "id" & "station\_id"?

**URL:** <https://community.tempest.earth/t/what-is-device-id-id-station-id/2017>\
**Category:** Developers\
**Created:** [August 30, 2018, 6:33pm UTC](https://community.tempest.earth/t/what-is-device-id-id-station-id/2017 "2018-08-30T18:33:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![droiddk](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@droiddk](https://community.tempest.earth/u/droiddk)\
**Post date:** [August 30, 2018, 6:33pm UTC](https://community.tempest.earth/t/what-is-device-id-id-station-id/2017/1 "2018-08-30T18:33:19Z")

</div>

Hello

Playing around with the websocket:

[https://weatherflow.github.io/SmartWeather/api/ws.html](https://weatherflow.github.io/SmartWeather/api/ws.html)

What is “device\_id”, “id” & “station\_id” ?

device\_id = my AIR and Sky?

station\_id = my “overall” Station?

id = ?

Also, any way to get all information from the Station, obs from AIR and SKY at the same time using websocket? It seems to be only SKY, or only AIR

Regards

---

<div class="post-metadata">

**Author:** ![btst.online](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/btst.online/32/16538_2.png) [@btst.online](https://community.tempest.earth/u/btst.online)\
**Post date:** [August 30, 2018, 6:38pm UTC](https://community.tempest.earth/t/what-is-device-id-id-station-id/2017/2 "2018-08-30T18:38:29Z")

</div>

id is user-defined… it’s like a token you pass to the Websocket, which it returns back to you with the response. A way for you to keep track of the requests and responses…

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [August 30, 2018, 6:39pm UTC](https://community.tempest.earth/t/what-is-device-id-id-station-id/2017/3 "2018-08-30T18:39:07Z")

</div>

From the websocket, you device data, device status and hub status.

---

<div class="post-metadata">

**Author:** ![droiddk](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@droiddk](https://community.tempest.earth/u/droiddk)\
**Post date:** [August 30, 2018, 6:39pm UTC](https://community.tempest.earth/t/what-is-device-id-id-station-id/2017/4 "2018-08-30T18:39:21Z")

</div>

Thanks! that makes sense 🙂

Regards

---

<div class="post-metadata">

**Author:** ![droiddk](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@droiddk](https://community.tempest.earth/u/droiddk)\
**Post date:** [August 30, 2018, 6:42pm UTC](https://community.tempest.earth/t/what-is-device-id-id-station-id/2017/5 "2018-08-30T18:42:14Z")

</div>

Sorry, don’t understand anything in that ?

---

<div class="post-metadata">

**Author:** ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)\
**Post date:** [August 31, 2018, 4:14pm UTC](https://community.tempest.earth/t/what-is-device-id-id-station-id/2017/6 "2018-08-31T16:14:32Z")

</div>

I am happy to help you with any questions. I can also send you samples of the packets that you will see.

---

<div class="post-metadata">

**Author:** ![droiddk](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@droiddk](https://community.tempest.earth/u/droiddk)\
**Post date:** [September 1, 2018, 11:28am UTC](https://community.tempest.earth/t/what-is-device-id-id-station-id/2017/7 "2018-09-01T11:28:04Z")

</div>

Thanks that is kind if you.

I have the websocket working but didn’t understand the difference between the 3 names.

I still don’t see how “From the websocket, you device data, device status and hub status” can answer my first question?

device\_id = device data?  
id = device status?  
station\_id = hub status?

Regards
