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.

Visualization, Pin code after wakeup

Is it possible to somehow to get it to ask pin code after device has been inactive for x minutes in visualization. Like you can set it to dim and on wake up it would ask for pincode after that time
Enable "Visualization pin code" in User access settings. Add this to Custom JavaScript. Inactivity timeout is 60 seconds, adjust as needed.

$(function() {
  var timeout = 60 * 1000;
  var oldfn = $.stopEvent;

  function ontimeout() {
    window.location = '/scada-vis/pin?return=index';
  $.stopEvent = function(event) {
    timer = setTimeout(ontimeout, timeout);
    return oldfn(event);
  timer = setTimeout(ontimeout, timeout);
Thanks, Works Smile

Forum Jump: