# Different lux observations in app and through Web Sockets API

**URL:** <https://community.tempest.earth/t/different-lux-observations-in-app-and-through-web-sockets-api/23157>\
**Category:** Developers\
**Tags:** websocket\
**Created:** [December 13, 2023, 5:03pm UTC](https://community.tempest.earth/t/different-lux-observations-in-app-and-through-web-sockets-api/23157 "2023-12-13T17:03:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![morgan1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/morgan1/32/15972_2.png) [@morgan1](https://community.tempest.earth/u/morgan1)\
**Post date:** [December 13, 2023, 5:03pm UTC](https://community.tempest.earth/t/different-lux-observations-in-app-and-through-web-sockets-api/23157/1 "2023-12-13T17:03:11Z")

</div>

I’m working with the web sockets API to retrieve data from a station I installed. Everything is working ok, except that the lux values in the weather flow app are different from what is reported via the web sockets API.

For instance, right now.  
the app reads brightness as 6730 lux in the app  
the API is reading illuminance as 1410.

the difference in terminology is also weird. I’d liek to get the lux data accurately via websockets.

I’m unclear on the discrepancy. Other values like temperature and wind speed are checking out ok.  
to make the web sockets connection, I’m using a program called touch designer which I have used for other data driven projects. I have not been able to check the UDP data to see if the values are ok there. I’d like to continue to use the web sockets data.

Any thoughts?

thank you,

Morgan

---

<div class="post-metadata">

**Author:** ![sunny](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/sunny/32/16368_2.png) [@sunny](https://community.tempest.earth/u/sunny)\
**Post date:** [December 14, 2023, 8:48am UTC](https://community.tempest.earth/t/different-lux-observations-in-app-and-through-web-sockets-api/23157/2 "2023-12-14T08:48:26Z")

</div>

i just tried it using the api link on the top of this page. It matches fine.  
Are you using your own program to interface with the api?

---

<div class="post-metadata">

**Author:** ![mabeatty1978](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/mabeatty1978/32/15139_2.png) [@mabeatty1978](https://community.tempest.earth/u/mabeatty1978)\
**Post date:** [December 14, 2023, 3:38pm UTC](https://community.tempest.earth/t/different-lux-observations-in-app-and-through-web-sockets-api/23157/3 "2023-12-14T15:38:59Z")

</div>

Same here. I’m running a websocket program that’s updating SmartThings. Lux is identical in both places.
