Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Beta Test Simulation auf der Basis von fullcalendar

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Beta Test Simulation auf der Basis von fullcalendar

    This topic has been deleted. Only users with topic management privileges can see it.
    • Bluefox
      Bluefox last edited by Bluefox

      Aktuelle Test Version 2.1.0
      Veröffentlichungsdatum 24.04.2023
      Github Link https://github.com/ioBroker/ioBroker.fullcalendar

      Auf der Basis von fullcalendar wurde die lang-erwartetete Funktionalität von Präsenzsimulation entwickelt.
      Es funktioniert folgendermaßen:

      • Erst muss man sein Verhältnis aufnehmen (ein Tag oder eine Woche). Dabei muss man einzelne Zustände oder Kategorien selektieren. Die Aufnahme haltet sich automatisch an.
      • Nach der Aufnahme: Falsche/Unnötige Ereignisse löschen, falls vorhanden
      • Die aufgenommenene Ereignisse abspielen lassen. Dabei kann man definieren am welchen Wochentag, ab Wann und bis Wann die Ereignisse abgespielt werden müssen.

      ddb093bc-9fd3-41f8-9e6c-c91cf7ef1da4-image.png

      Es ist so, dass die Funktionalität ist noch nicht finalisiert, da noch zu wenig Live-Tests gemacht wurde. Aber ich würde mich freuen über Vorschläge und Verbesserungen.
      Z.B. Es ist noch nicht klar, sollten alle Zustände am Ende von der Abspielen auf "false/0" gesetzt werden? Oder sollte alle Zustandswerte bei Aufnahmestart gespeichert werden und dann am Ende von Abspielen wiederherstellt werden....

      Bluefox mcm1957 R 4 Replies Last reply Reply Quote 5
      • Bluefox
        Bluefox @Bluefox last edited by

        @bluefox reserved for answers

        1 Reply Last reply Reply Quote 0
        • mcm1957
          mcm1957 @Bluefox last edited by

          @bluefox said in Beta Test Simulation auf dem Basis von fullcalendar:

          Z.B. Es ist noch nicht klar, sollten alle Zustände am Ende von der Abspielen auf "false/0" gesetzt werden? Oder sollte alle Zustandswerte bei Aufnahmestart gespeichert werden und dann am Ende von Abspielen wiederherstellt werden....

          Zu dieser konkreten Frage würde ich anregen folgende Einstellungen (per drop down select) abzubieten:

          • set all states to off

            alle states die Teil der Simulation waren sollen auf off / 0 gestellt werden

          • keep all states as is

            alle States sollen auf jenem Wert belassen werden der am Ende der Simulation existiert, d.h. aus Sicheztd er Simulation "no more action / no final action")

          • reset states to original value

            alle States sollen auf den Wert gestellt werden, der am Anfang der Simulation vorhanden war.

          Mit dieser Auswahl sollten alle denkbaren Scenarien abgedeckt sein. Sonderfälle könnte man in einer späteren Version z.B. dadurch abdecken, dass man ein (optionales) "finalize" script starten kann. Damit sollte jeder dann seine ganz besondere Einstellung schalten können.

          1 Reply Last reply Reply Quote 0
          • Andreas K 0
            Andreas K 0 last edited by

            Hallo,

            ich kann keine Simulation starten. Der Knopf wird nur für einen Sekundenbruchteil "rot" und dann war es das. Was könnte das sein? Was kann ich an weiteren Infos zur Verfügung stellen?`
            Grüße

            Andreas

            M R 2 Replies Last reply Reply Quote 0
            • M
              MDorf @Andreas K 0 last edited by

              @andreas-k-0 said in Beta Test Simulation auf dem Basis von fullcalendar:

              Sekundenbruchteil "rot"

              Das geht mir leider auch so.
              Kann ich irgendwelche Loginfo's zur Verfügung stellen...?

              arteck R 2 Replies Last reply Reply Quote 0
              • arteck
                arteck Developer Most Active @MDorf last edited by

                @mdorf steht den was im LOG

                M 2 Replies Last reply Reply Quote 0
                • M
                  MDorf @arteck last edited by

                  @arteck

                  Simulation eingerichtet:
                  cf13dfb3-19a9-4de9-9368-ac7ce5d18625-grafik.png

                  Gestartet und dann die Lampe geschaltet.
                  Fullkalender raucht ab...

                  46826771-e1aa-4470-9e6d-11d99ed07d51-grafik.png

                  Log:

                  4c71620f-0119-418a-89bd-10d932db8498-grafik.png

                  2024-02-11 22:41:21.692 - info: admin.0 (2641) ==> Connected system.user.admin from 2a00:6020:43cd:bd00:5d21:966e:d2b2:80a9
                  2024-02-11 22:44:00.144 - error: fullcalendar.0 (116191) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                  2024-02-11 22:44:00.147 - error: fullcalendar.0 (116191) unhandled promise rejection: Cannot read properties of null (reading '_id')
                  2024-02-11 22:44:00.155 - error: fullcalendar.0 (116191) TypeError: Cannot read properties of null (reading '_id')
                  at getImage (/opt/iobroker/node_modules/iobroker.fullcalendar/main.js:200:29)
                  at AdapterClass. (/opt/iobroker/node_modules/iobroker.fullcalendar/main.js:412:36)
                  2024-02-11 22:44:00.157 - error: fullcalendar.0 (116191) Cannot read properties of null (reading '_id')
                  2024-02-11 22:44:00.193 - info: fullcalendar.0 (116191) terminating
                  2024-02-11 22:44:00.195 - warn: fullcalendar.0 (116191) Terminated (UNCAUGHT_EXCEPTION): Without reason
                  2024-02-11 22:44:00.698 - info: fullcalendar.0 (116191) terminating
                  2024-02-11 22:44:00.793 - error: host.smarthomepi Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                  2024-02-11 22:44:00.794 - error: host.smarthomepi Caught by controller[1]: TypeError: Cannot read properties of null (reading '_id')
                  2024-02-11 22:44:00.794 - error: host.smarthomepi Caught by controller[1]: at getImage (/opt/iobroker/node_modules/iobroker.fullcalendar/main.js:200:29)
                  2024-02-11 22:44:00.795 - error: host.smarthomepi Caught by controller[1]: at AdapterClass. (/opt/iobroker/node_modules/iobroker.fullcalendar/main.js:412:36)
                  2024-02-11 22:44:00.795 - error: host.smarthomepi instance system.adapter.fullcalendar.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                  2024-02-11 22:44:00.795 - info: host.smarthomepi Restart adapter system.adapter.fullcalendar.0 because enabled
                  2024-02-11 22:44:30.921 - info: host.smarthomepi instance system.adapter.fullcalendar.0 started with pid 116742
                  2024-02-11 22:44:33.250 - info: fullcalendar.0 (116742) starting. Version 2.3.4 in /opt/iobroker/node_modules/iobroker.fullcalendar, node: v18.17.1, js-controller: 5.0.17

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • M
                    MDorf @arteck last edited by

                    @arteck

                    Wäre Klasse wenn du was fixen könntest! Der Adapter wäre sonst sehr genial...:-)

                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @MDorf last edited by

                      @mdorf sagte in Beta Test Simulation auf dem Basis von fullcalendar:

                      node: v18.17.1

                      Offenbar hängst du noch auf dem obsoleten Repo. Stell das um:

                      iob stop
                      iob fix
                      iob nodejs-update
                      
                      M 1 Reply Last reply Reply Quote 0
                      • M
                        MDorf @Thomas Braun last edited by

                        @thomas-braun

                        Versuch war's wert...es wurde auch aktualisiert, allerdings besteht das Problem noch:

                        2024-02-11 23:18:33.749 - info: admin.0 (121751) ==> Connected system.user.admin from 2a00:6020:43cd:bd00:5d21:966e:d2b2:80a9
                        2024-02-11 23:19:06.642 - info: admin.0 (121751) <== Disconnect system.user.admin from 2a00:6020:43cd:bd00:5d21:966e:d2b2:80a9 fullcalendar
                        2024-02-11 23:19:12.677 - error: fullcalendar.0 (122758) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                        2024-02-11 23:19:12.678 - error: fullcalendar.0 (122758) unhandled promise rejection: Cannot read properties of null (reading '_id')
                        2024-02-11 23:19:12.684 - error: fullcalendar.0 (122758) TypeError: Cannot read properties of null (reading '_id')
                        at getImage (/opt/iobroker/node_modules/iobroker.fullcalendar/main.js:200:29)
                        at AdapterClass. (/opt/iobroker/node_modules/iobroker.fullcalendar/main.js:412:36)
                        2024-02-11 23:19:12.685 - error: fullcalendar.0 (122758) Cannot read properties of null (reading '_id')
                        2024-02-11 23:19:12.711 - info: fullcalendar.0 (122758) terminating
                        2024-02-11 23:19:12.713 - warn: fullcalendar.0 (122758) Terminated (UNCAUGHT_EXCEPTION): Without reason
                        2024-02-11 23:19:13.215 - info: fullcalendar.0 (122758) terminating
                        2024-02-11 23:19:13.307 - error: host.smarthomepi Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                        2024-02-11 23:19:13.308 - error: host.smarthomepi Caught by controller[1]: TypeError: Cannot read properties of null (reading '_id')
                        2024-02-11 23:19:13.308 - error: host.smarthomepi Caught by controller[1]: at getImage (/opt/iobroker/node_modules/iobroker.fullcalendar/main.js:200:29)
                        2024-02-11 23:19:13.308 - error: host.smarthomepi Caught by controller[1]: at AdapterClass. (/opt/iobroker/node_modules/iobroker.fullcalendar/main.js:412:36)
                        2024-02-11 23:19:13.309 - error: host.smarthomepi instance system.adapter.fullcalendar.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                        2024-02-11 23:19:13.309 - info: host.smarthomepi Restart adapter system.adapter.fullcalendar.0 because enabled

                        1 Reply Last reply Reply Quote 0
                        • R
                          RandyAndy @MDorf last edited by

                          @mdorf sagte in Beta Test Simulation auf dem Basis von fullcalendar:

                          @andreas-k-0 said in Beta Test Simulation auf dem Basis von fullcalendar:

                          Sekundenbruchteil "rot"

                          Das kann ich nur bestätigen.

                          1 Reply Last reply Reply Quote 0
                          • R
                            RandyAndy @Andreas K 0 last edited by RandyAndy

                            Es gibt zwar in der beta eine neue Version, aber die Simulations-Aufzeichnung lässt sich leider immer noch nicht starten.
                            Diese Funktion wäre aber eigentlich der Schritt zu einer realistischen Simulation.

                            Andreas

                            1 Reply Last reply Reply Quote 0
                            • R
                              RandyAndy @Bluefox last edited by

                              @bluefox

                              Es scheint so, dass die Simulation immer noch nicht richtig gestartet werden kann.
                              Allerdings habe ich es nun mit einem Workaround hingebracht.
                              Erst den Adapter stoppen, dann Simulation aufzeichenen starten und dann den Adpater wieder starten. Dann scheint er aufzuzeichnen.
                              Ich beobachte das mal.

                              O 123brokerei 2 Replies Last reply Reply Quote 0
                              • O
                                oFbEQnpoLKKl6mbY5e13 @RandyAndy last edited by

                                Erstellt doch bitte ein Issue dazu im Adapter-Repo:

                                https://github.com/ioBroker/ioBroker.fullcalendar/issues

                                R 1 Reply Last reply Reply Quote 1
                                • R
                                  RandyAndy @oFbEQnpoLKKl6mbY5e13 last edited by

                                  @ofbeqnpolkkl6mby5e13

                                  Habe ich soeben gemacht. Und es scheint so, dass Event aufgezeichent werden die gar nicht vorhanden sind auch an Tagen die noch gar nicht erreicht sind. So habe ich am Montag den 15. April plötzlich auch events für Dienstag den 16. April.
                                  Da stimmt noch etwas in der Summe nicht.

                                  1 Reply Last reply Reply Quote 1
                                  • R
                                    RandyAndy @Bluefox last edited by

                                    @bluefox

                                    Und noch ein Frage. Wie kann ich eigentlich einzelne Simulationen oder Kalender deaktivieren bzw. wieder aktivieren.
                                    Derzeit kann ich eigentlich nur immer den gesamten Adapter an und ausschalten, das ist aber nicht wirklich zielführend.
                                    Vielleicht sehe ich es nur nicht

                                    Andreas

                                    1 Reply Last reply Reply Quote 0
                                    • 123brokerei
                                      123brokerei @RandyAndy last edited by

                                      @randyandy
                                      @Bluefox

                                      Bei mir leider auch genau das gleiche Verhalten. Habe die 2.3.17 installiert.

                                      123brokerei Bluefox 2 Replies Last reply Reply Quote 0
                                      • 123brokerei
                                        123brokerei @123brokerei last edited by

                                        Was mir noch aufgefallen ist... kann es sein, dass der Adapter einen String als true/false sendet?
                                        Das macht die Interpretation etwas komplizierter bzw. verursacht in meinen blocklys Warnungen.

                                        Bluefox 1 Reply Last reply Reply Quote 0
                                        • Bluefox
                                          Bluefox @123brokerei last edited by

                                          @123brokerei Bitte hier kommentieren https://github.com/ioBroker/ioBroker.fullcalendar/issues/234

                                          RandyAndy1 created this issue in ioBroker/ioBroker.fullcalendar

                                          open Simulation scan can't be started #234

                                          1 Reply Last reply Reply Quote 0
                                          • Bluefox
                                            Bluefox @123brokerei last edited by

                                            @123brokerei Kannst du bitte ein issue öffnen. Es ist für mich nicht klar welche Zustände geschrieben werden

                                            A 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            750
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            21
                                            1626
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo