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 @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
                    • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            823
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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