# Remote API

**URL:** <https://community.homey.app/t/remote-api/10805>\
**Category:** Developers\
**Created:** [March 19, 2019, 7:27pm UTC](https://community.homey.app/t/remote-api/10805 "2019-03-19T19:27:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rutger](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rutger/32/3736_2.png) [@Rutger](https://community.homey.app/u/Rutger)\
**Post date:** [March 19, 2019, 7:27pm UTC](https://community.homey.app/t/remote-api/10805/1 "2019-03-19T19:27:20Z")

</div>

Hello,

I want to make a front end application to control my smart devices. At this moment I can connect to my homey but I can’t use the homeyAPI after the authentication.

The following results where not successful and I can wait for hours…

`let homeyAPI = await this.login()`

And

`this.login().then(homeyAPI => { homeyAPI.devices.getDevices().then(devices => { }) })`

My setup is based on:  
[https://developer.athom.com/docs/api/tutorial-Introduction.html#api](https://developer.athom.com/docs/api/tutorial-Introduction.html#api)

Any suggestions or ideas?

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [March 19, 2019, 7:33pm UTC](https://community.homey.app/t/remote-api/10805/2 "2019-03-19T19:33:33Z")

</div>

Moved to developers.
