GERMAN AMATEUR RADIO STATIONBERLIN / JO62PM / DMR-ID 2621039 / TETRA-ID 2636912
DL7OLG – Amateur radio Berlin
Funkzentrale WIKIVersion 1.0
Draft for 1.0: Features and installation will be checked against the final release.
Wiki/Dispatch console

TETRA → Information services → Custom data sources

Custom data sources for the information service

Provide individual values from public JSON services as short radio replies.

Available in Pro

What a data source provides

A source fetches a public HTTPS address, reads JSON and selects exactly one value from it. The radio user receives a short reply, not an entire webpage. Up to ten sources can be configured. Pi providers installed by the administrator may also appear as reply types. A radio command does not execute freely entered shell commands.

Connecting a source and command

  1. Click Add HTTPS source. Assign a unique source ID, for example messwert. It starts with a lowercase letter and contains a total of 2–32 lowercase letters, digits, underscores or hyphens.
  2. Enter the fixed HTTPS address of the actual JSON service. A variable search parameter may contain {argument} once, for example as a URL query parameter value. The station inserts the text after the radio command in URL-encoded form; the hostname stays fixed.
  3. Enter the JSON path. For a response of {"data":{"value":23}}, it is data.value. For {"values":[23,24]}, values.0 selects the first value.
  4. Set a cache duration between 60 and 3600 seconds and click Save sources.
  5. In the command form, select the new reply type HTTPS JSON: messwert, enter for example Value: {result}, and save the replies as well.
  6. Send the configured command from an authorized radio. Compare the returned single value with the JSON source.

The cache reduces repeated requests. The same request may therefore return a stored value during its cache lifetime. A short cache duration does not guarantee that the external provider updates its data just as frequently.

Source restrictions

Public HTTPS hostnames over port 443 are allowed. IP addresses as hosts, local networks, usernames or passwords in the address, URL fragments and redirects are rejected. The radio parameter must not change the hostname. Even a name that looks public is rejected if its DNS resolution points to a non-public address.

The source must return JSON or GeoJSON. The response read is limited to 64 KiB. The JSON path uses field names and list indices separated by dots; it is not an unrestricted query language. The result must be a single value that can be output. An entire nested object structure is unsuitable for a short radio reply.

Common problems

Source saved but not selectable: Save sources first, then revisit the command form. The source and command are two separate save operations.

The website works but the source does not: An HTML page, login, redirect or oversized response does not meet the requirements. Use the direct public JSON address.

A value is missing: Check the case of JSON field names and the list position. A changed structure at the provider requires an updated path.

Removing a source: Change its associated commands first. Otherwise, a command referring to a missing source remains.

If a provider requires a key in the URL, that key is stored with the source configuration and therefore in configuration backups. Use only the service's intended access credentials and treat the backup accordingly.

Settings in detail

Source ID

Unique name of 2–32 characters; starts with a lowercase letter, followed by lowercase letters, digits, underscores or hyphens. Appears later as a reply type.

HTTPS URL

Fixed public JSON address of up to 512 characters, optionally containing exactly one {argument}. No variable host, IP address, local server or redirect.

JSON path

Field names and zero-based list indices separated by dots, up to 128 characters. Selects exactly one value suitable for output, for example data.value or values.0.

Cache in seconds

60–3600 seconds. A previously fetched value may be reused for this period; the default for new rows is 300 seconds.

Related chapters

Documentation updated: 4 December 2026 · Version 1.0 in preparation