Go to advanced search

by pcmanbob
Wed Apr 29, 2020 9:10 am
Forum: Python
Topic: Issues with setting up an alarm with datetime and ranges
Replies: 36
Views: 1524

Re: Issues with setting up an alarm with datetime and ranges

... command still run if I specify python3 in the cron and it is running with the latest python (Python 3.8.2)? I used pyenv ... using. And do I need to include the "boot" if the script will be running at a designated time ...
by boweryelectric
Wed Apr 29, 2020 12:10 am
Forum: Python
Topic: Issues with setting up an alarm with datetime and ranges
Replies: 36
Views: 1524

Re: Issues with setting up an alarm with datetime and ranges

... command still run if I specify python3 in the cron and it is running with the latest python (Python 3.8.2)? I used pyenv ... And do I need to include the "boot" if the script will be running at a designated time ...
by backmailingbox
Sun Apr 19, 2020 7:44 pm
Forum: Raspberry Pi OS
Topic: how to add sleep into lxde autostart
Replies: 35
Views: 991

Re: how to add sleep into lxde autostart

... line - it was my test to start my python script with sleep I there is no & at the end of the line it is only in line when ... to start non visual pyth script during boot as root user :-) and it is ok, so I used ...
by pravinyouwin
Sun Apr 19, 2020 4:26 am
Forum: Python
Topic: How to Auto-Execute Python file on Startup using Raspberry Pi 3
Replies: 29
Views: 5053

Re: How to Auto-Execute Python file on Startup using Raspberry Pi 3

... I followed the above steps to run the GUI script at boot up. ran in to some issue here. Invalid MIT-MAGIC-COOKIE-1 keyInvalid ...
by FlexMcMurphy
Sat Apr 11, 2020 6:06 pm
Forum: Advanced users
Topic: Image File Utilities
Replies: 282
Views: 31857

Re: Image File Utilities

... So I used the image-backup-test script to make a backup of an OSMC/Kodi installation running on a Pi Model 1 B in a 16GB ... of the SD Card on the initial boot up. Success! Some other feedback... ... a basic progress bar working in a python program that uses threads. Maybe ...
by neilgl
Sat Apr 11, 2020 4:21 pm
Forum: General discussion
Topic: Is raspi utilizing all the space
Replies: 12
Views: 607

Re: Is raspi utilizing all the space

OK that python script ran perfectly with my pi3B (Buster) and ... somehow? - maybe you have it starting at boot?
by rodneyphillips
Thu Apr 02, 2020 5:49 pm
Forum: Python
Topic: Script "stuck" / port never "closes" ?
Replies: 1
Views: 84

Script "stuck" / port never "closes" ?

Hi, I have a python script which I start on boot using the following command in /etc/rc.local sudo /usr/bin/python3 /home/pi/Irrigation/irrigationGUI/relayGUI.py > /home/pi/Irrigation/irrigationGUI/relayGUI.out ...
by DarkElvenAngel
Wed Mar 25, 2020 10:12 pm
Forum: Raspberry Pi OS
Topic: Systemd - script running on boot and shutdown
Replies: 13
Views: 652

Re: Systemd - script running on boot and shutdown

Hello, I have created a systemd service which runs a python script just after boot. I am having a problem that the python script ...
by tennisparty
Wed Mar 25, 2020 9:36 pm
Forum: Raspberry Pi OS
Topic: Systemd - script running on boot and shutdown
Replies: 13
Views: 652

Re: Systemd - script running on boot and shutdown

Hello, I have created a systemd service which runs a python script just after boot. I am having a problem that the python script ...
by DarkElvenAngel
Wed Mar 25, 2020 1:13 pm
Forum: Raspberry Pi OS
Topic: Systemd - script running on boot and shutdown
Replies: 13
Views: 652

Re: Systemd - script running on boot and shutdown

Hello, I have created a systemd service which runs a python script just after boot. I am having a problem that the python script ...
by tennisparty
Mon Mar 23, 2020 8:59 pm
Forum: Raspberry Pi OS
Topic: Systemd - script running on boot and shutdown
Replies: 13
Views: 652

Systemd - script running on boot and shutdown

Hello, I have created a systemd service which runs a python script just after boot. I am having a problem that the python script ...
by neilgl
Fri Mar 20, 2020 8:10 am
Forum: Beginners
Topic: Is Raspberry Pi 4 right for me?
Replies: 5
Views: 274

Re: Is Raspberry Pi 4 right for me?

... Raspbian Buster Lite, and run the script/program at boot using cron. Login as pi, then crontab ... Then add something like this: @reboot python /home/pi/scripts/yourTrailCamscript.py ...
by Phedg1
Tue Mar 17, 2020 3:50 pm
Forum: Advanced users
Topic: Need help getting a python script that starts a gui process to autostart
Replies: 5
Views: 368

Need help getting a python script that starts a gui process to autostart

... subforum. When my raspberry pi boots I would like it to look for all ... a playlist, on a loop. I wrote a python script that does this, with VLC being launched at the ...
by simonliu
Tue Mar 17, 2020 1:46 pm
Forum: Beginners
Topic: Crontab not working at reboot
Replies: 13
Views: 27335

Re: Crontab not working at reboot

