RE: OpenPlotter 4 roadmap - Sailoog - 2024-06-02
enable debugging mode: https://openplotter.readthedocs.io/en/4.x.x/settings/general.html#debugging
open a terminal and type:
Code: journalctl -b -u openplotter-i2c-read
copy here any error you get.
RE: OpenPlotter 4 roadmap - Dany - 2024-06-02
(2024-06-02, 11:56 AM)Sailoog Wrote: enable debugging mode: https://openplotter.readthedocs.io/en/4.x.x/settings/general.html#debugging
open a terminal and type:
Code: journalctl -b -u openplotter-i2c-read
copy here any error you get.
So what i get is this and is seems to continue ad infinitum:
Code: Jun 02 13:31:01 ironic systemd[1]: Started openplotter-i2c-read.service.
Jun 02 13:31:03 ironic systemd[1]: openplotter-i2c-read.service: Deactivated successfully.
Jun 02 13:31:07 ironic systemd[1]: openplotter-i2c-read.service: Scheduled restart job, restart counter is at 1.
Jun 02 13:31:07 ironic systemd[1]: Stopped openplotter-i2c-read.service.
Jun 02 13:31:07 ironic systemd[1]: Started openplotter-i2c-read.service.
Jun 02 13:31:07 ironic sudo[1254]: pi : PWD=/ ; USER=root ; COMMAND=/usr/bin/echo x
Jun 02 13:31:07 ironic sudo[1254]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Jun 02 13:31:07 ironic sudo[1254]: pam_unix(sudo:session): session closed for user root
Jun 02 13:31:07 ironic systemd[1]: openplotter-i2c-read.service: Deactivated successfully.
Jun 02 13:31:10 ironic systemd[1]: openplotter-i2c-read.service: Scheduled restart job, restart counter is at 2.
Jun 02 13:31:10 ironic systemd[1]: Stopped openplotter-i2c-read.service.
Jun 02 13:31:10 ironic systemd[1]: Started openplotter-i2c-read.service.
Jun 02 13:31:10 ironic sudo[1647]: pi : PWD=/ ; USER=root ; COMMAND=/usr/bin/echo x
Jun 02 13:31:10 ironic sudo[1647]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Jun 02 13:31:10 ironic sudo[1647]: pam_unix(sudo:session): session closed for user root
Jun 02 13:31:11 ironic systemd[1]: openplotter-i2c-read.service: Deactivated successfully.
Jun 02 13:31:14 ironic systemd[1]: openplotter-i2c-read.service: Scheduled restart job, restart counter is at 3.
Jun 02 13:31:14 ironic systemd[1]: Stopped openplotter-i2c-read.service.
Jun 02 13:31:14 ironic systemd[1]: Started openplotter-i2c-read.service.
Jun 02 13:31:14 ironic sudo[2731]: pi : PWD=/ ; USER=root ; COMMAND=/usr/bin/echo x
Jun 02 13:31:14 ironic sudo[2731]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Jun 02 13:31:14 ironic sudo[2731]: pam_unix(sudo:session): session closed for user root
Jun 02 13:31:14 ironic systemd[1]: openplotter-i2c-read.service: Deactivated successfully.
Jun 02 13:31:17 ironic systemd[1]: openplotter-i2c-read.service: Scheduled restart job, restart counter is at 4.
Jun 02 13:31:17 ironic systemd[1]: Stopped openplotter-i2c-read.service.
Jun 02 13:31:17 ironic systemd[1]: Started openplotter-i2c-read.service.
Jun 02 13:31:17 ironic sudo[2842]: pi : PWD=/ ; USER=root ; COMMAND=/usr/bin/echo x
Jun 02 13:31:17 ironic sudo[2842]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Jun 02 13:31:17 ironic sudo[2842]: pam_unix(sudo:session): session closed for user root
Jun 02 13:31:17 ironic systemd[1]: openplotter-i2c-read.service: Deactivated successfully.
Jun 02 13:31:21 ironic systemd[1]: openplotter-i2c-read.service: Scheduled restart job, restart counter is at 5.
Jun 02 13:31:21 ironic systemd[1]: Stopped openplotter-i2c-read.service.
Jun 02 13:31:21 ironic systemd[1]: Started openplotter-i2c-read.service.
Jun 02 13:31:21 ironic sudo[2866]: pi : PWD=/ ; USER=root ; COMMAND=/usr/bin/echo x
Jun 02 13:31:21 ironic sudo[2866]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Jun 02 13:31:21 ironic sudo[2866]: pam_unix(sudo:session): session closed for user root
Jun 02 13:31:21 ironic systemd[1]: openplotter-i2c-read.service: Deactivated successfully.
Jun 02 13:31:24 ironic systemd[1]: openplotter-i2c-read.service: Scheduled restart job, restart counter is at 6.
Jun 02 13:31:24 ironic systemd[1]: Stopped openplotter-i2c-read.service.
TIA!
RE: OpenPlotter 4 roadmap - Sailoog - 2024-06-02
Is debugging mode enabled?
RE: OpenPlotter 4 roadmap - Dany - 2024-06-02
(2024-06-02, 02:10 PM)Sailoog Wrote: Is debugging mode enabled?
Yes i followed you instructions. Should i enable debug and then reboot?
Is a new debug file created upon running your command or clicking the "debug"?
Perhaps another turn. I'll check more.
RE: OpenPlotter 4 roadmap - Sailoog - 2024-06-02
Yes, try rebooting
RE: OpenPlotter 4 roadmap - Dany - 2024-06-02
(2024-06-02, 02:20 PM)Sailoog Wrote: Yes, try rebooting
I accidentally clicked "underscan" in the Raspberry settings. Now my menues think the screen is very very small, trying to get back from that...
(2024-06-02, 02:20 PM)Sailoog Wrote: Yes, try rebooting
OK, so now something showed up!
Code: Jun 02 14:43:39 ironic systemd[1]: Started openplotter-i2c-read.service.
Jun 02 14:43:42 ironic openplotter-i2c-read[732]: Error processing BMP280: Failed to find BMP280! Chip ID 0x0
Jun 02 14:43:42 ironic openplotter-i2c-read[732]: Nothing to send, closing openplotter-i2c-read
Jun 02 14:43:42 ironic systemd[1]: openplotter-i2c-read.service: Deactivated successfully.
Jun 02 14:43:45 ironic systemd[1]: openplotter-i2c-read.service: Scheduled restart job, restart counter is at 1.
Jun 02 14:43:45 ironic systemd[1]: Stopped openplotter-i2c-read.service.
Jun 02 14:43:46 ironic systemd[1]: Started openplotter-i2c-read.service.
Jun 02 14:43:46 ironic sudo[1308]: pi : PWD=/ ; USER=root ; COMMAND=/usr/bin/echo x
Jun 02 14:43:46 ironic sudo[1308]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Jun 02 14:43:46 ironic sudo[1308]: pam_unix(sudo:session): session closed for user root
Jun 02 14:43:46 ironic openplotter-i2c-read[1264]: Error processing BMP280: Failed to find BMP280! Chip ID 0x0
Jun 02 14:43:46 ironic openplotter-i2c-read[1264]: Nothing to send, closing openplotter-i2c-read
Jun 02 14:43:46 ironic systemd[1]: openplotter-i2c-read.service: Deactivated successfully.
Jun 02 14:43:49 ironic systemd[1]: openplotter-i2c-read.service: Scheduled restart job, restart counter is at 2.
Jun 02 14:43:49 ironic systemd[1]: Stopped openplotter-i2c-read.service.
Jun 02 14:43:49 ironic systemd[1]: Started openplotter-i2c-read.service.
EDIT: My Bad! I selected the WRONG I2C address.
I am seriously disappointed with myself. By some reason i took it for granted that the BMP280 address was 0x68 and the IMU 0x77. It's the other way arnound.
My sincere apologies for taking up your precious time with my confusion. Sincere.
Thank you!
RE: OpenPlotter 4 roadmap - Sailoog - 2024-06-04
Do not worry, thanks for reporting. Your problem made me realize that we should add this debugging procedure to the manuals.
RE: OpenPlotter 4 roadmap - Dany - 2024-06-04
And maybe one or two more red statusbar lines when one or more sensor(s) are present and the service does not start. IMHO it's verbosity setting is a wee bit on the low side. Regards!
RE: OpenPlotter 4 roadmap - Sailoog - 2024-06-12
(2024-06-04, 02:04 PM)Dany Wrote: And maybe one or two more red statusbar lines when one or more sensor(s) are present and the service does not start. IMHO it's verbosity setting is a wee bit on the low side. Regards!
Done. Check openplotter-i2c v4.1.3 and report any issue please.
RE: OpenPlotter 4 roadmap - Coyote24 - 2024-06-14
Hi All,
Just a quick note to say that, as a newbie with all this, I find the amount of progress and cooperation to be phenomenal.
Also I received my MacArthur HAT a few weeks and the quality is superb.
Thanks to all of you!
Rgds,
a.
|