iobroker.sprinklecontrol 0.2.13 → 0.2.15

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 (71) hide show
  1. package/{Lizenz → LICENSE} +21 -21
  2. package/README.md +62 -110
  3. package/admin/i18n/de/translations.json +134 -0
  4. package/admin/i18n/en/translations.json +134 -0
  5. package/admin/i18n/es/translations.json +134 -0
  6. package/admin/i18n/fr/translations.json +134 -0
  7. package/admin/i18n/it/translations.json +134 -0
  8. package/admin/i18n/nl/translations.json +134 -0
  9. package/admin/i18n/pl/translations.json +134 -0
  10. package/admin/i18n/pt/translations.json +134 -0
  11. package/admin/i18n/ru/translations.json +134 -0
  12. package/admin/i18n/uk/translations.json +134 -0
  13. package/admin/i18n/zh-cn/translations.json +134 -0
  14. package/admin/index_m.html +904 -907
  15. package/admin/index_m.js +779 -779
  16. package/admin/style.css +453 -158
  17. package/admin/words.js +143 -136
  18. package/io-package.json +268 -201
  19. package/lib/adapter-config.d.ts +19 -16
  20. package/lib/evaporation.js +455 -412
  21. package/lib/myConfig.js +372 -359
  22. package/lib/sendMessageText.js +162 -199
  23. package/lib/tools.js +148 -125
  24. package/lib/valveControl.js +931 -887
  25. package/main.js +2045 -1828
  26. package/package.json +50 -32
  27. package/.gitattributes +0 -2
  28. package/admin/admin.d.ts +0 -1
  29. package/docs/de/img/E-Mail.jpg +0 -0
  30. package/docs/de/img/Extraeinstellungen.jpg +0 -0
  31. package/docs/de/img/Pumpeneinstellung.jpg +0 -0
  32. package/docs/de/img/Pushover.jpg +0 -0
  33. package/docs/de/img/Select_ID.jpg +0 -0
  34. package/docs/de/img/Telegram.jpg +0 -0
  35. package/docs/de/img/Ventil-Haupteinstellung.jpg +0 -0
  36. package/docs/de/img/Ventil-Pumpeneinstellung.jpg +0 -0
  37. package/docs/de/img/WhatsApp.jpg +0 -0
  38. package/docs/de/img/Zeiteinstellung.jpg +0 -0
  39. package/docs/de/img/addTime.jpg +0 -0
  40. package/docs/de/img/analog.jpg +0 -0
  41. package/docs/de/img/ber-verdunstung.jpg +0 -0
  42. package/docs/de/img/bew-einstellung.jpg +0 -0
  43. package/docs/de/img/bew-feste-tage.jpg +0 -0
  44. package/docs/de/img/bistabil.jpg +0 -0
  45. package/docs/de/img/bodenf-analog.jpg +0 -0
  46. package/docs/de/img/bodenf-bistabil.jpg +0 -0
  47. package/docs/de/img/calculation.jpg +0 -0
  48. package/docs/de/img/control.jpg +0 -0
  49. package/docs/de/img/einschaltpunkt-giessen.jpg +0 -0
  50. package/docs/de/img/festeTage.jpg +0 -0
  51. package/docs/de/img/main.jpg +0 -0
  52. package/docs/de/img/main_tab.jpg +0 -0
  53. package/docs/de/img/max-bodenfeuchtigkeit.jpg +0 -0
  54. package/docs/de/img/schaltverhalten.jpg +0 -0
  55. package/docs/de/img/sprinklecontrol.png +0 -0
  56. package/docs/de/img/verdunstDiagra.jpg +0 -0
  57. package/docs/de/img/verdunstung.jpg +0 -0
  58. package/docs/de/img/zus-bew-einstellung.jpg +0 -0
  59. package/docs/de/sprinklecontrol.md +0 -656
  60. package/docs/en/img/schaltverhalten.jpg +0 -0
  61. package/docs/en/img/screenshot1.jpg +0 -0
  62. package/docs/en/img/screenshot2.jpg +0 -0
  63. package/docs/en/img/screenshot3.jpg +0 -0
  64. package/docs/en/img/screenshot4.jpg +0 -0
  65. package/docs/en/img/screenshot5.jpg +0 -0
  66. package/docs/en/img/screenshot6.jpg +0 -0
  67. package/docs/en/img/screenshot7.jpg +0 -0
  68. package/docs/en/img/screenshot8.jpg +0 -0
  69. package/docs/en/img/sprinklecontrol.png +0 -0
  70. package/docs/en/sprinklecontrol.md +0 -230
  71. package/main.test.js +0 -30
