iobroker.solarviewdatareader 1.0.2 → 1.0.3

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.
File without changes
@@ -0,0 +1,155 @@
1
+ name: Test and Release
2
+
3
+ # Run this job on all pushes and pull requests
4
+ # as well as tags with a semantic version
5
+ on:
6
+ push:
7
+ branches:
8
+ - "*"
9
+ tags:
10
+ # normal versions
11
+ - "v[0-9]+.[0-9]+.[0-9]+"
12
+ # pre-releases
13
+ - "v[0-9]+.[0-9]+.[0-9]+-**"
14
+ pull_request: {}
15
+
16
+ jobs:
17
+ # Performs quick checks before the expensive test runs
18
+ check-and-lint:
19
+ if: contains(github.event.head_commit.message, '[skip ci]') == false
20
+
21
+ runs-on: ubuntu-latest
22
+
23
+ strategy:
24
+ matrix:
25
+ node-version: [14.x]
26
+
27
+ steps:
28
+ - name: Checkout code
29
+ uses: actions/checkout@v2
30
+
31
+ - name: Use Node.js ${{ matrix.node-version }}
32
+ uses: actions/setup-node@v1
33
+ with:
34
+ node-version: ${{ matrix.node-version }}
35
+
36
+ - name: Install Dependencies
37
+ run: npm ci
38
+
39
+ - name: Lint source code
40
+ run: npm run lint
41
+ - name: Test package files
42
+ run: npm run test:package
43
+
44
+ # Runs adapter tests on all supported node versions and OSes
45
+ adapter-tests:
46
+ if: contains(github.event.head_commit.message, '[skip ci]') == false
47
+
48
+ needs: [check-and-lint]
49
+
50
+ runs-on: ${{ matrix.os }}
51
+ strategy:
52
+ matrix:
53
+ node-version: [12.x, 14.x, 16.x]
54
+ os: [ubuntu-latest, windows-latest, macos-latest]
55
+
56
+ steps:
57
+ - name: Checkout code
58
+ uses: actions/checkout@v2
59
+
60
+ - name: Use Node.js ${{ matrix.node-version }}
61
+ uses: actions/setup-node@v1
62
+ with:
63
+ node-version: ${{ matrix.node-version }}
64
+
65
+ - name: Install Dependencies
66
+ run: npm ci
67
+
68
+ - name: Run unit tests
69
+ run: npm run test:unit
70
+
71
+ - name: Run integration tests (unix only)
72
+ if: startsWith(runner.OS, 'windows') == false
73
+ run: DEBUG=testing:* npm run test:integration
74
+
75
+ - name: Run integration tests (windows only)
76
+ if: startsWith(runner.OS, 'windows')
77
+ run: set DEBUG=testing:* & npm run test:integration
78
+
79
+ # TODO: To enable automatic npm releases, create a token on npmjs.org
80
+ # Enter this token as a GitHub secret (with name NPM_TOKEN) in the repository options
81
+ # Then uncomment the following block:
82
+
83
+ # Deploys the final package to NPM
84
+ deploy:
85
+ needs: [adapter-tests]
86
+
87
+ # Trigger this step only when a commit on any branch is tagged with a version number
88
+ if: |
89
+ contains(github.event.head_commit.message, '[skip ci]') == false &&
90
+ github.event_name == 'push' &&
91
+ startsWith(github.ref, 'refs/tags/v')
92
+
93
+ runs-on: ubuntu-latest
94
+ strategy:
95
+ matrix:
96
+ node-version: [14.x]
97
+
98
+ steps:
99
+ - name: Checkout code
100
+ uses: actions/checkout@v2
101
+
102
+ - name: Use Node.js ${{ matrix.node-version }}
103
+ uses: actions/setup-node@v1
104
+ with:
105
+ node-version: ${{ matrix.node-version }}
106
+
107
+ - name: Extract the version and commit body from the tag
108
+ id: extract_release
109
+ # The body may be multiline, therefore newlines and % need to be escaped
110
+ run: |
111
+ VERSION="${{ github.ref }}"
112
+ VERSION=${VERSION##*/v}
113
+ echo "::set-output name=VERSION::$VERSION"
114
+ BODY=$(git show -s --format=%b)
115
+ BODY="${BODY//'%'/'%25'}"
116
+ BODY="${BODY//$'\n'/'%0A'}"
117
+ BODY="${BODY//$'\r'/'%0D'}"
118
+ echo "::set-output name=BODY::$BODY"
119
+
120
+ - name: Publish package to npm
121
+ run: |
122
+ npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
123
+ npm whoami
124
+ npm publish
125
+
126
+ - name: Create Github Release
127
+ uses: actions/create-release@v1
128
+ env:
129
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130
+ with:
131
+ tag_name: ${{ github.ref }}
132
+ release_name: Release v${{ steps.extract_release.outputs.VERSION }}
133
+ draft: false
134
+ # Prerelease versions create prereleases on Github
135
+ prerelease: ${{ contains(steps.extract_release.outputs.VERSION, '-') }}
136
+ body: ${{ steps.extract_release.outputs.BODY }}
137
+
138
+ # # When using Sentry for error reporting, Sentry could be informed about new releases
139
+ # # To enable create a API-Token in Sentry (User settings, API keys)
140
+ # # Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options
141
+ # # Then uncomment and customize the following block:
142
+ # #- name: Notify Sentry.io about the release
143
+ # # run: |
144
+ # # npm i -g @sentry/cli
145
+ # # export SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
146
+ # # export SENTRY_URL=https://sentry.iobroker.net
147
+ # # export SENTRY_ORG=iobroker
148
+ # # export SENTRY_PROJECT=iobroker-fb-checkpresence
149
+ # # export SENTRY_VERSION=iobroker.fb-checkpresence@${{ steps.extract_release.outputs.VERSION }}
150
+ # # sentry-cli releases new $SENTRY_VERSION
151
+ # # sentry-cli releases finalize $SENTRY_VERSION
152
+ # # # Add the following line BEFORE finalize if repositories are connected in Sentry
153
+ # # #sentry-cli releases set-commits $SENTRY_VERSION --auto
154
+ # # # Add the following line BEFORE finalize if sourcemap uploads are needed
155
+ # # #sentry-cli releases files $SENTRY_VERSION upload-sourcemaps build/
@@ -0,0 +1,10 @@
1
+ {
2
+ "dry": false,
3
+ "addPlaceholder": true,
4
+ "verbose": true,
5
+ "all": false,
6
+ "plugins": ["iobroker", "license"],
7
+ "exec": {
8
+ "before_commit": "echo Hello World!"
9
+ }
10
+ }
package/CHANGELOG_OLD.md CHANGED
@@ -1,14 +1,21 @@
1
1
  # Older changes
2
+ ## 0.2.0
3
+ * (afuerhoff) Error handling optimized, self consumption meter implemented
4
+
2
5
  ## 0.1.0
3
6
  * (afuerhoff) optimizations for adding to latest repository
7
+
4
8
  ## 0.0.5
5
- * (afuerhoff) Code optimized, unload optimized, documentation added
9
+ * (afuerhoff) Code optimized, unload optimized, documentation added
10
+
6
11
  ## 0.0.4
7
12
  * (afuerhoff) Objects, Telnet client and checksum calculation changed
13
+
8
14
  ## 0.0.3
9
15
  * (afuerhoff) inverter selection added
16
+
10
17
  ## 0.0.2
11
18
  * (afuerhoff) test version
19
+
12
20
  ## 0.0.1
13
21
  * (afuerhoff) initial release
14
-
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -1,16 +1,15 @@
1
1
  ![Logo](admin/solarviewdatareader.png)
2
2
  # ioBroker.solarviewdatareader
3
3
 
4
- ![Number of Installations](http://iobroker.live/badges/solarviewdatareader-installed.svg)
5
- ![Number of Installations](http://iobroker.live/badges/solarviewdatareader-stable.svg)
6
- [![NPM version](http://img.shields.io/npm/v/iobroker.solarviewdatareader.svg)](https://www.npmjs.com/package/iobroker.solarviewdatareader)
4
+ [![NPM version](https://img.shields.io/npm/v/iobroker.solarviewdatareader.svg)](https://www.npmjs.com/package/iobroker.solarviewdatareader)
7
5
  [![Downloads](https://img.shields.io/npm/dm/iobroker.solarviewdatareader.svg)](https://www.npmjs.com/package/iobroker.solarviewdatareader)
8
- [![Dependency Status](https://img.shields.io/david/afuerhoff/iobroker.solarviewdatareader.svg)](https://david-dm.org/afuerhoff/iobroker.solarviewdatareader)
6
+ ![Number of Installations (latest)](https://iobroker.live/badges/solarviewdatareader-installed.svg)
7
+ ![Number of Installations (stable)](https://iobroker.live/badges/solarviewdatareader-stable.svg)
9
8
  [![Known Vulnerabilities](https://snyk.io/test/github/afuerhoff/ioBroker.solarviewdatareader/badge.svg)](https://snyk.io/test/github/afuerhoff/ioBroker.solarviewdatareader)
10
9
 
11
10
  [![NPM](https://nodei.co/npm/iobroker.solarviewdatareader.png?downloads=true)](https://nodei.co/npm/iobroker.solarviewdatareader/)
12
11
 
13
- **Tests:**: [![Travis-CI](http://img.shields.io/travis/afuerhoff/ioBroker.solarviewdatareader/master.svg)](https://travis-ci.org/afuerhoff/ioBroker.solarviewdatareader)
12
+ **Tests:** ![Test and Release](https://github.com/afuerhoff/ioBroker.solarviewdatareader/workflows/Test%20and%20Release/badge.svg)
14
13
 
15
14
  ## solarviewdatareader adapter for ioBroker
16
15
 
@@ -65,6 +64,9 @@ TKK= Temperature inverter
65
64
  Placeholder for the next version (at the beginning of the line):
66
65
  ### __WORK IN PROGRESS__
67
66
  -->
67
+ ### 1.0.3 (2021-12-08)
68
+ * (afuerhoff) dependencies updated
69
+
68
70
  ### 1.0.2 (2021-05-07)
69
71
  * (afuerhoff) node.js 14 and 16 compatibilty
70
72
  * (afuerhoff) dependencies updated
@@ -80,8 +82,7 @@ TKK= Temperature inverter
80
82
 
81
83
  ### 0.2.1
82
84
  * (afuerhoff) self consumption meter optimized
83
- ### 0.2.0
84
- * (afuerhoff) Error handling optimized, self consumption meter implemented
85
+
85
86
  ## License
86
87
  MIT License
87
88
 
package/admin/admin.d.ts CHANGED
File without changes
File without changes
File without changes
package/admin/style.css CHANGED
File without changes
package/admin/words.js CHANGED
File without changes
package/io-package.json CHANGED
@@ -1,216 +1,168 @@
1
1
  {
2
- "common": {
3
- "name": "solarviewdatareader",
4
- "version": "1.0.2",
5
- "news": {
6
- "1.0.2": {
7
- "en": "node.js 14 and 16 compatibilty\ndependencies updated",
8
- "de": "node.js 14 und 16 kompatibel\nAbhängigkeiten aktualisiert",
9
- "ru": "Совместимость node.js 14 и 16\nзависимости обновлены",
10
- "pt": "compatibilidade node.js 14 e 16\ndependências atualizadas",
11
- "nl": "node.js 14 en 16 compatibiliteit\nafhankelijkheden bijgewerkt",
12
- "fr": "compatibilité node.js 14 et 16\ndépendances mises à jour",
13
- "it": "Node.js 14 e 16 compatibilità\ndipendenze aggiornate",
14
- "es": "Compatibilidad de node.js 14 y 16\ndependencias actualizadas",
15
- "pl": "node.js 14 i 16 kompatybilność\nzaktualizowane zależności",
16
- "zh-cn": "node.js 14和16的兼容性\n依赖关系已更新"
17
- },
18
- "1.0.1": {
19
- "en": "changes due to js-controller 3.3.x",
20
- "de": "Änderungen aufgrund von js-controller 3.3.x.",
21
- "ru": "изменения из-за js-controller 3.3.x",
22
- "pt": "mudanças devido ao js-controller 3.3.x",
23
- "nl": "veranderingen als gevolg van js-controller 3.3.x",
24
- "fr": "changements dus à js-controller 3.3.x",
25
- "it": "modifiche dovute a js-controller 3.3.x",
26
- "es": "cambios debido a js-controller 3.3.x",
27
- "pl": "zmiany spowodowane przez js-controller 3.3.x",
28
- "zh-cn": "由于js-controller 3.3.x而发生的更改"
29
- },
30
- "1.0.0": {
31
- "en": "dependencies updated\ndocumentation changed\nminor changes\ndue to stable state version set to 1.0.0",
32
- "de": "Abhängigkeiten aktualisiert\nDokumentation geändert\nkleinere Änderungen\naufgrund der stabilen Statusversion auf 1.0.0 eingestellt",
33
- "ru": "зависимости обновлены\nдокументация изменена\nнебольшие изменения\nиз-за стабильной версии 1.0.0",
34
- "pt": "dependências atualizadas\ndocumentação alterada\npequenas mudanças\ndevido à versão de estado estável definida como 1.0.0",
35
- "nl": "afhankelijkheden bijgewerkt\ndocumentatie gewijzigd\nkleine veranderingen\nvanwege stabiele statusversie ingesteld op 1.0.0",
36
- "fr": "dépendances mises à jour\ndocumentation modifiée\ndes changements mineurs\nen raison de la version de l'état stable définie sur 1.0.0",
37
- "it": "dipendenze aggiornate\nla documentazione è cambiata\nmodifiche minori\na causa della versione dello stato stabile impostata su 1.0.0",
38
- "es": "dependencias actualizadas\ndocumentación cambiada\ncambios menores\ndebido a la versión de estado estable establecida en 1.0.0",
39
- "pl": "zaktualizowane zależności\ndokumentacja uległa zmianie\ndrobne zmiany\nze względu na stabilną wersję stanu ustawioną na 1.0.0",
40
- "zh-cn": "依赖关系已更新\n文档已更改\n细微的变化\n由于稳定状态版本设置为1.0.0"
41
- },
42
- "0.2.1": {
43
- "en": "self consumption meter optimized",
44
- "de": "Selbstverbrauchsmesser optimiert",
45
- "ru": "счетчик собственного потребления оптимизирован",
46
- "pt": "medidor de autoconsumo otimizado",
47
- "nl": "eigen verbruiksmeter geoptimaliseerd",
48
- "fr": "compteur d'autoconsommation optimisé",
49
- "it": "misuratore di autoconsumo ottimizzato",
50
- "es": "medidor de autoconsumo optimizado",
51
- "pl": "miernik zużycia własnego zoptymalizowany",
52
- "zh-cn": "自耗表优化"
53
- },
54
- "0.2.0": {
55
- "en": "Error handling optimized, self consumption meter implemented",
56
- "de": "Fehlerbehandlung optimiert, Eigenverbrauchsmesser implementiert",
57
- "ru": "Оптимизирована обработка ошибок, реализован счетчик собственного потребления",
58
- "pt": "Tratamento de erros otimizado, medidor de autoconsumo implementado",
59
- "nl": "Foutafhandeling geoptimaliseerd, eigen verbruiksmeter geïmplementeerd",
60
- "fr": "Gestion des erreurs optimisée, compteur d'autoconsommation mis en œuvre",
61
- "it": "Gestione degli errori ottimizzata, misuratore di autoconsumo implementato",
62
- "es": "Manejo de errores optimizado, medidor de autoconsumo implementado",
63
- "pl": "Zoptymalizowana obsługa błędów, zaimplementowano miernik zużycia własnego",
64
- "zh-cn": "优化错误处理,实施自耗电表"
65
- },
66
- "0.1.0": {
67
- "en": "optimizations for adding to latest repository",
68
- "de": "Optimierungen zum Hinzufügen zum neuesten Repository",
69
- "ru": "оптимизации для добавления в последний репозиторий",
70
- "pt": "otimizações para adicionar ao repositório mais recente",
71
- "nl": "optimalisaties voor het toevoegen aan de nieuwste repository",
72
- "fr": "optimisations pour l'ajout au dernier référentiel",
73
- "it": "ottimizzazioni per l'aggiunta all'ultimo repository",
74
- "es": "optimizaciones para agregar al último repositorio",
75
- "pl": "optymalizacje w celu dodania do najnowszego repozytorium",
76
- "zh-cn": "添加到最新存储库的优化"
77
- },
78
- "0.0.5": {
79
- "en": "Code optimized, unload optimized, documentation added",
80
- "de": "Code optimiert, Entladen optimiert, Dokumentation hinzugefügt",
81
- "ru": "Оптимизирован код, оптимизирована выгрузка, добавлена документация",
82
- "pt": "Código otimizado, descarregado otimizado, documentação adicionada",
83
- "nl": "Code geoptimaliseerd, lossen geoptimaliseerd, documentatie toegevoegd",
84
- "fr": "Code optimisé, déchargement optimisé, documentation ajoutée",
85
- "it": "Codice ottimizzato, scarico ottimizzato, documentazione aggiunta",
86
- "es": "Código optimizado, descarga optimizada, documentación agregada",
87
- "pl": "Zoptymalizowany kod, zoptymalizowany rozładunek, dodano dokumentację",
88
- "zh-cn": "优化代码,优化卸载,添加文档"
89
- },
90
- "0.0.4": {
91
- "en": "Objects, checksum calculation and telnet client changed",
92
- "de": "Objekte, Prüfsummenberechnung und Telnet-Client geändert",
93
- "ru": "Объекты, расчет контрольной суммы и клиент Telnet изменены",
94
- "pt": "Objetos, cálculo de soma de verificação e cliente de telnet foram alterados",
95
- "nl": "Objecten, checksumberekening en telnet-client gewijzigd",
96
- "fr": "Objets, calcul de la somme de contrôle et client Telnet modifiés",
97
- "it": "Oggetti, calcolo del checksum e client telnet modificati",
98
- "es": "Objetos, cálculo de suma de comprobación y cliente telnet modificados.",
99
- "pl": "Zmieniono obiekty, obliczenia sum kontrolnych i klienta telnet",
100
- "zh-cn": "对象,校验和计算和telnet客户端已更改"
101
- },
102
- "0.0.3": {
103
- "en": "selection of the inverters added",
104
- "de": "Auswahl der Wechselrichter ergänzt",
105
- "ru": "добавлен выбор инверторов",
106
- "pt": "seleção dos inversores adicionados",
107
- "nl": "selectie van de omvormers toegevoegd",
108
- "fr": "sélection des inverseurs ajoutés",
109
- "it": "selezione degli inverter aggiunti",
110
- "es": "Selección de los inversores añadidos.",
111
- "pl": "wybór dodanych falowników",
112
- "zh-cn": "选择添加的逆变器"
113
- },
114
- "0.0.2": {
115
- "en": "First test version",
116
- "de": "Erste Testversion",
117
- "ru": "Первая тестовая версия",
118
- "pt": "Primeira versão de teste",
119
- "nl": "Eerste testversie",
120
- "fr": "Première version test",
121
- "it": "Prima versione di prova",
122
- "es": "Primera versión de prueba",
123
- "pl": "Pierwsza wersja testowa",
124
- "zh-cn": "第一个测试版"
125
- },
126
- "0.0.1": {
127
- "en": "initial release",
128
- "de": "Erstveröffentlichung",
129
- "ru": "Начальная версия",
130
- "pt": "lançamento inicial",
131
- "nl": "Eerste uitgave",
132
- "fr": "Première version",
133
- "it": "Versione iniziale",
134
- "es": "Versión inicial",
135
- "pl": "Pierwsze wydanie",
136
- "zh-cn": "首次出版"
137
- }
138
- },
139
- "title": "SolarViewDataReader",
140
- "titleLang": {
141
- "en": "SolarViewDataReader",
142
- "de": "SolarViewDataReader",
143
- "ru": "SolarViewDataReader",
144
- "pt": "SolarViewDataReader",
145
- "nl": "SolarViewDataReader",
146
- "fr": "SolarViewDataReader",
147
- "it": "SolarViewDataReader",
148
- "es": "SolarViewDataReader",
149
- "pl": "SolarViewDataReader",
150
- "zh-cn": "SolarViewDataReader"
151
- },
152
- "desc": {
153
- "en": "Get Data from SolarView",
154
- "de": "Daten von SolarView abrufen",
155
- "ru": "Получить данные из SolarView",
156
- "pt": "Obter dados do SolarView",
157
- "nl": "Verkrijg gegevens van SolarView",
158
- "fr": "Obtenir des données de SolarView",
159
- "it": "Ottieni dati da SolarView",
160
- "es": "Obtener datos de SolarView",
161
- "pl": "Uzyskaj dane z SolarView",
162
- "zh-cn": "从SolarView获取数据"
163
- },
164
- "authors": [
165
- "Achim Fürhoff <achim.fuerhoff@outlook.de>"
166
- ],
167
- "keywords": [
168
- "SolarView",
169
- "Data Logger",
170
- "Photovoltaik"
171
- ],
172
- "license": "MIT",
173
- "platform": "Javascript/Node.js",
174
- "main": "main.js",
175
- "icon": "solarviewdatareader.png",
176
- "enabled": true,
177
- "extIcon": "https://raw.githubusercontent.com/afuerhoff/ioBroker.solarviewdatareader/master/admin/solarviewdatareader.png",
178
- "readme": "https://github.com/afuerhoff/ioBroker.solarviewdatareader/blob/master/README.md",
179
- "loglevel": "info",
180
- "mode": "daemon",
181
- "type": "energy",
182
- "connectionType": "local",
183
- "dataSource": "poll",
184
- "compact": true,
185
- "materialize": true,
186
- "dependencies": [
187
- {
188
- "admin": ">=3.0.0"
189
- },
190
- {
191
- "js-controller": ">=1.4.2"
192
- }
193
- ]
2
+ "common": {
3
+ "name": "solarviewdatareader",
4
+ "version": "1.0.3",
5
+ "news": {
6
+ "1.0.3": {
7
+ "en": "dependencies updated",
8
+ "de": "Abhängigkeiten aktualisiert",
9
+ "ru": "зависимости обновлены",
10
+ "pt": "dependências atualizadas",
11
+ "nl": "afhankelijkheden bijgewerkt",
12
+ "fr": "dépendances mises à jour",
13
+ "it": "dipendenze aggiornate",
14
+ "es": "dependencias actualizadas",
15
+ "pl": "zaktualizowano zależności",
16
+ "zh-cn": "依赖项已更新"
17
+ },
18
+ "1.0.2": {
19
+ "en": "node.js 14 and 16 compatibilty\ndependencies updated",
20
+ "de": "node.js 14 und 16 kompatibel\nAbhängigkeiten aktualisiert",
21
+ "ru": "Совместимость node.js 14 и 16\nзависимости обновлены",
22
+ "pt": "compatibilidade node.js 14 e 16\ndependências atualizadas",
23
+ "nl": "node.js 14 en 16 compatibiliteit\nafhankelijkheden bijgewerkt",
24
+ "fr": "compatibilité node.js 14 et 16\ndépendances mises à jour",
25
+ "it": "Node.js 14 e 16 compatibilità\ndipendenze aggiornate",
26
+ "es": "Compatibilidad de node.js 14 y 16\ndependencias actualizadas",
27
+ "pl": "node.js 14 i 16 kompatybilność\nzaktualizowane zależności",
28
+ "zh-cn": "node.js 14和16的兼容性\n依赖关系已更新"
29
+ },
30
+ "1.0.1": {
31
+ "en": "changes due to js-controller 3.3.x",
32
+ "de": "Änderungen aufgrund von js-controller 3.3.x.",
33
+ "ru": "изменения из-за js-controller 3.3.x",
34
+ "pt": "mudanças devido ao js-controller 3.3.x",
35
+ "nl": "veranderingen als gevolg van js-controller 3.3.x",
36
+ "fr": "changements dus à js-controller 3.3.x",
37
+ "it": "modifiche dovute a js-controller 3.3.x",
38
+ "es": "cambios debido a js-controller 3.3.x",
39
+ "pl": "zmiany spowodowane przez js-controller 3.3.x",
40
+ "zh-cn": "由于js-controller 3.3.x而发生的更改"
41
+ },
42
+ "1.0.0": {
43
+ "en": "dependencies updated\ndocumentation changed\nminor changes\ndue to stable state version set to 1.0.0",
44
+ "de": "Abhängigkeiten aktualisiert\nDokumentation geändert\nkleinere Änderungen\naufgrund der stabilen Statusversion auf 1.0.0 eingestellt",
45
+ "ru": "зависимости обновлены\nдокументация изменена\nнебольшие изменения\nиз-за стабильной версии 1.0.0",
46
+ "pt": "dependências atualizadas\ndocumentação alterada\npequenas mudanças\ndevido à versão de estado estável definida como 1.0.0",
47
+ "nl": "afhankelijkheden bijgewerkt\ndocumentatie gewijzigd\nkleine veranderingen\nvanwege stabiele statusversie ingesteld op 1.0.0",
48
+ "fr": "dépendances mises à jour\ndocumentation modifiée\ndes changements mineurs\nen raison de la version de l'état stable définie sur 1.0.0",
49
+ "it": "dipendenze aggiornate\nla documentazione è cambiata\nmodifiche minori\na causa della versione dello stato stabile impostata su 1.0.0",
50
+ "es": "dependencias actualizadas\ndocumentación cambiada\ncambios menores\ndebido a la versión de estado estable establecida en 1.0.0",
51
+ "pl": "zaktualizowane zależności\ndokumentacja uległa zmianie\ndrobne zmiany\nze względu na stabilną wersję stanu ustawioną na 1.0.0",
52
+ "zh-cn": "依赖关系已更新\n文档已更改\n细微的变化\n由于稳定状态版本设置为1.0.0"
53
+ },
54
+ "0.2.1": {
55
+ "en": "self consumption meter optimized",
56
+ "de": "Selbstverbrauchsmesser optimiert",
57
+ "ru": "счетчик собственного потребления оптимизирован",
58
+ "pt": "medidor de autoconsumo otimizado",
59
+ "nl": "eigen verbruiksmeter geoptimaliseerd",
60
+ "fr": "compteur d'autoconsommation optimisé",
61
+ "it": "misuratore di autoconsumo ottimizzato",
62
+ "es": "medidor de autoconsumo optimizado",
63
+ "pl": "miernik zużycia własnego zoptymalizowany",
64
+ "zh-cn": "自耗表优化"
65
+ },
66
+ "0.2.0": {
67
+ "en": "Error handling optimized, self consumption meter implemented",
68
+ "de": "Fehlerbehandlung optimiert, Eigenverbrauchsmesser implementiert",
69
+ "ru": "Оптимизирована обработка ошибок, реализован счетчик собственного потребления",
70
+ "pt": "Tratamento de erros otimizado, medidor de autoconsumo implementado",
71
+ "nl": "Foutafhandeling geoptimaliseerd, eigen verbruiksmeter geïmplementeerd",
72
+ "fr": "Gestion des erreurs optimisée, compteur d'autoconsommation mis en œuvre",
73
+ "it": "Gestione degli errori ottimizzata, misuratore di autoconsumo implementato",
74
+ "es": "Manejo de errores optimizado, medidor de autoconsumo implementado",
75
+ "pl": "Zoptymalizowana obsługa błędów, zaimplementowano miernik zużycia własnego",
76
+ "zh-cn": "优化错误处理,实施自耗电表"
77
+ },
78
+ "0.1.0": {
79
+ "en": "optimizations for adding to latest repository",
80
+ "de": "Optimierungen zum Hinzufügen zum neuesten Repository",
81
+ "ru": "оптимизации для добавления в последний репозиторий",
82
+ "pt": "otimizações para adicionar ao repositório mais recente",
83
+ "nl": "optimalisaties voor het toevoegen aan de nieuwste repository",
84
+ "fr": "optimisations pour l'ajout au dernier référentiel",
85
+ "it": "ottimizzazioni per l'aggiunta all'ultimo repository",
86
+ "es": "optimizaciones para agregar al último repositorio",
87
+ "pl": "optymalizacje w celu dodania do najnowszego repozytorium",
88
+ "zh-cn": "添加到最新存储库的优化"
89
+ }
194
90
  },
195
- "native": {
196
- "ipaddress": "",
197
- "port": "15000",
198
- "intervalVal": 1,
199
- "intervalstart": "00:00",
200
- "intervalend": "23:59",
201
- "d0converter": false,
202
- "pvi1": false,
203
- "pvi2": false,
204
- "pvi3": false,
205
- "pvi4": false,
206
- "scm1": false,
207
- "scm2": false,
208
- "scm3": false,
209
- "scm4": false,
210
- "scm5": false,
211
- "setCCU": false,
212
- "CCUSystemV": "hm-rega.0.xxxxx"
91
+ "title": "SolarViewDataReader",
92
+ "titleLang": {
93
+ "en": "SolarViewDataReader",
94
+ "de": "SolarViewDataReader",
95
+ "ru": "SolarViewDataReader",
96
+ "pt": "SolarViewDataReader",
97
+ "nl": "SolarViewDataReader",
98
+ "fr": "SolarViewDataReader",
99
+ "it": "SolarViewDataReader",
100
+ "es": "SolarViewDataReader",
101
+ "pl": "SolarViewDataReader",
102
+ "zh-cn": "SolarViewDataReader"
213
103
  },
214
- "objects": [],
215
- "instanceObjects": []
216
- }
104
+ "desc": {
105
+ "en": "Get Data from SolarView",
106
+ "de": "Daten von SolarView abrufen",
107
+ "ru": "Получить данные из SolarView",
108
+ "pt": "Obter dados do SolarView",
109
+ "nl": "Verkrijg gegevens van SolarView",
110
+ "fr": "Obtenir des données de SolarView",
111
+ "it": "Ottieni dati da SolarView",
112
+ "es": "Obtener datos de SolarView",
113
+ "pl": "Uzyskaj dane z SolarView",
114
+ "zh-cn": "从SolarView获取数据"
115
+ },
116
+ "authors": [
117
+ "Achim Fürhoff <achim.fuerhoff@outlook.de>"
118
+ ],
119
+ "keywords": [
120
+ "SolarView",
121
+ "Data Logger",
122
+ "Photovoltaik"
123
+ ],
124
+ "license": "MIT",
125
+ "platform": "Javascript/Node.js",
126
+ "main": "main.js",
127
+ "icon": "solarviewdatareader.png",
128
+ "enabled": true,
129
+ "extIcon": "https://raw.githubusercontent.com/afuerhoff/ioBroker.solarviewdatareader/master/admin/solarviewdatareader.png",
130
+ "readme": "https://github.com/afuerhoff/ioBroker.solarviewdatareader/blob/master/README.md",
131
+ "loglevel": "info",
132
+ "mode": "daemon",
133
+ "type": "energy",
134
+ "connectionType": "local",
135
+ "dataSource": "poll",
136
+ "compact": true,
137
+ "materialize": true,
138
+ "dependencies": [
139
+ {
140
+ "admin": ">=3.0.0"
141
+ },
142
+ {
143
+ "js-controller": ">=1.4.2"
144
+ }
145
+ ]
146
+ },
147
+ "native": {
148
+ "ipaddress": "",
149
+ "port": "15000",
150
+ "intervalVal": 1,
151
+ "intervalstart": "00:00",
152
+ "intervalend": "23:59",
153
+ "d0converter": false,
154
+ "pvi1": false,
155
+ "pvi2": false,
156
+ "pvi3": false,
157
+ "pvi4": false,
158
+ "scm1": false,
159
+ "scm2": false,
160
+ "scm3": false,
161
+ "scm4": false,
162
+ "scm5": false,
163
+ "setCCU": false,
164
+ "CCUSystemV": "hm-rega.0.xxxxx"
165
+ },
166
+ "objects": [],
167
+ "instanceObjects": []
168
+ }
File without changes
package/lib/tools.js CHANGED
File without changes
package/main.js CHANGED
File without changes
package/main.test.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.solarviewdatareader",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Get data from SolarView",
5
5
  "author": {
6
6
  "name": "Achim Fürhoff",
@@ -18,37 +18,44 @@
18
18
  "url": "https://github.com/afuerhoff/ioBroker.solarviewdatareader"
19
19
  },
20
20
  "dependencies": {
21
- "@iobroker/adapter-core": "^2.4.0"
21
+ "@iobroker/adapter-core": "^2.5.1"
22
22
  },
23
23
  "devDependencies": {
24
- "@alcalzone/release-script": "^1.10.0",
25
- "@iobroker/testing": "^2.4.4",
26
- "@types/chai": "^4.2.17",
27
- "@types/chai-as-promised": "^7.1.3",
28
- "@types/gulp": "^4.0.8",
29
- "@types/mocha": "^8.2.2",
30
- "@types/node": "^14.14.44",
24
+ "@alcalzone/release-script": "^3.4.1",
25
+ "@alcalzone/release-script-plugin-iobroker": "^3.4.1",
26
+ "@alcalzone/release-script-plugin-license": "^3.4.1",
27
+ "@iobroker/testing": "^2.5.2",
28
+ "@types/chai": "^4.3.0",
29
+ "@types/chai-as-promised": "^7.1.4",
30
+ "@types/gulp": "^4.0.9",
31
+ "@types/mocha": "^8.2.3",
32
+ "@types/node": "^14.18.0",
31
33
  "@types/proxyquire": "^1.3.28",
32
- "@types/sinon": "^10.0.0",
33
- "@types/sinon-chai": "^3.2.5",
34
+ "@types/sinon": "^10.0.6",
35
+ "@types/sinon-chai": "^3.2.6",
34
36
  "chai": "^4.3.4",
35
37
  "chai-as-promised": "^7.1.1",
36
- "eslint": "^7.25.0",
38
+ "eslint": "^7.32.0",
37
39
  "gulp": "^4.0.2",
38
40
  "hosted-git-info": "^4.0.2",
39
- "mocha": "^8.3.2",
41
+ "mocha": "^8.4.0",
40
42
  "proxyquire": "^2.1.3",
41
43
  "sinon": "^10.0.0",
42
- "sinon-chai": "^3.6.0"
44
+ "sinon-chai": "^3.7.0"
43
45
  },
44
46
  "main": "main.js",
45
47
  "scripts": {
46
- "test:js": "mocha --opts test/mocha.custom.opts",
48
+ "watch:parcel": "parcel admin/src/index.jsx -d admin/build",
49
+ "build:parcel": "parcel build admin/src/index.jsx -d admin/build",
50
+ "build": "npm run build:parcel",
51
+ "test:js": "mocha --config test/mocharc.custom.json \"{!(node_modules|test)/**/*.test.js,*.test.js,test/**/test!(PackageFiles|Startup).js}\"",
47
52
  "test:package": "mocha test/package --exit",
48
53
  "test:unit": "mocha test/unit --exit",
49
54
  "test:integration": "mocha test/integration --exit",
50
55
  "test": "npm run test:js && npm run test:package",
51
- "lint": "eslint",
56
+ "aftest": "mocha test/af_test.js --exit",
57
+ "check": "tsc --noEmit -p tsconfig.check.json",
58
+ "lint": "eslint --ext .js,.jsx",
52
59
  "release": "release-script"
53
60
  },
54
61
  "bugs": {
package/scripts/debug.sh DELETED
@@ -1,2 +0,0 @@
1
- /opt/iobroker/iobroker stop solarviewdatareader.0
2
- node --inspect-brk=192.168.178.67:5858 main.js --force --logs