Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. HowTo: Zusatz-Programme fuer jarvis v3

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    HowTo: Zusatz-Programme fuer jarvis v3

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MCU @CarstenDerGroße last edited by MCU

      @carstendergroße Versuch mal bitte v1.0.4.

      CarstenDerGroße 1 Reply Last reply Reply Quote 0
      • CarstenDerGroße
        CarstenDerGroße @MCU last edited by

        @mcu

        leider selbes ergebnis

        20:25:09.760	info	javascript.0 (462) Start javascript script.js.Automatisierung.SpotifyPlaylist
        20:25:09.776	info	javascript.0 (462) script.js.Automatisierung.SpotifyPlaylist: registered 6 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
        20:25:20.007	info	javascript.0 (462) script.js.Automatisierung.SpotifyPlaylist: Anzahl Playlist in Spotify: 21 - {"1":"1","2022":"2022","":"Keine Auswahl","auto":"auto","J.B.O.":"J.B.O.","The Kelly Family":"The Kelly Family","The Kelly Family — 2":"The Kelly Family — 2","Bravo Hits":"Bravo Hits","Musik Auto":"Musik Auto","Mix":"Mix","Sommer":"Sommer","Einfach so":"Einfach so","Bums neu":"Bums neu","Fantasy dance":"Fantasy dance","Kellys":"Kellys","Da Tweekaz":"Da Tweekaz","Auto 2":"Auto 2","Auto":"Auto","Gamer":"Gamer","Neu":"Neu","Hardstyle Bangers":"Hardstyle Bangers","Aligatoah":"Aligatoah"}
        20:25:20.009	info	javascript.0 (462) script.js.Automatisierung.SpotifyPlaylist: ElementValue: {"1":"1","2022":"2022","":"Keine Auswahl","auto":"auto","J.B.O.":"J.B.O.","The Kelly Family":"The Kelly Family","The Kelly Family — 2":"The Kelly Family — 2","Bravo Hits":"Bravo Hits","Musik Auto":"Musik Auto","Mix":"Mix","Sommer":"Sommer","Einfach so":"Einfach so","Bums neu":"Bums neu","Fantasy dance":"Fantasy dance","Kellys":"Kellys","Da Tweekaz":"Da Tweekaz","Auto 2":"Auto 2","Auto":"Auto","Gamer":"Gamer","Neu":"Neu","Hardstyle Bangers":"Hardstyle Bangers","Aligatoah":"Aligatoah"}
        20:25:20.009	info	javascript.0 (462) script.js.Automatisierung.SpotifyPlaylist: DevState: playlistSelect gefunden!
        20:25:20.009	error	javascript.0 (462) at setDeviceIdState (script.js.Automatisierung.SpotifyPlaylist:508:61)
        20:25:20.009	error	javascript.0 (462) at jarvisSel (script.js.Automatisierung.SpotifyPlaylist:433:5)
        20:25:20.010	error	javascript.0 (462) at Object.<anonymous> (script.js.Automatisierung.SpotifyPlaylist:151:9)
        

        Es kann sein das ich erst morgen wieder antworten kann da ich um 5 aufstehen muss

        M 1 Reply Last reply Reply Quote 0
        • M
          MCU @CarstenDerGroße last edited by MCU

          @carstendergroße
          Ok. Bis dann. Logging erweitert.

          Dann mal v1.0.5 bitte versuchen.

          CarstenDerGroße 1 Reply Last reply Reply Quote 0
          • CarstenDerGroße
            CarstenDerGroße @MCU last edited by

            @mcu

            nochmal vielen dank das du dir so viel zeit nimmst 🙂

            Hier kommen die neuen logs:

            10.9.2022, 15:23:36.032	[info ]: javascript.0 (463) Stop script script.js.Automatisierung.SpotifyPlaylist
            10.9.2022, 15:23:36.701	[info ]: javascript.0 (463) Start javascript script.js.Automatisierung.SpotifyPlaylist
            10.9.2022, 15:23:36.707	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: Script playListSpotify 1.0.5 gestartet!
            10.9.2022, 15:23:36.707	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: registered 6 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
            10.9.2022, 15:23:44.678	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: Anzahl Playlist in Spotify: 21 - {"1":"1","2022":"2022","":"Keine Auswahl","auto":"auto","J.B.O.":"J.B.O.","The Kelly Family":"The Kelly Family","The Kelly Family — 2":"The Kelly Family — 2","Bravo Hits":"Bravo Hits","Musik Auto":"Musik Auto","Mix":"Mix","Sommer":"Sommer","Einfach so":"Einfach so","Bums neu":"Bums neu","Fantasy dance":"Fantasy dance","Kellys":"Kellys","Da Tweekaz":"Da Tweekaz","Auto 2":"Auto 2","Auto":"Auto","Gamer":"Gamer","Neu":"Neu","Hardstyle Bangers":"Hardstyle Bangers","Aligatoah":"Aligatoah"}
            10.9.2022, 15:23:44.678	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: JarviSel - SpotifyInstanz: 0
            10.9.2022, 15:23:44.680	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: ElementValue: {"1":"1","2022":"2022","":"Keine Auswahl","auto":"auto","J.B.O.":"J.B.O.","The Kelly Family":"The Kelly Family","The Kelly Family — 2":"The Kelly Family — 2","Bravo Hits":"Bravo Hits","Musik Auto":"Musik Auto","Mix":"Mix","Sommer":"Sommer","Einfach so":"Einfach so","Bums neu":"Bums neu","Fantasy dance":"Fantasy dance","Kellys":"Kellys","Da Tweekaz":"Da Tweekaz","Auto 2":"Auto 2","Auto":"Auto","Gamer":"Gamer","Neu":"Neu","Hardstyle Bangers":"Hardstyle Bangers","Aligatoah":"Aligatoah"}
            10.9.2022, 15:23:44.680	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: DevState: playlistSelect gefunden!
            10.9.2022, 15:23:44.680	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: KEY3: {"stateKey":"playlistSelect","showState":true,"state":"0_userdata.0.jarvis.spotify.playlistSelect"}
            10.9.2022, 15:23:44.727	[error]: javascript.0 (463)     at setDeviceIdState (script.js.Automatisierung.SpotifyPlaylist:524:61)
            10.9.2022, 15:23:44.727	[error]: javascript.0 (463)     at jarvisSel (script.js.Automatisierung.SpotifyPlaylist:442:5)
            10.9.2022, 15:23:44.727	[error]: javascript.0 (463)     at Object.<anonymous> (script.js.Automatisierung.SpotifyPlaylist:154:9)
            

            Ich habe zwischenzeitlich auch mein system komplett neugestartet also hängen kann nichts

            M 1 Reply Last reply Reply Quote 0
            • M
              MCU @CarstenDerGroße last edited by MCU

              @carstendergroße Trag mal bitte in jarvis in dem stateDP playlistSelect was in die Anzeigevariante.

              {"default":""}
              

              Und Speicher jarvis speichern und beenden.
              Dann das Script neu starten.
              Und dann bitte das Log schicken.

              CarstenDerGroße 1 Reply Last reply Reply Quote 0
              • CarstenDerGroße
                CarstenDerGroße @MCU last edited by

                @mcu said in HowTo: Zusatz-Programme fuer jarvis v3:

                {"default":""}

                jetzt gehts.

                10.9.2022, 16:50:33.312	[info ]: javascript.0 (463) Stop script script.js.Automatisierung.SpotifyPlaylist
                10.9.2022, 16:50:34.328	[info ]: javascript.0 (463) Start javascript script.js.Automatisierung.SpotifyPlaylist
                10.9.2022, 16:50:34.333	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: Script playListSpotify 1.0.5 gestartet!
                10.9.2022, 16:50:34.333	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: registered 6 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                10.9.2022, 16:50:49.920	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: Anzahl Playlist in Spotify: 21 - {"1":"1","2022":"2022","":"Keine Auswahl","auto":"auto","J.B.O.":"J.B.O.","The Kelly Family":"The Kelly Family","The Kelly Family — 2":"The Kelly Family — 2","Bravo Hits":"Bravo Hits","Musik Auto":"Musik Auto","Mix":"Mix","Sommer":"Sommer","Einfach so":"Einfach so","Bums neu":"Bums neu","Fantasy dance":"Fantasy dance","Kellys":"Kellys","Da Tweekaz":"Da Tweekaz","Auto 2":"Auto 2","Auto":"Auto","Gamer":"Gamer","Neu":"Neu","Hardstyle Bangers":"Hardstyle Bangers","Aligatoah":"Aligatoah"}
                10.9.2022, 16:50:49.920	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: JarviSel - SpotifyInstanz: 0
                10.9.2022, 16:50:49.921	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: ElementValue: {"1":"1","2022":"2022","":"Keine Auswahl","auto":"auto","J.B.O.":"J.B.O.","The Kelly Family":"The Kelly Family","The Kelly Family — 2":"The Kelly Family — 2","Bravo Hits":"Bravo Hits","Musik Auto":"Musik Auto","Mix":"Mix","Sommer":"Sommer","Einfach so":"Einfach so","Bums neu":"Bums neu","Fantasy dance":"Fantasy dance","Kellys":"Kellys","Da Tweekaz":"Da Tweekaz","Auto 2":"Auto 2","Auto":"Auto","Gamer":"Gamer","Neu":"Neu","Hardstyle Bangers":"Hardstyle Bangers","Aligatoah":"Aligatoah"}
                10.9.2022, 16:50:49.921	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: DevState: playlistSelect gefunden!
                10.9.2022, 16:50:49.921	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: KEY3: {"stateKey":"playlistSelect","showState":true,"state":"0_userdata.0.jarvis.spotify.playlistSelect","display":{"default":""}}
                10.9.2022, 16:50:49.921	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: Element gefunden: display mit Wert: {"default":""}
                10.9.2022, 16:50:49.921	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: KEY4: {"default":""}
                10.9.2022, 16:50:49.921	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: KEY4 mit ElementValue: {"1":"1","2022":"2022","":"Keine Auswahl","auto":"auto","J.B.O.":"J.B.O.","The Kelly Family":"The Kelly Family","The Kelly Family — 2":"The Kelly Family — 2","Bravo Hits":"Bravo Hits","Musik Auto":"Musik Auto","Mix":"Mix","Sommer":"Sommer","Einfach so":"Einfach so","Bums neu":"Bums neu","Fantasy dance":"Fantasy dance","Kellys":"Kellys","Da Tweekaz":"Da Tweekaz","Auto 2":"Auto 2","Auto":"Auto","Gamer":"Gamer","Neu":"Neu","Hardstyle Bangers":"Hardstyle Bangers","Aligatoah":"Aligatoah"}
                10.9.2022, 16:50:49.921	[info ]: javascript.0 (463) script.js.Automatisierung.SpotifyPlaylist: Jarvis-Devices von Instanz 0 im angegebenen Device geändert!
                

                hab das eingetragen dann script neugestartet jarvis seite mit f5 neugeladen Hole Playlist ausgeführt und nochmal f5 dann waren die einträge da

                M 1 Reply Last reply Reply Quote 0
                • M
                  MCU @CarstenDerGroße last edited by MCU

                  @carstendergroße Bei Hole Playliste etwas warten . Der braucht einige Sekunden.
                  Wenn es jetzt eine Zeit funktioniert, dann das losging ausschalten. Sonst haut er das Log voll bei jeder Auswahl.

                  CarstenDerGroße 1 Reply Last reply Reply Quote 0
                  • CarstenDerGroße
                    CarstenDerGroße @MCU last edited by

                    @mcu alles klar vielen dank 🙂

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MCU @CarstenDerGroße last edited by

                      @carstendergroße Und nur alle 5 Sekunden den Titel wechseln.

                      1 Reply Last reply Reply Quote 0
                      • M
                        MCU last edited by MCU

                        @lines
                        Switch zum anderen Thread! Verwirrt nur im jarvis-Thread.

                        Brauche doch die Zeiten, damit ich sehen kann, wo er sich die Stunden holen kann.
                        minTime, maxTime, timetable-Date usw.
                        Für einen Tag (Montag) reicht.
                        23c7045d-45f0-44b1-bc95-777fee6e947e-image.png
                        breiter ziehen

                        Stundenzeiten sind bei Euch fest? Bitte anpassen und wieder reinstellen.

                        let stundenArrDef = [{'name':'1. Stunde','von':'07:50'},
                                             {'name':'2. Stunde','von':'08:40'},
                                             {'name':'1. Pause' ,'von':'09:25'},
                                             {'name':'3. Stunde','von':'09:40'},
                                             {'name':'4. Stunde','von':'10:30'},
                                             {'name':'2. Pause' ,'von':'11:15'},
                                             {'name':'5. Stunde','von':'11:30'},
                                             {'name':'6. Stunde','von':'12:20'},
                                             {'name':'3. Pause' ,'von':'13:05'},
                                             {'name':'7. Stunde','von':'13:15'} //,
                        //                     {'name':'8. Stunde','von':'14:00'},
                        //                     {'name':'9. Stunde','von':'14:40'},
                        //                     {'name':'4. Pause' ,'von':'15:20'},
                        //                     {'name':'10. Stunde','von':'15:35'},
                        //                     {'name':'11. Stunde','von':'16:15'}
                                            ]
                        

                        Kann er immer nur 2 Tage in die Zukunft schauen (einstellungen?) ? Wie bekommt man dann seinen Wochenstundenplan?
                        Schau mal hier sind auch schon andere dran?
                        https://forum.iobroker.net/topic/51690/tester-neuer-adapter-webuntis/151

                        6e1b8a83-d256-4bad-89f1-a0877cf43081-image.png

                        cancelled

                        c25e5763-3b2b-431a-a985-c33a5e0f256c-image.png

                        Was steht genau im Code? regular und cancelled oder noch andere?

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MCU @MCU last edited by

                          @lines ? Einmal bitte die Daten.

                          1 Reply Last reply Reply Quote 0
                          • sigi234
                            sigi234 Forum Testing Most Active @MCU last edited by sigi234

                            @mcu

                            httpDropDown

                            Screenshot (5240).png

                            Man definiert in jarvis ganz normal sein DropDownListe mit den Werten, die man auswählen möchte.

                            Frage:

                            Wie ohne DP?

                            Screenshot (5241).png

                            Meine 4 zu sendenden HTTP Befehle:

                            http://192.168.178.25/YamahaExtendedControl/v1/main/setInput?input=net_radio
                            http://192.168.178.25/YamahaExtendedControl/v1/main/setInput?input=server
                            http://192.168.178.25/YamahaExtendedControl/v1/main/setInput?input=tuner
                            http://192.168.178.25/YamahaExtendedControl/v1/main/setInput?input=bluetooth
                            
                            M 1 Reply Last reply Reply Quote 0
                            • M
                              MCU @sigi234 last edited by MCU

                              @sigi234 Das gehört nicht zu ioBroker Javascript, sondern in scripts von jarvis.

                              Da musstvdu dann einen Dummy DP nehmen.

                              sigi234 1 Reply Last reply Reply Quote 0
                              • sigi234
                                sigi234 Forum Testing Most Active @MCU last edited by

                                @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                                @sigi234 Das gehört nicht zu ioBroker Javascript, sondern in scripts von jarvis.

                                Da musstvdu dann einen Dummy DP nehmen.

                                Screenshot (5242).png

                                Screenshot (5243).png

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MCU @sigi234 last edited by

                                  @sigi234 Ja.

                                  sigi234 1 Reply Last reply Reply Quote 0
                                  • sigi234
                                    sigi234 Forum Testing Most Active @MCU last edited by

                                    @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                                    @sigi234 Ja.

                                    Geht nix, der Verstärker schaltet nicht.

                                    Ist die HTTP bei mir Richtig so?

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      MCU @sigi234 last edited by MCU

                                      @sigi234 Bei der StateList ist nicht das 4. Element, sondern das 0.te. Und die WidgetId ist auch von der StateList?
                                      http sieht so gut aus.

                                      sigi234 1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active @MCU last edited by sigi234

                                        @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                                        @sigi234 Bei der StateList ist nicht das 4. Element, sondern das 0.te. Und die WidgetId ist auch von der StateList?
                                        http sieht so gut aus.

                                        Screenshot (5244).png

                                        Screenshot (5245).jpg

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          MCU @sigi234 last edited by

                                          @sigi234 Die obere.
                                          7ff55324-8ad2-4bac-baef-45d08a31a537-image.png

                                          sigi234 1 Reply Last reply Reply Quote 0
                                          • sigi234
                                            sigi234 Forum Testing Most Active @MCU last edited by

                                            @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                                            @sigi234 Die obere.
                                            7ff55324-8ad2-4bac-baef-45d08a31a537-image.png

                                            is drinnen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            801
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript
                                            31
                                            864
                                            172937
                                            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