Astroprint on Orange Pi Zero

Hi, I’m sorry, I was too bussy to continue the project, as soon as I could in a few weeks, I will continue to work on the project to bring you an update and a working image. Astroprint team is too bussy with Raspberry Pi to support any other board so I’m the only working on this for fun in my spare time. I’ll keep you updated!

2 Likes

Good to hear you’re still active! Sorry to hear that the team won’t/ can’t support you. It would be very nice to have multi-platform support. Please do keep us posted. Thanks for taking the time!

2 Likes

Hi Alberto,

I can help to prepare the image,since I am now installing astroprint source into orange pi zero, with some problem can need to figure out step by step …

Regards

1 Like

got the astroprint work on Orange Pi Zero …
but only with Ethernet, not the wifi
can’t update from web-gui

Can help to give hints on fixing this ?

Regards

it’s seems I can only replace exisinting pi3 config with OpiZero, but can’t create a new configuration to use the cloud,
since there are box-id control the id connect to astroprint cloud …

we can use Pi Zero W but the CPU is not powerful as Opi Zero …:slight_smile:

@fred2088, the box id is generated automatically by the box if it doesn’t exists. Make sure you don’t flash the following file in your image: <config_dir>/box-id, the default config dir is <astrobox_root>/local and the config dir in our image distribution is /etc/astrobox

You can indicate the config dir witht the ---config=<dir> parameter when executing the run command

Just do a factory reset from the web interface and you are good to go. The python script should give you a fresh config with a new box-id automatically. After doing that I saw no difference between Raspberry pi and Orange pi Zero. I need to find the python method to perform it on the installation script but i’m learning python right now :’(

im going to try on orange pro lite… do you think it is working

@Alberto, @fred2088, guys, this kills me, please, can you share the step by step instructions how to install Astroprint on OrangePi Zero ? Or even better, share a flashable working image ? This would be a real life saver for many people with OPiZero… Thank you in advance :slight_smile:

I managed to run AstroPrint on BeagleBone Green installing everything manually on Debian. I don’t have OrangePi Zero but entire process should be the same…
My fork: https://github.com/bula87/AstroBox

I managed to run web gui, and even update SW via cloud update…

Update:
I managed to run wifi on BBg and tomorrow I will connect the printer but there shouldn’t be any problems. So, it looks like, beaglebone also could be a AstroBox platform.

PS. there could be some missing packages (I instaled it ad-hoc so I could miss something in setup script). When all functionalities will be up and running I will do the full process again to add missing parts.

is this worked out? Can it all work on the cloud etc but without camera now?

Sorry, I had busy time with some prints and I hadn’t had a chance to check BBG - printer connection. Will do this today evening. And USB camera should also works. I think I still have one, so will check also.

1 Like

So I checked it yesterday and there are still 2 issues:

  • Astrobox process doesn’t start automatically
  • my camera was detected but gstreamer crashed, it could be problem with my camera, will try to fix it

But the rest, cloud connection, printet connection and control works fine, at least for my sailfish printer.

Ok, I am just trying to build a print server for my buddy who got a printer recently, I have an Orange Pi Zero 512mb to give him so no camera anyhow :slight_smile: I just want to put it on his marlin printer and connect it to his wifi AP, I like astroPrint because it has cloud connect to check on prints and notify when its done.
He wont even have a camera lol.

but autostart the process is important :slight_smile:

TQVM

So, today I managed to fix a issue. It was just a problem with my bbb debian version. By default it has installed http server with some beaglebone tutorials itp. and it blocked start of AstroPrint. I added also one new package to dependencies list. I forgot to install haproxy and I had to use port 5000 and ip provided by router. now it works as official release.
Tomorrow or during the weekend I will reflash my sd-card and do everything from the beginning to catch all missing packages.

Eagerly await :slight_smile: Will you produce a flash able image or must I work through a set of instructions?

tqvm for the effort btw

You will have to ssh to your Orange Pi zero, do a git clone of my fork and execute setup command.
I don’t have orange pi, so I cannot prepare flashable image.
But if everything will work you will be able to dump your sd card for future

sorry for being a newbe when it comes to this sort of stuff, I flashed Debian server onto the sd card, I got SSH into it, ran ‘sudo apt-get update’ and ‘apt-get upgrade’ so thats done.

I do not know how to fork or any of those things. Could you paste the lines I need to follow or is that too much?

Follow instructions from readme file:

So, just ssh to your board and:
cd /
sudo git clone https://github.com/bula87/AstroBox.git
sudo /AstroBox/setup.sh

Thanx, I am discovering that debian server has some issues with Opi Zero Wifi interface, your fork should work on Armbian just the same right?