How to change Icon for Motion Detector or Blinds

Moderator: leecollings

Post Reply
ChriWo
Posts: 7
Joined: Tuesday 13 June 2017 8:54
Target OS: NAS (Synology & others)
Domoticz version: 2022.1
Location: Germany
Contact:

How to change Icon for Motion Detector or Blinds

Post by ChriWo »

Hi,

I cannot find a solution, I like to change the Icon for a Motion detector and for one blinds. For switches I can do this.

Can anyone help or point me in the right direction, please.

ChriWo
Attachments
Bildschirmfoto 2023-05-15 um 12.50.17.png
Bildschirmfoto 2023-05-15 um 12.50.17.png (83.56 KiB) Viewed 1677 times
Bildschirmfoto 2023-05-15 um 12.21.23.png
Bildschirmfoto 2023-05-15 um 12.21.23.png (95.29 KiB) Viewed 1677 times
Kedi
Posts: 564
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: How to change Icon for Motion Detector or Blinds

Post by Kedi »

It looks like it is hardcoded in Domoticz executable. I changed the CustomImage in the database but that does not change the icon on the motion sensor.
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
Denny64
Posts: 53
Joined: Friday 03 February 2017 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Italy
Contact:

Re: How to change Icon for Motion Detector or Blinds

Post by Denny64 »

You can do it by changing the icons you want under domoticz->www->images.
For motion sensor: motion48-off.png and motion48-on.png
For blinds: blinds48.png; blinds48sel.png; blindsopen48.png; blindsopen48sel.png

To make it work, don't forget to clear the browser cache.
Kedi
Posts: 564
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: How to change Icon for Motion Detector or Blinds

Post by Kedi »

That is a workaround.
Don't forget that EVERY motion device has/gets that changed icon.
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
Denny64
Posts: 53
Joined: Friday 03 February 2017 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Italy
Contact:

Re: How to change Icon for Motion Detector or Blinds

Post by Denny64 »

Yes, but I've not found another way to change the stock icon with your own.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests