#2215 Custom Icons uploader Implemented

Moderator: leecollings

User avatar
gizmocuz
Posts: 2394
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

#2215 Custom Icons uploader Implemented

Post by gizmocuz »

Hi All,

I just uploaded #2215 that should add support for uploading custom icons. (Settings->More Options)

Its a first release, and needs some more fine tuning, but hope it works
(Gui is not translated yet also)

The icons are stored in the database, and are cached and also written to the www/images folder if they do not exists,
so when you make a backup of your database, this should let you keep your custom icons as well.

You need to supply a ZIP file, the contents is described in the updated manual.
It is possible to add multiple icons in the zip file.

Currently only supported for On/Off switches (as it is now), and probably later for other types as well

Also the dropdown to select the icon has to be rebuild as it is now a long list, when you have 50 icons its very long ;)

/Rob
Quality outlives Quantity!
User avatar
Siewert308SW
Posts: 288
Joined: Monday 29 December 2014 15:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by Siewert308SW »

Great thx and nice to beable to use your personal icons...
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
User avatar
gizmocuz
Posts: 2394
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by gizmocuz »

Here is my test zip file
Attachments
2Icons.zip
(16.65 KiB) Downloaded 2353 times
Quality outlives Quantity!
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by Derik »

Still a error:
ScreenShot074.jpg
ScreenShot074.jpg (53.71 KiB) Viewed 31756 times
Only my file is there:
ScreenShot073.jpg
ScreenShot073.jpg (55.12 KiB) Viewed 31757 times
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
gizmocuz
Posts: 2394
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by gizmocuz »

Derik wrote:Still a error
New beta version available

You have a folder inside the zip file, this should NOT be there...
Quality outlives Quantity!
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by Derik »

I did have the new version..
The folder was the problem..!!!
Thanks...

And it is working very nice !!!!!!!!
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
jin
Posts: 62
Joined: Thursday 18 September 2014 20:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by jin »

gizmocuz wrote:Hi All,

I just uploaded #2215 that should add support for uploading custom icons. (Settings->More Options)
great great work gizmocuz!!! Thankyou!!!
DavidB
Posts: 3
Joined: Tuesday 25 November 2014 17:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by DavidB »

Thanks for the icon uploader

But why don't my icons display correctly with transparency, I've set the layer in Gimp and they are transparent on my machine but not on the web interface?

Any advice gratefully received

Dave
Attachments
WiFi48_On.png
WiFi48_On.png (2.73 KiB) Viewed 31589 times
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by Derik »

@ Davidb..

Perhaps more info?
Like a print or textfile...

The feature is working great by me, so i think there is something wrong on your site. :cry:
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
DavidB
Posts: 3
Joined: Tuesday 25 November 2014 17:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by DavidB »

The Icon shows a white background and not a transparent one see screenshot under device David

https://www.dropbox.com/s/ahivxsjd943ai ... 4.png?dl=0

D.
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by Derik »

Anyone have an idea where we can share the icons in as online place?

Was thinking google drive or something. This has sufficient storage. Or maybe: https://code.google.com/

I like it to go to manage, only it must be a sustainable place.
So not a free place that tomorrow is gone.

any one an idea?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by remb0 »

you can use github,
of better google drive / dropbox ? free and thumbails in browsers and multiple restore view and sync options :)

I will join!
Derik wrote:Anyone have an idea where we can share the icons in as online place?

Was thinking google drive or something. This has sufficient storage. Or maybe: https://code.google.com/

I like it to go to manage, only it must be a sustainable place.
So not a free place that tomorrow is gone.

any one an idea?
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by Derik »

Dear all:

I update the wiki....
http://www.domoticz.com/wiki/Custom_ico ... mplemented

Please read the WIKI..

Please send your icons to [email protected]

https://drive.google.com/folderview?id= ... sp=sharing

I post them when i have time
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
jackisidore
Posts: 19
Joined: Friday 12 July 2013 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: NL
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by jackisidore »

If you use a filebase name which is in use by domoticz, for instance "motion", uploading the zip file doesn't drop any errors. The icons are not visible only a broken filename browser icon.
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by pvm »

Good, job
Will there be an option to download all icons in a specific style?
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by Derik »

pvm wrote:Good, job Image
Will there be an option to download all icons in a specific style?
In a map you can find the zip.
And there will be an on_icon, so you can see the icons before you download them...

There will be no different style...
Only the icons that other members share......
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
appelflap
Posts: 19
Joined: Friday 14 March 2014 22:12
Target OS: Linux
Domoticz version: beta
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by appelflap »

I really like the Nuvola icon set made by David Vignoni. ==> http://www.icon-king.com/projects/nuvola/ (GNU LGPL 2.1)
The icon set already has a folder with 48x48 icons. Within Gimp you can install a very nice 'Batch Image Manipulation' plugin with which resizing, renaming and greyscale manipulation on multiple images is very easy. Exactly what you need for nice On/Off pictures.

I attached an example of some possible icons.. Still searching for a nice door though..
Attachments
nuvola-based-appelflap.zip
(68.27 KiB) Downloaded 1217 times
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by Derik »

Dear appelflap
Will you please send your very nice icons to:
[email protected]
On the good format....

https://drive.google.com/folderview?id= ... sp=sharing
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by Derik »

i update the wiki: http://www.domoticz.com/wiki/Custom_ico ... binterface
And the iconspage: https://drive.google.com/folderview?id= ... sp=sharing


So that everbody can find BIMP.. :D :D

Thanks.. ;)
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
appelflap
Posts: 19
Joined: Friday 14 March 2014 22:12
Target OS: Linux
Domoticz version: beta
Contact:

Re: #2215 Custom Icons uploader Implemented

Post by appelflap »

@Derik: I've emailed the package and also every icon in the package as separate zip for the google drive folders.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests