@easybsb/bsbdef

2.1.8 • Public • Published

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
      }
     ]
    }
   ]
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @easybsb/bsbdef

Weekly Downloads

1

Version

2.1.8

License

MIT

Unpacked Size

7.1 MB

Total Files

5

Last publish

Collaborators

  • konne