NEWS
SmartVisu
-
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?
-
Ja GitHub ist aktuell.
Gesendet vom Handy …
-
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
-
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 52Hab es schon komplett noch mal runter geschmissen und neu installiert, aber es geht nicht.
Was ist das?
-
Komplett wirklich? Auch unter /opt/iobroker/iobroker-data/smartvisu.0 verzeichnis?
Gesendet vom Handy …
-
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.
-
mh liegt das an der PHP Version? PHP Version 7.0.30-0+deb9u1
-
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 …
-
Ich mache gerade ein System update beim Pi und dann geht php 7.1 mal sehen…
-
So bin jetzt bei PHP 7.1 das selbe.. Auch die Daten werden nicht gespeichert. Wenn ich was ändere…
Hat noch jemand eine Idee?
-
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
-
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
-
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.
-
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
-
Formal warte ich ja auch immer noch auf eine finale smartvisu Version mit der man dann den Adapter offiziell veröffentlichen kann.
-
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));
-
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
-
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.
-
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
-
Hallo,
gibt es mittlerweile etwas neues zum Adapter?
Ich habe folgendes Problme und zwar bleibt der Adapter bei mir rot. Edit: Mittlerweile ist er grün, habe einfach mal das System komplett rebootet.
System: Debian 9 im LXC Container unter Proxmox
npm 6.90
node + nodejs 10.16.0
PHP 7.3Woran kann das liegen, habe ansonsten keine Infos gefunden zur Installation.
Es scheinen aber einige Dateien zu fehlen. Wo liegt mein Fehler?
Gruß