Homey Community Forum

Remote API

#1

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

Any suggestions or ideas?

#2

Moved to developers.