Go to advanced search

by TimvanderHorst
Fri Nov 08, 2019 5:43 pm
Forum: Automation, sensing and robotics
Topic: Setup Automation Camper RV multiple Pi's and Arduino
Replies: 2
Views: 97

Setup Automation Camper RV multiple Pi's and Arduino

... I'm looking for some startup advice on how to setup ... better to use one big script or smaller ones? I want ... on making different Python scripts which I planned to run simultaneously. At the center I want to use a Raspberry ...
by Higns
Tue Nov 05, 2019 12:01 pm
Forum: Raspbian
Topic: Raspbian startup script to run python script with PyQt5
Replies: 0
Views: 70

Raspbian startup script to run python script with PyQt5

... I am trying to run a python script on startup which uses PyQt5 library to create a window. I am using a raspberry pi ...
by neilgl
Thu Oct 31, 2019 11:11 am
Forum: General discussion
Topic: I want to push a button to send a preconfigured email
Replies: 13
Views: 709

Re: I want to push a button to send a preconfigured email

... as keys22c.py #!/usr/bin/python3 import RPi.GPIO as GPIO ... = 'Subject: {}\n\n{}'.format(mysubject, mytext) try: server ... sleep(0.5) To get it to run at startup, login as pi (no sudo ... to where you have saved the script. It creates a log file ...
by JohnsUPS
Thu Oct 24, 2019 1:24 am
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 37
Views: 19249

Re: Multiple DS18B20 temperature sensors

... has to do with the fact that the temperature sensors are ... time to recognize this at startup? It seems hit & miss. ... detected. Unfortunately my python script stops when less then three ... voltage that the sensors are running at (3V3), the value of ...
by barth_
Tue Oct 22, 2019 7:45 am
Forum: Troubleshooting
Topic: Pi RDC crashes, HDMI works fine
Replies: 0
Views: 95

Pi RDC crashes, HDMI works fine

