Thank you for the answer Admin !
My code was already bound to an event.
It works perfect with quick visualization
but not with user visualization !
JMM.
My code was already bound to an event.
Code:
// Open widget on KNX command
grp.listen('2/3/4', function(object, state) {
if (state == 'value' && object.value == true ) {
// Command to show widget
$("#widget-15").removeClass('hide');
$("#widget-15 > div").trigger('vclick');
}
}, true); // set to true to execute on same object value
It works perfect with quick visualization
but not with user visualization !
JMM.
Jean-Marc