Skip to content


Dictionary defines a human-readable form for stats to be shown in widgets.

Field Type Description
id String Dictionary's ID.
name String Dictionary's name.
content String Dictionary's key — value pair in the JSON format.


This example dictionary is meant to be used with a door sensor.

Door sensor sends values 0 and 1 that correspond with the door being closed and opened respectively. If you use the dictionary with a widget, it will show these values in a human-readable form.

Values and their replacements are specified as a JSON string in the content field.

    "id": "5e9eb1bf10b1f754077f3f03",
    "name": "Door status",
    "content": "{\"1\":\"Closed\",\"2\":\"Opened\"}"