... putty) will not connect at all. This issue started few ... I added functionality on startup. I run 13 python scripts at once (I have shell script ...
by B.Goode
Wed Oct 09, 2019 4:52 pm
Forum: Troubleshooting
Topic: Running .py file from boot using rc.local
Replies: 19
Views: 476

Re: Running .py file from boot using rc.local

... run-a-program-on-your-raspberry-pi-at-startup/ , but afterward nothing ... ? And the corresponding python script.
by ilovecoffee
Mon Sep 02, 2019 9:34 pm
Forum: Troubleshooting
Topic: Crontab working properly on Rpi 3 but not Rpi 4
Replies: 2
Views: 105

Crontab working properly on Rpi 3 but not Rpi 4

So... An odd situation, please bear with me. Testing ... on both using these bash scripts https://gist.github.com/willprice/abe456f5f74aa95d7e0bb81d5a710b60 Confirmed Python script works fine via terminal ... /home/pi/script.py & Runs at startup on pi3 Does not seem to run on pi4. I can't quite diagnose ...
by jefferu
Thu Aug 22, 2019 7:39 am
Forum: Python
Topic: RFID Card reader [Problem]
Replies: 0
Views: 133

RFID Card reader [Problem]

... an RFID based card reader. At startup (python read.py) there are two scripts which get executed "Switchscript" ... landing page. The script has to run 24/7. Problems: Somehow after a ...
by Florisjan
Wed Aug 21, 2019 8:22 am
Forum: Troubleshooting
Topic: Pi zero crashes after cron.hourly [solved]
Replies: 12
Views: 608

Re: Pi zero crashes after cron.hourly

... pingpong rngd[311]: stats: Time spent starving for ... ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; ... back at boot. I have a python script running which keeps an ... went through shutdown/startup loop 4 2019-08-21 03:01:08.303060 ...
by ghp
Sat Aug 17, 2019 5:47 pm
Forum: Python
Topic: Quckest Bootable OS For Python Scripts ?
Replies: 3
Views: 1618

Re: Quckest Bootable OS For Python Scripts ?

for starting a program at startup, see
https://www.dexterindustries.com/howto/ ... t-startup/

Your script "its ascript which when a input is pressed it triggers a gpio " needs console input, or gpio input ?
If only GPIO is needed, use systemd to start.
by Andyroo
Sun Jul 21, 2019 12:38 pm
Forum: General discussion
Topic: Boot python script in minimized windows?
Replies: 1
Views: 99

Re: Boot python script in minimized windows?

I know when you run it from the menu you can set the size with

Code: Select all

 lxterminal --geometry=80x40 -e ...
Maybe set that to 0x0?

You could try installing xdotool (if its not loaded) and

Code: Select all

xdotool windowminimize $(xdotool getactivewindow)
Would you do better to run this from CRON or SYSTEMD etc?
by SANGER_A2
Wed Jul 17, 2019 8:09 am
Forum: Graphics, sound and multimedia
Topic: Complete Pi Camera Timelapse Python Script
Replies: 0
Views: 408

Complete Pi Camera Timelapse Python Script

I've attached a timelapse camera Python script for anyone who wants it. It uses ... Pi at random. The Python script is run on startup using systemd (there are loads ...
by fbe
Sat Jul 13, 2019 8:08 pm
Forum: Troubleshooting
Topic: Bluetooth issue when python script run from boot console
Replies: 13
Views: 487

Re: Bluetooth issue when python script run from boot console

Any reason you need to run under SUDO? Your recommended help. ... This may ... at-startup/ ... ... Sudo, sudo, sudo, lovely sudo Wonderful sudo, ...
by cbkn76
Fri Jul 12, 2019 9:46 pm
Forum: Troubleshooting
Topic: Bluetooth issue when python script run from boot console
Replies: 13
Views: 487

Re: Bluetooth issue when python script run from boot console

My guess is a user / path issue This may help https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/ but please do not let that stop you ... several of these issues when starting the script on boot. Also wondered if pulse audio ...
by Andyroo
Fri Jul 12, 2019 9:31 pm
Forum: Troubleshooting
Topic: Bluetooth issue when python script run from boot console
Replies: 13
Views: 487

Re: Bluetooth issue when python script run from boot console

My guess is a user / path issue

This may help https://www.dexterindustries.com/howto/ ... t-startup/ but please do not let that stop you posting details as requested above :lol:
by JohnnyCyp
Tue Jul 02, 2019 10:57 am
Forum: General discussion
Topic: Run two scripts simultaneously at RPi's boot.
Replies: 8
Views: 403

Re: Run two scripts simultaneously at RPi's boot.

... them every minute to run 2 I use systemd and have script for both however the simple ... # launcher.sh # navigate to home directory, then to this directory, then execute python script, then back home ... /home/pi/homesecurity/startup.py & /full/path/to/python ...
by RaTTuS
Tue Jul 02, 2019 9:50 am
Forum: General discussion
Topic: Run two scripts simultaneously at RPi's boot.
Replies: 8
Views: 403

Re: Run two scripts simultaneously at RPi's boot.

What is the best way to run two python scripts simultaneously when Raspberry Pi ... cd / cd /home/pi/homesecurity python startup.py python web.py Also when i execute ...
by JohnnyCyp
Tue Jul 02, 2019 9:27 am
Forum: General discussion
Topic: Run two scripts simultaneously at RPi's boot.
Replies: 8
Views: 403

Run two scripts simultaneously at RPi's boot.

What is the best way to run two python scripts simultaneously when Raspberry Pi ... cd / cd /home/pi/homesecurity python startup.py python web.py Also when i execute ...
by LooneyTune
Wed Jun 19, 2019 5:55 pm
Forum: Troubleshooting
Topic: Harry Potter lamp project
Replies: 3
Views: 283

Harry Potter lamp project

... let me start by saying that I'm very, very new to the ... able to get the rpotter script to run and boot on startup. But as soon as I went to ... pigpiod export DISPLAY=:0.0 python ~/.virtualenvs/cv/lib/python3.5/rpotter.py ...
by Andyroo
Fri Jun 07, 2019 4:50 pm
Forum: Beginners
Topic: Autorun python script on startup
Replies: 1
Views: 98

Re: Autorun python script on startup

Bit hard to help without any more details but maybe this site can help https://www.dexterindustries.com/howto/ ... t-startup/ ?
by pcmanbob
Fri May 31, 2019 2:29 pm
Forum: Beginners
Topic: run script at startup
Replies: 16
Views: 1028

Re: run script at startup

... for my model railway, and these run from the moment power is applied. ... a Raspberry Pi in the same way? At the moment I have to wait about ... loaded that it can run the pyrhon script. Can an RPi be used to run python straight away? No the pi is a fully ...
by eddieprice7
Fri May 31, 2019 9:49 am
Forum: Beginners
Topic: run script at startup
Replies: 16
Views: 1028

Re: run script at startup

... for my model railway, and these run from the moment power is applied. ... a Raspberry Pi in the same way? At the moment I have to wait about ... loaded that it can run the pyrhon script. Can an RPi be used to run python straight away?
by ivanpop
Thu May 16, 2019 5:56 pm
Forum: Beginners
Topic: raspberry pi as a server watchdog
Replies: 7
Views: 494

Re: raspberry pi as a server watchdog

... got the pi. I feel sad that I didn't get one earlier. ... a simple site and it's running great. It's not worth ... in windows. I did some python and I think I've done ... have to set it to run at startup. I haven't tried it ... I intend to make a second script, identical to this one ...
by Andyroo
Tue May 14, 2019 2:29 am
Forum: General discussion
Topic: Python library not found when running script through rc.local
Replies: 2
Views: 172

Re: Python library not found when running script through rc.local

If you are thinking of more programs to start at boot, you may find https://www.dexterindustries.com/howto/ ... t-startup/ of interest.

Go to advanced search