iobroker.sbfspot 4.1.6 → 4.2.1

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.
Files changed (69) hide show
  1. package/.eslintrc.json +34 -34
  2. package/.github/ISSUE_TEMPLATE/BugReport.md +36 -36
  3. package/.github/ISSUE_TEMPLATE/Enhancement.md +19 -19
  4. package/.github/dependabot.yml +13 -13
  5. package/.github/workflows/npmpublish.yml +30 -30
  6. package/.github/workflows/test-and-release.yml +79 -79
  7. package/.releaseconfig.json +3 -0
  8. package/LICENSE +20 -20
  9. package/README.md +206 -224
  10. package/admin/index.html +175 -175
  11. package/admin/index_m.html +261 -261
  12. package/admin/words.js +24 -24
  13. package/docs/en/install_arm.md +64 -64
  14. package/io-package.json +122 -96
  15. package/lib/tools.js +99 -99
  16. package/main.js +1144 -1144
  17. package/package.json +68 -61
  18. package/widgets/sbfspot/lib/js/flot/jquery.canvaswrapper.js +549 -549
  19. package/widgets/sbfspot/lib/js/flot/jquery.colorhelpers.js +199 -199
  20. package/widgets/sbfspot/lib/js/flot/jquery.flot.axislabels.js +212 -212
  21. package/widgets/sbfspot/lib/js/flot/jquery.flot.browser.js +98 -98
  22. package/widgets/sbfspot/lib/js/flot/jquery.flot.categories.js +202 -202
  23. package/widgets/sbfspot/lib/js/flot/jquery.flot.composeImages.js +330 -330
  24. package/widgets/sbfspot/lib/js/flot/jquery.flot.crosshair.js +202 -202
  25. package/widgets/sbfspot/lib/js/flot/jquery.flot.drawSeries.js +662 -662
  26. package/widgets/sbfspot/lib/js/flot/jquery.flot.errorbars.js +375 -375
  27. package/widgets/sbfspot/lib/js/flot/jquery.flot.fillbetween.js +254 -254
  28. package/widgets/sbfspot/lib/js/flot/jquery.flot.flatdata.js +47 -47
  29. package/widgets/sbfspot/lib/js/flot/jquery.flot.hover.js +361 -361
  30. package/widgets/sbfspot/lib/js/flot/jquery.flot.image.js +249 -249
  31. package/widgets/sbfspot/lib/js/flot/jquery.flot.js +2953 -2953
  32. package/widgets/sbfspot/lib/js/flot/jquery.flot.legend.js +437 -437
  33. package/widgets/sbfspot/lib/js/flot/jquery.flot.logaxis.js +298 -298
  34. package/widgets/sbfspot/lib/js/flot/jquery.flot.navigate.js +834 -834
  35. package/widgets/sbfspot/lib/js/flot/jquery.flot.pie.js +794 -794
  36. package/widgets/sbfspot/lib/js/flot/jquery.flot.resize.js +60 -60
  37. package/widgets/sbfspot/lib/js/flot/jquery.flot.saturated.js +43 -43
  38. package/widgets/sbfspot/lib/js/flot/jquery.flot.selection.js +527 -527
  39. package/widgets/sbfspot/lib/js/flot/jquery.flot.stack.js +220 -220
  40. package/widgets/sbfspot/lib/js/flot/jquery.flot.symbol.js +98 -98
  41. package/widgets/sbfspot/lib/js/flot/jquery.flot.threshold.js +143 -143
  42. package/widgets/sbfspot/lib/js/flot/jquery.flot.time.js +586 -586
  43. package/widgets/sbfspot/lib/js/flot/jquery.flot.touch.js +320 -320
  44. package/widgets/sbfspot/lib/js/flot/jquery.flot.touchNavigate.js +360 -360
  45. package/widgets/sbfspot/lib/js/flot/jquery.flot.uiConstants.js +10 -10
  46. package/widgets/sbfspot/lib/js/flot/jquery.js +9473 -9473
  47. package/widgets/sbfspot/lib/js/lib/globalize.culture.en-US.js +33 -33
  48. package/widgets/sbfspot/lib/js/lib/globalize.js +1601 -1601
  49. package/widgets/sbfspot/lib/js/lib/jquery.event.drag.js +145 -145
  50. package/widgets/sbfspot/lib/js/lib/jquery.mousewheel.js +86 -86
  51. package/widgets/sbfspot.html +1597 -1597
  52. package/.project +0 -17
  53. package/.settings/.jsdtscope +0 -7
  54. package/.settings/org.eclipse.wst.jsdt.ui.superType.container +0 -1
  55. package/.settings/org.eclipse.wst.jsdt.ui.superType.name +0 -1
  56. package/admin/sbfspot_alt.png +0 -0
  57. package/bin/Microsoft.NodejsTools.WebRole.dll +0 -0
  58. package/lib/SMA_Bluetooth.js +0 -27
  59. package/main_neu.js +0 -1056
  60. package/obj/Debug/sbfspot.njsproj.CoreCompileInputs.cache +0 -1
  61. package/obj/Debug/sbfspot.njsproj.FileListAbsolute.txt +0 -3
  62. package/obj/Debug/sbfspot.njsprojAssemblyReference.cache +0 -0
  63. package/package_neu.json +0 -41
  64. package/readme.txt +0 -4
  65. package/sbfspot.njsproj +0 -185
  66. package/todo.txt +0 -24
  67. package/typings/globals/node/index.d.ts +0 -4209
  68. package/typings/globals/node/typings.json +0 -8
  69. package/typings/index.d.ts +0 -1
