iobroker.fullcalendar 3.0.5 → 3.1.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 (30) hide show
  1. package/README.md +48 -6
  2. package/admin/assets/{index-BkpWRoOS.js → index-D5iQFJyH.js} +8 -8
  3. package/admin/assets/prod-DHNrMLtG.js +15 -0
  4. package/admin/tab_m.html +1 -1
  5. package/build/lib/agenda.js +263 -0
  6. package/build/lib/agenda.js.map +1 -0
  7. package/build/main.js +342 -18
  8. package/build/main.js.map +1 -1
  9. package/io-package.json +113 -14
  10. package/package.json +5 -2
  11. package/widgets/fullcalendar/assets/{FullCalendar-QoIQeLKE.js → FullCalendar-LRnYRzId.js} +654 -615
  12. package/widgets/fullcalendar/assets/{_virtual_mf-localSharedImportMap___mfe_internal__fullcalendar__mf_owner__1-Df2dGmHX.js → _virtual_mf-localSharedImportMap___mfe_internal__fullcalendar__mf_owner__1-CnvuZ3xu.js} +6 -6
  13. package/widgets/fullcalendar/assets/{_virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__loadShare__shared-C5lkI4W7.js → _virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__loadShare__shared-CpN7LVa8.js} +7 -7
  14. package/widgets/fullcalendar/assets/{_virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild___mf_0_emotion_mf_1_react__prebuild__-CZkQkva4.js → _virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild___mf_0_emotion_mf_1_react__prebuild__-BafoSFpv.js} +2 -2
  15. package/widgets/fullcalendar/assets/{_virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild___mf_0_mui_mf_1_material__prebuild__-BsARDKDT.js → _virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild___mf_0_mui_mf_1_material__prebuild__-CKskgIFf.js} +4 -4
  16. package/widgets/fullcalendar/assets/{_virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild___mf_0_mui_mf_1_private_mf_2_theming__prebuild__-CV105ZCP.js → _virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild___mf_0_mui_mf_1_private_mf_2_theming__prebuild__-DVqjL_Mh.js} +1 -1
  17. package/widgets/fullcalendar/assets/{_virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild___mf_0_mui_mf_1_system__prebuild__-1YV2CmvG.js → _virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild___mf_0_mui_mf_1_system__prebuild__-4j9io7u3.js} +3 -3
  18. package/widgets/fullcalendar/assets/{_virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild__react_mf_1_jsx_mf_2_dev_mf_2_runtime__prebuild__-JH89NqeZ.js → _virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild__react_mf_1_jsx_mf_2_dev_mf_2_runtime__prebuild__-9fMZ7x-R.js} +1 -1
  19. package/widgets/fullcalendar/assets/{_virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-M61rjtmp.js → _virtual_mf___mfe_internal__fullcalendar__mf_owner__78845261933133__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__--SURtz9t.js} +1 -1
  20. package/widgets/fullcalendar/assets/{createGrid-XgsKiHbs.js → createGrid-D1JWtUSj.js} +2 -2
  21. package/widgets/fullcalendar/assets/{emotion-use-insertion-effect-with-fallbacks.browser.esm-Dk-BRU6R.js → emotion-use-insertion-effect-with-fallbacks.browser.esm-lXgIti79.js} +1 -1
  22. package/widgets/fullcalendar/assets/{hostInit-Bq4BHzTS.js → hostInit-DXGebW1s.js} +15 -10
  23. package/widgets/fullcalendar/assets/{mf-entry-bootstrap-0-2ab96c7b.js → mf-entry-bootstrap-0-188def7f.js} +2 -2
  24. package/widgets/fullcalendar/assets/{pendingShares-Rh4gwwgN.js → pendingShares-A140jJBr.js} +11 -11
  25. package/widgets/fullcalendar/assets/{useMediaQuery-BiIBwpxO.js → useMediaQuery-CWAHBiYu.js} +2 -2
  26. package/widgets/fullcalendar/assets/{useMediaQuery-BTox8j_H.js → useMediaQuery-j81byOIM.js} +2 -2
  27. package/widgets/fullcalendar/customWidgets.js +16 -7
  28. package/widgets/fullcalendar/mf-manifest.json +1 -1
  29. package/widgets/fullcalendar/mf-stats.json +1 -1
  30. package/admin/assets/prod-DFNqbjXF.js +0 -15
package/README.md CHANGED
@@ -27,6 +27,46 @@ How to use:
27
27
  - Click the record button and wait 24 hours or 7 days till simulation stops to record events
28
28
  - Now you can replay the simulation by clicking on the play button. Additionally, you can define the time when the simulation should be started.
29
29
 
