Go to advanced search

by metzz71
Thu Jul 14, 2016 3:01 pm
Forum: Python
Topic: Launching Python script at startup
Replies: 11
Views: 2443

Launching Python script at startup

... my new post. I have a python script that I would like to run at startup. This script sends an email to ...
by elParaguayo
Fri Jun 24, 2016 11:45 am
Forum: Graphics, sound and multimedia
Topic: Newbie needs assist with airplay project
Replies: 10
Views: 2399

Re: Newbie needs assist with airplay project

Shairport-sync should run as a service. The "--with-systemd" ... the instructions: Installation to a systemd system To ... it automatically at system startup. To enable Shairport ... of course, also set up a python script to run at boot as well. ...
by Xalaca
Fri Jun 24, 2016 10:21 am
Forum: Graphics, sound and multimedia
Topic: Newbie needs assist with airplay project
Replies: 10
Views: 2399

Re: Newbie needs assist with airplay project

... I've wrote a command that "killed" the sistem so I ... is it possible to run two programs automatically at startup, this shairport and a python script at the same time? Because that's ...
by James_Seeed
Wed Jun 22, 2016 7:46 am
Forum: Automation, sensing and robotics
Topic: ReRouter - Make an Extensible IoT Router
Replies: 0
Views: 1091

ReRouter - Make an Extensible IoT Router

... WiFi Connection Visualization: http://seeed.cc/project_detail.html?id=1176 ... Non-GMO HTTP library for Python, safe for human consumption. ... is the code that should be run on Arduino, RouterScript ... Step 7: Setup the the startup script Picture of Setup the the ...
by Pockers101
Fri Jun 17, 2016 9:27 pm
Forum: Python
Topic: CSV file and Adafruit IO
Replies: 3
Views: 1112

Re: CSV file and Adafruit IO

Oh great! Thanks for the reply. I was running the python code at startup, from a launcher script. It should then trigger every time ...
by klricks
Wed Jun 08, 2016 5:37 am
Forum: General discussion
Topic: Boot Program Startup
Replies: 1
Views: 477

Re: Boot Program Startup

... makes no sense for my to run Raspian in the background ... have a minimalistic OS that simply runs a python script at startup with no UI? Simply use the GUI ...
by Christian_Potts
Tue Jun 07, 2016 10:36 pm
Forum: General discussion
Topic: Boot Program Startup
Replies: 1
Views: 477

Boot Program Startup

... makes no sense for my to run Raspian in the background ... have a minimalistic OS that simply runs a python script at startup with no UI?
by Dairem
Sat Jun 04, 2016 7:18 pm
Forum: General discussion
Topic: No Beginners luck here!
Replies: 26
Views: 5935

Re: No Beginners luck here!

... $ sudo apt-get install python-mpd Reading package lists... ... single: off consume: off At this point the audio book ... the audio playing and then run the python script: see below pi@raspberrypi:~ ... -e Add following line run at startup @reboot python /home/pi/tobabp.py ...
by BMS Doug
Thu Jun 02, 2016 11:48 am
Forum: General discussion
Topic: No Beginners luck here!
Replies: 26
Views: 5935

Re: No Beginners luck here!

... for my ignorance, which update am I looking for? from the ... mpc sudo apt-get install python-mpd sudo apt-get install ... Copy the tobabp.py script to /home/pi nano /home/pi/tobabp.py ... -e Add following line run at startup @reboot python /home/pi/tobabp.py ...
by DanielTimis
Sat May 28, 2016 6:25 pm
Forum: General discussion
Topic: Startup script double instances
Replies: 9
Views: 2387

Startup script double instances

... having a problem with a s python script I run at reboot via /etc/rc.local. It's a ... I have tried to run the program at startup with cron but it didn't start it.
by asandford
Thu May 19, 2016 2:38 am
Forum: Advanced users
Topic: Running a Python Script On Boot
Replies: 13
Views: 12513

Re: Running a Python Script On Boot

... between you entering python myprog.py and having the system run it at startup. Linux is a multiuser system, ... /home/pi/myprog.py Typically, scripts run at boot have a minimal ...
by noob1
Sat May 14, 2016 6:23 pm
Forum: Raspberry Pi OS
Topic: Running a python script at startup
Replies: 21
Views: 23054

Re: Running a python script at startup

Thanks for the advice stderr, I realized the problem was the script was being run as root, the text files were being written to the root directory instead of the pi user directory. I added /home/pi/ when I called to open the text file to write to and this solved the problem.
by noob1
Sat May 14, 2016 6:07 pm
Forum: Raspberry Pi OS
Topic: Running a python script at startup
Replies: 21
Views: 23054

Re: Running a python script at startup

