Dynamic widget sizing — is it supported or planned?

Hi all,

I’ve built a Homey Pro dashboard widget that displays a Google Maps family location tracker. It works well on a large tablet, but I’d like to also support smaller screens such as phones or smaller tablets without maintaining two completely separate widgets.

Currently the widget height is fixed via the height property in app.json:

"widgets": {
  "family-map": {
    "height": 600
  }
}

This means every user gets the same fixed height regardless of their screen size or preference.

My question:

Is there any way in Homey SDK3 for a widget to support multiple sizes that the user can choose from when adding it to their dashboard? For example, a small version (suitable for phones) and a large version (suitable for tablets)?

I’m aware of the supportedSizes field but found it caused a crash (TypeError: Cannot read properties of undefined (reading 'map')) in ManagerDashboards and doesn’t appear to be supported in the current SDK.

If dynamic sizing isn’t currently supported, is it something Athom has planned for a future SDK update? It would be a very useful feature for widgets that contain visual content like maps or charts.

Thanks!

In my Web Proxy app, I use a setting where the user can specify the height. Then, I use Homey.setHeight() in the frontend to set the height to the setting value

Thanks Sven. That worked for my widget.