iobroker.flowers 0.2.8 → 0.3.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/README.md +63 -28
- package/admin/i18n/de/translations.json +4 -1
- package/admin/i18n/en/translations.json +4 -1
- package/admin/i18n/es/translations.json +4 -1
- package/admin/i18n/fr/translations.json +4 -1
- package/admin/i18n/it/translations.json +4 -1
- package/admin/i18n/nl/translations.json +4 -1
- package/admin/i18n/pl/translations.json +4 -1
- package/admin/i18n/pt/translations.json +4 -1
- package/admin/i18n/ru/translations.json +4 -1
- package/admin/i18n/uk/translations.json +4 -1
- package/admin/i18n/zh-cn/translations.json +4 -1
- package/admin/jsonConfig.json +1295 -1202
- package/io-package.json +228 -252
- package/lib/messages.js +191 -128
- package/lib/monitor-service.js +383 -312
- package/lib/notification-manager.js +28 -11
- package/main.js +18 -4
- package/package.json +60 -51
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# ioBroker.flowers
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
[](https://www.npmjs.com/package/iobroker.flowers)
|
|
4
6
|
[](LICENSE)
|
|
5
7
|
|
|
@@ -8,12 +10,15 @@ Monitor indoor plants via soil moisture, temperature and battery sensors with Te
|
|
|
8
10
|
## Features
|
|
9
11
|
|
|
10
12
|
- Monitor multiple plants with individual sensor assignments
|
|
11
|
-
- Built-in plant profiles (Ficus, Orchid, Cactus, Monstera, Fern, Succulent, Palm, Pothos, Aloe Vera, Peace Lily, Custom)
|
|
13
|
+
- Built-in plant profiles (Ficus, Orchid, Cactus, Monstera, Fern, Succulent, Palm, Pothos, Aloe Vera, Peace Lily, Coffea arabica, Rhapis excelsa, Calathea zebrina, Sansevieria Laurentii, Custom)
|
|
14
|
+
- Custom profiles: create your own plant profiles with individual thresholds in the Profiles tab
|
|
12
15
|
- Configurable thresholds per plant (override profile defaults)
|
|
16
|
+
- Automatic watering: trigger a watering switch when soil humidity drops below minimum
|
|
17
|
+
- Configurable watering duration (minutes)
|
|
13
18
|
- Telegram notifications via `sendTo('telegram.X', ...)`
|
|
14
|
-
- Anti-spam: max messages per day limit +
|
|
19
|
+
- Anti-spam: max messages per day limit + configurable cooldown per alert type
|
|
15
20
|
- Night mode: suppress notifications during quiet hours
|
|
16
|
-
- Daily and weekly plant status reports
|
|
21
|
+
- Daily and weekly plant status reports with manual trigger buttons
|
|
17
22
|
- Offline sensor detection
|
|
18
23
|
|
|
19
24
|
## Configuration
|
|
@@ -34,9 +39,11 @@ Monitor indoor plants via soil moisture, temperature and battery sensors with Te
|
|
|
34
39
|
|
|
35
40
|
Add your plants and assign ioBroker state IDs for each sensor. Select a profile — thresholds are applied automatically. You can override individual threshold values per plant.
|
|
36
41
|
|
|
42
|
+
For automatic watering, assign a **Watering** state ID (e.g. a switch that controls a pump or valve). When soil humidity drops below the minimum threshold, the adapter sets this state to `true` for the configured watering duration, then sets it back to `false`.
|
|
43
|
+
|
|
37
44
|
### Profiles Tab
|
|
38
45
|
|
|
39
|
-
Overview of built-in profiles with recommended thresholds.
|
|
46
|
+
Overview of built-in profiles with recommended thresholds. You can also create **custom profiles** in the table at the top — enter a name and thresholds, then use that name in the "Custom Profile" field in the Plants tab.
|
|
40
47
|
|
|
41
48
|
## States
|
|
42
49
|
|
|
@@ -54,33 +61,61 @@ And under `flowers.X`:
|
|
|
54
61
|
|-------|-------------|
|
|
55
62
|
| `info.connection` | Adapter connection status |
|
|
56
63
|
| `notifications.totalToday` | Notifications sent today |
|
|
64
|
+
| `notifications.sendDailyReport` | Button: trigger daily report manually |
|
|
65
|
+
| `notifications.sendWeeklyReport` | Button: trigger weekly report manually |
|
|
66
|
+
|
|
67
|
+
### Automatic Watering
|
|
68
|
+
|
|
69
|
+
Assign a **Watering** state (e.g. `zigbee.0.pump.state`) in the Plants tab. When humidity drops below the minimum:
|
|
70
|
+
1. The adapter sets the watering state to `true`
|
|
71
|
+
2. Waits for the configured **Watering Duration** (minutes)
|
|
72
|
+
3. Sets the state back to `false`
|
|
73
|
+
|
|
74
|
+
Only one watering cycle runs at a time per plant. Configure the duration in Settings → Automatic Watering.
|
|
57
75
|
|
|
58
76
|
## Changelog
|
|
59
77
|
|
|
60
|
-
### 0.2
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
### 0.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
### 0.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
### 0.2.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
78
|
+
### 0.3.2 (2026-03-30)
|
|
79
|
+
- (sadam6752-tech) Custom profiles: users can create own plant profiles in Profiles tab
|
|
80
|
+
- (sadam6752-tech) Custom profile field in Plants table for direct profile name entry
|
|
81
|
+
|
|
82
|
+
### 0.3.1 (2026-03-30)
|
|
83
|
+
- (sadam6752-tech) Fixed all lint warnings: complete JSDoc descriptions for all methods
|
|
84
|
+
|
|
85
|
+
### 0.3.0 (2026-03-30)
|
|
86
|
+
- (sadam6752-tech) Standard CI/CD workflow using ioBroker testing actions
|
|
87
|
+
- (sadam6752-tech) Added dependabot and automerge workflow
|
|
88
|
+
- (sadam6752-tech) Added release-script and standard test structure
|
|
89
|
+
- (sadam6752-tech) Added .releaseconfig.json
|
|
90
|
+
|
|
91
|
+
### 0.2.9 (2026-03-22)
|
|
92
|
+
- (sadam6752-tech) Automatic watering support: sensorWatering column, wateringDuration setting
|
|
93
|
+
- (sadam6752-tech) Fixed checkbox column width; increased battery sensor column width
|
|
94
|
+
|
|
95
|
+
### 0.2.8 (2026-03-21)
|
|
96
|
+
* (sadam6752-tech) Added sendWeeklyReport button for manual weekly report trigger
|
|
97
|
+
* (sadam6752-tech) Fixed repochecker issues: grid values, dependencies
|
|
98
|
+
|
|
99
|
+
### 0.2.7 (2026-03-21)
|
|
100
|
+
* (sadam6752-tech) Fixed weekly report header; separated daily/weekly report logic
|
|
101
|
+
|
|
102
|
+
### 0.2.6 (2026-03-21)
|
|
103
|
+
* (sadam6752-tech) Added dividers to daily/weekly report format
|
|
104
|
+
|
|
105
|
+
### 0.2.5 (2026-03-21)
|
|
106
|
+
* (sadam6752-tech) Added sendDailyReport button for manual report trigger
|
|
107
|
+
|
|
108
|
+
### 0.2.4 (2026-03-21)
|
|
109
|
+
* (sadam6752-tech) Fixed Profiles tab causing dirty state on open
|
|
110
|
+
|
|
111
|
+
### 0.2.3 (2026-03-21)
|
|
112
|
+
* (sadam6752-tech) Increased Bat Min column width; allow empty threshold fields
|
|
113
|
+
|
|
114
|
+
### 0.2.2 (2026-03-21)
|
|
115
|
+
* (sadam6752-tech) Allow empty threshold fields - profile values used as fallback
|
|
116
|
+
|
|
117
|
+
### 0.2.0 (2026-03-21)
|
|
118
|
+
* (sadam6752-tech) Added 4 new plant profiles; translations for all 11 languages
|
|
84
119
|
### 0.1.0 (2026-03-21)
|
|
85
120
|
- Initial release: plant monitoring with Telegram notifications, configurable thresholds, night mode and periodic reports
|
|
86
121
|
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Automatische Bewässerung",
|
|
58
|
+
"Watering Duration (min)": "Bewässerungszeit (Min.)",
|
|
59
|
+
"Watering": "Bewässerung"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Automatic Watering",
|
|
58
|
+
"Watering Duration (min)": "Watering Duration (min)",
|
|
59
|
+
"Watering": "Watering"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Riego automático",
|
|
58
|
+
"Watering Duration (min)": "Duración del riego (min)",
|
|
59
|
+
"Watering": "Riego"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Arrosage automatique",
|
|
58
|
+
"Watering Duration (min)": "Durée d arrosage (min)",
|
|
59
|
+
"Watering": "Arrosage"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Irrigazione automatica",
|
|
58
|
+
"Watering Duration (min)": "Durata irrigazione (min)",
|
|
59
|
+
"Watering": "Irrigazione"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Automatisch water geven",
|
|
58
|
+
"Watering Duration (min)": "Bewateringstijd (min)",
|
|
59
|
+
"Watering": "Bewatering"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Automatyczne podlewanie",
|
|
58
|
+
"Watering Duration (min)": "Czas podlewania (min)",
|
|
59
|
+
"Watering": "Podlewanie"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Rega automática",
|
|
58
|
+
"Watering Duration (min)": "Duração da rega (min)",
|
|
59
|
+
"Watering": "Rega"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Автополив",
|
|
58
|
+
"Watering Duration (min)": "Время полива (мин.)",
|
|
59
|
+
"Watering": "Полив"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "Coffea arabica",
|
|
54
54
|
"Rhapis excelsa": "Rhapis excelsa",
|
|
55
55
|
"Calathea zebrina": "Calathea zebrina",
|
|
56
|
-
"Sansevieria Laurentii": "Sansevieria Laurentii"
|
|
56
|
+
"Sansevieria Laurentii": "Sansevieria Laurentii",
|
|
57
|
+
"Automatic Watering": "Автополив",
|
|
58
|
+
"Watering Duration (min)": "Час поливу (хв.)",
|
|
59
|
+
"Watering": "Полив"
|
|
57
60
|
}
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"Coffea arabica": "咖啡阿拉比卡",
|
|
54
54
|
"Rhapis excelsa": "棕竹",
|
|
55
55
|
"Calathea zebrina": "斑马竹芋",
|
|
56
|
-
"Sansevieria Laurentii": "金边虎尾兰"
|
|
56
|
+
"Sansevieria Laurentii": "金边虎尾兰",
|
|
57
|
+
"Automatic Watering": "自动浇水",
|
|
58
|
+
"Watering Duration (min)": "浇水时长(分钟)",
|
|
59
|
+
"Watering": "浇水"
|
|
57
60
|
}
|