Ankündigung

Einklappen
Keine Ankündigung bisher.

Virtual http command cant retrieve values???

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

  • Virtual http command cant retrieve values???

    Hi,

    I would like to receive weather info via openweathermap. I subscribed there and received a dedicated api.
    I than can create a link like http://samples.openweathermap.org/da...fae22&mode=xml to get the weather data.

    I've added the link as a virtual http input. Than i added a virtual http input command to get the actual temperature.
    i've tried
    value="\v
    \ivalue="\i\v
    <temperature value="\v
    \itemperature\i\v

    and a lot other options that i forgot.
    i've also tried with removing the &mode=xml from the link to try and get the data from the site in a different format. I've tried changing the \ v to 1,#,...

    Nothing however seems to work. In liveview the value remains 0 of the virtual input.

    Any suggestions on what i 'm doing wrong would be greatly appreciated.
    Zuletzt geändert von ty5500; vor einer Woche.

  • #2
    Zitat von ty5500 Beitrag anzeigen
    ...I've added the link as a virtual http input. Than i added a virtual http input command to get the actual temperature.
    ...
    <temperature value="\v
    ...
    Hi,
    This configuration should work.

    URL: The complete Link You show above
    Command recognition: temperature value="\v

    Did You safe it into your miniserver, and did you wait the time you set into Polling cycle [s]?
    lg Romildo

    Kommentar


    • #3
      Zitat von romildo Beitrag anzeigen
      Hi,
      This configuration should work.

      URL: The complete Link You show above
      Command recognition: temperature value="\v

      Did You safe it into your miniserver, and did you wait the time you set into Polling cycle [s]?
      It works now. The command was as you said correct. My miniservers subnet gateway/dns server however wasnt configured correctly (not with the ip adress of the router) and this caused it to not be able to retrieve the values. Thanks!!

      Kommentar


      • romildo
        romildo kommentierte
        Kommentar bearbeiten
        You´re welcom.
    Lädt...
    X