This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Widget and camera
#5
Thank you for the answer Admin !

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
Reply


Messages In This Thread
Widget and camera - by JMM - 26.06.2017, 11:10
RE: Widget and camera - by AEK - 26.06.2017, 13:02
RE: Widget and camera - by JMM - 27.06.2017, 06:10
RE: Widget and camera - by admin - 27.06.2017, 09:51
RE: Widget and camera - by JMM - 27.06.2017, 13:32
RE: Widget and camera - by admin - 27.06.2017, 14:04
RE: Widget and camera - by JMM - 27.06.2017, 16:56

Forum Jump: