Hi,
I am using v1.3.2 of Domopad and it works very good. Recently I added some custom icons to represent some devices; icon.png and icon+on.png
Adding these to a controlpage the status icons change when viewed in a browser (on a mac and also on the android device).
Opening the same controlpage in Domopad these icons do not change when the status is changed.
Do I have to change a setting to make this possible?
Thanks.
Regards,
Wouter
Custom icons status update
- RogueProeliator
- Posts: 2538
- Joined: Tue Nov 13, 2012 3:54 pm
- Location: Baton Rouge, LA
Re: Custom icons status update
No, 99% of the time this situation is because you have your original image named incorrectly... It should not be named "icon.png" but rather "icon+.png". And this is what should be selected in the Control Page's dialog. The image name ending in a + is a trigger to Domotics Pad that it needs to load state-specific images.Do I have to change a setting to make this possible?
Adam
Re: Custom icons status update
Hi,
Thanks for the tip! The icons now also change in Domotics Pad.
Is this specific for Domotics Pad?
Regards,
Wouter
Thanks for the tip! The icons now also change in Domotics Pad.
Is this specific for Domotics Pad?
Regards,
Wouter
Re: Custom icons status update
It's not specific to Domotics Pad.WouterK wrote:Hi,
Thanks for the tip! The icons now also change in Domotics Pad.
Is this specific for Domotics Pad?
Regards,
Wouter
For custom values, there generally needs to be an image+.png file in addition to the others (image+1.png, image+2.png). It seems that the only exception to this rule is binary states (image.png, image+on.png, image+true.png) where the image.png file (the one without the plus sign) is presumed to be off (or false.)
Custom Images on Control Pages
Dave
I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts
Re: Custom icons status update
My first attempts worked by accident
Thanks for the explanation. Now that I know how it works I can expand my control pages with changing status icons.
Regards Wouter
Thanks for the explanation. Now that I know how it works I can expand my control pages with changing status icons.
Regards Wouter