Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. Projekt WetterView von sigi234

    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

    Projekt WetterView von sigi234

    This topic has been deleted. Only users with topic management privileges can see it.
    • sigi234
      sigi234 Forum Testing Most Active @heli-wolf last edited by sigi234

      @heli-wolf sagte in Projekt WetterView von sigi234:

      Wo muss ich das "material_design_js_iobroker.vis" Skript installieren?

      Nirgendwo aber in CCS + Skripte einfügen. In CCS das lange und Skripte das kurze.

      Screenshot (794)_LI.jpg

      https://forum.iobroker.net/topic/20675/projekt-wetterview-von-sigi234/2

      Screenshot (796)_LI.jpg

      1 Reply Last reply Reply Quote 0
      • H
        heli-wolf last edited by

        wird das einfach hinein kopiert?
        was ist das Kurze ?? das unter Skripte eingetragen werden muss?

        sigi234 2 Replies Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @heli-wolf last edited by

          @heli-wolf sagte in Projekt WetterView von sigi234:

          wird das einfach hinein kopiert?
          was ist das Kurze ?? das unter Skripte eingetragen werden muss?

          CCS - Lang
          Skripte - Kurz

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

            @heli-wolf sagte in Projekt WetterView von sigi234:

            wird das einfach hinein kopiert?

            JA

            1 Reply Last reply Reply Quote 0
            • H
              heli-wolf last edited by

              Super, vielen Dank - alles umgesetzt !!
              Jetzt sollte alles funktionieren.
              die Fehlermeldungen im javascript.0 sind auf jeden Fall einmal erledigt.

              Vielen Dank für eure Hilfe !!

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

                @heli-wolf sagte in Projekt WetterView von sigi234:

                Vielen Dank für eure Hilfe !!

                Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                1 Reply Last reply Reply Quote 3
                • H
                  heli-wolf last edited by

                  Jetzt taucht plötzlich ein anderes Problem auf, am PC ist alles perfekt aber auf meinem Android Tablet sehe ich wieder die Wetter-Icons nicht und auch das Mond-Icon fehlt.
                  Was kann da die Ursache sein?

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

                    @heli-wolf sagte in Projekt WetterView von sigi234:

                    Android Tablet

                    So geht er ja auf deinen lokalen Ordner
                    Dann musst du http://ipvomPc davorstellen.

                    1 Reply Last reply Reply Quote 0
                    • H
                      heli-wolf last edited by

                      Aber das Projekt liegt ja am Raspberry, auf dem ist der iobroker installiert und genau diese Raspberry IP wähle ich aus.
                      Bzw. ich verwende die iobroker.App und in dieser wähle ich das Projekt aus.

                      Negalein sigi234 2 Replies Last reply Reply Quote 0
                      • Negalein
                        Negalein Global Moderator @heli-wolf last edited by

                        @heli-wolf sagte in Projekt WetterView von sigi234:

                        Bzw. ich verwende die iobroker.App

                        daran liegt es.
                        Mit der App funktionieren nicht alle Widgets.
                        Dies dauert oft, bis Widgets in die App aufgenommen werden.

                        Lass die App links liegen, öffne die VIS im Browser und füge sie dann zum Startbildschirm (vom Tablet) hinzu.
                        Am Startbildschirm siehst du dann das Icon. Klicken und die VIS wird als Vollbild ausgeführt.

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

                          @heli-wolf sagte in Projekt WetterView von sigi234:

                          iobroker.App

                          Aha, wie @Negalein geschrieben hat.

                          1 Reply Last reply Reply Quote 0
                          • H
                            heli-wolf last edited by

                            Das habe ich gerade probiert, komme aber nicht auf mein Projekt?

                            Wenn ich von meinem PC die VIS aufrufe, dann wird folgende URL angezeigt:
                            http://192.168.xxx.xxx:8082/vis/index.html?Wetter_komplett#Main

                            Genau das habe ich jetzt im Firefox meines Tablets eingegeben, ist das falsch ??

                            Negalein 1 Reply Last reply Reply Quote 0
                            • Negalein
                              Negalein Global Moderator @heli-wolf last edited by

                              @heli-wolf sagte in Projekt WetterView von sigi234:

                              Das habe ich gerade probiert, komme aber nicht auf mein Projekt?
                              Wenn ich von meinem PC die VIS aufrufe, dann wird folgende URL angezeigt:
                              http://192.168.xxx.xxx:8082/vis/index.html?Wetter_komplett#Main
                              Genau das habe ich jetzt im Firefox meines Tablets eingegeben, ist das falsch ??

                              was kommt für eine Seite?
                              Oder kommt nichts?
                              Schon mit Chrome probiert?
                              Scheinen mit F12 Errors auf?

                              1 Reply Last reply Reply Quote 0
                              • H
                                heli-wolf last edited by

                                Perfekt mit Chrome funktioniert es.
                                Vielen Dank !!

                                1 Reply Last reply Reply Quote 0
                                • H
                                  heli-wolf last edited by Negalein

                                  nachdem mein raspberry immer wieder abstürzt habe ich mir jetzt einmal das Log angesehen und dabei einen Fehler im UWZ Skript entdeckt.
                                  Nachdem ich keine Erfahrung mit Skripten habe, stelle ich die Fehlermeldung mal hier rein. Vielleicht kann mir da bitte jemand weiterhelfen.

                                  29.11.2019, 18:18:53.488	[info ]: javascript.0 Stop script script.js.common.uwz
                                  29.11.2019, 18:18:54.389	[info ]: javascript.0 script.js.common.uwz: compiling TypeScript source...
                                  29.11.2019, 18:18:54.389	[warn ]: javascript.0 script.js.common.uwz: TypeScript compilation had errors: 
                                          AreaChannelId=ChannelId+"."+warncellid[j];        
                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".ShortText","",forceInitStates,{type: 'string'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".LongText","",forceInitStates,{type: 'string'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".object","",forceInitStates,{type: 'string'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".begin","",forceInitStates,{type: 'string'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".end","",forceInitStates,{type: 'string'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".severity",0,forceInitStates,{type: 'number'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".type",0,forceInitStates,{min:0, max:11, type: 'number',states:UWZTypesArray});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".type",0,forceInitStates,{min:0, max:11, type: 'number',states:UWZTypesArray});
                                                                                                ^
                                  ERROR: No overload matches this call.
                                    The last overload gave the following error.
                                      Type 'boolean' has no properties in common with type 'Partial<StateCommon>'.
                                  
                                              createState(AreaChannelId+".warning."+i+".uwzLevel",0,forceInitStates,{min:0, max:5, type: 'number'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".uwzColor",0,forceInitStates,{type:'number'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'. Did you mean 'AreaChannelID'?
                                  
                                              createState(AreaChannelId+".warning."+i+".HTMLShort","",forceInitStates,{type: 'string'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'.
                                  
                                              createState(AreaChannelId+".warning."+i+".HTMLLong","",forceInitStates,{type: 'string'});
                                                          ^
                                  ERROR: Cannot find name 'AreaChannelId'.
                                  
                                          for (i=0; i<thedata.results.length; i++) {
                                               ^
                                  ERROR: Cannot find name 'i'.
                                  
                                          for (i=0; i<thedata.results.length; i++) {
                                                    ^
                                  ERROR: Cannot find name 'i'.
                                  
                                          for (i=0; i<thedata.results.length; i++) {
                                                                              ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              warnings.push(new processResultEntry(thedata.results[i]));
                                                                                                   ^
                                  ERROR: Cannot find name 'i'.
                                  
                                      dwmlog(JSON.stringify(warnings));
                                      ^
                                  ERROR: Expected 3 arguments, but got 1.
                                  
                                      for (i=0; i<numOfWarnings; i++) {
                                           ^
                                  ERROR: Cannot find name 'i'.
                                  
                                      for (i=0; i<numOfWarnings; i++) {
                                                ^
                                  ERROR: Cannot find name 'i'.
                                  
                                      for (i=0; i<numOfWarnings; i++) {
                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                          if (i<warnings.length) {
                                              ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".LongText",warnings[i].LongText);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".LongText",warnings[i].LongText);
                                                                                                        ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".ShortText",warnings[i].ShortText);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".ShortText",warnings[i].ShortText);
                                                                                                         ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".object",warnings[i].object);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".object",warnings[i].object);
                                                                                                      ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".begin",warnings[i].begin);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".begin",warnings[i].begin);
                                                                                                     ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".end",warnings[i].end);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".end",warnings[i].end);
                                                                                                   ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".severity",warnings[i].severity);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".severity",warnings[i].severity);
                                                                                                        ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".type",warnings[i].type);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".type",warnings[i].type);
                                                                                                    ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".uwzLevel",warnings[i].uwzLevel);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".uwzLevel",warnings[i].uwzLevel);
                                                                                                        ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".uwzColor",warnings[i].uwzColor);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".uwzColor",warnings[i].uwzColor);
                                                                                                        ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".HTMLShort",warnings[i].HTMLShort);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".HTMLShort",warnings[i].HTMLShort);
                                                                                                         ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".HTMLLong",warnings[i].HTMLLong);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".HTMLLong",warnings[i].HTMLLong);
                                                                                                        ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".LongText","");
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".ShortText","");
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".object","{}");
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".begin","");
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".end","");
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".severity",0);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".type",0);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".uwzLevel",0);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".uwzColor",0);
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".HTMLShort","");
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                              setState(AreaChannelId+".warning."+i+".HTMLLong","");
                                                                                 ^
                                  ERROR: Cannot find name 'i'.
                                  
                                  var request = require('request');
                                      ^
                                  ERROR: Cannot redeclare block-scoped variable 'request'.
                                  
                                  var request = require('request');
                                                ^
                                  ERROR: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node`.
                                  
                                                  dwmlog("AREA: "+getAreaFromURI(response.request.uri.href),4);
                                                  ^
                                  ERROR: Expected 3 arguments, but got 2.
                                  
                                                  dwmlog("UWZ Body: " + body,4);
                                                  ^
                                  ERROR: Expected 3 arguments, but got 2.
                                  
                                  29.11.2019, 18:18:54.390	[info ]: javascript.0 script.js.common.uwz: registered 0 subscriptions and 1 schedule
                                  

                                  Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
                                  Hier gehts zur Hilfe.

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

                                    @heli-wolf sagte in Projekt WetterView von sigi234:

                                    AreaChannelId

                                    Hast du die auch Richtig eingetragen?

                                    Und das:

                                    Screenshot (831)_LI.jpg

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      heli-wolf last edited by

                                      Bei mir schaut das folgendermaßen aus:
                                      a6e9d0e2-d222-464b-b733-16526d8808af-grafik.png
                                      Die zusätzlichen NPM Module habe ich nicht ??
                                      Wie komme ich zu diesen?

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

                                        @heli-wolf sagte in Projekt WetterView von sigi234:

                                        Wie komme ich zu diesen?

                                        reinschreiben, aber nur das Rot unterstrichene.

                                        request

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          heli-wolf last edited by

                                          habe ich gemacht, muss ich jetzt den PI neu durchstarten oder reicht es den javascript Adapter neu zu starten.
                                          Wie merke ich ob das der Fehler war?

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

                                            @heli-wolf sagte in Projekt WetterView von sigi234:

                                            habe ich gemacht, muss ich jetzt den PI neu durchstarten oder reicht es den javascript Adapter neu zu starten.
                                            Wie merke ich ob das der Fehler war?

                                            Beides und im Log

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            680
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            wetter wetterview sigi234
                                            60
                                            497
                                            121062
                                            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