Hi. It probably that your pi has not reached a suitable point in the boot process to actually run your commands, ... like this @reboot sleep 60 && sudo python /home/pi/Desktop/Telegram/pyTelegramBotAPI/Correo+.py ... sudo like that if you want to run your script at root the use sudo crontab -e to ...
by fruitoftheloom
Tue Mar 17, 2020 7:28 am
Forum: Beginners
Topic: Connecting raspberry pi to android phone using hotspot
Replies: 3
Views: 386

Re: Connecting raspberry pi to android phone using hotspot

... to raspberry pi 4. (setting a static gateway for my phones wifi hotspot) ... the ip adress I`m going to use a python script with some speech synthesizer (ex.: espeak) at boot or with a little lcd display. After some ...
by L3V1
Mon Mar 16, 2020 6:55 pm
Forum: Beginners
Topic: Connecting raspberry pi to android phone using hotspot
Replies: 3
Views: 386

Connecting raspberry pi to android phone using hotspot

... to raspberry pi 4. (setting a static gateway for my phones wifi hotspot) ... the ip adress I`m going to use a python script with some speech synthesizer (ex.: espeak) at boot or with a little lcd display. After some ...
by jahboater
Mon Mar 16, 2020 5:31 pm
Forum: General discussion
Topic: How do get good UNDERSTANDABLE information on PI
Replies: 17
Views: 1162

Re: How do get good UNDERSTANDABLE information on PI

... desktop and auto-start a small python program. Is this your question? ... re-insert (it should auto-mount at least the /boot folder) 3) Place the "wpa_supplicant.conf" ... 8) add the full path to your Python script to "/etc/rc.local" (it should run ...
by pcmanbob
Mon Mar 16, 2020 5:25 pm
Forum: General discussion
Topic: How do get good UNDERSTANDABLE information on PI
Replies: 17
Views: 1162

Re: How do get good UNDERSTANDABLE information on PI

... a piece of software/hardware that is rarely used on a pi so googling ... the basics would be. Fastest boot out of the box would be raspbian ... Running the python program at boot , assuming no ... scripts-at-boot https://www.raspberrypi-spy.co.uk/2013/07/running-a-python-script-at-boot-using-cron/#more-2067 ...
by kerry_s
Sun Mar 15, 2020 10:54 am
Forum: Beginners
Topic: "[SOLVED]"Pi Zero W Minimal System Startup
Replies: 40
Views: 2010

Re: Pi Zero W Minimal System Startup

... just put the "#!/usr/bin/python3" at the top and you can lose the "python", ... 3. setup locale settings 4. setup boot autologin 5. add your startup, this ... depending on what & when you need the script to run.
by maisen
Wed Mar 11, 2020 9:12 am
Forum: Networking and servers
Topic: Wondershare SIM7600E 4G HAT internet connection only after reboot or restart service
Replies: 1
Views: 315

Wondershare SIM7600E 4G HAT internet connection only after reboot or restart service

... after service restart or reboot. This means that if I turn off my Raspberry Pi 3 B+ completely, ... wwan0 configuration in my ltestartup script. How could i detect the failed configuration ... IP-Adress: ${IP}" echo $msg python /home/pi/Telegram/sendMessage.py ...
by FTrevorGowen
Sun Mar 08, 2020 10:17 pm
Forum: Beginners
Topic: PUTTY connection to SSH resets Raspi
Replies: 6
Views: 326

Re: PUTTY connection to SSH resets Raspi

Yes it is python script. On boot is ran the script. Script reads data from SPI slave and send throught HTTP request to ...
by Dubman
Mon Mar 02, 2020 9:48 am
Forum: General discussion
Topic: systemd service file to run at startup
Replies: 10
Views: 1592

Re: systemd service file to run at startup

... idea how to solve the issue. My python script is working correctly with: $ python ... But just can't get it to start automatically at boot This is what the terminal is showing at ...
by gordon77
Fri Feb 21, 2020 10:49 am
Forum: General discussion
Topic: Trying to get Python script to run at start up
Replies: 3
Views: 205

Re: Trying to get Python script to run at start up

If booting to the GUI to get a script to run at boot by adding the following line to /etc/xdg/lxsession/LXDE-pi/autostart

@/usr/bin/python3 /home/pi/filename.py
by klricks
Tue Feb 18, 2020 9:38 pm
Forum: Beginners
Topic: Confused - how to safely shutdown RaspPi 3b+
Replies: 8
Views: 572

Re: Confused - how to safely shutdown RaspPi 3b+

... a button / switch and any needed Python code. I currently have a small ... (GPIO 21) but have not tested that. If this is the right way to shutdown ... project board, that will be on at boot-up and go out when GPIO 27 changes, ... without the need for a running script by adding this to /boot/config.txt: ...
by JohnnyCyp
Mon Feb 10, 2020 4:24 pm
Forum: Troubleshooting
Topic: crontab launch a sh file at boot not working in buster
Replies: 2
Views: 225

Re: crontab launch a sh file at boot not working in buster

... launcher.sh has been made executable. Also change the last line of your script to include " & " #!/bin/sh # launcher.sh # navigate to home directory, then to this directory, then execute python script, then back home cd / cd /home/pi/homesecurity python startup.py & python ...

Go to advanced search