Forums : Slider Initialisation
This page last changed on Jan 03, 2014 by estegenburgs.
I have seen already a lot of strange situations here in OpenRemote, if we speak about Drool's rules. But today I encountered a very stupid problem, at least I think so
2 sliders are built like this (Command -> Sensor -> Slider):
global org.openremote.controller.statuscache.CommandFacade execute;
Everything works fine, unless OpenRemote is synchronised or my device is restarted. What happens after synchronisation is the following. Both sliders get their initial values (18 & 19) but rules "Conergy-1" and "Conergy-2" doesn't meet the conditions and doesn't start, although they should. At this moment if I manually change sliders' values, let's say to the same "18" or "19", rules "Conergy-1" and "Conergy-2" work. So, where is the problem about these sliders?
Also I wanted to know, how to avoid "N/A" readings? I found a way how to change "N/A" to anything if it's a custom sensor, even a valid value, but it isn't the best solution, and that's why in rule "Conergy-2" I have:
|Document generated by Confluence on Jun 05, 2016 09:39|