Habe jetzt ein git pull durchgeführt. Danach make install-web und dann noch make install-pchart.
Jetzt kommt unter Charts die Fehlermeldung. Diese Seite funktioniert nicht mehr. HTTP ERROR 500.
Aber nur unter den Reiter Chart
Beiträge von Methman
-
-
Sorry das ich Nachfrag. Bedeutet lediglich das git neu laden oder die Charts irgendwie extra einfügen?
-
Würde jetzt vermuten, dass die Trennschicht mehr unterschied hatte.
Bin leider kein Installateur. Würde aber mal die Differenz ein bisschen höher setzen und nochmal testen. Sicherheitshalber würde ich die Puffertemperatur auf 60 ° stellen. Musst du bei dieser Temperatur schon schüren?
Wie groß ist denn deine Anlage? -
Hab es ehrlich gesagt noch nie getestet. Wird bei mir auch sehr warm warm.
Heiß ist immer empfindungssache am besten mal messen und wie oben schon gesagt nachsehen ob die Türen usw. sauber schliessen. Da würde aber eig. auch eine Fehlermeldung kommen mit "Kessel zieht zuviel Falschluft". -
Hi,
zum Kessel, das können dir Heizungsbauer eig. ganz gut berechnen.
Bin mit meiner Anlage eig. weitestgehend zufrieden. Einfamilienhaus, FBH 15 KW Kessel und 1500L Pufferspeicher.
Ich würde trotzdem bei einem 15 KW Kessel nicht mehr auf einen 1500 Liter Speicher gehen, sonder auf 2000L weil das Schüren Komfortabler ist.
Momentan muss ich wenn ich den Kessel voll beladen will immer schauen, dass der Puffer leer ist, sonst komme ich sofort in das Feuer erhalten.(Das tut den Kessel auf Dauer nicht gut)
Vielleich benötigt man dafür minimal mehr Holz, aber an Komfort hat man einiges gewonnen.Fazit: Ich würde immer 500 bis 1000 Liter mehr nehmen, wenn der Platz reicht.
Gruß
Methman -
Sieht hübsch aus
Hab nochmal ne Frage, habe Probleme mit meinen Charts wo müssen denn da welche Ordner sein?
Und wo muss ich da Rechte vergeben? -
Hi Jörg,
hab ihn jetzt komplett neu aufgesetzt.
Hab es mal bei der Standard-Ansicht belassen. Werde ihn die nächsten Tage fertig konfigurieren, bekomme Daten und der Deamon läuft. Webseite konnte ich initialisieren usw.Vielen Dank schonmal. Kann man an die Seite bzw. an dich ne Kleinigkeit spenden. Finde dieses Projekt einfach Klasse.
Folgendes habe ich jetzt gemacht. Falls noch jemand Probleme haben sollte oder es neu Aufsetzen muss.
Raspi 3
SW Version Raspian Stretch LiteFolgendes musste ich bei deinem ReadMe anders machen.
Code
Alles anzeigen#Installation MySQL Database #Ging nicht: apt-get install mysql-server-5.5 libmysqlclient-dev (set database password for root user during installation) #Angepasst: apt-get install mysql-server default-libmysqlclient-dev #Installation Apache Webserver #Ging nicht: apt install apache2 libapache2-mod-php7.2 php7.2-mysql php7.2-gd #Angepasst: apt install apache2 libapache2-mod-php7.0 php7.0-mysql php7.0-gd #Bei get the p4d: #Musste ich vorher git installieren apt-get install git #Das Enable automatic p4d startup fällt ja durch deine einfachere #lösung komplett weg.
Wichtig war glaube ich noch den Chrome zu verwenden.
Den Rest muss ich die nächsten Tage noch abarbeiten.Gruß
Daniel -
Kleine Neuerung:
Code
Alles anzeigenroot@HeizSv:~# p4 state Version: 50.04.05.08 Time: Wednesday, 07. Nov. 2018 15:17:15 0 - Winterbetrieb 5 - Feuer Aus root@HeizSv:~# tail -f /var/log/syslog Nov 7 15:19:54 HeizSv systemd[578]: Listening on GnuPG cryptographic agent (access for web browsers). Nov 7 15:19:54 HeizSv systemd[578]: Listening on GnuPG cryptographic agent and passphrase cache (restricted). Nov 7 15:19:54 HeizSv systemd[578]: Listening on GnuPG cryptographic agent (ssh-agent emulation). Nov 7 15:19:54 HeizSv systemd[578]: Reached target Timers. Nov 7 15:19:54 HeizSv systemd[578]: Listening on GnuPG cryptographic agent and passphrase cache. Nov 7 15:19:54 HeizSv systemd[578]: Reached target Sockets. Nov 7 15:19:54 HeizSv systemd[578]: Reached target Basic System. Nov 7 15:19:54 HeizSv systemd[578]: Reached target Default. Nov 7 15:19:54 HeizSv systemd[578]: Startup finished in 91ms. Nov 7 15:19:54 HeizSv systemd[1]: Started User Manager for UID 1000.
Wenn das alles soweit kommt müsste er doch automatisch gestartet sein oder? Hab den Usb typ bis jetzt auch nicht geändert. Muss jetzt noch den Apache lt. Anleitung installieren. -
-
Hi das hat alles gestimmt.
Jetzt hab ich den USB nochmal abgezogen in der Hoffnung er bekommt ne andere Zahl zugewiesen.
Habe jetzt diese Meldung:Coderoot@HeizSV:/home/pi# p4 state Version: 50.04.05.08 Time: Wednesday, 07. Nov. 2018 12:54:04 0 - Winterbetrieb 5 - Feuer Aus
Kann mich aber unter der Onlineadresse nicht einloggen und er zeigt trotzdem Offline an.
-
-
Habe ich versucht. Deamon startet trotzdem nicht automatisch.
Jetzt habe ich nochmal die abfrage ausgeführt p4d -n -tJetzt erhalte ich folgende ausgabe:
Code
Alles anzeigenot 15 unexpected bytes Got wrong communication id 4201 expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Read failed, errno was 11 'Resource temporarily unavailable' Read size failed, status was -1 Read failed, errno was 11 'Resource temporarily unavailable' Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Read failed, errno was 11 'Resource temporarily unavailable' Read word failed, aborting Read failed, errno was 11 'Resource temporarily unavailable' Got wrong communication id 000c expected 02fd Got 11 unexpected bytes Got wrong communication id 4201 expected 02fd Got 9 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 4201 expected 02fd Got 11 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 4201 expected 02fd Read failed, errno was 11 'Resource temporarily unavailable' Got 9 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 11 unexpected bytes Got wrong communication id 4201 expected 02fd Got 16 unexpected bytes Got wrong communication id 4201 expected 02fd Read failed, errno was 11 'Resource temporarily unavailable' Got 6 unexpected bytes Read failed, errno was 11 'Resource temporarily unavailable' Read word failed, aborting Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 4201 expected 02fd Read failed, errno was 11 'Resource temporarily unavailable' Got 7 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Got wrong communication id 000c expected 02fd Got 13 unexpected bytes Read failed, errno was 11 'Resource temporarily unavailable' Read word failed, aborting Read failed, errno was 11 'Resource temporarily unavailable' Got wrong communication id 000c expected 02fd
-
Bekomme diese Fehlermeldung beim ausführen von make
root@HeizSV:/usr/src/linux-p4d# make inst-sysv-init
make: *** Keine Regel, um „inst-sysv-init“ zu erstellen. Schluss. -
Hi Sorry aber wie mache ich diesen Befehl?
make inst-sysv-init ich muss zuerst sysv installieren oder ?
Woher beziehe ich dann diese inst-sysv-init?Jetzt hab ich versucht das ganze zu intialisieren und bekomme folgende Fehlermeldungen:
Code
Alles anzeigenRead 8 option from /etc/p4d/p4d.conf Info: Calling mysql_library_init() Dictionary '/etc/p4d/p4d.dat' loaded Info: No One-Wire sensors found, path '/sys/bus/w1/devices' not exist (No such file or directory) Opening '/dev/ttyUSB0' succeeded! Try conneting to database Checking database connection ... Calling mysql_init(903) SQL client character now 'utf8' Checking table structure and indices ... Checking table 'config' Checking table 'errors' Checking table 'hmsysvars' Checking table 'jobs' Checking table 'menu' Checking table 'samples' Checking table 'schemaconf' Checking table 'scripts' Checking table 'sensoralert' Checking table 'smartconfig' Checking table 'timeranges' Checking table 'valuefacts' Closing mysql connection and calling mysql_thread_end(903) Checking table structure and indices succeeded Calling mysql_init(903) Connection to database established Info: Script path '/etc/p4d/scripts.d' not exists - 'No such file or directory' Processing WEBIF job 207 'updatemenu:0x0000/'
-
Hi,
also mein Problem besteht jetzt eig. nur noch darin, dass der P4d Dienst nicht automatisch gestartet wird. Soll ich das über das SysV noch machen oder wie finde ich raus, warum der nicht startet?
Den C-Quellcode habe ich angepasst.
Gruß
Daniel -
Er scheint schon was zu bekommen. Der Pfad war allerding linux-p4d.
Jetzt bekomme ich unter: http://192.168.178.200/p4/main.php ein sehr abgespecktes Fenster mit Achtung p4 Daemon offline.
Gruß
DanielCode
Alles anzeigenroot@HeizSV:~# cd /usr/src/linux-p4d root@HeizSV:/usr/src/linux-p4d# make -s root@HeizSV:/usr/src/linux-p4d# make -s install root@HeizSV:/usr/src/linux-p4d# root@HeizSV:/usr/src/linux-p4d# cd root@HeizSV:~# p4d -v Version 0.2.30-GIT9bc3c71 root@HeizSV:~# p4d -n -t Read 8 option from /etc/p4d/p4d.conf Info: Calling mysql_library_init() Dictionary '/etc/p4d/p4d.dat' loaded Info: No One-Wire sensors found, path '/sys/bus/w1/devices' not exist (No such file or directory) Opening '/dev/ttyUSB0' succeeded! Try conneting to database Checking database connection ... Calling mysql_init(2638) SQL client character now 'utf8' Checking table structure and indices ... Checking table 'config' Initialy creating table 'config' create table config(owner VARCHAR(40), name VARCHAR(40), inssp INT(11), updsp INT(11), value VARCHAR(100), PRIMARY KEY(owner DESC, name DESC)) ENGINE InnoDB; Checking table 'errors' Initialy creating table 'errors' create table errors(id INT(11) unsigned not null auto_increment, inssp INT(11), updsp INT(11), time1 DATETIME comment 'time gekommen', time4 DATETIME comment 'time gegangen', time2 DATETIME comment 'time quittiert', number INT(10), info INT(10), state VARCHAR(10), text VARCHAR(100), mailcnt INT(11), PRIMARY KEY(id DESC)) ENGINE InnoDB; Checking table 'hmsysvars' Initialy creating table 'hmsysvars' create table hmsysvars(id INT(11) unsigned, inssp INT(11), updsp INT(11), name VARCHAR(100), type INT(1) unsigned, unit VARCHAR(10), visible INT(1) unsigned, min VARCHAR(100), max VARCHAR(100), time DATETIME, value VARCHAR(100), address INT(4) unsigned, atype VARCHAR(2), PRIMARY KEY(id DESC)) ENGINE InnoDB; create index idxaddress on hmsysvars(address); Checking table 'jobs' Initialy creating table 'jobs' create table jobs(id INT(11) unsigned not null auto_increment, inssp INT(10), updsp INT(10), requestat DATETIME, doneat DATETIME, state VARCHAR(1), command VARCHAR(100), address INT(4) unsigned, result VARCHAR(100), data VARCHAR(100), PRIMARY KEY(id DESC)) ENGINE InnoDB; create index idxstate on jobs(state); create index idxrequestat on jobs(requestat); Checking table 'menu' Initialy creating table 'menu' create table menu(id INT(4) unsigned not null auto_increment, inssp INT(10), updsp INT(10), parent INT(5) unsigned, child INT(5) unsigned, type INT(1) unsigned, address INT(4) unsigned, title VARCHAR(100), state VARCHAR(1), unit VARCHAR(5), value VARCHAR(100), unknown1 INT(4), unknown2 INT(4), PRIMARY KEY(id DESC)) ENGINE InnoDB; Checking table 'samples' Initialy creating table 'samples' create table samples(address INT(4) unsigned, type VARCHAR(2), aggregate VARCHAR(1), time DATETIME, inssp INT(10), updsp INT(10), value FLOAT(14,2), text VARCHAR(50), samples INT(3), PRIMARY KEY(address DESC, type DESC, aggregate DESC, time DESC)) ENGINE InnoDB; create index idxtime on samples(time); create index idxtype on samples(type); Checking table 'schemaconf' Initialy creating table 'schemaconf' create table schemaconf(address INT(4) unsigned, type VARCHAR(2), inssp INT(10), updsp INT(10), state VARCHAR(1), kind VARCHAR(20), color VARCHAR(10), showunit INT(1), showtext INT(1), bg INT(2), fontsize INT(2), aleft INT(2), xpos INT(11), ypos INT(11), link VARCHAR(100), PRIMARY KEY(address DESC, type DESC)) ENGINE InnoDB; Checking table 'scripts' Initialy creating table 'scripts' create table scripts(id INT(11) unsigned not null auto_increment, inssp INT(11), updsp INT(11), name VARCHAR(100), visible VARCHAR(1) comment '\'Y\'es, \'N\'o', path VARCHAR(100), PRIMARY KEY(id DESC)) ENGINE InnoDB; create index idxpath on scripts(path); Checking table 'sensoralert' Initialy creating table 'sensoralert' create table sensoralert(id INT(11) unsigned not null auto_increment, inssp INT(10), updsp INT(10), kind VARCHAR(1), subid INT(11) unsigned, lgop INT(11) unsigned, address INT(4) unsigned, type VARCHAR(2), state VARCHAR(1), min INT(10), max INT(10), rangem INT(10), delta INT(10), maddress VARCHAR(100), msubject VARCHAR(100), mbody TEXT, lastalert INT(10), maxrepeat INT(10), PRIMARY KEY(id DESC)) ENGINE InnoDB; Checking table 'smartconfig' Initialy creating table 'smartconfig' create table smartconfig(address INT(4) unsigned, type VARCHAR(2), inssp INT(10), updsp INT(10), state VARCHAR(1), kind VARCHAR(20), color VARCHAR(10), showunit INT(1), showtext INT(1), bg INT(2), fontsize INT(2), aleft INT(2), xpos INT(11), ypos INT(11), link VARCHAR(100), PRIMARY KEY(address DESC, type DESC)) ENGINE InnoDB; Checking table 'timeranges' Initialy creating table 'timeranges' create table timeranges(address INT(4) unsigned, from1 VARCHAR(5), to1 VARCHAR(5), from2 VARCHAR(5), to2 VARCHAR(5), from3 VARCHAR(5), to3 VARCHAR(5), from4 VARCHAR(5), to4 VARCHAR(5), PRIMARY KEY(address DESC)) ENGINE InnoDB; Checking table 'valuefacts' Initialy creating table 'valuefacts' create table valuefacts(address INT(4) unsigned, type VARCHAR(2), inssp INT(10), updsp INT(10), state VARCHAR(1), unit VARCHAR(5), factor INT(4), name VARCHAR(100), title VARCHAR(100), usrtitle VARCHAR(100), res1 INT(4), PRIMARY KEY(address DESC, type DESC)) ENGINE InnoDB; Closing mysql connection and calling mysql_thread_end(2638) Checking table structure and indices succeeded Calling mysql_init(2638) Connection to database established Storing 'user' with value 'p4' Storing 'passwd' with value '141785a8765705819f5495b2c539c7b9' Storing 'mail' with value '' Storing 'htmlMail' with value '' Storing 'mailScript' with value '/usr/local/bin/p4d-mail.sh' Storing 'stateMailStates' with value '0,1,3,19' Storing 'stateMailTo' with value '' Storing 'errorMailTo' with value '' Storing 'tsync' with value '' Storing 'maxTimeLeak' with value '' Info: Script path '/etc/p4d/scripts.d' not exists - 'No such file or directory' Checking state ... ... got (5) 'Feuer aus' State changed to 'Feuer Aus' Reading values ... Processed 0 samples, state is 'Feuer Aus' Updating error list Updating error list done Info: Found (0) pending errors Checking state ... ... got (5) 'Feuer aus' Checking state ... ... got (5) 'Feuer aus'
-
Punkt 1)
Bekomme folgende Ausgabe als User Pi:
pi 7796 7778 0 09:18 pts/0 00:00:00 grep --color=auto p4d
Bekomme folgende Ausgabe als User Sudo su(root):
root 7817 7815 0 09:19 pts/0 00:00:00 grep p4dPunkt 2)
User Pi oder Root es passiert gar nichts beim Pi.Punkt 3)
Ausgeführ als Pi:root 402 1 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 505 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 506 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 507 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 508 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 509 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 835 402 0 09:38 ? 00:00:00 /usr/sbin/apache2 -k start
pi 1050 1032 0 09:49 pts/0 00:00:00 grep --color=auto apacheAusgeführt als Root:
root 402 1 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 505 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 506 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 507 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 508 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 509 402 0 09:26 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 835 402 0 09:38 ? 00:00:00 /usr/sbin/apache2 -k start
root 1070 1068 0 09:50 pts/0 00:00:00 grep apachePunkt 4)
Nur die IP Ausgabe: kommt Apache 2 Default Page. It WorksPunkt 5)
Wenn ich nur P4 Anhänge, macht er mir noch ein /main.php dran und die Ausgabe: ErrorTable 'p4.config' doesn't existSchonmal danke für die Hilfe, ich weiss das sehr zu schätzen.
Gruß
Daniel -
Hi,
habe es jetzt nochmal versucht nach der Anleitung Schritt für Schritt durchzugehen. Bin leider trotzdem gescheitert.
Bekomme die Fehlermeldung Page not found.
Was ich ändern musste:
Bei der Database Installation habe ich zwei Befehle abgesetzt:
apt-get installlibmariadbclient-dev
apt-get install mysql-serverDanach konnte ich die Datenbank anlegen nach Anleitung.
Bei Apache musste ich folgendes abändern:apt install apache2 libapache2-mod-php7.2 php7.2-mysql php7.2-gdapt install apache2 libapache2-mod-php7.0 php7.0-mysql php7.0-gdDanach konnte ich wieder alles ausführen.Der nächste step bei dem ich hängen geblieben bin ist Enable automatic p4d startup during boot.Da wusste ich leider gar nicht genau was ich machen musst ausser diese drei Befehle ausführen:cp contrib/p4d /etc/init.d/chmod 750 /etc/init.d/p4dupdate-rc.d p4d defaultsInstall the web interface konnte ich wieder reibungslos ausführen.Jetzt komm ich leider nicht mehr weiter. Da ich ja keine Startseite bekomme.Der Apache läuft aber, wenn ich die IP ohne Zusatz angebe. Sehe ich das Apache Works.Könnt ihr mir helfen?
-
@Patrick1701 ich schau die Woche mal nach, welche Einstellungen ich am S4 gemacht habe damit es lief. Hab es noch in Erinnerung, dass ich auch was umstellen musste. Wichtig bei mir war Das serielle Kabel oben hinten anzuschliessen.
Habe mich schonmal vor paar Wochen gemeldet, dass mein Raspi abgeflogen ist.
Habe jetzt folgendes Probiert.Installiert habe ich ein Raspian Stretch.
Punkt 2 War lediglich alles in Deutsch einstellen und den Fernzugriff einrichten.
Punkt 3 install.sh abgeändert.
Lediglich Apache2 und MariaDB
"Pakete Installieren"apt-get install apache2 phpmyadmin git
apt-get install libmariadbclient-devPunkt 4 sudo /tmp/install.sh
Bis dahin funktioniert alles. Leider bekomme ich ein paar Fehler.
1) Fehler siehe Bild bereits im Script.
https://ibb.co/h4QvwV2) Fehler Anleitung Punkt 60 nano /etc/p4d/p4d.conf nicht vorhanden
3) Fehler nano /p4d/linux-p4d/configs/p4d.con ist auch nicht vorhanden.
4) Per 192...xxxx/index.php wird nichts gefunden.
Könnt ihr mir bei der Fehlersuche helfen?
Ist leider echt nicht so easy. Evtl noch so nebenbei mit Winscp tu ich mich sehr hart, da mir immer Rechte mit dem User Pi fehlen. Vllt. hat da auch noch jemand ne Idee. -
Hallo,
ich versuch mich gerade auch auf einem Stretch, allerdings bin ich leider mit Linux nicht sehr begabt und mache das nur weil meine alte SD Karte abflog.
Habt ihr tips bzw. könnte mir jemand helfen. Glaube er hat größtenteils Probleme mit der Software die zu alt ist und auch mit Pfade anlegen usw.
Gibt es eine Anleitung der ich folgen kann?Gruß und fröhliches heizen
Methman