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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    HowTo: Zusatz-Programme fuer jarvis v3

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
            • M
              MCU @sigi234 last edited by MCU

              @sigi234 Ja ,aber der http-Befehl kann nicht abgesetzt werden.

              Ersetze mal diese Funktion in scripts
              Habe dort ein no-cors ergänzt

              function sendURL(url){
              	fetch(url, { mode: 'no-cors'}).then(function(response) {
              	  return response.json();
              	}).then(function(data) {
              	  console.log(data);
              	}).catch(function(err) {
              	  console.log('Fetch Error :-S', err);
              	});
              }
              
              
              sigi234 2 Replies 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:

                ocalhost:8082

                Screenshot (5246).png

                Der Wert was er senden soll sieht so aus:

                Screenshot (5247).jpg

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

                  @sigi234 Ja leider wieder zurück auf IP und dann mit der geänderten Funktion von oben mit no-cors.
                  Wolltest du jetzt den DP über simpleApi setzen?

                  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 leider wieder zurück auf IP und dann mit der geänderten Funktion von oben mit no-cors.

                    ersetzen oder drunter?

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

                      @sigi234 Diese

                      
                      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
                      
                      
                      sigi234 1 Reply Last reply Reply Quote 0
                      • sigi234
                        sigi234 Forum Testing Most Active @MCU last edited by sigi234

                        @mcu

                        Screenshot (5248).png

                        erledigt....ersetzte

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

                          @sigi234 Ja die obere function raus nehmen, darf nicht doppelt drin sein.
                          Dann scheinst du einen ioBroker-DP angegeben zu haben, den es nicht gibt im Gerät.
                          Das muss schon ein ioBroker DP sein.Ist mir jetzt erst aufgefallen
                          5f2ecac8-2872-4ab3-bf41-9623f2175312-image.png
                          Die stimmen nicht. Da müssen Deine rein.

                          
                           ['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']
                           
                          
                          
                          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:

                            Ersetze mal diese Funktion in scripts
                            Habe dort ein no-cors ergänzt

                            Jetzt keine Reaktion

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

                              @sigi234 Zeig nochmal die Funktion und die Ausgabe (F12)

                              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 Zeig nochmal die Funktion und die Ausgabe (F12)

                                Screenshot (5249).png

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

                                  @sigi234
                                  Da fehlt eine klammer
                                  ce930cd6-a49c-437a-8523-c51317f4cd89-image.png
                                  9c04816f-0f26-4396-9ea1-1cdb67d9461f-image.png

                                  e75d714f-329b-4cd6-8744-b09dd30212ea-image.png

                                  Unten weiter ist ein Klammer zu viel?
                                  cd96405c-850b-434b-89fe-1d4394d43250-image.png

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

                                    @mcu

                                    Ja, jetzt hat er geschaltet. 👍

                                    Screenshot (5250).png

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

                                      @sigi234 Stellst du bitte Deine Einstellungsbilder rein, dann nehme ich die mit in die Doku. Danke.

                                      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 Stellst du bitte Deine Einstellungsbilder rein, dann nehme ich die mit in die Doku. Danke.

                                        Screenshot (5251).png Screenshot (5252).png Screenshot (5253).png

                                        Ergebnis:

                                        Screenshot (5255).png

                                        Zitat:

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

                                        Wichtig:

                                        Man muss einen Dummy DP erstellen!

                                        Screenshot (5254).png

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

                                          @sigi234 Hab die Doku angepasst.

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

                                            @MCU

                                            Hallo kann man bei javascript Gauge-Einzel-DP ein min/max angeben?

                                            https://mcuiobroker.gitbook.io/jarvis-infos/jarvis-v3/besonderheiten-v3/module/statehtml/gauge-dp/gauge-einzel-dp/javascript-gauge-einzel-dp#javascript-gauge-einzel-dp

                                            Screenshot (5280).jpg

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            742
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript
                                            30
                                            858
                                            150390
                                            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