Hi,
some technical details about device icons and how our apps are using it (or bypass :-)):
-
Fixed icon: You add a svg file to your app and define the file path in your driver JSON file.
Then the device is showing this icon (and only this). -
The indivudual upload is done in this way:
The app offers an upload view.
If selected, a user svg file is uploaded into the /userdata/ folder of the app named unique for the device.
The device definition gets this file path&name on pairing. So the device loads the uploaded file.
In such a file is replaced, simple the file is replaced with another one. It’s not possible to change the device icon path afterwards -
The HA Comminuty app has a MaterialDesignIcon access. Harrie (MqttHub) allowed me to copy from his app. It uses a font file including icons to show the list. After selecting an icon, it’s downloaded from materialdesignicons.com (or https://pictogrammers.com now).
-
So Homey could add a default pair view for device icon selection using https://pictogrammers.com like HomeAssistant is doing
-
Or as small solution: The device definition (device JSON) could hold an array of svg’s and the device settings could allow the selection of one of them. I already suggested this on Slack to Emile.