Get all devices of own app

I need to get all devices of my own app, is there any way to retrieve and even update them?

Get all drivers of your app, and subsequently get all devices for each driver:

const { ManagerDrivers } = require('homey');
…
const drivers = ManagerDrivers.getDrivers();
for (const id in drivers) {
  const devices = drivers[id].getDevices();
  …
}
1 Like