Help wanted: turning on or off an output has no effect. #89
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am using BCM pin 14 (board pin 8) no matter if I enter it as 8 or 14 in the settings it does not work.
I am uploading my logs, any help would be appreciated.
Thanks!
and sorry for the stupid question
octoprint.log
What is the model of you raspberry pi?
Do the following steps:
Another good idea is to first figure it out if the error is with the pi access to GPIO.
Just create a simple python script like:
Name it test.py, then try to run without sudo:
python ./test.pySee if you have any error....
I think you are having the same issue of https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/84.
Are you using an old octopi image? those have issues with access to the GPIO using pi user.
You can check if that is the case if you try to create the script that I told you and run as the pi user. If you get errors than this is the same issue.
I suggest download a new image, and install the plugin again if that is the case.
By the way, the log that you sent GPIO was set to be using BOARD numbers....
I know it was using board numbers which is why I tried 8 originally.
The Python script worked once I changed the 18 to 14... and I have now made 2 python scripts, one to turn the printer on and one to turn it off and I am using the system command editor plugin to add buttons to run the python scripts and the GPIO, (It is all working now) thanks!
no problem...