custom images

Python and python framework

Moderator: leecollings

Post Reply
micha_pr
Posts: 82
Joined: Friday 24 October 2014 12:26
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany, near Berlin
Contact:

custom images

Post by micha_pr »

Hi,

is it possible that custom image does not work for all elements?

It is working for switch fine - but for "custom sensor" it isn't.
See the right value in database - but the default image will be shown:

Code: Select all

254|14|000E0003|3|dhome - Status|1|243|6|0|0|101|255|1|2|2017-04-28 10:22:49|254|0.0|1.0|0.0|1.0|||0|0|101||
255|14|000E0004|4|dhome - Status2|1|244|62|0|0|12|255|1|50|2017-04-28 10:22:49|255|0.0|1.0|0.0|1.0|||50|0|101||
Same image-id (101) will be shown in database - but I see the image only for the switch.
(So code should be right...)

Problem I have - I need to create a Windor/Door element with 3 states (open/closed/tilted) - but a switch will not be correct (nice) because user should not change the status by click the icon :) - it is more a sensor ....

Any idea?

Thanks
Michael
Michael Pruefer
----------------------------
http://www.zwave-review.com (German only)
http://www.SmartHome.Work (German only)
User avatar
Dnpwwo
Posts: 820
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: custom images

Post by Dnpwwo »

@micha_pr,

The web gui does not honor custom images for all device types which is probably the problem.

There is a gui refresh exercise going at the moment being driven by @opticmystic, maybe you could suggest to him (or her) that everything could be made to support custom images as a part of that.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
Post Reply

Who is online

Users browsing this forum: eddieb and 1 guest