custom icons

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

custom icons

Post by JuanUil »

Hi there,

I have found some icons I want to use for my curtains.
I have a open.png and a close.png, when i combine them in an zip file (curtains.zip) and want to upload them I get an error "No icon definition file not found.
What am I doing wrong?

Or when anybody has curtain icons in a zip file please share them with me
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
FireWizard
Posts: 1895
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: custom icons

Post by FireWizard »

Hi,

See:https://www.domoticz.com/wiki/Custom_ic ... binterface.
Upload your icons to the link below and it will create your complete Zip file.

https://domoticz-icon.aurelien-loyer.fr/

Regards
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: custom icons

Post by JuanUil »

Thank you verry much!
Works like charm!
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: custom icons

Post by EdwinK »

Keep getting an 'undefined' error.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
FireWizard
Posts: 1895
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: custom icons

Post by FireWizard »

Hello EdwinK,

Can you give a little bit more info.
Where do you get that? When do you get it? What are the contents of your zip file?

Regards
Last edited by FireWizard on Friday 17 January 2020 18:06, edited 1 time in total.
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: custom icons

Post by EdwinK »

FireWizard wrote: Friday 03 January 2020 21:39 Hello EdwinK,

Can you give a little bit more info.
Where do you get that? When do you get it? What arethe contents of your zip file?

Regards
Uploading through custom icons
At first nothing seems to hppen, but then the 'error uploading iconset: undefined'


Created zip file with the earlier mentioned site (https://domoticz-icon.aurelien-loyer.fr/) containing on and off images.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
macieiks
Posts: 36
Joined: Tuesday 07 July 2015 12:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: custom icons

Post by macieiks »

I've got the same error message: "Error uploading Iconset: undefined"

Using latest beta:
V4.11605
Build Hash: 7de1f368f
Build Date: 2020-01-08 23:12:15

Any idea if there is any fix? Perhaps workaround like manual copy?
RPI2 + RFLink + PiFace D2 + Aeon Z-Wave Gen5 + Foscams FI9821P&R2 + MySensors + UPS APC Back-UPS 950VA
RPI2 + RFXtrx433e + Foscams FI9821P + MySensors + UPS APC Back-UPS 950VA
RPIB+ + TP-Link MR3420 + Huawei E173 GarageDomoticz :)
fireport
Posts: 27
Joined: Friday 03 January 2020 21:14
Target OS: Linux
Domoticz version:
Contact:

Re: custom icons

Post by fireport »

I have domoticz 4.11553 on Fedora 31 and when I tried to upload some icons taken from the google link provided by documentation, nothing happens.
Any idea ?
User avatar
Gangelie
Posts: 1
Joined: Wednesday 11 January 2017 15:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11775
Location: Brno
Contact:

Re: custom icons

Post by Gangelie »

I got the same issue, generated icon set with https://domoticz-icon.aurelien-loyer.fr/, go to Custom Icon, insert the zip file via Choose Button and klick upload, it takes about 5 seconds and then "Error uploading Iconset: undefined"

Version: 4.11775
Build Hash: 09054c6c9
Compile Date: 2020-03-04 08:38:33
dzVents Version: 3.0.1
Python Version: 3.7.3 (default, Dec 20 2019, 18:57:59) [GCC 8.3.0]
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: custom icons

Post by desertdog »

I have the same problem with the latest stable version. The custom icon's top half of the page stays white. And when I select a zip file containing the icons (downloaded from Custom Icons Google Drive) the buttons don't seem to respond. This happens on mac (os x 10.5.3) both in safari and chrome
Sometimes, but not all the time it seems, I get the error: Error uploading Iconset: undefined

Version: 2020.1
Build Hash: 63fa969e4
Compile Date: 2020-03-22 15:16:16
dzVents Version: 3.0.1
Python Version: 3.7.3 (default, Dec 20 2019, 18:57:59) [GCC 8.3.0]
Raspebby pi with lastest Debian Buster
F4ntY
Posts: 2
Joined: Tuesday 14 May 2019 23:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: custom icons

Post by F4ntY »

Same issue here.

