-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a357d69
commit 394abc3
Showing
16 changed files
with
353 additions
and
104 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Адаптер KNX позволяет IoBroker взаимодействовать с шиной KNX. Для работы адаптера необходимо наличие IP шлюза KNX в системе. Обмен данными происходит по протоколу TCP. Таким образом, платформа где установлен IoBroker должна находится в одной сети с IP шлюзом KNX. | ||
|
||
## Установка адаптера. | ||
1. Открыть вкладку "драйвера" | ||
2. в поиске набрать "knx" | ||
3. нажать на ... | ||
4. нажать на **+** | ||
5. нажать "Добавить" | ||
6. Принять лицензионное соглашение | ||
В картинках: | ||
![image](https://user-images.githubusercontent.com/37106885/120390390-52383e00-c336-11eb-8b6f-9aa5f4faf711.png) | ||
![image](https://user-images.githubusercontent.com/37106885/120390415-59f7e280-c336-11eb-8cbd-7818edcc1dc4.png) | ||
![image](https://user-images.githubusercontent.com/37106885/120390434-5fedc380-c336-11eb-92cb-448f347b3731.png) | ||
|
||
|
||
## Настройка адаптера. | ||
После установки адаптера, вы попадете в его настройки. Так же в настройки адаптера можно попасть через вкладку "Настройки", отфильтровав адаптеры по слову "knx" и нажав на гаечный ключ. | ||
В картинках: | ||
![image](https://user-images.githubusercontent.com/37106885/120390479-6aa85880-c336-11eb-997b-759526d23426.png) | ||
|
||
В настройках адаптера необходимо: | ||
1. Указать **Gateway IP** - ip адрес шлюза KNX | ||
2. **Интерфейс локальной сети** - тот интерфейс, который выходит в локальную сеть | ||
3. **Физический EIB адрес** - любой __свободный__ EIB адрес, не заканчивающийся на "0". **1.1.241** - вполне подойдет. | ||
4. нажать кнопку `KNXPROJ - ФАЙЛ` | ||
5. Выбрать файл knxproj (проект __НЕ ДОЛЖЕН__ быть запаролен), дождаться добавления объектов из knx проекта | ||
6. Нажать OK | ||
В картинках: | ||
![image](https://user-images.githubusercontent.com/37106885/120390523-798f0b00-c336-11eb-91cd-f55111591a25.png) | ||
![image](https://user-images.githubusercontent.com/37106885/120390533-7dbb2880-c336-11eb-85dd-52fc9209eb56.png) | ||
|
||
## Лицензия. | ||
Для работы адаптера требуется приобретение лицензии для адаптера на странице [iobroker.net](https://iobroker.net/accountLicenses) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
{ | ||
"common": { | ||
"name": "knx", | ||
"version": "1.0.45", | ||
"version": "2.0.0", | ||
"news": { | ||
"2.0.0": { | ||
"en": "New admin GUI", | ||
"de": "Neue Admin-GUI", | ||
"ru": "Новый графический интерфейс администратора", | ||
"pt": "Nova GUI de administrador", | ||
"nl": "Nieuwe admin GUI", | ||
"fr": "Nouvelle interface graphique d'administration", | ||
"it": "Nuova GUI di amministrazione", | ||
"es": "Nueva interfaz gráfica de usuario de administración", | ||
"pl": "Nowy graficzny interfejs administratora", | ||
"zh-cn": "新的管理员GUI" | ||
}, | ||
"1.0.45": { | ||
"en": "import of ETS V5.7.5 available", | ||
"de": "Import von ETS V5.7.5 verfügbar", | ||
|
@@ -112,7 +124,9 @@ | |
"zh-cn": "一些错误修复" | ||
} | ||
}, | ||
"title": "KNX", | ||
"titleLang": { | ||
"en": "KNX" | ||
}, | ||
"desc": { | ||
"en": "This adapter allows to import KNX projects from ETS and communicate with devices via KNX IP Gateway", | ||
"de": "Dieser Adapter ermöglicht den Import von KNX-Projekten aus der ETS und die Kommunikation mit Geräten über das KNX IP Gateway", | ||
|
@@ -147,9 +161,6 @@ | |
], | ||
"loglevel": "info", | ||
"type": "iot-systems", | ||
"restartAdapters": [ | ||
"knx" | ||
], | ||
"adminColumns": [ | ||
{ | ||
"name": { | ||
|
@@ -164,23 +175,83 @@ | |
"pl": "Adr KNX", | ||
"zh-cn": "KNX地址" | ||
}, | ||
"align": "left", | ||
"path": "native.address", | ||
"width": 100 | ||
}, | ||
{ | ||
"name": "DPT", | ||
"path": "native.dpt", | ||
"width": 100 | ||
"width": 100, | ||
"align": "left" | ||
} | ||
], | ||
"messages": [ | ||
{ | ||
"condition": { | ||
"operand": "and", | ||
"rules": [ | ||
"oldVersion<2.0.0", | ||
"newVersion>=2.0.0" | ||
] | ||
}, | ||
"title": { | ||
"en": "Important notice!", | ||
"de": "Wichtiger Hinweis!", | ||
"ru": "Важное замечание!", | ||
"pt": "Notícia importante!", | ||
"nl": "Belangrijke mededeling!", | ||
"fr": "Avis important!", | ||
"it": "Avviso IMPORTANTE!", | ||
"es": "Noticia importante!", | ||
"pl": "Ważna uwaga!", | ||
"zh-cn": "重要通知!" | ||
}, | ||
"text": { | ||
"en": "From the [email protected] version only 500 data points can be used fro free. If you have more than 500 KNX data points, you must order the paid license", | ||
"de": "Ab der Version [email protected] können nur noch 500 Datenpunkte frei verwendet werden. Wenn Sie mehr als 500 KNX-Datenpunkte haben, müssen Sie die kostenpflichtige Lizenz bestellen", | ||
"ru": "Из версии [email protected] только 500 точек данных можно использовать бесплатно. Если у вас более 500 точек данных KNX, необходимо заказать платную лицензию.", | ||
"pt": "Na versão [email protected], apenas 500 pontos de dados podem ser usados gratuitamente. Se você tiver mais de 500 pontos de dados KNX, você deve solicitar a licença paga", | ||
"nl": "Van de [email protected] versie kunnen slechts 500 datapunten gratis worden gebruikt. Als u meer dan 500 KNX-datapunten heeft, moet u de betaalde licentie bestellen", | ||
"fr": "À partir de la version [email protected], seuls 500 points de données peuvent être utilisés gratuitement. Si vous avez plus de 500 points de données KNX, vous devez commander la licence payante", | ||
"it": "Dalla versione [email protected] è possibile utilizzare gratuitamente solo 500 punti dati. Se hai più di 500 punti dati KNX, devi ordinare la licenza a pagamento", | ||
"es": "Desde la versión [email protected], solo se pueden usar 500 puntos de datos de forma gratuita. Si tiene más de 500 puntos de datos KNX, debe solicitar la licencia paga", | ||
"pl": "Od wersji [email protected] można bezpłatnie korzystać tylko z 500 punktów danych. Jeśli masz więcej niż 500 punktów danych KNX, musisz zamówić płatną licencję", | ||
"zh-cn": "从 [email protected] 版本开始,只能免费使用 500 个数据点。如果您有超过 500 个 KNX 数据点,则必须订购付费许可证" | ||
}, | ||
"link": "https://iobroker.net/www/pricing", | ||
"level": "warn", | ||
"linkText": { | ||
"en": "Prices", | ||
"de": "Preise", | ||
"ru": "Цены", | ||
"pt": "Preços", | ||
"nl": "Prijzen", | ||
"fr": "Des prix", | ||
"it": "Prezzi", | ||
"es": "Precios", | ||
"pl": "Ceny", | ||
"zh-cn": "价格" | ||
}, | ||
"buttons": [ | ||
"agree", | ||
"cancel" | ||
] | ||
} | ||
], | ||
"globalDependencies": [ | ||
{ | ||
"admin": ">=5.1.28" | ||
} | ||
] | ||
}, | ||
"native": { | ||
"useBooleans": true, | ||
"gwip": "127.0.0.1", | ||
"gwipport": 3671, | ||
"gwipport": 3674, | ||
"eibadr": "1.1.0", | ||
"onlyAddNewObjects": false, | ||
"license": "", | ||
"license": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiaW9icm9rZXIua254IiwiY29tbWVudCI6IiIsImRldmljZVV1aWQiOiJJRzE0NDZlYi0wMWI1LWZmODktMGIzYy02Y2E5ODIwODZjYTYwNSIsInZlbmRvciI6ImlvYm94X2dtYmgiLCJlbWFpbCI6ImsucmluZ21hbm5AcHVua3RuZXR6d2Vyay5uZXQiLCJpbnZvaWNlIjoiMTAyNyIsImludm9pY2VVdWlkIjoiMiIsInR5cGUiOiJjb21tZXJjaWFsIiwibHR5cGUiOiJzdyIsImV4cGlyZXMiOjI0ODc5MzAyOTgsInZlcnNpb24iOiI8MiIsImlkIjoiYjliOGM0MjAtZGU5NC0xMWU4LThiMGEtMTE4ODU1MGNiYmFiIiwiaWF0IjoxNTQxMTU5MDk4fQ.eiMmB-FRHTpcULj5Ya-7y_BMtrjLa5RiZAI_aOXinSEKpQ7GGbTa7x0td7CHEOZ-YD8bqOU9Na55M_SmndW5906M_vul-ERy5UEqXkHo14pvUl7Yn86nVuqZk058Ps151lWw3Ux6ESaWrEaBOQlkVId2hifAJHe3zKY6XA-UdddxfnBtbUg8ibOb6oO0vND4cKGT_PvaxIyE9VJVsEiIjVEUY2MZYaHWVhNIdFEbrP1qVAb4vMOoJZVsN63Cr7Tp1IDXPrdRoWQ0ApimcrxhTS1pO7JAUdrnQ_tW913XQk_f3GHeefDFGBDDbEmRK4P9-IRpgQJgQI03zLVTe2cKwA", | ||
"frameInterval": 30, | ||
"bind": "0.0.0.0" | ||
}, | ||
|
@@ -208,4 +279,4 @@ | |
"native": {} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"name": "iobroker.knx", | ||
"version": "1.0.45", | ||
"version": "2.0.0", | ||
"description": "ioBroker knx Adapter ", | ||
"author": { | ||
"name": "K.Ringmann", | ||
"email": "[email protected]" | ||
}, | ||
"engines": { | ||
"node": ">=8.9.4" | ||
"node": ">=14.15.4" | ||
}, | ||
"contributors": [ | ||
{ | ||
|
@@ -30,42 +30,62 @@ | |
"home automation" | ||
], | ||
"main": "knx.js", | ||
"files": [ | ||
"admin/", | ||
"lib/easy-knx/LICENSE.txt", | ||
"lib/cloudCert.crt", | ||
"lib/utils.js", | ||
"io-package.json", | ||
"LICENSE", | ||
"knx.js" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ioBroker/ioBroker.knx" | ||
}, | ||
"dependencies": { | ||
"@iobroker/adapter-core": "^2.5.1", | ||
"adm-zip": "^0.4.16", | ||
"binary-parser": "^1.6.2", | ||
"binary-protocol": "^0.0.0", | ||
"ieee754": "^1.1.13", | ||
"core-js": "^3.19.1", | ||
"ieee754": "^1.2.1", | ||
"jsonwebtoken": "^8.5.1", | ||
"similarity": "^1.2.1", | ||
"string-similarity": "^4.0.2", | ||
"underscore": "^1.11.0", | ||
"string-similarity": "^4.0.4", | ||
"underscore": "^1.13.1", | ||
"xmldom": "^0.1.27", | ||
"xpath": "^0.0.29", | ||
"xpath": "^0.0.32", | ||
"zip": "^1.2.0" | ||
}, | ||
"devDependencies": { | ||
"gulp-javascript-obfuscator": "^1.1.6", | ||
"@alcalzone/release-script": "^3.4.1", | ||
"@alcalzone/release-script-plugin-iobroker": "^3.4.1", | ||
"@alcalzone/release-script-plugin-license": "^3.4.1", | ||
"@babel/preset-env": "^7.16.0", | ||
"babel-core": "^6.26.3", | ||
"babel-minify": "^0.5.1", | ||
"@babel/preset-env": "^7.11.5", | ||
"babelify": "^10.0.0", | ||
"browserify": "^16.5.2", | ||
"chai": "^4.2.0", | ||
"browserify": "^17.0.0", | ||
"chai": "^4.3.4", | ||
"gulp": "^4.0.2", | ||
"gulp-javascript-obfuscator": "^1.1.6", | ||
"gulp-rename": "^2.0.0", | ||
"mocha": "^8.1.3", | ||
"gulp-replace": "^1.1.3", | ||
"gulp-sourcemaps": "^3.0.0", | ||
"mocha": "^9.1.3", | ||
"vinyl-buffer": "^1.0.1", | ||
"vinyl-source-stream": "^2.0.0", | ||
"vinyl-sourcemaps-apply": "^0.2.1", | ||
"gulp-sourcemaps": "^2.6.5" | ||
"vinyl-sourcemaps-apply": "^0.2.1" | ||
}, | ||
"scripts": { | ||
"test": "node node_modules/mocha/bin/mocha", | ||
"prepublishOnly": "gulp" | ||
"prepublishOnly": "gulp", | ||
"release": "release-script", | ||
"release-patch": "release-script patch --yes", | ||
"release-minor": "release-script minor --yes", | ||
"release-major": "release-script major --yes", | ||
"build": "gulp" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/ioBroker/ioBroker.knx/issues" | ||
|