I have created my own python plugin and I would like to change the icon of a text device.
For some reason it isn't possible to changes icons of a text device.
It would be a nice feature...
Custom icon for text device
Moderators: leecollings, remb0
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
- heggink
- Posts: 980
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Custom icon for text device
Agree. There are s few more where this is not possible. %% is another one. Zigbee2mqtt plugin stores battery state. Love to change the icon to a coloured battery depending on the state but can't.
Sent from my SM-G980F using Tapatalk
Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Custom icon for text device
Looks like I'm not the first to ask this either.
See the discussion starting in 2016 with the same name in \ General \ "Other questions and discussions".
I don't think it's that difficult either, namely an adjustment in UtilityController.js, namelijk
moet worden
The EditUtilityDevice function must also be expanded with the combosensoricon option. And I think it should be ready by then.
This should be possible for any device.
I'm going to try and get this to work.
See the discussion starting in 2016 with the same name in \ General \ "Other questions and discussions".
I don't think it's that difficult either, namely an adjustment in UtilityController.js, namelijk
Code: Select all
xhtm += '<img src="images/text48.png" height="48" width="48"></td>\n';
Code: Select all
xhtm += '<img src="images/' + item.Image + '48_On.png" height="48" width="48"></td>\n';
This should be possible for any device.
I'm going to try and get this to work.
- heggink
- Posts: 980
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Custom icon for text device


Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Who is online
Users browsing this forum: Bing [Bot] and 1 guest