Page 1 of 1

Change icons

Posted: Monday 24 January 2022 2:03
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

Re: Change icons

Posted: Monday 24 January 2022 8:48
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.

Re: Change icons

Posted: Monday 24 January 2022 16:30
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

Re: Change icons

Posted: Tuesday 25 January 2022 1:10
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?

Re: Change icons

Posted: Tuesday 25 January 2022 13:35
by jarmoboy
is somewhere list of entities which can heve custom icon image?

Re: Change icons

Posted: Tuesday 25 January 2022 13:38
by waltervl
Not that I know of, could be somewhere hidden in the code https://github.com/domoticz/domoticz

Re: Change icons

Posted: Tuesday 25 January 2022 13:42
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

Re: Change icons

Posted: Tuesday 25 January 2022 13:45
by waltervl
I never tried this option.

Re: Change icons

Posted: Monday 21 February 2022 10:52
by jarmoboy
Icons cant be changed by MQTT.
It can make f.e. http request.

Re: Change icons

Posted: Monday 21 February 2022 15:15
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