LoveBootCaptain / WeatherPi_TFT

a weather display for a raspberry pi and a TFT display written in python3 and pygame
Other
78 stars 24 forks source link

after a reboot the TFT cannot start the Weahter UI #43

Open koppix46 opened 3 years ago

koppix46 commented 3 years ago

hi, after a reboot the UI for weather forecast is not starting - no icons displayed - AZ Touch TFT Display remains dark.

I can see all messages during startup, but when the UI shall start, nothing happens .

I have had the same issue 4 weeks ago: After several reboots the UI was starting again - everything seemed to work as usual...until yesterday.

Now I don't wont to wait for a miracle and that's why I kindly ask for your support. I haven't done any operating system upgrades because I have red this may have conflicts with the UI.

I would appreciate any kind of feedback and help. I did a look into the logfiles, but I was unable to find something helpful. Additional I tried to restart Weather TFT: sudo sh ./WeatherPiTFT.sh restart

[....] Stopping system WeatherPiTFT daemon:start-stop-daemon: warning: failed to kill 444: No such process No process in pidfile '/var/run/WeatherPiTFT.pid' found running; none killed. failed! [ ok ] Starting system WeatherPiTFT daemon:.

LoveBootCaptain commented 3 years ago

Hey there and sorry for the very very long time you had to wait for an answer ...

The pandemic moved my focus away from this... But that does not mean the project is dead.

Where you able to fix the problem, or does it (maybe) fixes automagically?

The Dashboard is a little more "speaky" when you are able to get stdout while running the python app.

But as far as I remember it should also be logged. Problem is, when you run it like me (with virtual RAM Disk for temp Data and logs) the log is gone, after you reboot...

Or? 🤔 Have to look up the code again. Maybe I write the log to disk on exit...

Otherwise can you please give details on the OS + Version you are running and also the pygame version which is currently installed on your Pi?

Since I do not "offially" support the image @HWHardsoft provides I currently not aware of what the OS is like.

As far as I remember the last image he made "just works" if you have a working API key for the weather data and an internet connection configured (LAN and WiFi)...

Maybe the wifi connection is established after the app started. I didn't implement a reconnection on boot... The app only can recover connection if it is already running.

The last guess is (and that would be sad) there is maybe a hardware issue on your display... Hope not 🤞

Any more Infos from your side would be great cause I'm planning an update for Raspbian OS...

Cheers and kind regards from Berlin Stephan

koppix46 commented 2 years ago

hi Stephan, sorry I did not give it a try until now. I have just reflashed the microsd card again and did the initial configuration.

Now everything is fine and I am happy it works as it should.

I suppose the problem was because I did a raspian update and maybe that's why it the display wasn't working anymore.

I won't touch my raspy again and I hope I will have just fun.

best regards, Hans-Jürgen


Von: LoveBootCaptain @.> Gesendet: Dienstag, 27. Juli 2021 14:21 An: LoveBootCaptain/WeatherPi_TFT @.> Cc: koppix46 @.>; Author @.> Betreff: Re: [LoveBootCaptain/WeatherPi_TFT] after a reboot the TFT cannot start the Weahter UI (#43)

Hey there and sorry for the very very long time you had to wait for an answer ...

The pandemic moved my focus away from this... But that does not mean the project is dead.

Where you able to fix the problem, or does it (maybe) fixes automagically?

The Dashboard is a little more "speaky" when you are able to get stdout while running the python app.

But as far as I remember it should also be logged. Problem is, when you run it like me (with virtual RAM Disk for temp Data and logs) the log is gone, after you reboot...

Or? 🤔 Have to look up the code again. Maybe I write the log to disk on exit...

Otherwise can you please give details on the OS + Version you are running and also the pygame version which is currently installed on your Pi?

Since I do not "offially" support the image @HWHardsofthttps://github.com/HWHardsoft provides I currently not aware of what the OS is like.

As far as I remember the last image he made "just works" if you have a working API key for the weather data and an internet connection configured (LAN and WiFi)...

Maybe the wifi connection is established after the app started. I didn't implement a reconnection on boot... The app only can recover connection if it is already running.

The last guess is (and that would be sad) there is maybe a hardware issue on your display... Hope not 🤞

Any more Infos from your side would be great cause I'm planning an update for Raspbian OS...

Cheers and kind regards from Berlin Stephan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/LoveBootCaptain/WeatherPi_TFT/issues/43#issuecomment-887465652, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJXWZWW5S6YQJGZTLHYYHE3TZ2QD5ANCNFSM4YSSDMJQ.

koppix46 commented 1 year ago

hi Stephan, for at least one year the raspberrypi was running without any issues. Everything was working fine. I did neither log into the system nor did any changes to the configuration/system.

But let me tell you what now happened:

  1. the icons/weather information was not updated regulary anymore
  2. so after a reboot, the blank screen is back again - no icons, no theme, nothing displayed

I would be very happy if you can give me support/guidance in which log file I could have a look.

best, Hans-Jürgen p.s. additonal I checked my weatherbit.io account. the API key is valid and it shall be no issue about.