Ankündigung

Einklappen

Serverwartung 21.2.



Am 21.2. im Laufe des späten Abends wird eine Serverwartung durchgeführt. Das Forum ist dadurch für gut zwei Stunden nicht erreichbar.
Es wird eine Wartungsseite geschaltet.

Mehr anzeigen
Weniger anzeigen

Webpage query and evaluation

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

    HS/FS Webpage query and evaluation

    Hi.

    I am trying to figure out the webpage/IP evaluation in HS.
    I couldn't find any example and all the testing I've made got absolutely no results.

    I am trying to achieve two simple tasks:

    1 - Post a value to a webpage. Example: http://host:ip/mypage?value=x
    2 - Get a response from an IP device. Example: Get power status from dreambox: http://<dreambox_ip>/web/powerstate

    1 - I've created a query/evaluate entry in HS. I've set the host ip and port. I tested the option 'send data blocks' and I am sending 2 blocks: "/mypage?value=" and the object value as text. Didn't work.

    2 - Set Ip and host. Send http calling to "/web/powerstate". In the reception added a regular expression to catch the 'true' or 'false' and pass it to a switch. Didn't work either.

    Can someone point me in the right direction?

    Thanks.

    Regards,
    Mike

    #2
    https://knx-user-forum.de/downloads.php?do=file&id=442
    Gruß Matthias
    EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
    - PN nur für PERSÖNLICHES!

    Kommentar


      #3
      Thanks.

      Will look into it.

      Kommentar

      Lädt...
      X