iobroker.lorawan 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 BenAhrdt <bsahrdt@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ ![Logo](admin/lorawan.png)
2
+ # ioBroker.lorawan
3
+
4
+ [![NPM version](https://img.shields.io/npm/v/iobroker.lorawan.svg)](https://www.npmjs.com/package/iobroker.lorawan)
5
+ [![Downloads](https://img.shields.io/npm/dm/iobroker.lorawan.svg)](https://www.npmjs.com/package/iobroker.lorawan)
6
+ ![Number of Installations](https://iobroker.live/badges/lorawan-installed.svg)
7
+ ![Test and Release](https://github.com/BenAhrdt/ioBroker.lorawan/workflows/Test%20and%20Release/badge.svg)
8
+ [![Donate](https://img.shields.io/badge/paypal-donate%20|%20spenden-blue.svg)](https://paypal.me/besc83)
9
+
10
+ [![NPM](https://nodei.co/npm/iobroker.lorawan.png?downloads=true)](https://nodei.co/npm/iobroker.lorawan/)
11
+
12
+ ## lorawan adapter for ioBroker
13
+ converts the desired lora device data to an ioBroker structure.
14
+
15
+ Adapter was created in collaboration with Joerg Froehner J-Paul0815@hafenmeister.com
16
+
17
+ ## Changelog
18
+ <!--
19
+ Placeholder for the next version (at the beginning of the line):
20
+ ### **WORK IN PROGRESS**
21
+ -->
22
+ ### 0.0.2 (2024-01-12)
23
+ * (BenAhrdt) initial release
24
+
25
+ ## License
26
+ MIT License
27
+
28
+ Copyright (c) 2024 BenAhrdt <bsahrdt@gmail.com>
29
+
30
+ Permission is hereby granted, free of charge, to any person obtaining a copy
31
+ of this software and associated documentation files (the "Software"), to deal
32
+ in the Software without restriction, including without limitation the rights
33
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
34
+ copies of the Software, and to permit persons to whom the Software is
35
+ furnished to do so, subject to the following conditions:
36
+
37
+ The above copyright notice and this permission notice shall be included in all
38
+ copies or substantial portions of the Software.
39
+
40
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
41
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
42
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
43
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
44
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
45
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
46
+ SOFTWARE.
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Adaptereinstellungen für Lorawan",
3
+ "ServersettingsHeader": "Servereinstellungen",
4
+ "Serverinformation": "Legen Sie die wichtigsten Kommunikationseinstellungen für Ihren Server fest",
5
+ "AuthenticationHeader": "Authentifizierungseinstellungen",
6
+ "AuthenticationInformationrmation": "Legen Sie die Authentifizierung für Ihren Server fest (falls erforderlich)",
7
+ "OriginHeader": "Ursprungseinstellungen",
8
+ "OriginInformation": "Legen Sie den Ursprung der erwarteten Daten fest"
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Adapter settings for lorawan",
3
+ "ServersettingsHeader": "Serversettings",
4
+ "Serverinformation": "Set the main communication settings to your server",
5
+ "AuthenticationHeader": "Authenticationsettings",
6
+ "AuthenticationInformationrmation": "Set the authentication for your server (if needed)",
7
+ "OriginHeader": "Origensettings",
8
+ "OriginInformation": "Set the origin of the expected data"
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Configuración del adaptador para lorawan",
3
+ "ServersettingsHeader": "Configuración del servidor",
4
+ "Serverinformation": "Establezca la configuración principal de comunicación para su servidor",
5
+ "AuthenticationHeader": "Configuración de autenticación",
6
+ "AuthenticationInformationrmation": "Configure la autenticación para su servidor (si es necesario)",
7
+ "OriginHeader": "Configuración de origen",
8
+ "OriginInformation": "Establecer el origen de los datos esperados."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Paramètres de l'adaptateur pour Lorawan",
3
+ "ServersettingsHeader": "Paramètres du serveur",
4
+ "Serverinformation": "Définissez les principaux paramètres de communication sur votre serveur",
5
+ "AuthenticationHeader": "Paramètres d'authentification",
6
+ "AuthenticationInformationrmation": "Définissez l'authentification pour votre serveur (si nécessaire)",
7
+ "OriginHeader": "Paramètres d'origine",
8
+ "OriginInformation": "Définir l'origine des données attendues"
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Impostazioni dell'adattatore per lorawan",
3
+ "ServersettingsHeader": "Impostazioni del server",
4
+ "Serverinformation": "Configura le principali impostazioni di comunicazione sul tuo server",
5
+ "AuthenticationHeader": "Impostazioni di autenticazione",
6
+ "AuthenticationInformationrmation": "Imposta l'autenticazione per il tuo server (se necessario)",
7
+ "OriginHeader": "Impostazioni dell'origine",
8
+ "OriginInformation": "Imposta l'origine dei dati attesi"
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Adapterinstellingen voor Lorawan",
3
+ "ServersettingsHeader": "Serverinstellingen",
4
+ "Serverinformation": "Stel de belangrijkste communicatie-instellingen in op uw server",
5
+ "AuthenticationHeader": "Authenticatie-instellingen",
6
+ "AuthenticationInformationrmation": "Stel de authenticatie voor uw server in (indien nodig)",
7
+ "OriginHeader": "Oorspronkelijke instellingen",
8
+ "OriginInformation": "Stel de oorsprong van de verwachte gegevens in"
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Ustawienia adaptera dla Lorawan",
3
+ "ServersettingsHeader": "Ustawienia serwera",
4
+ "Serverinformation": "Skonfiguruj główne ustawienia komunikacji z serwerem",
5
+ "AuthenticationHeader": "Ustawienia uwierzytelniania",
6
+ "AuthenticationInformationrmation": "Ustaw uwierzytelnianie dla swojego serwera (jeśli to konieczne)",
7
+ "OriginHeader": "Ustawienia oryginalności",
8
+ "OriginInformation": "Ustaw pochodzenie oczekiwanych danych"
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Configurações do adaptador para lorawan",
3
+ "ServersettingsHeader": "Configurações do servidor",
4
+ "Serverinformation": "Defina as principais configurações de comunicação para o seu servidor",
5
+ "AuthenticationHeader": "Configurações de autenticação",
6
+ "AuthenticationInformationrmation": "Defina a autenticação do seu servidor (se necessário)",
7
+ "OriginHeader": "Configurações de origem",
8
+ "OriginInformation": "Defina a origem dos dados esperados"
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Настройки адаптера для Лораван",
3
+ "ServersettingsHeader": "Настройки сервера",
4
+ "Serverinformation": "Установите основные настройки связи на ваш сервер",
5
+ "AuthenticationHeader": "Настройки аутентификации",
6
+ "AuthenticationInformationrmation": "Установите аутентификацию для вашего сервера (при необходимости)",
7
+ "OriginHeader": "Оригинальные настройки",
8
+ "OriginInformation": "Установите источник ожидаемых данных"
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "Налаштування адаптера для lorawan",
3
+ "ServersettingsHeader": "Налаштування сервера",
4
+ "Serverinformation": "Встановіть основні параметри зв'язку на вашому сервері",
5
+ "AuthenticationHeader": "Налаштування автентифікації",
6
+ "AuthenticationInformationrmation": "Налаштуйте автентифікацію для вашого сервера (якщо потрібно)",
7
+ "OriginHeader": "Налаштування походження",
8
+ "OriginInformation": "Встановіть джерело очікуваних даних"
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "lorawan adapter settings": "lorawan 的适配器设置",
3
+ "ServersettingsHeader": "服务器设置",
4
+ "Serverinformation": "设置服务器的主要通信设置",
5
+ "AuthenticationHeader": "身份验证设置",
6
+ "AuthenticationInformationrmation": "设置服务器的身份验证(如果需要)",
7
+ "OriginHeader": "原始设置",
8
+ "OriginInformation": "设置预期数据的来源"
9
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "i18n": true,
3
+ "type": "panel",
4
+ "items": {
5
+ "ServersettingsHeader": {
6
+ "newLine": true,
7
+ "type": "header",
8
+ "text": "ServersettingsHeader",
9
+ "size": 3
10
+ },
11
+ "Serverinformation":{
12
+ "newLine":true,
13
+ "type": "staticText",
14
+ "label": "Serverinformation"
15
+ },
16
+ "ipUrl":{
17
+ "newLine": true,
18
+ "type": "text",
19
+ "label": "ipUrl",
20
+ "tooltip": "ipUrlTooltip",
21
+ "default": "",
22
+ "sm": 4
23
+ },
24
+ "port":{
25
+ "type": "number",
26
+ "label": "port",
27
+ "tooltip": "portTooltip",
28
+ "default": 8883,
29
+ "sm": 1
30
+ },
31
+ "ssl":{
32
+ "type": "checkbox",
33
+ "label": "SSL",
34
+ "tooltip": "sslTooltip",
35
+ "default": true
36
+ },
37
+ "AuthenticationHeader": {
38
+ "newLine": true,
39
+ "type": "header",
40
+ "text": "AuthenticationHeader",
41
+ "size": 3
42
+ },
43
+ "AuthenticationInformation":{
44
+ "newLine":true,
45
+ "type": "staticText",
46
+ "label": "AuthenticationInformation"
47
+ },
48
+ "username":{
49
+ "newLine":true,
50
+ "type": "text",
51
+ "label": "username",
52
+ "tooltip": "usernameTooltip",
53
+ "default": "",
54
+ "sm": 4
55
+ },
56
+ "password":{
57
+ "type": "password",
58
+ "label": "password",
59
+ "tooltip": "passwordTooltip",
60
+ "repeat": true,
61
+ "default": "",
62
+ "sm": 6
63
+ },
64
+ "OriginHeader": {
65
+ "newLine": true,
66
+ "type": "header",
67
+ "text": "OriginHeader",
68
+ "size": 3
69
+ },
70
+ "OriginInformation":{
71
+ "newLine":true,
72
+ "type": "staticText",
73
+ "label": "OriginInformation"
74
+ },
75
+ "ttn":{
76
+ "newLine":true,
77
+ "type": "checkbox",
78
+ "label": "Ttn",
79
+ "tooltip": "ttnTooltip",
80
+ "default": true
81
+ },
82
+ "chirpstack":{
83
+ "type": "checkbox",
84
+ "label": "Chirpstack",
85
+ "tooltip": "chirpstackTooltip",
86
+ "default": false
87
+ }
88
+ }
89
+ }
Binary file
@@ -0,0 +1,127 @@
1
+ {
2
+ "common": {
3
+ "name": "lorawan",
4
+ "version": "0.0.2",
5
+ "news": {
6
+ "0.0.2": {
7
+ "en": "initial release",
8
+ "de": "erstausstrahlung",
9
+ "ru": "первоначальный выпуск",
10
+ "pt": "lançamento inicial",
11
+ "nl": "eerste release",
12
+ "fr": "libération initiale",
13
+ "it": "rilascio iniziale",
14
+ "es": "liberación inicial",
15
+ "pl": "początkowe zwolnienie",
16
+ "uk": "початковий реліз",
17
+ "zh-cn": "初步释放"
18
+ },
19
+ "0.0.1": {
20
+ "en": "initial release",
21
+ "de": "Erstveröffentlichung",
22
+ "ru": "Начальная версия",
23
+ "pt": "lançamento inicial",
24
+ "nl": "Eerste uitgave",
25
+ "fr": "Première version",
26
+ "it": "Versione iniziale",
27
+ "es": "Versión inicial",
28
+ "pl": "Pierwsze wydanie",
29
+ "uk": "Початкова версія",
30
+ "zh-cn": "首次出版"
31
+ }
32
+ },
33
+ "title": "LoRaWAN",
34
+ "titleLang": {
35
+ "en": "LoRaWAN",
36
+ "de": "LoRaWAN",
37
+ "ru": "ЛоРаВАН",
38
+ "pt": "LoRaWAN",
39
+ "nl": "LoRaWAN",
40
+ "fr": "LoRaWAN",
41
+ "it": "LoRaWAN",
42
+ "es": "LoRaWAN",
43
+ "pl": "LoRaWAN",
44
+ "uk": "LoRaWAN",
45
+ "zh-cn": "洛拉万"
46
+ },
47
+ "desc": {
48
+ "en": "converts the desired lora gateway data to a ioBroker structure",
49
+ "de": "wandelt die gewünschten Lora-Gateway-Daten in eine ioBroker-Struktur um",
50
+ "ru": "преобразует нужные данные шлюза Lora в структуру ioBroker",
51
+ "pt": "converte os dados desejados do gateway lora em uma estrutura ioBroker",
52
+ "nl": "converteert de gewenste Lora-gatewaygegevens naar een ioBroker-structuur",
53
+ "fr": "convertit les données de la passerelle Lora souhaitées en une structure ioBroker",
54
+ "it": "converte i dati del gateway lora desiderati in una struttura ioBroker",
55
+ "es": "convierte los datos de la puerta de enlace lora deseada a una estructura ioBroker",
56
+ "pl": "konwertuje żądane dane bramy Lora do struktury ioBroker",
57
+ "uk": "перетворює потрібні дані lora gateway на структуру ioBroker",
58
+ "zh-cn": "将所需的lora网关数据转换为ioBroker结构"
59
+ },
60
+ "authors": [
61
+ "BenAhrdt <bsahrdt@gmail.com>"
62
+ ],
63
+ "keywords": [
64
+ "LoRaWAN"
65
+ ],
66
+ "license": "MIT",
67
+ "platform": "Javascript/Node.js",
68
+ "main": "main.js",
69
+ "icon": "lorawan.png",
70
+ "enabled": true,
71
+ "extIcon": "https://raw.githubusercontent.com/BenAhrdt/ioBroker.lorawan/main/admin/lorawan.png",
72
+ "readme": "https://github.com/BenAhrdt/ioBroker.lorawan/blob/main/README.md",
73
+ "loglevel": "info",
74
+ "tier": 3,
75
+ "mode": "daemon",
76
+ "type": "protocols",
77
+ "compact": true,
78
+ "connectionType": "cloud",
79
+ "dataSource": "push",
80
+ "adminUI": {
81
+ "config": "json"
82
+ },
83
+ "dependencies": [
84
+ {
85
+ "js-controller": ">=3.3.22"
86
+ }
87
+ ],
88
+ "globalDependencies": [
89
+ {
90
+ "admin": ">=5.1.13"
91
+ }
92
+ ]
93
+ },
94
+ "native": {
95
+ "ipUrl": "",
96
+ "port": 8883,
97
+ "username": "",
98
+ "password": "",
99
+ "ssl": true,
100
+ "ttn": true,
101
+ "chirpstack": false
102
+ },
103
+ "objects": [],
104
+ "instanceObjects": [
105
+ {
106
+ "_id": "info",
107
+ "type": "channel",
108
+ "common": {
109
+ "name": "Information"
110
+ },
111
+ "native": {}
112
+ },
113
+ {
114
+ "_id": "info.connection",
115
+ "type": "state",
116
+ "common": {
117
+ "role": "indicator.connected",
118
+ "name": "Device or service connected",
119
+ "type": "boolean",
120
+ "read": true,
121
+ "write": false,
122
+ "def": false
123
+ },
124
+ "native": {}
125
+ }
126
+ ]
127
+ }
@@ -0,0 +1,19 @@
1
+ // This file extends the AdapterConfig type from "@types/iobroker"
2
+ // using the actual properties present in io-package.json
3
+ // in order to provide typings for adapter.config properties
4
+
5
+ import { native } from "../io-package.json";
6
+
7
+ type _AdapterConfig = typeof native;
8
+
9
+ // Augment the globally declared type ioBroker.AdapterConfig
10
+ declare global {
11
+ namespace ioBroker {
12
+ interface AdapterConfig extends _AdapterConfig {
13
+ // Do not enter anything here!
14
+ }
15
+ }
16
+ }
17
+
18
+ // this is required so the above AdapterConfig is found by TypeScript / type checking
19
+ export {};