Skip to content

Device Saving Structure

Dominik edited this page Aug 30, 2019 · 6 revisions

List of Devices

You can add devices with their Internet address in the app.
If you want to edit the raw JSON string, you have to create the string as follows:

{
  "devices": {
    "randomdeviceid": {
      "name": "New Device",
      "address": "http://127.0.0.1/",
      "mode": "Normal",
      "icon": "Phone"
    }
  }
}

This will generate a device with the name New Device and the address http://127.0.0.1/. Please note that the properties mode and icon are case-sensitive. The ID is used internally and can be chosen freely.

Clone this wiki locally