Raspberry Pi Coop Automation

LOL PBMO is short for Poplar Bluff Mo

So in Windblows you can use PuTTy to connect to the Rpi.

Which VNC do you use?

I'm similar and disassembled and mostly reassembled things starting at a very early age. Stories of me taking the toaster apart when I was just a toddler...

JT
 
I'll have to try that. For a terminal you can use PuTTy from Windoze.

I got to the very end installing and setting up Raspian 10 and ran into a snag that I'm working out this morning. When done you can read it here.

JT
 
ok, so I have the Rpi set up to get into it with SSH and VNC..
installed PyQt5
then with nano ~/bin/simple.py (it opens a file?) and I can place the test text into it...do I save it before we make it executable? if so, when I try to save it I get "[ Error writing /home/pi/bin/simple.py: No such file or directory ]"
and that is where I am stuck, what did I miss? I have not changed the username... its still pi..
I did set up a password to sign in to the pi.
 
ok, so I have the Rpi set up to get into it with SSH and VNC..
installed PyQt5
then with nano ~/bin/simple.py (it opens a file?) and I can place the test text into it...do I save it before we make it executable? if so, when I try to save it I get "[ Error writing /home/pi/bin/simple.py: No such file or directory ]"
and that is where I am stuck, what did I miss? I have not changed the username... its still pi..
I did set up a password to sign in to the pi.

To make a file just use the file manager to create the file then double click to edit the file. After your done right click on the file and set the permissions to executable.

Did you create a bin directory, there is not one by default?

Keep updating the tutorial page as I add to it.

JT
 
OK, I made a bin directory mkdir bin... saved it, so I can see it when I list the current directory ( I assume I put it in the root directory... right click? oh in "desktop file manager... I did the down arrow to list the properties... get a permissions tab...but I don't know how to make it executable.

I do think I managed to make it executable in terminal..."chmod u=rwx ~/bin/simple.py"
then with ls command I get "-rwxr--r-- 1 pi 301 Nov 1 10:08 /home/pi/bin/simple.py"
So I think I am good there...BUT when I put "simply.py" at terminal I get
"bash: simple.py: command not found" where else did I go wrong?
 
Give my tutorial some time to build and get published like 15 minutes or so and start over.

Root directory? User files never go in the root directory if your actually talking about the root directory.

In a terminal type in echo $PATH and if you don't see your user bin directory you missed a step, wait for the tutorial to finish building and refresh the tutorial page.

JT
 
echo $PATH
(results)
"/home/pi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
so many "bins"

Ok the tutorial is done building so follow it.

Actually /home/pi/.local/bin is a user bin but it's hidden so not much fun to use, that's why I revert to the old way and just have a /home/pi/bin in the path. Much easier to copy a file there and then you can run it in a terminal easy.

JT
 

New posts New threads Active threads

Back
Top Bottom