Replies: 6 comments 2 replies
-
I shifted to another raspberry pi 0 W and the fault is clear. I cannot explain. But I'd still appreciate some insights. |
Beta Was this translation helpful? Give feedback.
-
On one of your screenshots I see 'watchdog reset'. |
Beta Was this translation helpful? Give feedback.
-
My problem identified here appears to be exactly the same as this issue from 2020 |
Beta Was this translation helpful? Give feedback.
-
I do not know why it does not work for you |
Beta Was this translation helpful? Give feedback.
-
I have a pi 0 W with a pijuice 0 on top. I have two pi 0 W's in the field for time lapse photography. A python script executes the photography function and the last part of the script ensures the pijuice wakeup function is correctly set. The second pi 0 W is using a pijuice HAT (not pijuice 0) and it works perfectly.
While testing the pijuice 0 and pi 0 W camera in the home, I noticed that it had taken pictures all night and outside of the programmed time. As a result, I tried to find any discussions about similar problems. There does not appear to be any discussions about the results I'm getting.
I have no reason to believe that the code is the problem as it works perfectly on the other pi with the pijuice hat.
Here's my code:
As programmed above, the camera should only start and take pictures every 10 minutes between the hours of 1000 and 1100 UTC Monday through Saturday. (These hours were adjusted by me yesterday for troubleshooting. The normal hours cover about half day (daylight hours) and this is how I discovered the pi wasn't working correctly as it took pictures outside those hours -- basically, all night long. (I'm in the Eastern Standard Time zone so currently 5 hours behind UTC.)
Of note, I do have switch S2 added to my pijuice 0 and I did attempt to reset the pijuice0 using S2 and reloading the firmware. This had no impact on the failure to take pics only within the prescribed hours.
More info:
running i2cdetect -y 1
From the idle shell I get this consistently and i can find no documentation on how to determine what the fault is.:
Final info that may be helpful:
As the python code states in comments, the python script had been executed using rc.local until very recently. There were updates available for my pi 0 W and afterward rc.local was causing the pi camera v3 to fail and my best determination was that something needed for the pi cam wasn't available using rc.local so I created a service and execute the python script using that service now. There have been no python camera failures since.
Appreciate all help.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions