Get data from devices through RestAPI smartthings

Hello,

I have task to get status of Samsung device (CookTop) by my Linux server. I can generate PAK token by this link: SmartThings. Add a little smartness to your things.

But it is working one day only. Could you suggest scheme to get data from device permanently? May be there is possibility to refresh this token? Or i can get data by another way?

/ALex

This thread should help.

1 Like

Thanks a lot! It’s what i looked for.