Help with configuring HTTP Virtual Output to change user parameters in Loxone

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Mgueho
    Azubi
    • 03.07.2025
    • 2

    #1

    Help with configuring HTTP Virtual Output to change user parameters in Loxone

    Hi everyone,

    I’m trying to set up a virtual output in Loxone Config (latest version) on my Loxone Miniserver, and I could use some help.

    I want to send an HTTP request to change some user parameters on another system. I already have the HTTP command and it works perfectly when I paste it directly into a web browser — so the command itself is fine.

    However, I can’t figure out how to correctly configure my virtual output in Loxone Config so that the Miniserver sends this HTTP request when the virtual output is triggered.

    I’ve tried adding a new virtual output, creating a command with my HTTP link in the “Command ON” field, but it doesn’t seem to actually send the request when I activate the virtual output from Loxone.

    Here are some details:
    • Loxone Config version: latest
    • Miniserver: current generation
    • My HTTP command works manually from a browser.

    My questions:
    1. How exactly should I configure the virtual output and command so that the HTTP request is sent when I turn on the output?
    2. Are there any special settings or formats I need to use (e.g., URL encoding, headers, etc.)?
    3. Is there a way to debug or check if the Miniserver is actually sending the HTTP request?

    Any help or advice would be greatly appreciated!

    Thanks in advance.
  • Jan W.
    Lox Guru
    • 30.08.2015
    • 1503

    #2
    How exactly should I configure the virtual output and command so that the HTTP request is sent when I turn on the output?
    It's difficult to give a generic answer without knowing any details. It could be XML or SOAP content, some server require a proper "Content-Type:", do you need to send a value or just on/off, does the server require https, so you need to use a MS Gen. 2 or Loxberry as a translator, is the content delivered in the URL (HTTP GET) or in a body (HTTP Post)?

    There are a lot of thread in the Loxforum about this topic, e.g. do a Google search with "loxforum http virtual output site:www.loxforum.com". If you have a specific problem / question it might be best to provide detailed information what you've configured (screenshots from Loxone Config).

    Are there any special settings or formats I need to use (e.g., URL encoding, headers, etc.)?​
    Yes, the format, encoding, headers etc. have to match to the requirements of the server and be compliant with the HTTP protocol.

    Is there a way to debug or check if the Miniserver is actually sending the HTTP request?​
    You may use the Loxone Monitor / Debug Info from Loxone Config, but my favorite tool is Wireshark, see https://loxwiki.atlassian.net/wiki/s...er+im+Netzwerk (sorry, German only, but you may use Google translate). With Wireshark you can verify the http request that is transmitted on the wire and it's easy to see any differences between a request from the MS and e.g. a manual request from a browser or curl.
    Miniserver v14.5.12.7, 2x Ext., 2x Relay Ext., 2x Dimmer Ext., DMX Ext., 1-Wire Ext., Gira KNX Tastsensor 3 Komfort, Gira KNX Präsenzmelder, Fenster- und Türkontakte, Loxone Regen- und Windsensor, Gira Dual Q Rauchmelder vernetzt, 1x Relais-Modul
    Loxberry: SmartMeter, MS Backup, CamConnect, Weather4Lox
    Lüftung: Helios KWL EC 370W ET mit Modbus TCP - via Pico-C
    Heizung: Stiebel Eltron WPF 5 cool (Sole-Wasser WP) mit ISG, FB-Heizung mit 18 Kreisen, Erdsonde - via modbus/TCP
    Node-RED: IKEA Tradfri

    Kommentar

    • Mgueho
      Azubi
      • 03.07.2025
      • 2

      #3
      here is my output Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 78
Größe: 13,9 KB
ID: 464584here is the properties Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 82
Größe: 130,7 KB
ID: 464585​and here is the http request Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 77
Größe: 111,8 KB
ID: 464586​I hope this will give you some pointers on what I want to do, I'll keep looking on my own.

      Kommentar

      • Jan W.
        Lox Guru
        • 30.08.2015
        • 1503

        #4
        The command for on / off should start with a / (without http and ip address), so /jdev/sps/... in your case. The ip address needs to be configured in the virtual output. I assume that "use as digital output" is ticked.
        Miniserver v14.5.12.7, 2x Ext., 2x Relay Ext., 2x Dimmer Ext., DMX Ext., 1-Wire Ext., Gira KNX Tastsensor 3 Komfort, Gira KNX Präsenzmelder, Fenster- und Türkontakte, Loxone Regen- und Windsensor, Gira Dual Q Rauchmelder vernetzt, 1x Relais-Modul
        Loxberry: SmartMeter, MS Backup, CamConnect, Weather4Lox
        Lüftung: Helios KWL EC 370W ET mit Modbus TCP - via Pico-C
        Heizung: Stiebel Eltron WPF 5 cool (Sole-Wasser WP) mit ISG, FB-Heizung mit 18 Kreisen, Erdsonde - via modbus/TCP
        Node-RED: IKEA Tradfri

        Kommentar

        Lädt...