Think Ink weather station

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
lostcity
 
Posts: 35
Joined: Mon Dec 07, 2009 7:02 pm

Think Ink weather station

Post by lostcity »

I have the 2.13 Think Ink hat on a Pi A+ on my home network. The code works as I have it plugged into my monitor and HDMI cable. I want to have it run at start up without have a display and keyboard plugged in. I have tried to crontab -e and added @reboot python3 /home/pi/weather/code.py
Where code.py is the python script that runs the weather station.
The script is not working. So is there a way to fix my coding or another way to get the program to run at start up

Thanks in advance

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Think Ink weather station

Post by Franklin97355 »

Do you have permissions?
Running a program on startup requires you to have an execute permission with the application and file. You can check using ls -l. Otherwise, to add the permission, enter sudo chmod a+x FILENAME.

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”