package/package.json CHANGED
@@ -1,17 +1,23 @@
1
1
  {
2
2
  "name": "iobroker.sprinklecontrol",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "description": "Control of several sprinklers depending on weather conditions and pump performance.",
5
5
  "author": {
6
6
  "name": "Dirk Peter",
7
7
  "email": "dirk.peter@freenet.de"
8
8
  },
9
+ "contributors": [
10
+ {
11
+ "name": "Dirk Peter"
12
+ }
13
+ ],
9
14
  "homepage": "https://github.com/Dirk-Peter-md/ioBroker.sprinklecontrol",
10
15
  "license": "MIT",
11
16
  "keywords": [
12
17
  "Sprinkle",
13
18
  "Irrigation",
14
19
  "Bewässerung",
20
+ "Gartenbewässerung",
15
21
  "Steuerung",
16
22
  "ioBroker"
17
23
  ],
@@ -19,46 +25,58 @@
19
25
  "type": "git",
20
26
  "url": "https://github.com/Dirk-Peter-md/ioBroker.sprinklecontrol"
21
27
  },
28
+ "engines": {
29
+ "node": ">= 20"
30
+ },
22
31
  "dependencies": {
23
- "@iobroker/adapter-core": "^2.6.0",
24
- "node-schedule": "^2.1.0",
25
- "suncalc2": "^1.8.1"
32
+ "@iobroker/adapter-core": "^3.2.3",
33
+ "node-schedule": "^2.1.1",
34
+ "suncalc": "^1.9.0"
26
35
  },
27
36
  "devDependencies": {
28
- "@alcalzone/release-script": "^3.5.9",
29
- "@alcalzone/release-script-plugin-iobroker": "^3.5.9",
30
- "@alcalzone/release-script-plugin-license": "^3.5.9",
31
- "@iobroker/testing": "^4.1.0",
32
- "@types/chai": "^4.3.3",
33
- "@types/chai-as-promised": "^7.1.5",
34
- "@types/gulp": "^4.0.9",
35
- "@types/mocha": "^9.1.1",
36
- "@types/node": "^18.7.14",
37
- "@types/node-schedule": "^2.1.0",
38
- "@types/proxyquire": "^1.3.28",
39
- "@types/sinon": "^10.0.13",
40
- "@types/sinon-chai": "^3.2.8",
41
- "axios": "^0.27.2",
42
- "chai": "^4.3.6",
43
- "chai-as-promised": "^7.1.1",
44
- "eslint": "^8.23.0",
45
- "gulp": "^3.9.1",
46
- "mocha": "^10.0.0",
47
- "proxyquire": "^2.1.3",
48
- "sinon": "^14.0.0",
49
- "sinon-chai": "^3.7.0",
50
- "tslint": "^6.1.3"
37
+ "@alcalzone/release-script": "^3.8.0",
38
+ "@alcalzone/release-script-plugin-iobroker": "^3.7.2",
39
+ "@alcalzone/release-script-plugin-license": "^3.7.0",
40
+ "@alcalzone/release-script-plugin-manual-review": "^3.7.0",
41
+ "@iobroker/adapter-dev": "^1.4.0",
42
+ "@iobroker/eslint-config": "^2.0.2",
43
+ "@iobroker/testing": "^5.0.4",
44
+ "chai": "^5.2.0",
45
+ "chai-as-promised": "^8.0.1",
46
+ "mocha": "^11.5.0",
47
+ "sinon": "^20.0.0",
48
+ "sinon-chai": "^4.0.0"
51
49
  },
52
50
  "main": "main.js",
51
+ "files": [
52
+ "admin{,/!(src)/**}/!(tsconfig|tsconfig.*|.eslintrc).json",
53
+ "admin{,/!(src)/**}/*.{html,css,png,svg,jpg,js}",
54
+ "!eslint.config.mjs",
55
+ "!.dev-server",
56
+ "!.git",
57
+ "!.github",
58
+ "!.vscode",
59
+ "!node_modules",
60
+ "!test",
61
+ "!.gitattributes",
62
+ "!.gitignore",
63
+ "lib/",
64
+ "www/",
65
+ "io-package.json",
66
+ "LICENSE",
67
+ "main.js"
68
+ ],
53
69
  "scripts": {
54
- "test": "npm run test:package && npm run test:unit",
55
70
  "test:package": "mocha test/package --exit",
56
- "test:unit": "mocha test/unit --exit",
57
71
  "test:integration": "mocha test/integration --exit",
58
- "release": "release-script patch --yes",
59
- "release-test": "release-script patch -- --dry",
72
+ "release": "release-script",
73
+ "release-patch": "release-script patch --yes",
60
74
  "release-minor": "release-script minor --yes",
61
- "release-mojor": "release-script major --yes"
75
+ "release-major": "release-script major --yes",
76
+ "translate": "translate-adapter",
77
+ "dev-server-run": "dev-server run sprinklecontrol",
78
+ "dev-server-watch": "dev-server watch sprinklecontrol",
79
+ "lint": "eslint -c eslint.config.mjs ."
62
80
  },
63
81
  "bugs": {
64
82
  "url": "https://github.com/Dirk-Peter-md/ioBroker.sprinklecontrol/issues"
package/.gitattributes DELETED
@@ -1,2 +0,0 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto
package/admin/admin.d.ts DELETED
@@ -1 +0,0 @@
1
- declare let systemDictionary: Record<string, Record<string, string>>;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file