Hallo Zusammen,
vor ein paar Tagen musste ich den p4d auf einen alten Raspberry2 migrieren und habe seitdem ein paar Probleme.
Ich habe dabei ein altes Backup der DB wieder eingespielt. Größtenteils sieht alles gut aus, aber diese Dinge sind mir aufgefallen.
1) Ich sehe an meiner Fröling S4 Turbo die Uhrzeit eine Stunde zu spät angezeigt. Der Raspi zeigt aber die korrekte Uhrzeit an, wenn ich sie mitteld "date" prüfe.
2) Die Charts zeigen nichts mehr an. Ich habe die Sensoren Einstellung geprüft. Diese stehen auf VA:0x00,VA:0x04,VA:0x5d,VA:0x76,VA:0x78 , was für mein Setupt passt
Ich vermute, dass die Fehler mit der falschen Winterzeit zusammenhängen, zumindest zeigt die Epoch Time ebenfalls eine Stunde falsch.
Das ist die Ausgabe beim starten:
pi@heizung:~ $ sudo systemctl restart p4d
journalctl -u p4d -f
Jan 28 19:52:32 heizung systemd[1]: p4d.service: Consumed 46min 20.326s CPU time.
Jan 28 19:52:32 heizung systemd[1]: Starting p4d.service - P4d Control Deamon...
Jan 28 19:52:32 heizung p4d[10300]: Read 9 option from /etc/p4d/daemon.conf
Jan 28 19:52:32 heizung systemd[1]: Started p4d.service - P4d Control Deamon.
Jan 28 19:52:32 heizung p4d[10301]: Daylight (0); Timezone is (0) now it's 1769626352
Jan 28 19:52:32 heizung p4d[10301]: Current locale is de_DE.UTF-8
Jan 28 19:52:32 heizung p4d[10301]: Detected UTF-8
Jan 28 19:52:32 heizung p4d[10301]: Dictionary '/etc/p4d/database.dat' loaded
Jan 28 19:52:32 heizung p4d[10301]: Try conneting to database
Jan 28 19:52:32 heizung p4d[10301]: SQL client character now 'utf8mb3'
Jan 28 19:52:33 heizung p4d[10301]: Skipping check of table 'information_schema.TABLES'
Jan 28 19:52:33 heizung p4d[10301]: Info: Field 'maxscale' not used anymore, to remove it call 'ALTER TABLE valuefacts DROP COLUMN maxscale;' manually
Jan 28 19:52:33 heizung p4d[10301]: Info: Field 'ord' not used anymore, to remove it call 'ALTER TABLE valuefacts DROP COLUMN ord;' manually
Jan 28 19:52:33 heizung p4d[10301]: Info: Field 'value' not used anymore, to remove it call 'ALTER TABLE valuefacts DROP COLUMN value;' manually
Jan 28 19:52:33 heizung p4d[10301]: Info: Eloquence set to 0x0000 (0)
Jan 28 19:52:36 heizung p4d[10301]: Config of MQTT url or subscribtions changed, reconnect
Jan 28 19:52:36 heizung p4d[10301]: MQTT interface style set to 'None' for [p4d2mqtt/sensor/<NAME>/state]
Jan 28 19:52:36 heizung p4d[10301]: Loaded (6) states [:0:2:3:4:5:6]
Jan 28 19:52:36 heizung p4d[10301]: Error: Can't init victron for 'VIC', missing broker at ''
Jan 28 19:52:36 heizung p4d[10301]: WebSocket Listener at port (1111) established
Jan 28 19:52:37 heizung p4d[10301]: Loaded (6) states [:0:2:3:4:5:6]
Jan 28 19:52:37 heizung p4d[10301]: Opening '/dev/ttyUSB0' succeeded!
Jan 28 19:52:37 heizung p4d[10301]: p4d started
Jan 28 19:52:37 heizung p4d[10301]: State changed to 'Feuererhaltung'
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME'
Jan 28 19:52:37 heizung p4d[10301]: SQL-Error in 'execute(stmt_execute)' - Column 'time' cannot be null (1048) 'Column 'time' cannot be null' [insert into samples set address = ?, aggregate = ?, inssp = ?, samples = ?, text = ?, time = ?, type = ?, updsp = ?, value = ?;]
Jan 28 19:52:37 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:38 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:38 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:39 heizung p4d[10301]: Setting invalid field format for 'TIME4'
Jan 28 19:52:39 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:40 heizung p4d[10301]: Setting invalid field format for 'TIME2'
Jan 28 19:52:41 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:42 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:42 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:43 heizung p4d[10301]: Setting invalid field format for 'TIME4'
Jan 28 19:52:43 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:44 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:44 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:45 heizung p4d[10301]: Setting invalid field format for 'TIME4'
Jan 28 19:52:45 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:46 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:46 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Jan 28 19:52:47 heizung p4d[10301]: Setting invalid field format for 'TIME4'
Jan 28 19:52:47 heizung p4d[10301]: Setting invalid field format for 'TIME1'
Display More
Leider finde ich nirgendwo eine Möglichkeit, die Winterzeit einzustellen.
Kann mir hier jemand weiterhelfen? Bin mittlerweile leider ratlos, was ich noch tun kann.
Vielen Dank!