20.02.2017, 09:16
(16.12.2016, 15:38)I\m new to these issues and I'm not clear how to run the function you describe inside the device.I do not know what command you have to put in order to run it.I want to press a button that throws me a true, I put knx variables in true or false depending, which I have achieved, but I also want to send me to another page and there is where I do not know how to execute this function. If you could help me I would appreciate it. Wrote:(16.12.2016, 14:58)admin Wrote: Please post in English next timeThank you very much. As it is applied to the "Touch"?
The task is to show a specific plan depending on a certain object value.
Code:$(function(){
if (typeof grp != 'undefined') {
grp.listen('1/1/1', function(object, state) {
var value = object.value;
if (state == 'value') {
if (value == 1) {
showPlan(11);
}
else if (value == 2) {
showPlan(12);
}
else if (value == 3) {
showPlan(13);
}
}
});
}
});