How to custom icon in user module

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
fez
Posts: 80
Joined: 20 Jul 2015 23:03

How to custom icon in user module

Post by fez » 30 Sep 2018 13:40

I would like to override the binary switch icon in a user module, something like:

Code: Select all

vDev.set("metrics:icon", ”my_icon.png”);
... but, I want to provide the icon within the module folder, i.e. MyModule/htdocs, not an URL.
I tried with different paths to the icon, but I failed.

Is it possible? How?

Thanks.

Post Reply