# Get Temperature data from device

**URL:** <https://forum.ewelink.cc/t/get-temperature-data-from-device/27647>\
**Category:** Free discussion\
**Created:** [January 26, 2024, 6:24am UTC](https://forum.ewelink.cc/t/get-temperature-data-from-device/27647 "2024-01-26T06:24:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![handi.tang](https://avatars.discourse-cdn.com/v4/letter/h/6de8d8/32.png) [@handi.tang](https://forum.ewelink.cc/u/handi.tang)\
**Post date:** [January 26, 2024, 6:24am UTC](https://forum.ewelink.cc/t/get-temperature-data-from-device/27647/1 "2024-01-26T06:24:08Z")

</div>

hi,  
i would like to log the data on my sonoff device such as temperature, humidity, power usage, etc for me to use in other apps

i’ve following step by step mentioned in ewelink-api-next and the developer guide  
but i encounter problem with getting authorization code and authorization token

could somebody help me, whats wrong with my step?
