PIR Sensor Install Problems
So I am using Cowboydude’s module for the PIR sensor to turn off and on the mirror. Following the instructions here
When I typed in “sudo chmod +x pir.py”, it says the directory or file cannot be found. I know it says to install it in the root folder but I do not know how to do that. So I improvised and used sudo mv after installing it into /root. I do not know if that would provide the same results. Could anyone give me some guidance?
sudo mv after installing it into /roo
mv is move… where did you move it to? if not in root…
installing in root is either copy (cp) from somewhere else to / (root)
or editing there with nano, vi, gedit or whatever editor you like or use
root is really a bad place… but easy to find ls /
@sdetweil so i should use cp? i moved it to /root
@anhanyoung move (mv) moves single instance around
Copy(cp) make another instance in another location.
Depends on what u want to do.