Control webpage button via virtual ouput

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Doba
    Azubi
    • 24.06.2023
    • 4

    #1

    Control webpage button via virtual ouput

    Hi,

    I'm totally new to virtual inputs and outputs and could use some help.
    For the last couple of days I've been trying to get Loxone to virtually press a button on a webpage with the virtual output function.

    The webpage (http://192.168.1.202) requires a login. The username: admin & password: 1234567.

    I've tried lots of combinations in command but it hasn't been going great yet.
    The basic setup is visible in the screenshots.

    The button I want Loxone to press is the one with the arrow.

    Any suggestions?

  • Tico
    Lox Guru
    • 31.08.2016
    • 1035

    #2
    My sense is that this won't work unless the controlled device has a dedicated API to accept commands via HTTP. I haven't seen any examples of someone interfacing with a web-page as you propose.

    It is possible with an external device like a Raspberry Pi. A Raspberry Pi with appropriate software like Puppeteer can be commanded via a Loxone Virtual Output. The Virtual Output triggers a script to login to the web-page, then click any desired element. It can additionally scrape the results for a particular field and return that value to Loxone via UDP.
    Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

    Kommentar

    Lädt...