Can not change icones for switch Lightning 6
Moderators: leecollings, remb0
-
- Posts: 70
- Joined: Tuesday 01 November 2016 16:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: France
- Contact:
Can not change icones for switch Lightning 6
Hello all
I need your help on this case : (may be a bug)
On my switch with type lightning 1, I can change the icone.
On switches with lignthin 6 : no options....
I couldn't find anytging about that. Is it a bug ?
I'm using 2020.1 on RPI4
Thanks a lot for any ideas.
I need your help on this case : (may be a bug)
On my switch with type lightning 1, I can change the icone.
On switches with lignthin 6 : no options....
I couldn't find anytging about that. Is it a bug ?
I'm using 2020.1 on RPI4
Thanks a lot for any ideas.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Can not change icones for switch Lightning 6
Can you please try and test by changing line 8 of <domoticz dir>/www/app/devices/deviceFactory.js from
Code: Select all
return ['Light/Switch', 'Lighting 1', 'Lighting 2', 'Lighting 5','Color Switch'].includes(device.Type) &&
Code: Select all
return ['Light/Switch', 'Lighting 1', 'Lighting 2', 'Lighting 5','Lighting 6','Color Switch'].includes(device.Type) &&
Maybe also a domoticz restart is needed.
If successful I will create a PR for this
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 70
- Joined: Tuesday 01 November 2016 16:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Can not change icones for switch Lightning 6
Yesssss
It works : Thanks a lot
It works : Thanks a lot

-
- Posts: 70
- Joined: Tuesday 01 November 2016 16:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Can not change icones for switch Lightning 6
Dear Waaren,
If you can also add "Home Confort", It could be great.
I could test it, and it works also
thanks again
If you can also add "Home Confort", It could be great.
I could test it, and it works also
thanks again
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Can not change icones for switch Lightning 6
Can you please explain what this is and attach a screenshot of the current icon ? I have no idea what this is.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 70
- Joined: Tuesday 01 November 2016 16:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Can not change icones for switch Lightning 6

Envoyé de mon iPhone en utilisant Tapatalk
-
- Posts: 70
- Joined: Tuesday 01 November 2016 16:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Can not change icones for switch Lightning 6

Hello it is a device for a lamp
By défaut only the lamp icone is available
I could update the line 8 to have this :
Envoyé de mon iPhone en utilisant Tapatalk
-
- Posts: 70
- Joined: Tuesday 01 November 2016 16:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Can not change icones for switch Lightning 6

Envoyé de mon iPhone en utilisant Tapatalk
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Can not change icones for switch Lightning 6
OK clear. I created Pull Request #4089 . If @gizmocuz is OK it will be merged in one of the next Beta's
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 70
- Joined: Tuesday 01 November 2016 16:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Can not change icones for switch Lightning 6
Thanks again 
Envoyé de mon iPhone en utilisant Tapatalk

Envoyé de mon iPhone en utilisant Tapatalk
Who is online
Users browsing this forum: No registered users and 1 guest