Virtual Output GET request

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Gast

    #1

    Virtual Output GET request

    I have connected a Virtual Output to a motion sensor so that each time the motion sensor triggers it doesn't a GET request to a local server: http://jupiter:6999/sbs

    The interesting thing is that it's not working. I set the Virtual output address to http://jupiter:6999 and the command in virtual output command to /sbs but it's not working. It should be simple but something is not working.

    Any suggestions on how to do this?
  • Christian Fenzl
    Lebende Foren Legende
    • 31.08.2015
    • 11234

    #2
    First idea is, that the Miniserver cannot resolve the host name Jupiter. Try it with the local IP.

    Another issue could be:
    /sbs (without a document name) may respond with a HTTP 301 or 302 (not sure, but something like this) to redirect the browser to the default document (e.g. index.html).
    Loxone (possibly) does not follow such redirections.

    Use the full document name you'd like to run, e.g. /sbs/index.html oder /sbs/Index.php.
    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar

    • Gast

      #3
      Zitat von Christian Fenzl
      First idea is, that the Miniserver cannot resolve the host name Jupiter. Try it with the local IP.

      Another issue could be:
      /sbs (without a document name) may respond with a HTTP 301 or 302 (not sure, but something like this) to redirect the browser to the default document (e.g. index.html).
      Loxone (possibly) does not follow such redirections.

      Use the full document name you'd like to run, e.g. /sbs/index.html oder /sbs/Index.php.
      Thanks. Everything was fine on the http/server side. It was a problem with my motion sensor. Thanks.

      Kommentar

      Lädt...