External data sources
External tags hold information from external data sources, such as weather services, electricity stock markets, or other API interfaces.
Create external data source
In tree, a new external tag can be created in the External data sources node via the icon.
In addition to custom data sources, several data sources predefined by AnyViz are available:
Current weather | By specifying the location and unit system, the current weather at the desired location can be determined. |
Weather forecast | By specifying the location and unit system, the daily and hourly weather forecast is retrieved. |
Air pollution | Current air pollution data for a specified location. |
Electricity spot prices | Wholesale electricity market prices (see details). |
Custom data sources
Data from other systems can be retrieved via cyclic GET or POST requests if the data is available in JSON format. When Custom is selected, the following options appear:
Method | In most cases, data is retrieved via GET. If a request body is needed, POST must be selected. |
URL | The request URL to fetch the data |
Request Body | Only for POST: The JSON payload to be transmitted in the request. |
Interval | Query interval in minutes |
Custom headers | If the destination requires additional request headers (e.g. for authentication), these can be specified in the form of a key/value list. |
Caution: The URL of custom data sources must be whitelisted first. Please contact AnyViz support for this.