In Homeyscript you can run this:
// Replace "appName" with the driverURI, which is homey:app: followed by the reversed url behind /app/ in the app store URL, between the / / character ;P
// for example: https://homey.app/nl-nl/app/nl.philips.hue/Philips-Hue/ should result in homey:app:nl.philips.hue
let appName = "homey:app:nl.philips.hue"
// end of user input
const myDevices = await Homey.devices.getDevices();
for (var iMyDevice in myDevices){
if (myDevices[iMyDevice].driverUri == appName) {
log(`Device:\t ${myDevices[iMyDevice].name} \nZone:\t ${myDevices[iMyDevice].zoneName}\nID:\t ${myDevices[iMyDevice].id}`)
}
};
//if (deviceName == "") {
if (appName == "") {
return false
} else {
return true;
}
In the Web Playground you can use this (but I don’t get it to work at the moment)
→ replace com.mi.flora
with nl.philips.hue
: