facebook

Noob does not know if this works

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #324704 Reply

    thorsten
    Member

    Hi,

    I found Mobione recently while surfin through the web … However this made up some ideas, I hope someone can help:

    I programmed a private home automatisation system using a visual hardware programming language – Profilab by Abacom: http://www.abacom-online.de/html/profilab.html (A limited demo can be downloaded)

    Currently I do run the system under Win32 and I use a VNC / RDP Connection from my IPhone / IPad to access my home actors and sensor, e.g. light, lawn irrogation etc. However, Profilab offers a web server plug in so, I could run all these things not only via VNC or RDP but via HTTP. However the look of the homepage is horrible. Finding Mobione, my idea is to access the buttons, switches, clocks from profilab directly.

    For example, Profilab access homepage provides the following codes, see attachment clock.zip. There are some links in the html code, if I click on them, an action is triggered on the home automatisation. So my Idea was to simply use one of those links and code is as a JavaScript code e.g. for a MobiOne Toggle:

    document.write(‘<a href=”http://myserver.org/Details?ClientNo=1&FPLNo=0&Control=MainModul.S1&Action=2″></a>&#8217;)

    However this did not work – How can I make it correctly?

    Thank you in advance
    Thorsten

    Attachments:
    You must be logged in to view attached files.
    #324802

    support-michael
    Keymaster

    @thorsten

    I took a look at your example. I’m not fully clear on what would be involved; a web service api doc would go a long way to help clairify how the web interface works. A couple of thoughts:

    1) what happens if you start up the MobiOne Test Center and past one of the service URLs

    2) This is a little ahead assuming you may find a way to interface a mobione webapp with the web service. You will need to be aware of the Same Origin Policy (SOP). For web security reasons, your mobione webapp must be served (originate) from the same domain as the service for general use. The MobiOne Test Center can be configured to avoid this problem if you disable the MobiOne Local Web Server (see Window>Settings). But eventually to test a mobile webapp on your devices you will need to upload your webapp to your server that host the web services.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Noob does not know if this works

You must be logged in to post in the forum log in