I replaced my OctoPi about 2 months ago for AstroPrint on the PI and i have to say i love it. It have very user friendly controls and it is extremly responsive to the controls. I havent used the built in slicer/cloud based so much so cant say if it is any good. The camera support beats OctoPi’s hands down any time of the week so to say.
If your using a relay or a signal switch of some type that turn on the power to the printer then yes. It is also possible to put a solid state relay on the output side of the PSU and then control that with a output port on the PI and then just make a web based control on the PI that switch the power on and off with that relay. Need some programing knowhow thow but this is a example you can look at. Just to show what i mean in term of a example. Imagine the Lamp in the video being your printer.
My suggestion is to put a SSR on the cable between the PSU and the Mainboard power and then have power on the PSU so you can have power for your PI with a power regulator that way and then switch the power on and off to the mainboard with the PI. A question here thow is if your using more then 1 PSU for a heatbed or something but the principle could be the same.
If you have a fritz.box, you could use the DECT power switch from AVM, which I am using, and that works perfect.
The Pi and the printer is connected to that DECT main switch. it is abt 44EUR in total.
Otherwise, you can use a relay via the GPIO and that can switch the main of the printer.
that was something I was planning but decided against it and using DECT
[quote=“3Design”]then i m also going to use astroprint, but i have a question about the power switch,
when i m not home and i want to print, can the raspberry pi power on the printer?[/quote]
Has astroprint support for addons? Or a feature to launch shell commands on the PI cuz I got some stuff hooked to my GPIO (ON/OFF Lights inside my closet ventilation etc…) and want to control those which I had going on with some bash scripts in octopi. I hope it has some build in stuff so its easy to add some sort of buttons in astroprint.
Short question: how?
I couldn’t really find any info on any add-ons. Rpi-cam isn’t enabled by default so you have to log in on the shell first and run raspi-config before that works. Except a terminal for g-code I couldn’t really find anything to launch some lines of python with to switch the gpio outputs with? Am I missing something here? Then the second thing that gave me mixed feelings is the camera… There seems no way to view a stream while not printing? Might be there’s some mjpg-streamer service running? So it can be watched on a for me unknown port or subdomain at this point? Also while printing you only get small snapshots and no livefeed So that’s the somewhat negative feeling I have with astroprint… It feels far from complete but it has a great potential imho… The interface with the huge buttons is really something I like allot! The pretty easy setup procedure is far more easy that octoprint. But it would be a killer piece of software if they would document it some more for advanced features… I’m sure I could dig into the scripts on github but that’s not really what I was looking for… Octoprint has a systemcommand addon which made my life so much easier… So for now I’m going to swap SD again and run octoprint.
So my conclusion at this point:
Super nice interface and easy setup which is the best for people looking for a way to remotely start their prints and check once and a while how it’s doing, but only that.
Advanced features are on their todo list but untill that it has some features missing over octoprint imho.
They have something called the AstroAPI that is for doing things like plugin’s and adding customizer functions and integration of lets say market place and so on and on. I have not applied yet to the developer program for it. Been meaning to see what they got in that thing.
When you get access to the API your supposed to get access to a developer dashboard. That is as much as i know of that part so far. There is a link in the bottom of the homepage for developers if you want to apply to it.
So not as in “Simple” editing a config file and changing a line from default to advanced>. To get some stuff working? So I’m actually forced to manually edit the files and what the hell is jinja2 I have never heard of that markup extension before… Hmmm they got some templates in their github i’ll look into…
Tips for those who has testet the OctoPi and has issues with MicroSD card and corrupt files after reboots.
I had issues with a transcend 16gb card.
Update Firmware on the Raspberry with the: “sudo rpi-update” command on the console…
After firmware upgrade all the disk errors were gone.