iobroker.flowers 0.2.9 → 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 +35 -4
- package/admin/jsonConfig.json +1295 -1225
- package/io-package.json +228 -188
- package/lib/messages.js +191 -128
- package/lib/monitor-service.js +383 -345
- 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,9 +61,33 @@ 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
|
|
|
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
|
+
|
|
60
91
|
### 0.2.9 (2026-03-22)
|
|
61
92
|
- (sadam6752-tech) Automatic watering support: sensorWatering column, wateringDuration setting
|
|
62
93
|
- (sadam6752-tech) Fixed checkbox column width; increased battery sensor column width
|