Closed Voxel3DPrinting closed 2 years ago
I might have to get the assistance of @kantlivelong on this one, as I do not know much in regard to how the PSU Control plugin's CLI commands work.
The CLI just makes API calls so it's not much different than using curl
. Was it tested manually from SSH?
The CLI just makes API calls so it's not much different than using
curl
. Was it tested manually from SSH?
I do not have the knowledge how to test it with SSH or what SSH exactly is in the first place.
I just would like to know which steps to take to get the printer turned on before a print job, with the printschedule and PSUcontrol plugin.
If you could tell me what to do I want to help
how to SSH: https://libguides.nyit.edu/c.php?g=469894&p=3365470
once there run the same command you entered in the plugin's settings and see what's returned.
I asked some someone with knowledge and will try that this evening
Hi, I tried what you said and sent the command thru putty SSH connection, it returns "no such file or directory" image is attached.
Replace pi
with the username you chose to use.
this worked, thanks! I added this line to the start command. Maybe an Idea to add this instruction to the wiki page? or mention this issue??
The command now works, but the print does not start at the given time. I think the time is set incorrectly. Is there any way to check the time raspberry thinks it is?
Check your logs, they are time stamped. You probably have to ssh to the pi and set timezone.
added note to wiki page
Check your logs, they are time stamped. You probably have to ssh to the pi and set timezone.
They seem to report the right time, I live in the Netherlands
Any way I can check it in SSH?
added note to wiki page
Cool!
Any way I can check it in SSH?
timedatectl
I meant the lines inside the log file. I typically use sudo raspi-config
I did it! went to sudo raspi-config, then to localisation options-> timezone and to my local timezone
Should work now! thanks so much
Time reports good
Hi,
I ain't much of a programmer myself, therefore my (maybe stupid) question, but I cannot get the auto power on to work before each scheduled print. I do not understand other articles on what exactly I need to do but based on the article "https://github.com/jneilliii/OctoPrint-PrintScheduler/wiki/Helpful-System-Commands" and "https://github.com/jneilliii/OctoPrint-PrintScheduler/issues/12" I tried adding "/home/pi/oprint/bin/octoprint plugins psucontrol:on" to the "System Command Before Each Print" section. Unfortunately, it did not work. I do know for sure I have the PSU Control plugin installed which works fine.
I do not know if my time is set correctly and do not know where to find/check/edit "raspi-config for pi via SSH"
Is anyone feeling generous to help?? Thanks in advance!