Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. SmartVisu

    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

    SmartVisu

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

      Du brauchst PHP

      1 Reply Last reply Reply Quote 0
      • D
        deta Most Active last edited by

        Das habe ich auf dem PI3+ Ist der GitHub immer noch der selbe auf der ersten Seite oder gibts einen anderen mit der aktuellen Version?

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 last edited by

          Ja GitHub ist aktuell.

          Gesendet vom Handy …

          1 Reply Last reply Reply Quote 0
          • D
            deta Most Active last edited by

            So etwas weiter.

            Wenn ich jetzt in der Config was speichern will, dann gibts einen Fehler

            ! PHP Warning: array_replace(): Argument #2 is not an array in /opt/iobroker/iobroker-data/smartvisu_0/lib/config.php on line 93 PHP Warning: Invalid argument supplied for foreach() in /opt/iobroker/iobroker-data/smartvisu_0/lib/includes.php on line 52 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19 PHP Warning: parse_ini_file(/opt/iobroker/iobroker-data/smartvisu_0/lang/config_lang.ini): failed to open stream: No such file or directory in /opt/iobroker/iobroker-data/smartvisu_0/lib/functions.php on line 19

            1 Reply Last reply Reply Quote 0
            • D
              deta Most Active last edited by

              Jetzt geht nix mehr..

              ! smartVISU
              ! 15:23, 11.11, v2.9
              ! –------------------------------------------------------------------------------
              ! Error loading Page 'config_index' !
              ! Check config.php -> 'config_pages' for correct Pages/Project configuration
              ! or try the index page!
              ! --------------------------------------------------------------------------------
              ! PHP Warning: array_replace(): Argument #2 is not an array in /opt/iobroker/iobroker-data/smartvisu_0/lib/config.php on line 93 PHP Warning: Invalid argument supplied for foreach() in /opt/iobroker/iobroker-data/smartvisu_0/lib/includes.php on line 52

              Hab es schon komplett noch mal runter geschmissen und neu installiert, aber es geht nicht.

              Was ist das?

              1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 last edited by

                Komplett wirklich? Auch unter /opt/iobroker/iobroker-data/smartvisu.0 verzeichnis?

                Gesendet vom Handy …

                1 Reply Last reply Reply Quote 0
                • D
                  deta Most Active last edited by

                  ja, bin schon weiter…. Mit Firefox gehts noch, bei Chrom schreibt er den Fehler... Hab ebend schon mal alls Cookies bei Chrom gelöscht, geht dennoch nicht.

                  1 Reply Last reply Reply Quote 0
                  • D
                    deta Most Active last edited by

                    mh liegt das an der PHP Version? PHP Version 7.0.30-0+deb9u1

                    1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 last edited by

                      An der Stelle kann ich dann nur an das smartvisu Projekt an sich verweisen. Mach dort im GitHub am besten ein issue auf. Der Adapter bietet nur eine Möglichkeit das smartvisu php auf dem iobroker Host auszuführen.

                      Gesendet vom Handy …

                      1 Reply Last reply Reply Quote 0
                      • D
                        deta Most Active last edited by

                        Ich mache gerade ein System update beim Pi und dann geht php 7.1 mal sehen…

                        1 Reply Last reply Reply Quote 0
                        • D
                          deta Most Active last edited by

                          So bin jetzt bei PHP 7.1 das selbe.. Auch die Daten werden nicht gespeichert. Wenn ich was ändere…

                          Hat noch jemand eine Idee?

                          1 Reply Last reply Reply Quote 0
                          • D
                            deeznutz last edited by

                            Hallo zusammen,

                            ich habe auch das Problem, dass die config.ini nicht gespeichert wird. Habe dazu ein Thema im knx userforum eingestellt: https://knx-user-forum.de/forum/support … %A4gt-fehl… Bisweilen kann man die config.ini von hand editieren um das System zumindest grundsätzlich zum laufen zu bringen. Btw., weiß jemand was ich in der config.ini eintragen muss um den Pagecache zu aktivieren 🙂 ?

                            Gruß

                            Nils

                            1 Reply Last reply Reply Quote 0
                            • D
                              deeznutz last edited by

                              Hmm, da beißt sich die Katze in den Schwanz 🙂 Zitat des SmartVisu-Entwicklers: > Da dieses Problem ioBroker spezifisch ist, wirst du dort im Forum wahrscheinlich eher Hilfe kriegen als hier.

                              Was tun? Können wir irgendetwas loggen oder debuggen um da weiterzukommen?

                              Gruß

                              Nils

                              1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 last edited by

                                Naja, die Frage ist was davon ioBroker Spezifisch ist weil wir nichts anderes tun als einen PHP Interpreter als Adapter anzubieten. mehr ist der Adapter faktisch nicht.

                                Man muss also mit PHP-Wissen das mal untersuchen um rauszufinden warum das da Problematisch ist. Mein PHP ist zu lange her als das ich das in endlicher zeit rausbekomme.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  deeznutz last edited by

                                  Ok, dann werde ich noch ein weinig rumprobieren um eine akzeptable Lösung zu finden. Bis dato komme ich auch damit klar, die Konfig per Hand zu editieren… Danke trotzdem!

                                  Gruß

                                  Nils

                                  1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 last edited by

                                    Formal warte ich ja auch immer noch auf eine finale smartvisu Version mit der man dann den Adapter offiziell veröffentlichen kann.

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dirkhe Developer last edited by

                                      Das Problem mit dem Speichern konnte ich lösen, es fehlte der body-parser. Ich würde jetzt nochmal nen bisschen weitertesten und dann ein PR stellen. Für alle die auch schon mal weiter machen wollen

                                      main.js

                                      Zeile 18

                                      var express = require('express');
                                      var bodyParser = require('body-parser');
                                      
                                      

                                      Zeile 124

                                          app.use(bodyParser.json());      
                                          app.use(bodyParser.urlencoded({extended: true}));
                                      
                                          app.use(sphp.express(options));
                                          app.use(express.static(adapter.config.docRoot));
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 last edited by

                                        cooooll … freue mich auf den PR.

                                        Ansonsten war der Plan bisher auf die "offizielle 2.9" von Smartvisu zu warten weil aktuell im Adapter noch ein älterer GitHub Stand drin ist. Ich kann aber a sich den Adapter mit jedem Stand "unters Volk bringen" 🙂 Vllt hast Du auch hier einen Vorschlag

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dirkhe Developer last edited by

                                          Ich mache mich jetzt gerade mal mit dem Ding vertraut. Auf jeden Fall habe ich festgestellt, dass es unter einem Apache echt wesentlich performanter läuft als den Wrapper über sphp. Ich würde daher empfehlen einen echten php Webserver aufzusetzten.

                                          Ich checke jetzt auch erstmal direkt von github aus.

                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by

                                            Das kann gut sein. Wenn jemand das kann dann ist das der sinnvolle Weg. Für kleinere Anwendungen war die Idee ein "rundum sorglos Paket" anzubieten was als Adapter kommt 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            930
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            13
                                            75
                                            10778
                                            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