Version: 2020.1
Build Hash: 63fa969e4
Compile Date: 2020-03-22 15:16:16
dzVents Version: 3.0.1
Python Version: 3.7.3 (default, Dec 20 2019, 18:57:59) [GCC 8.3.0]

Running on a rasperry pi:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
kitopopo
Posts: 59
Joined: Monday 03 December 2018 11:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: custom icons

Post by kitopopo »

Hi,

Same problem in a raspberry pi 4

Version: 2020.2 (build 12106)
Build Hash: b08d17c2d-modified
Compile Date: 2020-05-29 09:01:13
dzVents Version: 3.0.8
Python Version: 3.7.3 (default, Dec 20 2019, 18:57:59) [GCC 8.3.0]

thanks in advanced
zicht
Posts: 272
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 2023.1+
Location: NL
Contact:

Re: custom icons

Post by zicht »

Just tried in windows test environment with latest update, created a test icon with an excisting name and a unique name.

Version: 2020.2 (build 12106)
Build Hash: b08d17c2d
Compile Date: 2020-05-29 09:01:13
dzVents Version: 3.0.8
Python Version: None

I noticed a writing right issue in the domoticz dir (Win10)
On a second try i saw overwriting was still an issue (have a unique name)

After solving the writing right issues all worked fine --> = Platform related and not domoticz related.
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
kitopopo
Posts: 59
Joined: Monday 03 December 2018 11:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: custom icons

Post by kitopopo »

I have given write permissions to the entire domoticz folder and it still does not work, they should tell us which folder needs these permissions in order to solve the problem, an end user does not know these things, please explain well how to solve it. thanks in advance
rgroothuis
Posts: 347
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: custom icons

Post by rgroothuis »

I'm having the same problem, have not found a solution yet:

My Domoticz is running on a Raspberry Pi 4, software details:

Version: 2020.2
Build Hash: b63341bc0
Compile Date: 2020-04-26 13:47:55
dzVents Version: 3.0.2
Python Version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]

Would be great to have a solution and/or a work around.
User avatar
K3rryBlue
Posts: 77
Joined: Tuesday 07 February 2017 22:13
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10xx
Location: Netherlands
Contact:

Re: custom icons

Post by K3rryBlue »

It seems that ICON upload is not supported via Linux or MAC. Had the same issue uploading from my MAC. Uploading the same on a WIN10 PC didn't give any errors.
Domoticz V4.10717, RPi2 -> Linux raspberrypi 4.4.47-v7+ , RFXCOM - RFXtrx433 USB 433.92MHz ,RAZBERRY2 and OpenZWave USB Version: 1.4-2363-g1f10253-dirty
rgroothuis
Posts: 347
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: custom icons

Post by rgroothuis »

K3rryBlue wrote: Wednesday 30 September 2020 13:19 It seems that ICON upload is not supported via Linux or MAC. Had the same issue uploading from my MAC. Uploading the same on a WIN10 PC didn't give any errors.
Confirmed, I finally got this info from another thread in this forum. I've confirmed there it was working from a Windows Virtual Machine on my Mac.
wkossen
Posts: 62
Joined: Friday 06 November 2020 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: custom icons

Post by wkossen »

i have the same problem. linux rpi.

i kinda think it might be a write-access problem as that is a difference between windows and the 'ux-based' filesystems of macos and linux.

i can't find where the icons are supposed to be stored, else i would try some chown and chmod commands on those folders.... maybe some of the specialists can have a look at this?
wkossen
Posts: 62
Joined: Friday 06 November 2020 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: custom icons

Post by wkossen »

a bit of searching on the pi taught me that the icons might be in the www/images folder under /home/pi/domoticz. i noticed something interesting there. the icons added by plugins (like fritzpresence) are owned by root, as the rest is owned by pi (from which user i installed domoticz). Doing a sudo chmod -R a+w images on that folder doesn't help anything, so it's not just access on that folder. i'm now wondering where the temporary (zip)file is uploaded to and unzipped from, and wether that is allowed. again. i'm not the expert here...
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: custom icons

Post by JuanUil »

Hi,

I have made 4 custom icons with the icon generator.
Uploaded them in Domoticz on my pi4, no problem.
Now I have made a fifth one and I can not upload it anymore.
When I click upload nothing happens.
anyone any idea?

grtz
Jan
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest