HomeGate and M1

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by dsamson, Mar 15, 2010.

  1. dsamson

    dsamson

    Joined:
    Aug 23, 2004
    Messages:
    49
    Likes Received:
    1
    Location:
    Sydney
    On a local network I have:
    PC running HomeGate IP: 192.168.1.10
    Ness M1 security system with Ethernet interface IP: 192.168.1.12

    I am trying to create a page in HomeGate to be able to display the M1 Ethernet interface webpage. I place the HTML component on the page, entered the URL and the M1 login page is displayed as expected. So far so good.
    The problem is that as soon as the page is displayed, i cannot get rid of it. As soon as I go to other HomeGate pages, this webpage does not disapear and remains on top of the content of the other pages. I thought I was doing something wrong and I changed the URL to www.google.com.au.
    With Google works fine. As soon as I go to different HomeGate page, Google dissapears and I can see the other HomeGate pages properly.

    I know that the M1 Ethernet interface is using a webserver with embedded java applet which it might be the problem.

    Is there any workaround to this, like a function to close the java applet when navigate out from that partcular page? Is this a limitation of HomeGate or a bug?


    OS is Windows XP SP3, IE8 and HomeGate 4.7.2.0 (tried on earlier version and the same problem)

    Thank you.
     
    Last edited by a moderator: Mar 15, 2010
    dsamson, Mar 15, 2010
    #1
  2. dsamson

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    I don't have an M1 panel on hand to try this out. Are there any other web pages that you have found that do this?

    It is going to be very hard to diagnose this problem without being able to replicate it.
     
    Darren, Mar 15, 2010
    #2
  3. dsamson

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    1,554
    Likes Received:
    180
    Location:
    Adelaide, Australia
    I came across this issue some time ago when trying to display the M1 on a colour cTouch. It appears as though the M1 java script creates a window in such a way that the PICED html component can't close it. I wrote all sorts of logic to try and get around this by changing the visibility of the component and dynamically altering the url, but the M1 window just keeps on hanging around and you have to exit and restart piced to clean it up. Eventually I just gave up but perhaps it's time to revisit it.

    On a slight side note, one issue I did come across was that if you dynamically change the url it isn't updated on screen until the next time you call the page up. e.g. you have to go:

    setCompStringProp("SECURITY", "M1","HTML URL", '192.168.1.98'); // Change url
    ShowPage("Security"); // Redisplay page to make it happen

    Changing the url should really force an immediate update.
     
    Ashley, Mar 15, 2010
    #3
  4. dsamson

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    This is in our system as #18873

    This is in our system as #18872
     
    Darren, Mar 16, 2010
    #4
  5. dsamson

    dsamson

    Joined:
    Aug 23, 2004
    Messages:
    49
    Likes Received:
    1
    Location:
    Sydney
    Hi Darren,

    I sent you a PM. Did you get it?

    Danny
     
    dsamson, Mar 16, 2010
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.