{
  "eep": "TF-01-01",
  "rorg_number": "0xA5",
  "telegram": "4BS",
  "func_number": "0x3F",
  "type_number": "0x7F",
  "type_title": "Blind actuator",
  "bidirectional": true,
  "objects": {
    "CMD": {
      "type": "state",
      "common": {
        "name": {
          "en": "Command",
          "de": "Befehl"
        },
        "role": "state",
        "type": "number",
        "read": true,
        "write": true,
        "states": {
          "0": "Stop",
          "1": "Up",
          "2": "Down",
          "3": "Teach-in"
        },
        "def": 0
      },
      "native": {}
    },
    "TT": {
      "type": "state",
      "common": {
        "name": {
          "en": "Traveled time",
          "de": "Gefahrene Zeit"
        },
        "role": "state",
        "type": "number",
        "read": true,
        "write": false,
        "def": 0,
        "unit": "s"
      },
      "native": {}
    },
    "TTT": {
      "type": "state",
      "common": {
        "name": {
          "en": "Time to travel",
          "de": "Zeit zum Fahren"
        },
        "role": "state",
        "type": "number",
        "read": true,
        "write": true,
        "def": 0,
        "unit": "s"
      },
      "native": {}
    },
    "BS": {
      "type": "state",
      "common": {
        "name": {
          "en": "Block local switch",
          "de": "Lokalen Schalter blockieren"
        },
        "role": "state",
        "type": "boolean",
        "read": true,
        "write": true,
        "def": false
      },
      "native": {}
    },
    "UP": {
      "type": "state",
      "common": {
        "name": {
          "en": "Move up",
          "de": "Hochgefahren"
        },
        "role": "switch",
        "type": "boolean",
        "read": true,
        "write": false,
        "def": false
      },
      "native": {}
    },
    "DO": {
      "type": "state",
      "common": {
        "name": {
          "en": "Move down",
          "de": "Runtergefahren"
        },
        "role": "switch",
        "type": "boolean",
        "read": true,
        "write": false,
        "def": false
      },
      "native": {}
    }
  },
  "case": [
    {
      "send": false,
      "condition": [{
        "bitoffs": "24",
        "bitsize": "8",
        "value": 10
      }],
      "datafield": [
        {
          "data": "Traveled time",
          "shortcut": "TT",
          "bitoffs": "0",
          "bitsize": "16",
          "value": {
            "/": [
              {
                "var": "value"
              },
              10
            ]
          },
          "decimals": 1
        },
        {
          "data": "Block local switch",
          "shortcut": "BS",
          "bitoffs": "29",
          "bitsize": "1",
          "value": 0
        },
        {
          "data": "Move up",
          "shortcut": "UP",
          "bitoffs": "16",
          "bitsize": "8",
          "value": {
            "==": [
              {
                "var": "value"
              },
              1
            ]
          }
        },
        {
          "data": "Move down",
          "shortcut": "DO",
          "bitoffs": "16",
          "bitsize": "8",
          "value": {
            "==": [
              {
                "var": "value"
              },
              2
            ]
          }
        }
      ]
    },
    {
      "send": false,
      "condition": [{
        "bitoffs": "24",
        "bitsize": "8",
        "value": 14
      }],
      "datafield": [
        {
          "data": "Traveled time",
          "shortcut": "TT",
          "bitoffs": "0",
          "bitsize": "16",
          "value": {
            "/": [
              {
                "var": "value"
              },
              10
            ]
          },
          "decimals": 1
        },
        {
          "data": "Block local switch",
          "shortcut": "BS",
          "bitoffs": "29",
          "bitsize": "1",
          "value": 1
        },
        {
          "data": "Move up",
          "shortcut": "UP",
          "bitoffs": "16",
          "bitsize": "8",
          "value": {
            "==": [
              {
                "var": "value"
              },
              1
            ]
          }
        },
        {
          "data": "Move down",
          "shortcut": "DO",
          "bitoffs": "16",
          "bitsize": "8",
          "value": {
            "==": [
              {
                "var": "value"
              },
              2
            ]
          }
        }
      ]
    },
    {
      "send": true,
      "condition": {
        "command": [
          {
            "value": 0
          }
        ]
      },
      "datafield": [
        {
          "data": "Command ID",
          "shortcut": "CMD",
          "bitoffs": "16",
          "bitsize": "8",
          "value": {
            "var": "value"
          }
        },
        {
          "data": "Time to travel",
          "shortcut": "TTT",
          "bitoffs": "0",
          "bitsize": "16",
          "value_out": {
            "*": [
              {
                "var": "value"
              },
              10
            ]
          },
          "decimals": 1
        },
        {
          "data": "fixed parameter",
          "description": "Represents the learnbit",
          "bitoffs": "28",
          "bitsize": "1",
          "value": 1
        }
      ]
    },
    {
      "send": true,
      "condition": {
        "command": [
          {
            "value": 1
          }
        ]
      },
      "datafield": [
        {
          "data": "Command ID",
          "shortcut": "CMD",
          "bitoffs": "16",
          "bitsize": "8",
          "value": {
            "var": "value"
          }
        },
        {
          "data": "Time to travel",
          "shortcut": "TTT",
          "bitoffs": "0",
          "bitsize": "16",
          "value_out": {
            "*": [
              {
                "var": "value"
              },
              10
            ]
          },
          "decimals": 1
        },
        {
          "data": "fixed parameter",
          "description": "Represents the learnbit",
          "bitoffs": "28",
          "bitsize": "1",
          "value": 1
        },
        {
          "data": "Block local switch",
          "shortcut": "BS",
          "bitoffs": "29",
          "bitsize": "1",
          "value": {
            "var": "value"
          }
        },
        {
          "data": "fixed parameter",
          "description": "Runtime in 100ms",
          "bitoffs": "30",
          "bitsize": "1",
          "value": 1
        }
      ]
    },
    {
      "send": true,
      "condition": {
        "command": [
          {
            "value": 2
          }
        ]
      },
      "datafield": [
        {
          "data": "Command ID",
          "shortcut": "CMD",
          "bitoffs": "16",
          "bitsize": "8",
          "value": {
            "var": "value"
          }
        },
        {
          "data": "Time to travel",
          "shortcut": "TTT",
          "bitoffs": "0",
          "bitsize": "16",
          "value_out": {
            "*": [
              {
                "var": "value"
              },
              10
            ]
          },
          "decimals": 1
        },
        {
          "data": "fixed parameter",
          "description": "Learn Bit",
          "bitoffs": "28",
          "bitsize": "1",
          "value": 1
        },
        {
          "data": "fixed parameter",
          "description": "Running time MSB",
          "bitoffs": "0",
          "bitsize": "8",
          "value": 1
        },
        {
          "data": "Block local switch",
          "shortcut": "BS",
          "bitoffs": "29",
          "bitsize": "1",
          "value": {
            "var": "value"
          }
        },
        {
          "data": "fixed parameter",
          "description": "Runtime in 100ms",
          "bitoffs": "30",
          "bitsize": "1",
          "value": 1
        }
      ]
    },
    {
      "send": true,
      "condition": {
        "command": [
          {
            "description": "Teach-in other devices to actuator",
            "value": 3
          }
        ]
      },
      "datafield": [
        {
          "data": "fixed parameter",
          "description": "Command",
          "bitoffs": "16",
          "bitsize": "8",
          "value": 0
        },
        {
          "data": "fixed parameter",
          "description": "Running time LSB",
          "bitoffs": "8",
          "bitsize": "8",
          "value": 0
        },
        {
          "data": "fixed parameter",
          "description": "Running time LSB",
          "bitoffs": "0",
          "bitsize": "8",
          "value": 0
        },
        {
          "data": "fixed parameter",
          "description": "Learn Bit",
          "bitoffs": "28",
          "bitsize": "1",
          "value": 1
        },
        {
          "data": "fixed parameter",
          "description": "Teach-in",
          "bitoffs": "26",
          "bitsize": "1",
          "value": 1
        }
      ]
    }
  ]
}