Skip to content

Update framework to use new configuration format

Refactor application to use the new configuration format:

{
  "inputs": {
    "ttn": {
        "application_id": "abc",
        "access_token": "xyz"
    }
  },
  "data": [
    "temperature",
    "humidity",
    "motion",
    "light",
    "battery"
  ],
  "metadata": [
    "location",
    "contact",
    "room",
    "installation_date"
  ],
  "outputs": {
    "mqtt": false,
    "rest": {
      "disable": {
        "metadata":["contact", "installation_date"],
        "data": ["battery"]
      }
    }
  }
}
Edited by Sille Van Landschoot