Change 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

Post Reply
Paupole
Posts: 2
Joined: Monday 24 January 2022 1:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Change icons

Post by Paupole »

Hello
You can't change icons using the rfy type for somfy or there may be a trick to do it? Thanks for your help
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Change icons

Post by waltervl »

What is the device type you want to change?
What version of Domoticz are you using?
Icon change is not implemented for all device types but for a lot it is.
Last edited by waltervl on Tuesday 25 January 2022 1:11, edited 2 times in total.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Paupole
Posts: 2
Joined: Monday 24 January 2022 1:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Change icons

Post by Paupole »

Hello
the lamp on off it would be good if we could change the icon because in all the icons for rfy we cannot change the icon I would like to put a portal icon
the version of domoticz is 2021.1
All the buttons on the rfxcom RFXtrx433 range you can´t change(sans titre rfy)
the other image is not rfy but my portal is rfy
Attachments
Sans titre1.jpg
Sans titre1.jpg (34.78 KiB) Viewed 1082 times
Sans titre.jpg
Sans titre.jpg (32.03 KiB) Viewed 1082 times
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Change icons

Post by waltervl »

Strange, but I do not have RF hardware and so related devices so don't know why this is happening.

Perhaps somebody else can test this?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jarmoboy
Posts: 33
Joined: Wednesday 12 February 2020 6:39
Target OS: Linux
Domoticz version: v2022.2
Location: Czech
Contact:

Re: Change icons

Post by jarmoboy »

is somewhere list of entities which can heve custom icon image?
DOCKERED v14824,NODE-RED,Tasmotized Sonoffs,Tasmoadmin,zigbee2mqtt,EWPE,REST980,WLED
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Change icons

Post by waltervl »

Not that I know of, could be somewhere hidden in the code https://github.com/domoticz/domoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jarmoboy
Posts: 33
Joined: Wednesday 12 February 2020 6:39
Target OS: Linux
Domoticz version: v2022.2
Location: Czech
Contact:

Re: Change icons

Post by jarmoboy »

iam trying to change icon for custom sensor and switch with no succes, so iam trying to find out if it works or not.
iam sending via MQTT :
{"command": "switchlight","idx":366,"switchcmd":"Toggle","customimage":101} // switch toggles but no icon change
{"command": "udevice","idx":367,"svalue":"45","customimage":104} // value 45 read but no icon changed
DOCKERED v14824,NODE-RED,Tasmotized Sonoffs,Tasmoadmin,zigbee2mqtt,EWPE,REST980,WLED
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Change icons

Post by waltervl »

I never tried this option.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jarmoboy
Posts: 33
Joined: Wednesday 12 February 2020 6:39
Target OS: Linux
Domoticz version: v2022.2
Location: Czech
Contact:

Re: Change icons

Post by jarmoboy »

Icons cant be changed by MQTT.
It can make f.e. http request.
DOCKERED v14824,NODE-RED,Tasmotized Sonoffs,Tasmoadmin,zigbee2mqtt,EWPE,REST980,WLED
User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Change icons

Post by FireWizard »

Hi,

You cannot change the icons on the fly by MQTT, but by HTTP it is possible.

See: viewtopic.php?p=265212#p265212

Credits to waaren. RIP

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest