Homey V5 (Discussion about v5 before it was released to stable)

Go to http://developer.athom.com/tools/api-playground and enter the command below, then press “RUN”.

//Get SDK version of Apps - SDK v2 and higher needed for Homey firmware 5.x, The value after “int” is each apps SDK version.
Homey.apps.getApps().then(f => Object.values(f).reduce((r,b)=>Object.assign(r, {[b.name]:b.sdk}), {}));

5 Likes