Hi @Dnpwwo.
I am expanding the plugin I have written for Sonos and would like to add different icons based on what hardware the user is having.
In the documentation there are one reference to using Image (and an number).
Are you planning to let the developer add a local image as part of the plugin?
Add icons to Python plugin
Moderator: leecollings
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Add icons to Python plugin
@tester22,
One of the reasons plugins were moved to their own folder was to allow for additional files to be associated with them. Icons was one of the files types that triggered this change.
That said, I don't think the existing functionality is mature enough for us to look to add features just yet. For this to added this we would need to work out a way to trigger the icons being moved to a folder where the webserver would be able to pick them up, they would also need to work in with the web front end. Not too hard but will need some clear head space.
If you have time and knowledge to think about this I'm open to suggestions on how this could work
One of the reasons plugins were moved to their own folder was to allow for additional files to be associated with them. Icons was one of the files types that triggered this change.
That said, I don't think the existing functionality is mature enough for us to look to add features just yet. For this to added this we would need to work out a way to trigger the icons being moved to a folder where the webserver would be able to pick them up, they would also need to work in with the web front end. Not too hard but will need some clear head space.
If you have time and knowledge to think about this I'm open to suggestions on how this could work

The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest