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.

Page opening at event
#1
Hi
Is it possible to open a page with an event, is it possible to put the page in front without changing the background page?

tank's

Claudio
Reply
#2
Which visualization tool do you use?
------------------------------
Ctrl+F5
Reply
#3
(10.09.2025, 09:43)Daniel Wrote: Which visualization tool do you use?
Visu.
Reply
#4
Custom JS:
Code:
localbus.listen('object', '0/0/1', (value) => {
  if (value) {
    Visu.showPlan(12);
  }
  else {
    Visu.showPlan(5);
  }
});
Replace number with visu page id found in URL: http://192.168.0.10/apps/data/visu/#12

Visu.showPlan(12) is when ga 0/0/1 is ON and  Visu.showPlan(5); is when 0/0/1 is OFF

If it is for a doorbell, you can put an event script on 0/0/1 to set it back to OFF after a certain time
Reply
#5
(10.09.2025, 13:28)Frank68 Wrote:
(10.09.2025, 09:43)Daniel Wrote: Which visualization tool do you use?
Visu.

I need this on old visu where do I find the page number?
Reply
#6
Old visu use different, see this
https://forum.logicmachine.net/showthread.php?tid=275
------------------------------
Ctrl+F5
Reply


Forum Jump: