tecronin
Junior Member
Posts: 91
Raspberry Pi: Yes
|
Post by tecronin on Apr 30, 2021 11:00:29 GMT -8
so for the topic at hand it happened again. i killed the processes again and commented out the killall in the script. there was no defunct process but the camera only would reset with a reboot.
|
|
|
Post by SDL on May 1, 2021 16:52:44 GMT -8
Dow,
Which program was not running? "that program was no longer running"
BP
|
|
dow4hurst
Full Member
SkyWeather2 Newbie
Posts: 117
|
Post by dow4hurst on May 1, 2021 18:05:04 GMT -8
BP, It was the rtl_433 program that was no longer showing up in top. I should be able to recreate the conditions of the crash if I take away the antenna ground plate. I'll try that and see if I can capture a better history for you. Dow
|
|
|
Post by SDL on May 2, 2021 11:10:57 GMT -8
Dow,
I'm very interested. rtl_433 is supposed to restart when it stops receiving data. I just don't see how you could be right, but I'm willing to admit if I am wrong!
BP
|
|
|
Post by SDL on May 2, 2021 11:12:03 GMT -8
Dow, Could you post say the last 100 entries in the SkyWeather2 SystemLog in MySQL?
BP
|
|
dow4hurst
Full Member
SkyWeather2 Newbie
Posts: 117
|
Post by dow4hurst on May 2, 2021 11:34:42 GMT -8
BP, How would get that info out of the mysql database? I was starting to learn a bit about mysql, but am a complete newbie. Also, I'm going to remove the metal ground plane from my radio now in hopes to recreate the crash I was experiencing. It is so nice to have it running continuously that I am strangely reluctant to remove that magic plate... Dow
|
|
|
Post by SDL on May 2, 2021 12:39:04 GMT -8
Dow,
Holy cow! Something you don't know? Ack!
Install phpmyadmin on your Pi. That's the best way to look at your databases!
There are other MySQL viewers for the Raspberry Pi too!
BP
|
|
dow4hurst
Full Member
SkyWeather2 Newbie
Posts: 117
|
Post by dow4hurst on May 3, 2021 6:40:59 GMT -8
BP, Thanks! Will do. I'll get back to you with the data. Dow
|
|
|
Post by doxidad on May 3, 2021 8:09:01 GMT -8
If you don't have phpMyAdmin installed do this: pi@WPI2:~ $ sudo mysql -u root -p SkyWeather2Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 2091 Server version: 10.3.27-MariaDB-0+deb10u1 Raspbian 10 Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [SkyWeather2]> select * from SystemLog order by TimeStamp desc limit 100; +-----+-------+---------------------------------+---------------------+ | ID | Level | SystemText | TimeStamp | +-----+-------+---------------------------------+---------------------+ | 160 | 20 | Main Weather Sensors Found | 2021-05-03 00:02:46 | | 161 | 20 | Blynk Updates Started | 2021-05-03 00:02:46 | | 159 | 20 | Indoor Weather Sensor Found | 2021-05-03 00:02:31 | | 158 | 20 | SkyWeather2 Startup Version 025 | 2021-05-03 00:02:28 |
You should get the most current last 100 entries looking like above
|
|
dow4hurst
Full Member
SkyWeather2 Newbie
Posts: 117
|
Post by dow4hurst on May 3, 2021 16:21:06 GMT -8
Doxidad, Thanks! That is super helpful! Here is what I got, BP:
MariaDB [SkyWeather2]> select * from SystemLog order by TimeStamp desc limit 100; +----+-------+---------------------------------+---------------------+ | ID | Level | SystemText | TimeStamp | +----+-------+---------------------------------+---------------------+ | 56 | 20 | Main Weather Sensors Found | 2021-04-30 00:05:04 | | 57 | 20 | Blynk Updates Started | 2021-04-30 00:05:04 | | 55 | 20 | Indoor Weather Sensor Found | 2021-04-30 00:04:59 | | 54 | 20 | SkyWeather2 Startup Version 025 | 2021-04-30 00:04:26 | | 52 | 20 | Pi Rebooting: 5 day Reboot | 2021-04-30 00:04:00 | | 53 | 20 | Pi Rebooting: 5 day Reboot | 2021-04-30 00:04:00 | | 50 | 20 | Main Weather Sensors Found | 2021-04-27 23:46:07 | | 51 | 20 | Blynk Updates Started | 2021-04-27 23:46:07 | | 49 | 20 | SDR Restarted | 2021-04-27 23:46:00 | | 48 | 20 | Indoor Weather Sensor Found | 2021-04-27 23:29:50 | | 47 | 20 | SkyWeather2 Startup Version 025 | 2021-04-27 23:29:43 | | 46 | 20 | Indoor Weather Sensor Found | 2021-04-27 16:11:00 | | 44 | 20 | Main Weather Sensors Found | 2021-04-27 16:10:54 | | 45 | 20 | Blynk Updates Started | 2021-04-27 16:10:54 | | 43 | 20 | SkyWeather2 Startup Version 025 | 2021-04-27 16:10:46 | | 42 | 20 | Indoor Weather Sensor Found | 2021-04-27 16:06:11 | | 41 | 20 | SDR Restarted | 2021-04-27 16:06:08 | | 39 | 20 | Main Weather Sensors Found | 2021-04-27 15:42:52 | | 40 | 20 | Blynk Updates Started | 2021-04-27 15:42:52 | | 38 | 20 | SkyWeather2 Startup Version 025 | 2021-04-27 15:42:43 | | 37 | 20 | Indoor Weather Sensor Found | 2021-04-25 03:54:44 | | 35 | 20 | Main Weather Sensors Found | 2021-04-25 03:54:43 | | 36 | 20 | Blynk Updates Started | 2021-04-25 03:54:43 | | 34 | 20 | SkyWeather2 Startup Version 025 | 2021-04-25 03:54:39 | | 32 | 20 | Pi Rebooting: 5 day Reboot | 2021-04-25 00:04:00 | | 33 | 20 | Pi Rebooting: 5 day Reboot | 2021-04-25 00:04:00 | | 31 | 20 | Indoor Weather Sensor Found | 2021-04-23 15:42:16 | | 30 | 20 | SDR Restarted | 2021-04-23 15:41:50 | | 28 | 20 | Main Weather Sensors Found | 2021-04-23 15:17:32 | | 29 | 20 | Blynk Updates Started | 2021-04-23 15:17:32 | | 27 | 20 | SkyWeather2 Startup Version 025 | 2021-04-23 15:17:24 | | 25 | 20 | Main Weather Sensors Found | 2021-04-20 13:09:56 | | 26 | 20 | Blynk Updates Started | 2021-04-20 13:09:56 | | 24 | 20 | Indoor Weather Sensor Found | 2021-04-20 13:09:55 | | 23 | 20 | SkyWeather2 Startup Version 024 | 2021-04-20 13:09:51 | | 22 | 20 | Indoor Weather Sensor Found | 2021-04-20 00:05:00 | | 20 | 20 | Main Weather Sensors Found | 2021-04-20 00:04:54 | | 21 | 20 | Blynk Updates Started | 2021-04-20 00:04:54 | | 19 | 20 | SkyWeather2 Startup Version 024 | 2021-04-20 00:04:27 | | 17 | 20 | Pi Rebooting: 5 day Reboot | 2021-04-20 00:04:00 | | 18 | 20 | Pi Rebooting: 5 day Reboot | 2021-04-20 00:04:00 | | 16 | 20 | SDR Restarted | 2021-04-19 17:47:51 | | 13 | 20 | Indoor Weather Sensor Found | 2021-04-19 17:19:44 | | 14 | 20 | Main Weather Sensors Found | 2021-04-19 17:19:44 | | 15 | 20 | Blynk Updates Started | 2021-04-19 17:19:44 | | 12 | 20 | SkyWeather2 Startup Version 024 | 2021-04-19 17:19:35 | | 10 | 20 | Main Weather Sensors Found | 2021-04-15 00:06:26 | | 11 | 20 | Blynk Updates Started | 2021-04-15 00:06:26 | | 9 | 20 | Indoor Weather Sensor Found | 2021-04-15 00:06:01 | | 8 | 20 | SkyWeather2 Startup Version 024 | 2021-04-15 00:05:53 | | 6 | 20 | Pi Rebooting: 5 day Reboot | 2021-04-15 00:04:00 | | 7 | 20 | Pi Rebooting: 5 day Reboot | 2021-04-15 00:04:00 | | 5 | 20 | Indoor Weather Sensor Found | 2021-04-11 18:18:24 | | 4 | 20 | SDR Restarted | 2021-04-11 18:18:15 | | 2 | 20 | Main Weather Sensors Found | 2021-04-11 18:03:39 | | 3 | 20 | Blynk Updates Started | 2021-04-11 18:03:39 | | 1 | 20 | SkyWeather2 Startup Version 024 | 2021-04-11 18:03:24 | +----+-------+---------------------------------+---------------------+ 57 rows in set (0.002 sec)
|
|
|
Post by SDL on May 3, 2021 17:10:47 GMT -8
Rocking display Dow!
You are looking for:
SDR Restarted
I see it periodically. Now see if you can correlate the hangs with that.
When you don't receive a message for X minutes (I don't remember exactly the timing), the software shuts down rtl_433 and restarts it.
BP
|
|