Remote API

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?

Moved to developers.