... been trying so many different ways to get my script to run on boot. The crontab -e solution works, the script runs, ... making assumptions in your code about those things that might not be correct when run with cron? Perhaps write ...
by stderr
Sat May 14, 2016 5:19 pm
Forum: Raspberry Pi OS
Topic: Running a python script at startup
Replies: 21
Views: 23054

Re: Running a python script at startup

... been trying so many different ways to get my script to run on boot. The crontab -e solution works, the script runs, ... making assumptions in your code about those things that might not be correct when run with cron? Perhaps write ...
by noob1
Sat May 14, 2016 5:03 pm
Forum: Raspberry Pi OS
Topic: Running a python script at startup
Replies: 21
Views: 23054

Re: Running a python script at startup

... for the info on this, I've been trying so many different ways to get my script to run on boot. The crontab -e solution works, the script runs, but it doesn't write to a text ...
by linux_author
Tue May 10, 2016 2:44 pm
Forum: General discussion
Topic: Uniker 320x240 TFT w/Case
Replies: 21
Views: 12183

Re: Uniker 320x240 TFT w/Case

hey folks... thought i'd update my efforts on configuring ... and four front buttons to run eye candy (game of life ... messaging... i'm not a python programmer, but i'm rapidly ... appreciate the ease of the scripting, editing, and debugging ... analog clock is the startup app note that this program ...
by wrybread
Thu May 05, 2016 9:12 am
Forum: General discussion
Topic: Help loading a shared library? [solved]
Replies: 4
Views: 1235

Help loading a shared library? [solved]

... to give me some clues. I'm running a Python script when the Pi boots up, and ... found for some reason when run at bootup. - the script launches ... with my script that runs at startup? Thanks hugely for any help.
by elParaguayo
Thu May 05, 2016 8:43 am
Forum: Other projects
Topic: RPi Information Screen for Official Raspberry Pi Display
Replies: 165
Views: 81765

Re: RPi Information Screen for Official Raspberry Pi Display

... story of a "very-very-python-and-kivy newbie". Since ... a proud user of your Information Screen project, powered ... screen : No problems at startup Great - "pong" screen ... I'll add it to the main script so other people can use ... plan" API Key from weatherunderground but the screen ...
by chivenonion
Sat Apr 30, 2016 4:34 am
Forum: Automation, sensing and robotics
Topic: Connect xbox 360 contoller inside python script
Replies: 1
Views: 623

Connect xbox 360 contoller inside python script

We are making a robot that has two motors independently ... is connected, we can run a python script to move the motors via the ... python script autonomously upon startup. It is desired to be able ...
by tom.slick
Thu Apr 28, 2016 5:09 pm
Forum: Python
Topic: Need Python Expert to Help me figure out how my script works
Replies: 21
Views: 2953

Re: Need Python Expert to Help me figure out how my script w

Yes, that did it. It is now working! The "Access ... it now reading the users.txt file at startup? So when I add new users I should restart the script? I believe this is the better way, ... print "did not get the number" If you run the above examples you will see the difference. ...
by paulv
Tue Apr 26, 2016 9:26 am
Forum: Automation, sensing and robotics
Topic: RPi Power Supply w. UPS, one button control
Replies: 10
Views: 12746

RPi Power Supply w. UPS, one button control

[Update Sep-17] A friend and I designed ... & stop) After initiating the startup process and the full boot, ... soon as the daemon starts to run. I also swapped a resistor ... changes. The software script is quite simple with just ... to power down : #!/usr/bin/python #------------------------------------------------------------------------------- ...
by chuckkh
Thu Apr 21, 2016 4:44 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 993
Views: 542692

Re: The I2S sound thread.

... Is it loaded? What's the output when you modprobe ... is loaded. I'm running kernel 4.4.7, with the ... to send a 9.6 MHz clock on startup; created a dummy card ... with that. Here are my scripts: gpio-clock.py: This ... was there before) python /home/pi/gpio-clock.py ...
by chuckkh
Thu Apr 21, 2016 4:03 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Low-level I2C
Replies: 13
Views: 2814

Re: Low-level I2C

Hi again. I have devised a startup configuration procedure according to the ... SGTL5000 is mounted). If I run: aplay -D hw:0,0 -c 2 -f cd ... and as soon as I run my Python script, using pigpio of course, to ...
by pcmanbob
Mon Apr 18, 2016 3:00 pm
Forum: Beginners
Topic: launch automatically python script
Replies: 4
Views: 864

Re: launch automatically python script

... really giving any information, did you get any error ... file. another way to run programs at startup is to use cron. this site ... python-script-at-boot-using-cron/
by donde321
Tue Apr 12, 2016 2:45 pm
Forum: Troubleshooting
Topic: Run script on start up
Replies: 9
Views: 4274

Re: Run script on start up

... agree, not a definitive statement! Here is what I want to do. Run a startup script for this before or after main ... so: #!/bin/sh cd /home/pi sudo python info_display.py & And lastly, ...

Go to advanced search