package/.eslintrc.json CHANGED
@@ -1,35 +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
- "double",
22
- {
23
- "avoidEscape": true,
24
- "allowTemplateLiterals": true
25
- }
26
- ],
27
- "semi": [
28
- "error",
29
- "always"
30
- ]
31
- },
32
- "parserOptions": {
33
- "ecmaVersion": 2018
34
- }
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
+ "double",
22
+ {
23
+ "avoidEscape": true,
24
+ "allowTemplateLiterals": true
25
+ }
26
+ ],
27
+ "semi": [
28
+ "error",
29
+ "always"
30
+ ]
31
+ },
32
+ "parserOptions": {
33
+ "ecmaVersion": 2018
34
+ }
35
35
  }
@@ -1,36 +1,36 @@
1
- ---
2
- name: Bug report
3
- about: Something is not working as it should
4
- title: ''
5
- labels: 'bug'
6
- assignees: ''
7
- ---
8
-
9
- **!!! Before you start !!!**
10
- 1. Verify if there is not already an issue requesting the same
11
- 2. Is this realy a bug of current code or an enhancement request ?
12
-
13
- **Describe the bug**
14
- A clear and concise description of what the bug is.
15
-
16
- **To Reproduce**
17
- Steps to reproduce the behavior:
18
- 1. Go to '...'
19
- 2. Click on '...'
20
- 3. Scroll down to '....'
21
- 4. See error
22
-
23
- **Expected behavior**
24
- A clear and concise description of what you expected to happen.
25
-
26
- **Screenshots & Logfiles**
27
- If applicable, add screenshots and logfiles to help explain your problem.
28
-
29
- **Versions:**
30
- - Adapter version: <adapter-version>
31
- - JS-Controller version: <js-controller-version> <!-- determine this with `iobroker -v` on the console -->
32
- - Node version: <node-version> <!-- determine this with `node -v` on the console -->
33
- - Operating system: <os-name>
34
-
35
- **Additional context**
36
- Add any other context about the problem here.
1
+ ---
2
+ name: Bug report
3
+ about: Something is not working as it should
4
+ title: ''
5
+ labels: 'bug'
6
+ assignees: ''
7
+ ---
8
+
9
+ **!!! Before you start !!!**
10
+ 1. Verify if there is not already an issue requesting the same
11
+ 2. Is this realy a bug of current code or an enhancement request ?
12
+
13
+ **Describe the bug**
14
+ A clear and concise description of what the bug is.
15
+
16
+ **To Reproduce**
17
+ Steps to reproduce the behavior:
18
+ 1. Go to '...'
19
+ 2. Click on '...'
20
+ 3. Scroll down to '....'
21
+ 4. See error
22
+
23
+ **Expected behavior**
24
+ A clear and concise description of what you expected to happen.
25
+
26
+ **Screenshots & Logfiles**
27
+ If applicable, add screenshots and logfiles to help explain your problem.
28
+
29
+ **Versions:**
30
+ - Adapter version: <adapter-version>
31
+ - JS-Controller version: <js-controller-version> <!-- determine this with `iobroker -v` on the console -->
32
+ - Node version: <node-version> <!-- determine this with `node -v` on the console -->
33
+ - Operating system: <os-name>
34
+
35
+ **Additional context**
36
+ Add any other context about the problem here.
@@ -1,19 +1,19 @@
1
- ---
2
- name: Enhancement Request
3
- about: Request new functionality
4
- title: ''
5
- labels: 'enhancement'
6
- assignees: 'DutchmanNL'
7
- ---
8
-
9
- **!!! Before you start !!!!**
10
- Verify if there is not already an issue requesting the same Enhancement
11
-
12
- **Describe wanted Enhancement !**
13
- A clear description of the wanted functionality
14
-
15
- **Why should we put effort in it ?**
16
- Please add some additional information why this Enhancement should be integrated
17
-
18
- **Additional context**
19
- Add any other context about the problem here.
1
+ ---
2
+ name: Enhancement Request
3
+ about: Request new functionality
4
+ title: ''
5
+ labels: 'enhancement'
6
+ assignees: 'DutchmanNL'
7
+ ---
8
+
9
+ **!!! Before you start !!!!**
10
+ Verify if there is not already an issue requesting the same Enhancement
11
+
12
+ **Describe wanted Enhancement !**
13
+ A clear description of the wanted functionality
14
+
15
+ **Why should we put effort in it ?**
16
+ Please add some additional information why this Enhancement should be integrated
17
+
18
+ **Additional context**
19
+ Add any other context about the problem here.
@@ -1,13 +1,13 @@
1
- # To get started with Dependabot version updates, you'll need to specify which
2
- # package ecosystems to update and where the package manifests are located.
3
- # Please see the documentation for all configuration options:
4
- # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
-
6
- version: 2
7
- updates:
8
- - package-ecosystem: "npm"
9
- directory: "/"
10
- schedule:
11
- interval: "daily"
12
- target-branch: "master"
13
- open-pull-requests-limit: 30
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "npm"
9
+ directory: "/"
10
+ schedule:
11
+ interval: "daily"
12
+ target-branch: "master"
13
+ open-pull-requests-limit: 30
@@ -1,30 +1,30 @@
1
- name: Publish
2
-
3
- on:
4
- release:
5
- types: [created]
6
-
7
- jobs:
8
- build:
9
- runs-on: ubuntu-latest
10
- steps:
11
- - uses: actions/checkout@v1
12
- - uses: actions/setup-node@v1
13
- with:
14
- node-version: 10
15
- - run: npm i
16
- - run: npm test
17
-
18
- publish-npm:
19
- needs: build
20
- runs-on: ubuntu-latest
21
- steps:
22
- - uses: actions/checkout@v1
23
- - uses: actions/setup-node@v1
24
- with:
25
- node-version: 10
26
- registry-url: https://registry.npmjs.org/
27
- - run: npm i
28
- - run: npm publish
29
- env:
30
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1
+ name: Publish
2
+
3
+ on:
4
+ release:
5
+ types: [created]
6
+
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v1
12
+ - uses: actions/setup-node@v1
13
+ with:
14
+ node-version: 10
15
+ - run: npm i
16
+ - run: npm test
17
+
18
+ publish-npm:
19
+ needs: build
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - uses: actions/checkout@v1
23
+ - uses: actions/setup-node@v1
24
+ with:
25
+ node-version: 10
26
+ registry-url: https://registry.npmjs.org/
27
+ - run: npm i
28
+ - run: npm publish
29
+ env:
30
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -1,79 +1,79 @@
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
- - "master"
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
- steps:
24
- - uses: ioBroker/testing-action-check@v1
25
- with:
26
- node-version: '18.x'
27
- # Uncomment the following line if your adapter cannot be installed using 'npm ci'
28
- # install-command: 'npm install'
29
- lint: true
30
-
31
- # Runs adapter tests on all supported node versions and OSes
32
- adapter-tests:
33
- if: contains(github.event.head_commit.message, '[skip ci]') == false
34
-
35
- runs-on: ${{ matrix.os }}
36
- strategy:
37
- matrix:
38
- node-version: [16.x, 18.x, 20.x]
39
- os: [ubuntu-latest, windows-latest, macos-latest]
40
-
41
- steps:
42
- - uses: ioBroker/testing-action-adapter@v1
43
- with:
44
- node-version: ${{ matrix.node-version }}
45
- os: ${{ matrix.os }}
46
- # Uncomment the following line if your adapter cannot be installed using 'npm ci'
47
- # install-command: 'npm install'
48
-
49
- # Deploys the final package to NPM
50
- deploy:
51
- needs: [check-and-lint, adapter-tests]
52
-
53
- # Trigger this step only when a commit on any branch is tagged with a version number
54
- if: |
55
- contains(github.event.head_commit.message, '[skip ci]') == false &&
56
- github.event_name == 'push' &&
57
- startsWith(github.ref, 'refs/tags/v')
58
-
59
- runs-on: ubuntu-latest
60
-
61
- steps:
62
- - uses: ioBroker/testing-action-deploy@v1
63
- with:
64
- node-version: '18.x'
65
- # Uncomment the following line if your adapter cannot be installed using 'npm ci'
66
- # install-command: 'npm install'
67
- npm-token: ${{ secrets.NPM_TOKEN }}
68
- github-token: ${{ secrets.secrets.AUTOMERGER }}
69
-
70
- # When using Sentry for error reporting, Sentry can be informed about new releases
71
- # To enable create a API-Token in Sentry (User settings, API keys)
72
- # Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options
73
- # Then uncomment and customize the following block:
74
- #sentry: true
75
- #sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }}
76
- #sentry-project: "xxx"
77
- #sentry-version-prefix: "xxx"
78
- # If your sentry project is linked to a GitHub repository, you can enable the following option
79
- # sentry-github-integration: true
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
+ - "master"
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
+ steps:
24
+ - uses: ioBroker/testing-action-check@v1
25
+ with:
26
+ node-version: '18.x'
27
+ # Uncomment the following line if your adapter cannot be installed using 'npm ci'
28
+ # install-command: 'npm install'
29
+ lint: true
30
+
31
+ # Runs adapter tests on all supported node versions and OSes
32
+ adapter-tests:
33
+ if: contains(github.event.head_commit.message, '[skip ci]') == false
34
+
35
+ runs-on: ${{ matrix.os }}
36
+ strategy:
37
+ matrix:
38
+ node-version: [16.x, 18.x, 20.x]
39
+ os: [ubuntu-latest, windows-latest, macos-latest]
40
+
41
+ steps:
42
+ - uses: ioBroker/testing-action-adapter@v1
43
+ with:
44
+ node-version: ${{ matrix.node-version }}
45
+ os: ${{ matrix.os }}
46
+ # Uncomment the following line if your adapter cannot be installed using 'npm ci'
47
+ # install-command: 'npm install'
48
+
49
+ # Deploys the final package to NPM
50
+ deploy:
51
+ needs: [check-and-lint, adapter-tests]
52
+
53
+ # Trigger this step only when a commit on any branch is tagged with a version number
54
+ if: |
55
+ contains(github.event.head_commit.message, '[skip ci]') == false &&
56
+ github.event_name == 'push' &&
57
+ startsWith(github.ref, 'refs/tags/v')
58
+
59
+ runs-on: ubuntu-latest
60
+
61
+ steps:
62
+ - uses: ioBroker/testing-action-deploy@v1
63
+ with:
64
+ node-version: '18.x'
65
+ # Uncomment the following line if your adapter cannot be installed using 'npm ci'
66
+ # install-command: 'npm install'
67
+ npm-token: ${{ secrets.NPM_TOKEN }}
68
+ github-token: ${{ secrets.secrets.AUTOMERGER }}
69
+
70
+ # When using Sentry for error reporting, Sentry can be informed about new releases
71
+ # To enable create a API-Token in Sentry (User settings, API keys)
72
+ # Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options
73
+ # Then uncomment and customize the following block:
74
+ #sentry: true
75
+ #sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }}
76
+ #sentry-project: "xxx"
77
+ #sentry-version-prefix: "xxx"
78
+ # If your sentry project is linked to a GitHub repository, you can enable the following option
79
+ # sentry-github-integration: true
@@ -0,0 +1,3 @@
1
+ {
2
+ "plugins": [ "iobroker", "license" ]
3
+ }
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2017-2023 rg-engineering info@rg-engineering.eu
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
1
+ MIT License
2
+
3
+ Copyright (c) 2017-2023 rg-engineering info@rg-engineering.eu
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
21
  SOFTWARE.