Ad Widget

Collapse

Openweathermap Template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Saftnase
    Member
    • Jul 2006
    • 30

    #1

    Openweathermap Template

    Hi,

    how can i use the Host Inventory Fields with this template.

    When i use the Macro {INVENTORY.LOCATION} to fill the {$LOCATION} Macro in the Template.
    I only get the error: Failed to retrieve data for the following locations: {$INVENTORY.LOCATION}. Failed to receive data. Invalid response status code: 404

    Same with {INVENTORY.LON},{INVENTORY.LAT}

    The values form Inventory are not resolved.
  • incama
    Member
    • Jan 2015
    • 65

    #2
    Have a look here:

    There are limits where you can use certain macro's.

    Comment

    • Saftnase
      Member
      • Jul 2006
      • 30

      #3
      OK, i fixed it by setting an addition Marco at the Host called {$LOCATION} and filled it with geocoordinates
      It overwrites the Macro {$LOCATION} in the template.
      Would have been nice to use the values from Host Inventory, but it is what it is.

      Comment

      Working...