I’ve used the Balena Node.JS SDK version 13.8.0 because openBalena wasn’t compatible with newer versions. When our device booted for the first time, it registered itself via our container to our server. The server then got the device’s Balena details, like device_type. However, it seems like it’s gone and I can’t find how to get the device type via the Balena Node.JS SDK v15.17.0.
I’ve always used the following
const device = balena.models.device.get(<uuid>); device.device_type
However, this is gone. Is there another way to retrieve the device type using the uuid of the device?
Thanks in advance!