Remote Controlled Power Connector Plugin?
Hello,
Would it be possible to implement this one like in octoprint, too?
https://blog.seidel-philipp.de/anleitung-3d-drucker-mit-octoprint-einschalten-und-ausschalten/
That would be great ! For each Printer a seperate wireless power connector
Regards
Mario Mönch
Would it be possible to implement this one like in octoprint, too?
https://blog.seidel-philipp.de/anleitung-3d-drucker-mit-octoprint-einschalten-und-ausschalten/
That would be great ! For each Printer a seperate wireless power connector
Regards
Mario Mönch
Comments
I've the same request for wireless power connector to be implemented in Repetier Server. Is there already a workarround available with a script?
Kind regards
Klaus
<command>
<name>Drucker01 ON</name>
<execute>sudo /home/pi/raspberry-remote/send -p 27 10100 1 1</execute>
<confirm>Really POWER ON Drucker 01?</confirm>
</command>
after that I rebooted the system and have the new function button.
But the RepetierServer doesn't run it when I press it.
If you copy sudo /home/pi/raspberry-remote/send -p 27 10100 1 1 to the bash in putty it works.
Any suggestions?
https://www.repetier-server.com/manuals/0.50/index.html
the Programm I want to run is based in:
/home/pi/raspberry-remote
What do I have to enter in order to make repetierserver able to execute it?
Should add it into the sudoers list, so that sudo does not ask for a password, which is the main problem here you try to solve.
echo "repetierserver ALL=NOPASSWD: /home/pi/raspberry-remote/send" > /etc/sudoers.d/repetierserver-remote
With this I finally got it to work ! Thank you guys for your fast help!
If anybody wants to know how to install and connect Hardware and Wiring Pi libraries feel free to contact me
And what about adding the send command to the gcode?
I added
"@execute test.sh "
to the gcode endscript because of params of the send command
The test.sh is+0777 and contains:
#!/bin/bash
sudo /home/pi/raspberry-remote/send -p 27 10100 3 0
But it's not working
something I forgot ?
so here the command is
@execute play
and it will run /home/pi/test.sh
important is to use full path and again it is run as user repetierserver. Means that path must be readable for that user (so all user read/execute permission must be set).