This page last changed on Sep 15, 2014 by jacksmi.
I had several custom sensors that were linked to images. They were working just fine until a week ago. Now none of them work. The problem appears to be that the state information is not being set in the link tag for the images anymore. As a test I added these sensors to a label and what I get back is the "value" text not the "name" text. I created a new and simpler sensor to test this with a new image and still no luck. Below is the snippets from the controller and panel xml that is being generated.
from controller xml
<include type="sensor" ref="240653" />
<sensor id="240653" name="weatherIcon" type="custom">
<include type="command" ref="3716" />
<state name="rainyIcon" value="rainy" />
<state name="cloudyIcon" value="cloudy" />
<command id="3716" protocol="http">
<property name="pollingInterval" value="10m" />
<property name="url" value="http://127.0.0.1:18581/controller/wunder.xml" />
<property name="xpath" value="//response/current_observation/icon" />
<property name="name" value="weatherIcon" />
from panel xml
<absolute left="634" top="1339" width="28" height="30">
<image id="3710" src="OpenRemote.Logo.30x32.png">
<link type="sensor" ref="240653" />
</image> <-- NOTE no state information
NOTE: The image has a png attached to each state from the sensor but those images do not appear in a state list off of the image.
Thank you for reporting.
You're using Pro 1.0.14 right ?
I'll take a look at it and try to reproduce with your sample and will let you know.
Posted by ebariaux at Sep 16, 2014 07:47
That is correct Pro 1.0.14
Posted by jacksmi at Sep 16, 2014 13:50
Just deployed 1.0.15 Pro Designer, this should fix the issue. No change on the controller side.
Please let you know if it works for you. Thanks.
Posted by ebariaux at Sep 18, 2014 09:39
That fixed it. Thank you!
Posted by jacksmi at Sep 18, 2014 22:17
i seem to be having a similar but slightly different problem its with sensor text ive set like open and close and i get on and off. just updated to 1.0.14
and i checked my custom sensor images are broken too . any ideas?
Posted by jon.gillioz at Sep 22, 2014 13:32
Yes, there is another issue with the switch sensor that I need to look into.
Close to the top of my list but been too busy to address for now. Will happen soon.
Posted by ebariaux at Sep 23, 2014 13:56
Switch sensor issue should now be fixed with the Pro 1.0.16 release that has been deployed.
Posted by ebariaux at Oct 13, 2014 12:58
BTW. I did a controller sync on a fresh OpenRemote install and noticed that none of the custom sensor images were copied. I manually copied the images and all worked fine.
Posted by jacksmi at Oct 29, 2014 18:57
Just wanted to double check when you did experience that.
There is a fix in Designer Pro 1.0.17 that solves this issue, fix went live 25/10.
If you still have the issue, could you describe exactly what you designed so I can try to reproduce.
Posted by ebariaux at Oct 31, 2014 09:47
Sorry for the late reply I was traveling. I did my test 2 days before your fix. Version 1.0.17 fixed this.
Posted by john.smith at Nov 09, 2014 15:22