iobroker.yamaha 0.3.18 → 0.5.0
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/.eslintrc.json +35 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- package/.github/auto-merge.yml +17 -0
- package/.github/dependabot.yml +17 -0
- package/.github/workflows/dependabot-auto-merge.yml +25 -0
- package/.github/workflows/test-and-release.yml +147 -0
- package/.releaseconfig.json +3 -0
- package/LICENSE +21 -21
- package/README.md +121 -60
- package/admin/admin.d.ts +1 -0
- package/admin/i18n/de/translations.json +9 -0
- package/admin/i18n/en/translations.json +9 -0
- package/admin/i18n/es/translations.json +9 -0
- package/admin/i18n/fr/translations.json +9 -0
- package/admin/i18n/it/translations.json +9 -0
- package/admin/i18n/nl/translations.json +9 -0
- package/admin/i18n/pl/translations.json +9 -0
- package/admin/i18n/pt/translations.json +9 -0
- package/admin/i18n/ru/translations.json +9 -0
- package/admin/i18n/zh-cn/translations.json +9 -0
- package/admin/index_m.html +117 -0
- package/admin/style.css +10 -0
- package/admin/tsconfig.json +7 -0
- package/admin/words.js +12 -0
- package/discover.js +215 -215
- package/gulpfile.js +337 -0
- package/io-package.json +833 -804
- package/lib/adapter-config.d.ts +16 -0
- package/lib/soef.js +1626 -0
- package/lib/tools.js +93 -0
- package/{yamaha.js → main.js} +802 -752
- package/main.test.js +30 -0
- package/package.json +85 -47
- package/.npmignore +0 -8
- package/admin/index.html +0 -216
- package/lib/utils.js +0 -64
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"es6": true,
|
|
4
|
+
"node": true,
|
|
5
|
+
"mocha": true
|
|
6
|
+
},
|
|
7
|
+
"extends": "eslint:recommended",
|
|
8
|
+
"rules": {
|
|
9
|
+
"indent": [
|
|
10
|
+
"error",
|
|
11
|
+
4,
|
|
12
|
+
{
|
|
13
|
+
"SwitchCase": 1
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"no-console": "off",
|
|
17
|
+
"no-var": "error",
|
|
18
|
+
"prefer-const": "error",
|
|
19
|
+
"quotes": [
|
|
20
|
+
"error",
|
|
21
|
+
"single",
|
|
22
|
+
{
|
|
23
|
+
"avoidEscape": true,
|
|
24
|
+
"allowTemplateLiterals": true
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"semi": [
|
|
28
|
+
"error",
|
|
29
|
+
"always"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"parserOptions": {
|
|
33
|
+
"ecmaVersion": 2018
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Something is not working as it should
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
**Describe the bug**
|
|
10
|
+
A clear and concise description of what the bug is.
|
|
11
|
+
|
|
12
|
+
**To Reproduce**
|
|
13
|
+
Steps to reproduce the behavior:
|
|
14
|
+
1. Go to '...'
|
|
15
|
+
2. Click on '...'
|
|
16
|
+
3. Scroll down to '....'
|
|
17
|
+
4. See error
|
|
18
|
+
|
|
19
|
+
**Expected behavior**
|
|
20
|
+
A clear and concise description of what you expected to happen.
|
|
21
|
+
|
|
22
|
+
**Screenshots & Logfiles**
|
|
23
|
+
If applicable, add screenshots and logfiles to help explain your problem.
|
|
24
|
+
|
|
25
|
+
**Versions:**
|
|
26
|
+
- Adapter version: <adapter-version>
|
|
27
|
+
- JS-Controller version: <js-controller-version> <!-- determine this with `iobroker -v` on the console -->
|
|
28
|
+
- Node version: <node-version> <!-- determine this with `node -v` on the console -->
|
|
29
|
+
- Operating system: <os-name>
|
|
30
|
+
|
|
31
|
+
**Additional context**
|
|
32
|
+
Add any other context about the problem here.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Configure here which dependency updates should be merged automatically.
|
|
2
|
+
# The recommended configuration is the following:
|
|
3
|
+
- match:
|
|
4
|
+
# Only merge patches for production dependencies
|
|
5
|
+
dependency_type: production
|
|
6
|
+
update_type: "semver:patch"
|
|
7
|
+
- match:
|
|
8
|
+
# Except for security fixes, here we allow minor patches
|
|
9
|
+
dependency_type: production
|
|
10
|
+
update_type: "security:minor"
|
|
11
|
+
- match:
|
|
12
|
+
# and development dependencies can have a minor update, too
|
|
13
|
+
dependency_type: development
|
|
14
|
+
update_type: "semver:minor"
|
|
15
|
+
|
|
16
|
+
# The syntax is based on the legacy dependabot v1 automerged_updates syntax, see:
|
|
17
|
+
# https://dependabot.com/docs/config-file/#automerged_updates
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: github-actions
|
|
4
|
+
directory: "/"
|
|
5
|
+
schedule:
|
|
6
|
+
interval: monthly
|
|
7
|
+
time: "04:00"
|
|
8
|
+
timezone: Europe/Berlin
|
|
9
|
+
- package-ecosystem: npm
|
|
10
|
+
directory: "/"
|
|
11
|
+
schedule:
|
|
12
|
+
interval: monthly
|
|
13
|
+
time: "04:00"
|
|
14
|
+
timezone: Europe/Berlin
|
|
15
|
+
open-pull-requests-limit: 20
|
|
16
|
+
versioning-strategy: increase
|
|
17
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Automatically merge Dependabot PRs when version comparison is within the range
|
|
2
|
+
# that is configured in .github/auto-merge.yml
|
|
3
|
+
|
|
4
|
+
name: Auto-Merge Dependabot PRs
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
# WARNING: This needs to be run in the PR base, DO NOT build untrusted code in this action
|
|
8
|
+
# details under https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
|
|
9
|
+
pull_request_target:
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
auto-merge:
|
|
13
|
+
if: github.actor == 'dependabot[bot]'
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout code
|
|
17
|
+
uses: actions/checkout@v3
|
|
18
|
+
|
|
19
|
+
- name: Check if PR should be auto-merged
|
|
20
|
+
uses: ahmadnassri/action-dependabot-auto-merge@v2
|
|
21
|
+
with:
|
|
22
|
+
# This must be a personal access token with push access
|
|
23
|
+
github-token: ${{ secrets.AUTO_MERGE_TOKEN }}
|
|
24
|
+
# By default, squash and merge, so Github chooses nice commit messages
|
|
25
|
+
command: squash and merge
|
|
@@ -0,0 +1,147 @@
|
|
|
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@v3
|
|
30
|
+
|
|
31
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
32
|
+
uses: actions/setup-node@v3
|
|
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@v3
|
|
59
|
+
|
|
60
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
61
|
+
uses: actions/setup-node@v3
|
|
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
|
+
# Deploys the final package to NPM
|
|
80
|
+
deploy:
|
|
81
|
+
needs: [adapter-tests]
|
|
82
|
+
|
|
83
|
+
# Trigger this step only when a commit on any branch is tagged with a version number
|
|
84
|
+
if: |
|
|
85
|
+
contains(github.event.head_commit.message, '[skip ci]') == false &&
|
|
86
|
+
github.event_name == 'push' &&
|
|
87
|
+
startsWith(github.ref, 'refs/tags/v')
|
|
88
|
+
|
|
89
|
+
runs-on: ubuntu-latest
|
|
90
|
+
strategy:
|
|
91
|
+
matrix:
|
|
92
|
+
node-version: [14.x]
|
|
93
|
+
|
|
94
|
+
steps:
|
|
95
|
+
- name: Checkout code
|
|
96
|
+
uses: actions/checkout@v3
|
|
97
|
+
|
|
98
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
99
|
+
uses: actions/setup-node@v3
|
|
100
|
+
with:
|
|
101
|
+
node-version: ${{ matrix.node-version }}
|
|
102
|
+
|
|
103
|
+
- name: Extract the version and commit body from the tag
|
|
104
|
+
id: extract_release
|
|
105
|
+
# The body may be multiline, therefore newlines and % need to be escaped
|
|
106
|
+
run: |
|
|
107
|
+
VERSION="${{ github.ref }}"
|
|
108
|
+
VERSION=${VERSION##*/v}
|
|
109
|
+
echo "::set-output name=VERSION::$VERSION"
|
|
110
|
+
BODY=$(git show -s --format=%b)
|
|
111
|
+
BODY="${BODY//'%'/'%25'}"
|
|
112
|
+
BODY="${BODY//$'\n'/'%0A'}"
|
|
113
|
+
BODY="${BODY//$'\r'/'%0D'}"
|
|
114
|
+
echo "::set-output name=BODY::$BODY"
|
|
115
|
+
|
|
116
|
+
- name: Publish package to npm
|
|
117
|
+
run: |
|
|
118
|
+
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
|
|
119
|
+
npm whoami
|
|
120
|
+
npm publish
|
|
121
|
+
|
|
122
|
+
- name: Create Github Release
|
|
123
|
+
uses: actions/create-release@v1
|
|
124
|
+
env:
|
|
125
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
126
|
+
with:
|
|
127
|
+
tag_name: ${{ github.ref }}
|
|
128
|
+
release_name: Release v${{ steps.extract_release.outputs.VERSION }}
|
|
129
|
+
draft: false
|
|
130
|
+
# Prerelease versions create prereleases on Github
|
|
131
|
+
prerelease: ${{ contains(steps.extract_release.outputs.VERSION, '-') }}
|
|
132
|
+
body: ${{ steps.extract_release.outputs.BODY }}
|
|
133
|
+
|
|
134
|
+
- name: Notify Sentry.io about the release
|
|
135
|
+
run: |
|
|
136
|
+
npm i -g @sentry/cli
|
|
137
|
+
export SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
138
|
+
export SENTRY_URL=https://sentry.iobroker.net
|
|
139
|
+
export SENTRY_ORG=iobroker
|
|
140
|
+
export SENTRY_PROJECT=iobroker-yamaha
|
|
141
|
+
export SENTRY_VERSION=iobroker.yamaha@${{ steps.extract_release.outputs.VERSION }}
|
|
142
|
+
sentry-cli releases new $SENTRY_VERSION
|
|
143
|
+
sentry-cli releases set-commits $SENTRY_VERSION --auto
|
|
144
|
+
sentry-cli releases finalize $SENTRY_VERSION
|
|
145
|
+
|
|
146
|
+
# Add the following line BEFORE finalize if sourcemap uploads are needed
|
|
147
|
+
# sentry-cli releases files $SENTRY_VERSION upload-sourcemaps build/
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2015-
|
|
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
|
|
13
|
-
all 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
|
|
21
|
-
THE SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015-2022 soef <soef@gmx.net>
|
|
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
|
|
13
|
+
all 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
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,60 +1,121 @@
|
|
|
1
|
-

|
|
2
|
-
## ioBroker.yamaha
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[
|
|
2
|
+
## ioBroker.yamaha
|
|
3
|
+
|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
[](https://www.npmjs.com/package/iobroker.yamaha)
|
|
7
|
+
|
|
8
|
+

|
|
9
|
+
[](https://weblate.iobroker.net/engage/adapters/?utm_source=widget)
|
|
10
|
+
[](https://www.npmjs.com/package/iobroker.yamaha)
|
|
11
|
+
|
|
12
|
+
**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.
|
|
13
|
+
|
|
14
|
+
#### Description
|
|
15
|
+
|
|
16
|
+
Adapter for Yamaha AV receivers
|
|
17
|
+
|
|
18
|
+
Discussion please at github or at https://forum.iobroker.net/topic/53174/weiterentwicklung-yamaha-adapter
|
|
19
|
+
|
|
20
|
+
### Initial Creation
|
|
21
|
+
This adapter was initialy created by @soef at https://github.com/soef/ioBroker.yamaha but not maintained any more, so we moved it to iobroker-community so that bugs could be fixed. thanks @soef for his work.
|
|
22
|
+
|
|
23
|
+
#### Configuration
|
|
24
|
+
Currently without autodiscover, you have to enter the IP of your receiver
|
|
25
|
+
|
|
26
|
+
#### Installation
|
|
27
|
+
via ioBroker Admin.
|
|
28
|
+
|
|
29
|
+
Otherweise execute the following command in the iobroker root directory (e.g. in /opt/iobroker)
|
|
30
|
+
``
|
|
31
|
+
npm install iobroker.yamaha
|
|
32
|
+
iobroker upload yamaha
|
|
33
|
+
``
|
|
34
|
+
|
|
35
|
+
#### Realtime
|
|
36
|
+
The states will be created, when they occur. I.e. use your ir-remote and change something and you will see the new states.
|
|
37
|
+
Only one connection is accepted by yamaha devices.
|
|
38
|
+
|
|
39
|
+
#### Requirements
|
|
40
|
+
Yamaha Reciver
|
|
41
|
+
|
|
42
|
+
You have to enable "network standby" function in the configuration of your receiver
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## Changelog
|
|
46
|
+
### 0.5.0 (2022-03-08)
|
|
47
|
+
* IMPORTANT: js-controller 2.0 is needed at least
|
|
48
|
+
* (Apollon77) Add Sentry for crash reporting
|
|
49
|
+
|
|
50
|
+
### 0.4.1
|
|
51
|
+
* (Sneak-L8) "toggleMute" now toggle mute state (instead of always muting)
|
|
52
|
+
|
|
53
|
+
### 0.4.0
|
|
54
|
+
* (Garfonso) added admin 3 compatibility and more meta-data stuff.
|
|
55
|
+
* (Garfonso) added compact mode support.
|
|
56
|
+
|
|
57
|
+
### 0.3.20
|
|
58
|
+
* (Garfonso) adjusted local copy of soef.js to js-controller 3.0
|
|
59
|
+
* (Garfonso) updated meta information (links etc) to iobroker-community-adapters
|
|
60
|
+
|
|
61
|
+
### 0.3.19
|
|
62
|
+
* (soef) Changelog added to readme
|
|
63
|
+
|
|
64
|
+
### 0.3.18
|
|
65
|
+
* (Apollon77) Update utils.js and usage, CI Testing and deps
|
|
66
|
+
|
|
67
|
+
### 0.3.17
|
|
68
|
+
* (Apollon77) update basic package-file testing
|
|
69
|
+
|
|
70
|
+
### 0.3.16
|
|
71
|
+
* (soef) node 0.12 removed from testing
|
|
72
|
+
|
|
73
|
+
### 0.3.15
|
|
74
|
+
* (soef) Enhance CI testing
|
|
75
|
+
|
|
76
|
+
### 0.3.14
|
|
77
|
+
* (soef) Possible exception in reconnect fixed
|
|
78
|
+
|
|
79
|
+
### 0.3.12
|
|
80
|
+
* (soef) Version incr. for npm
|
|
81
|
+
|
|
82
|
+
### 0.3.11
|
|
83
|
+
* (soef) reconnect overworked
|
|
84
|
+
|
|
85
|
+
### 0.3.10
|
|
86
|
+
* (soef) realtime Ping now configurable
|
|
87
|
+
|
|
88
|
+
### 0.3.8
|
|
89
|
+
* (soef) realtime states optimized
|
|
90
|
+
|
|
91
|
+
### 0.3.7
|
|
92
|
+
* (soef) fix typo in creating realtime states
|
|
93
|
+
|
|
94
|
+
### 0.3.6
|
|
95
|
+
* (soef) timeout to connect reduced
|
|
96
|
+
|
|
97
|
+
<!--
|
|
98
|
+
|
|
99
|
+
### License
|
|
100
|
+
The MIT License (MIT)
|
|
101
|
+
|
|
102
|
+
Copyright (c) 2015-2022 soef <soef@gmx.net>
|
|
103
|
+
|
|
104
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
105
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
106
|
+
in the Software without restriction, including without limitation the rights
|
|
107
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
108
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
109
|
+
furnished to do so, subject to the following conditions:
|
|
110
|
+
|
|
111
|
+
The above copyright notice and this permission notice shall be included in
|
|
112
|
+
all copies or substantial portions of the Software.
|
|
113
|
+
|
|
114
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
115
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
116
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
117
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
118
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
119
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
120
|
+
THE SOFTWARE.
|
|
121
|
+
-->
|
package/admin/admin.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare let systemDictionary: Record<string, Record<string, string>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"IP Address": "IP Adresse",
|
|
3
|
+
"Ping interval": "Intervall zum Pingen der Echtzeitverbindung in Sekunden (0 = keine)",
|
|
4
|
+
"Poll Interval": "Abfrageintervall",
|
|
5
|
+
"Realtime Options": "Echtzeitoptionen",
|
|
6
|
+
"Use Realtime": "Echtzeitmodus verwenden",
|
|
7
|
+
"refreshOnRealtime": "Aktualisieren Sie alle Datenpunkte bei einem Echtzeitereignis",
|
|
8
|
+
"template adapter settings": "Adaptereinstellungen für template"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"IP Address": "IP Address",
|
|
3
|
+
"Ping interval": "Interval to ping the realtime connection in sec, (0=none)",
|
|
4
|
+
"Poll Interval": "Poll Interval",
|
|
5
|
+
"Realtime Options": "Realtime Options",
|
|
6
|
+
"Use Realtime": "Use Realtime",
|
|
7
|
+
"refreshOnRealtime": "Refresh all datapoints on realtime event",
|
|
8
|
+
"template adapter settings": "Adapter settings for template"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"IP Address": "Dirección IP",
|
|
3
|
+
"Ping interval": "Intervalo para hacer ping a la conexión en tiempo real en segundos, (0 = ninguno)",
|
|
4
|
+
"Poll Interval": "Intervalo de encuesta",
|
|
5
|
+
"Realtime Options": "Opciones en tiempo real",
|
|
6
|
+
"Use Realtime": "Usar en tiempo real",
|
|
7
|
+
"refreshOnRealtime": "Actualizar todos los puntos de datos en un evento en tiempo real",
|
|
8
|
+
"template adapter settings": "Ajustes del adaptador para template"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"IP Address": "Adresse IP",
|
|
3
|
+
"Ping interval": "Intervalle de ping de la connexion en temps réel en sec, (0 = aucun)",
|
|
4
|
+
"Poll Interval": "Intervalle de sondage",
|
|
5
|
+
"Realtime Options": "Options en temps réel",
|
|
6
|
+
"Use Realtime": "Utiliser en temps réel",
|
|
7
|
+
"refreshOnRealtime": "Actualisez tous les points de données sur l'événement en temps réel",
|
|
8
|
+
"template adapter settings": "Paramètres d'adaptateur pour template"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"IP Address": "Indirizzo IP",
|
|
3
|
+
"Ping interval": "Intervallo per eseguire il ping della connessione in tempo reale in secondi, (0 = nessuno)",
|
|
4
|
+
"Poll Interval": "Intervallo di polling",
|
|
5
|
+
"Realtime Options": "Opzioni in tempo reale",
|
|
6
|
+
"Use Realtime": "Usa in tempo reale",
|
|
7
|
+
"refreshOnRealtime": "Aggiorna tutti i punti dati sull'evento in tempo reale",
|
|
8
|
+
"template adapter settings": "Impostazioni dell'adattatore per template"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"IP Address": "IP adres",
|
|
3
|
+
"Ping interval": "Interval om de realtime verbinding in seconden te pingen, (0 = geen)",
|
|
4
|
+
"Poll Interval": "Pollinterval",
|
|
5
|
+
"Realtime Options": "Realtime opties",
|
|
6
|
+
"Use Realtime": "Gebruik Realtime",
|
|
7
|
+
"refreshOnRealtime": "Ververs alle datapunten op een realtime evenement",
|
|
8
|
+
"template adapter settings": "Adapterinstellingen voor template"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"IP Address": "Adres IP",
|
|
3
|
+
"Ping interval": "Interwał pingowania połączenia w czasie rzeczywistym w sekundach (0 = brak)",
|
|
4
|
+
"Poll Interval": "Interwał sondowania",
|
|
5
|
+
"Realtime Options": "Opcje w czasie rzeczywistym",
|
|
6
|
+
"Use Realtime": "Użyj czasu rzeczywistego",
|
|
7
|
+
"refreshOnRealtime": "Odśwież wszystkie punkty danych podczas wydarzenia w czasie rzeczywistym",
|
|
8
|
+
"template adapter settings": "Ustawienia adaptera dla template"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"IP Address": "Endereço de IP",
|
|
3
|
+
"Ping interval": "Intervalo para executar ping na conexão em tempo real em segundos, (0 = nenhum)",
|
|
4
|
+
"Poll Interval": "Intervalo de votação",
|
|
5
|
+
"Realtime Options": "Opções em tempo real",
|
|
6
|
+
"Use Realtime": "Usar em tempo real",
|
|
7
|
+
"refreshOnRealtime": "Atualizar todos os pontos de dados no evento em tempo real",
|
|
8
|
+
"template adapter settings": "Configurações do adaptador para template"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"IP Address": "Айпи адрес",
|
|
3
|
+
"Ping interval": "Интервал проверки связи в реальном времени в секундах (0 = нет)",
|
|
4
|
+
"Poll Interval": "Интервал опроса",
|
|
5
|
+
"Realtime Options": "Варианты в реальном времени",
|
|
6
|
+
"Use Realtime": "Использовать в реальном времени",
|
|
7
|
+
"refreshOnRealtime": "Обновить все точки данных на событии в реальном времени",
|
|
8
|
+
"template adapter settings": "Настройки адаптера для template"
|
|
9
|
+
}
|