MusicBoxProject / raspberry-service

A systemd service that monitor a Kinto bucket to sync config updates.
Apache License 2.0
2 stars 1 forks source link

raspberry-service

A Kinto plugin to start/stop playing a playlist on MPD.

JSON schema:

{
  "properties": {
    "status": {
      "title": "Status",
      "type": "string",
      "description": "Is the tag on currently on the reader?",
      "enum": [
        "on",
        "off"
      ]
    },
    "nfcReader": {
      "title": "NFC Reader ID",
      "type": "string",
      "description": "The ID of the NFC reader that did the update"
    }
  },
  "type": "object"
}

UI schema:

{
  "ui:order": [
    "nfcReader",
    "status"
  ]
}