Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These options must be supported in the Codec as well as a downlink_commands section added to the Custom Template.

...

Table of Contents
Code Block
    "variables": [
      {
        "order": 0,
        "label": "Reading Interval",
        "type": "string",
        "key": "command.interval",
        "form": "select",
        "min": null,
        "max": null,
        "required": true,
        "hide_on_setup": true,
        "help_texts": [{"value": "Device must be online before changing interval setting", "order": 0}],
        "default_value": "600",
        "values": [
          {
            "label": "30 seconds",
            "value": "30"
          },
  • The key (e.g. command.interval) tells the codec what type of downlink command is defined/used.

  • Make use of the label and help_texts options to display user friendly text so that it is clear to the user what these options do when selected in our Settings UI.

See the tech doc with full details for more info: Downlink Interval Doc

...

Example (command.interval)

...