@easybsb/bsbdef

This package contains all definitions of command to communicate with bsb devices

Usage no npm install needed!

<script type="module">
  import easybsbBsbdef from 'https://cdn.skypack.dev/@easybsb/bsbdef';
</script>

README

bsbDef

npm version

The content is autogenerated by the repo BSB_lan_def2JSON.

Content

The index.json contains all categories and commands to communicate with the bsb devices.

All text elements like name, decription,... are json hashmaps with the language as key and value as the text. If a key for the requested language doesn't exists take first EN and than DE as fallback language.

Sample

{
 "version": "2.0.63",
 "compiletime": "20201227153042",
 "categories": {
  "0": {
   "name": {
    "KEY": "ENUM_CAT_00_TEXT",
    "CS": "Čas",
    "DA": "Klokkeslæt og dato",
    "DE": "Uhrzeit und Datum",
    "EL": "Ημερομηνία/ώρα",
    "EN": "Date/Time",
    "ES": "Reloj",
    "FI": "Kellonaika ja päivämäärä",
    "FR": "Heure",
    "HU": "Óra állás",
    "IT": "Data e ora",
    "NL": "Kloktijd",
    "PL": "Godzina i data",
    "RU": "Дата и время",
    "SL": "Čas a dátum",
    "SV": "Klocka",
    "TR": "Gun ve zaman saati"
   },
   "min": 0,
   "max": 6,
   "commands": [
    {
     "parameter": 0,
     "command": "0x053D000B",
     "type": {
      "unit": {
       "DE": ""
      },
      "name": "DATETIME",
      "datatype": "DTTM",
      "datatype_id": 5,
      "factor": 1,
      "payload_length": 40,
      "precision": 0,
      "enable_byte": 6
     },
     "description": {
      "KEY": "STR0_TEXT",
      "DE": "Datum/Zeit",
      "IT": "Data / ora",
      "NL": "Datum/Tijd",
      "PL": "Czas i data",
      "RU": "Дата/время"
     },
     "device": [
      {
       "family": 255,
       "var": 255
      }
     ]
    }
   ]
  }
}