30
+ ## Agenda states
31
+ The adapter writes what is planned into states, e.g. to ask a chat or voice assistant about it or to show it in a visualization:
32
+
33
+ | State | Content |
34
+ |--------------------------------|---------------------------------------------------------------------------------|
35
+ | `fullcalendar.0.events.list` | all events (JSON): name, calendar, state, value, time or cron, next execution |
36
+ | `fullcalendar.0.events.today` | executions today (JSON), also the ones already done |
37
+ | `fullcalendar.0.events.tomorrow` | executions tomorrow (JSON) |
38
+ | `fullcalendar.0.events.next` | the next execution (JSON, `null` = none) |
39
+ | `fullcalendar.0.events.count` | number of events |
40
+ | `fullcalendar.0.events.lastChanged` | time of the last change of an event |
41
+
42
+ One execution looks like this (times are local times of the ioBroker host):
43
+ ```json
44
+ {"id": "fullcalendar.0.event-…", "name": "Light living room", "calendar": "", "time": "2026-10-28T22:30:00", "ts": 1793223000000,
45
+ "oid": "hm-rpc.0.ABC.1.STATE", "value": false, "recurring": false}
46
+ ```
47
+ A "double" event has `endTime` and `endValue` too, `calendar` is `""` for the default calendar. Events of simulations are not part of the agenda.
48
+
49
+ ## Script and adapter API (sendTo)
50
+ Other adapters and scripts can plan events, e.g. a voice assistant for "turn off the light in 2 hours":
51
+ ```js
52
+ // in 2 hours (`in`: seconds, or "90s", "30m", "2h", "1h30m", "1d")
53
+ sendTo('fullcalendar.0', 'addEvent', { oid: 'hm-rpc.0.ABC.1.STATE', value: false, in: '2h' }, res => log(JSON.stringify(res)));
54
+ // at a time (local time, or a timestamp in ms), for 10 minutes, in the calendar "Garden"
55
+ sendTo('fullcalendar.0', 'addEvent', {
56
+ oid: 'hm-rpc.0.PUMP.1.STATE', value: true, start: '2026-10-29T07:30', duration: '10m', calendar: 'Garden', name: 'Pump',
57
+ }, res => log(JSON.stringify(res))); // {id, name, start, ts} or {error}
58
+ ```
59
+
60
+ | Command | Message | Answer |
61
+ |----------------|-----------------------------------------------------------------------------------------------------------|---------------------------------|
62
+ | `addEvent` | `oid`, `value`, `start` or `in`; optional `duration` + `endValue` (a boolean switches back by itself), `name`, `calendar` (name or ID), `color` | `{id, name, start, ts}` |
63
+ | `deleteEvent` | `id` | `{result: "ok"}` |
64
+ | `listEvents` | optional `from`, `to` (default now … 7 days, or `days`), `calendar`, `max` | `{events: [execution, …]}` |
65
+ | `getEvents` | optional `calendar` | `{events: [definition, …]}` |
66
+ | `getCalendars` | – | `{calendars: [{id, name}, …]}` |
67
+
68
+ Errors come back as `{error}`. A new event is a one-shot event and appears in the calendar like one created by hand.
69
+
30
70
  ## Todo
31
71
  - Week and day must scroll to the current time
32
72
 
@@ -35,6 +75,14 @@ How to use:
35
75
  ### **WORK IN PROGRESS**
36
76
  -->
37
77
  ## Changelog
78
+ ### 3.1.1 (2026-10-29)
79
+ * (GermanBluefox) Fixed display of recurring events after DST change (#448)
80
+
81
+ ### 3.1.0 (2026-10-28)
82
+ * (bluefox) Added agenda states `events.list/today/tomorrow/next/count/lastChanged`
83
+ * (bluefox) Added the messages `addEvent`, `deleteEvent`, `listEvents`, `getEvents` and `getCalendars`, e.g. for voice assistants
84
+ * (bluefox) A one-shot event in the past is no longer marked as disabled in memory
85
+
38
86
  ### 3.0.5 (2026-10-19)
39
87
  * (ioBroker-Bot) Adapter requires js-controller >= 6.0.11 now.
40
88
  * (bluefox) Migrated GUI to vite
@@ -46,12 +94,6 @@ How to use:
46
94
  ### 2.4.5 (2024-09-09)
47
95
  * (bluefox) Corrected SelectID Dialog
48
96
 
49
- ### 2.4.4 (2024-09-09)
50
- * (bluefox) Removed withStyles package
51
-
52
- ### 2.3.17 (2024-05-26)
53
- * (bluefox) Corrected the simulation
54
-
55
97
  [Older changelogs can be found there](CHANGELOG_OLD.md)
56
98
 
57
99
  ## License