ludiazv / octocitrico Goto Github PK
View Code? Open in Web Editor NEWOctoPrint for other fruits
OctoPrint for other fruits
helo, after edit octoprint.txt (camera_usb_options="-r 1280x720 -f 10 -y"), and enabling webcam service i reboot and all work fine? but after next reboot camera dont work. Then i edit octoprint.txt (camera_usb_options="-r VGA-f 10 -y")? rebot and all work, but to next rebot. webcam logitec c310. pls help. I am noob ( webcamd.service start only one time after reboot.
In octocitrico.sh
the line
OCTOPI_TAG="0.18.0"
refers to
https://github.com/guysoft/OctoPi/tree/devel/src/modules/octopi/filesystem/home/root/bin
In devel Branch of this repo there are new changes to install mjpeg-streamer w/o user names.
These changes are not in octocitrico. That's why mjpg-streamer installation doesn't work with modified user.
One example_ In webcamd, the line MJPGSTREAMER_HOME=/opt/mjpg-streamer differs.
Hello,
I am trying to get the webcam/timelapse to work on an OrangePi 3 LTS, I am using a Logitech C920.
I am unable to turn the WebCam Streamer on by using sudo scripts/citrico-config.
I have modified octopi.txt as follows:
camera="usb"
camera_usb_option="-r 1920x1080 -f 30"
All other options I have left untouched.
I have also ran the commands from this comment:
#9 (comment)
Despite all of this, OctoPrint says the webcam server is currently not running.
Attached are screenshots of other troubleshooting I have done. Any help regarding this is appreciated and please ask me to provide any additional information you need. Either way a big thank you for creating the boot image.
I can't usearmbian-install
code to install in EMMC.It suggests that I may not have the right environment path
How to add dual camera?plz
Requesting support for the Orangepi Lite. It's basicly an OrangePi One but with wifi and no ethernet, so it shouldn't be too out there to get support working. I'd be happy to help test it on my orange pi lite board.
Does this automatically resize the SD card on first run to use the entire SD card? I want to run a 32GB card for octoprint.
As the title states, Jammy cannot find the Wireless Adapter of the OrangePi 3 LTS (859 according to the spec sheet). Rolliing back to the Bullseye build corrects the issue. When I have the chance, I'm going to look through Interfaces to see where the issue is being held up. Please stay tuned!
If I have octoprint reboot the orange pi zero 2, it will shut down but not reboot. I unplug the usbc cable, plug it back in, and fan will start, ethernet lights will blink, but status led light will remain off and the Pi doesn't boot. I can randomly get it to turn back up if I unplug and plug back in the usbc cable and/or ethernet cable. Led light is constant red/orange, is something wrong?Have tried different Pi zero 2's, using the same sd card though. Is this a known issue, do I have to reflash my drive, or just the nature of the pi z2?
Wanted to support the project but when I try to donate through your link (buy you a coffee) I get this message when the paypal window pops up "You do not have permission to access or perform operations on this resource."
Hello,
with the latest version of the armbian distribution compiled for the bananapi m2 zero, the file /etc/haproxy/haproxy.cfg when parsed gives some errors due to the fact that certain functions have disabled between haproxy v2.0 and v2.1.
I have solved by downloading a hf_arm debian package of haproxy version 1.8, removed the latest version coming with the release and installed the older one. With the older package the haproxy config file works properly and it is possible to access octoprint from another machine using the IP address or the host name of the bananapi.
Regards
Alberto Revelant
... and if so, is it possible to install it on the internal 8GB eMMC?
any support for orange pi plus?
First -- thank you so much for putting this together.
I tried to do a build for the BananPi M2 Zero but its failing. First I get a login to Gitthub Error:
[ o.k. ] Adding [ Wireless drivers for Realtek RTL8811CU and RTL8821C chipsets commit:7b8c45a270454f05e2dbf3beeb4afcf817db65da ]
[ o.k. ] Checking git sources [ rtl8811cu 7b8c45a270454f05e2dbf3beeb4afcf817db65da ]
[ .... ] Creating local copy
[ .... ] Fetching updates
Username for 'https://github.com':
.
.
.
fatal: Authentication failed for 'https://github.com/morrownr/8821cu-20210118/'
Looking at this repo it doesnt exist any longer. There are other s with different dates though. I get past that after I enter my username and git password twice. (Which it doesnt like) the build process continues but then ultimately fails with:
[ o.k. ] Using kernel config file [ config/kernel/linux-sunxi-current.config ]
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
drivers/net/wireless/Kconfig:41: can't open file "drivers/net/wireless/rtl8811cu/Kconfig"
make[1]: *** [scripts/kconfig/Makefile:77: olddefconfig] Error 1
make: *** [Makefile:622: olddefconfig] Error 2
[ .... ] Compressing sources for the linux-source package
1.24GiB [39.1MiB/s] [======================================================================================================================================================================================> ] 83%
dpkg-deb: building package 'linux-source-5.15.93-current-sunxi' in '/tmp/tmp.NFHWQi3bfI/linux-source-current-sunxi_23.02.2_all.deb'.
[ o.k. ] Make the linux-source package [ 43 sec. ]
SYNC include/config/auto.conf.cmd
make[2]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
make[1]: *** [Makefile:622: syncconfig] Error 2
make: *** [Makefile:742: include/config/auto.conf.cmd] Error 2
[ error ] ERROR in function compile_kernel [ functions/cli/cli-entrypoint.sh:109 -> functions/main/build-tasks.sh:280 -> functions/main/build-tasks.sh:155 -> functions/compilation/kernel.sh:143 -> functions/logging/traps.sh:0 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated
Hi, as discussed via pm I'm opening this request to ask for Orange Pi Pc support.
I have the device and can test the image for proper configuration, if I get the a list of things/commands to check.
Thx in advance for the effort!
Is it possible to upgrade between major versions of Armbian or is that not recommended? I am currently on Welcome to Armbian 21.08.6 Buster with Linux 5.15.93-sunxi
and was hoping to upgrade to 22 or maybe even 23, but I also did not want to do a full reset of the OS if possible. Any guidance would be appreciated.
I can't manage my camera "Logitech C170" to run on OPi PC
pi@citrico-opipc:~$ systemctl status webcamd.service
● webcamd.service - the OctoPi webcam daemon with the user specified config
Loaded: loaded (/etc/systemd/system/webcamd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-04-20 16:48:21 UTC; 2min 53s ago
Process: 1320 ExecStart=/root/bin/webcamd (code=exited, status=0/SUCCESS)
Main PID: 1367 (mjpg_streamer)
Tasks: 2 (limit: 2065)
Memory: 984.0K
CPU: 270ms
CGroup: /system.slice/webcamd.service
└─1367 ./mjpg_streamer -o output_http.so -w ./www-octopi -n --listen 127.0.0.1 -i input_uvc.so -r 1024x768 -d /dev/video1
pi@citrico-opipc:~$ sudo journalctl -u webcamd.service
I need to start manually the webcamd.service even it is enabled in scripts/citrico-config
But i still have error "Webcam stream not loaded"
LED on webcam isn't lit
Also i can't establish connection with Octoprint on web browser without typing port 5000 because the HAProxy won't work:
pi@citrico-opipc:~$ systemctl status haproxy.service
● haproxy.service - HAProxy Load Balancer
Loaded: loaded (/lib/systemd/system/haproxy.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-04-20 17:08:40 UTC; 25s ago
Docs: man:haproxy(1)
file:/usr/share/doc/haproxy/configuration.txt.gz
Process: 1813 ExecStartPre=/usr/sbin/haproxy -f $CONFIG -c -q $EXTRAOPTS (code=exited, status=1/FAILURE)
CPU: 43ms
pi@citrico-opipc:~$ sudo journalctl -u haproxy.service
Journal file /var/log/journal/f9e625e74d4d4da38d1b700f20eef421/system.journal is truncated, ignoring file.
-- Journal begins at Sat 2022-03-26 13:38:38 UTC, ends at Wed 2022-04-20 17:10:03 UTC. --
Mar 26 13:39:15 citrico-opipc systemd[1]: Starting HAProxy Load Balancer...
Mar 26 13:39:16 citrico-opipc haproxy[1559]: [ALERT] 084/133916 (1559) : parsing [/etc/haproxy/haproxy.cfg:25] : 'bind :::443' : unable to load certificate from file '/etc/ssl/snakeoil.pem'.
Mar 26 13:39:16 citrico-opipc haproxy[1559]: [ALERT] 084/133916 (1559) : parsing [/etc/haproxy/haproxy.cfg:35] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request r>
Mar 26 13:39:16 citrico-opipc haproxy[1559]: [ALERT] 084/133916 (1559) : parsing [/etc/haproxy/haproxy.cfg:36] : The 'reqadd' directive is not supported anymore since HAProxy 2.1. Use 'http-request a>
Mar 26 13:39:16 citrico-opipc haproxy[1559]: [ALERT] 084/133916 (1559) : parsing [/etc/haproxy/haproxy.cfg:37] : The 'reqadd' directive is not supported anymore since HAProxy 2.1. Use 'http-request a>
Mar 26 13:39:16 citrico-opipc haproxy[1559]: [ALERT] 084/133916 (1559) : parsing [/etc/haproxy/haproxy.cfg:43] : The 'reqrep' directive is not supported anymore since HAProxy 2.1. Use 'http-request r>
Mar 26 13:39:16 citrico-opipc haproxy[1559]: [ALERT] 084/133916 (1559) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
Mar 26 13:39:16 citrico-opipc haproxy[1559]: [ALERT] 084/133916 (1559) : Fatal errors found in configuration.
Mar 26 13:39:16 citrico-opipc systemd[1]: haproxy.service: Control process exited, code=exited, status=1/FAILURE
Mar 26 13:39:16 citrico-opipc systemd[1]: haproxy.service: Failed with result 'exit-code'.
Mar 26 13:39:16 citrico-opipc systemd[1]: Failed to start HAProxy Load Balancer.
I'm using latest release v22-02-1
I have been unable to get WiFi working thus far - I have entered wifi network details using nmtui
, However the device will not connect to the network. This appears to be because there are no wireless network adapters available. Here is the output for nmcli device status
:
$ nmcli device status
DEVICE TYPE STATE CONNECTION
end0 ethernet connected Wired connection 1
lo loopback connected (externally) lo
As you can see, we have no wireless devices listed. Is there a way to enable the wireless network adapter? Has anyone else had success with wifi in the latest. build?
Hello. I have enabled webcam in citrio-config and rebooted however when I try to access the stream URL in octoprint I get a 404 and when I run
pi@citrico-rock64:~$ systemctl status webcamd
I get
● webcamd.service - the OctoPi webcam daemon with the user specified config Loaded: loaded (/etc/systemd/system/webcamd.service; disabled; vendor preset: enabled) Active: inactive (dead)
I see that the service is dead. Attempting to manually start the service results in the process hanging at activating before eventually going back to being dead
● webcamd.service - the OctoPi webcam daemon with the user specified config Loaded: loaded (/etc/systemd/system/webcamd.service; disabled; vendor preset: enabled) Active: activating (auto-restart) since Wed 2022-05-11 16:19:40 UTC; 953ms ago Process: 2431 ExecStart=/root/bin/webcamd (code=exited, status=0/SUCCESS) CPU: 124ms
Hi, thank you for the help. I manage to install, but now I have another problem:
There is not enough free disk space available to run an update:
To reduce the likelihood of running into update problems due to insuffient disk space, OctoPrint requires a minimum of 150.0MB free disk space in various locations:
Python package installation folder (/home/pi/oprint/lib/python2.7/site-packages): 5.4GB free
Plugin folder (/home/pi/.octoprint/plugins): 5.4GB free
System temporary files (/tmp): 107.0MB free
I looking in FAQ, and I don't find any clue
Thank you
Does anyone know if citrico on banana pi m2 zero works with "raspi" camera?
Checking mjpg_streamer directory, i cant find input_raspi.so
Trying to recompile mjpg_streamer I get:
The following features have been disabled:
* PLUGIN_INPUT_RASPICAM, Raspberry Pi input camera plugin (unmet dependencies)
Thanks!
After burn the image to the sd card and then power up the banana pi, it starts ok but the keyboard is not working. I try several keyboards with no success. Other builds works fine here but this one don't. Without keyboard, I could not configure wifi, it is useless.
PS: I am Windows user, so can't build the image.
Armbian_22.02.0-trunk_Orangepizero_bullseye_current_5.15.31
The firmware ssh works fine, but it does not open in the browser.
But I can't open his webgui via IP in my browser
ERR_CONNECTION_REFUSED
Then I tried this Armbian_21.05.1_Orangepizero_buster_current_5.10.34 firmware and everything worked fine.
Hi,
I am building an image for opizero.
I'd like to use the additional USB hosts.
So, I need to add overlays usbhost1 and usbhost2.
Usually this happens in extra.sh for the board.
I'll do the changes in my fork. However, does it make sense to pull it into master branch?
This makes it easier to support USB cameras.
hey,
can someone help me to configur my webcam? i testing two cams (logitech quickcam pro / wansview Webcam 1080P) both work fine out of the box on my other octopi (raspi 3+ / octoprint 1.5.3) both cams were find with "lsusb" and the cam service is naturaly startet. i tried to edit the "octopi.txt", without positiv result.
what information is required to put one of the cameras into operation?
sorry, but i'm a linux beginner ;-)
Help them remember
Hi, could you please provide a version for the OrangePi Zero with the webcam enabled by default or just enable it for all?
Is there a significant reason, why its not enabled by default?
IMG:Armbian_23.08.0-trunk_Orangepizero_bookworm_current_6.1.47.img.xz
wifi not working。No xRadio driver module was found in the system.
Sorry for this newbie question but where i can download the Pre Built images?
(^▽^)
I'm manually running through these steps (https://community.octoprint.org/t/setting-up-octoprint-on-a-raspberry-pi-running-raspberry-pi-os-debian/2337) for getting octoprint up and running on the orangepi provided image for bullseye as armbian doesn't appear to have a compatible image yet for the Orange Pi 3 LTS.
can this be added to the list for a future release somewhere later in the future.
Requesting support for the OrangePi One Plus. I tried to compile it on my own, but I got some kernel errors.
Hi, sorry for this question...maybe it's stupid, but where are releases?
Hi and thx for your project.
Yesterday burn the armbia 22.02 for a OPZ2 and don´t load the SO. Red light always.
OS loads successfully and is accessible on OrangePiZero 512MB through SSH but the octoprint's web interface is not accessible : "ERR_CONNECTION_REFUSED"
Thank you for the hard work !
Currently there are some Rock64 (Pine64) v2 boards on sale for rock bottom prices with power supply and case. Any chance this will work for that board?
It booted OK when connected via USB->ethernet adapter but the wifi interface is not found.
Any support for orange pi zero2?
I have installed your Octocitrico onto my Banana pi m2 zero without problems. I have one issue with the octoprint service with the wifi portion of the device timing out over night. I am unsure of where or what to edit to change this setting within the config or service itself
Thanks!
I ask for help because I've been trying to get the webcam to work for days and I can't.
I state that the webcam works both on pc and before on rasberry which now I no longer have.
I installed on an octocitric orangepi 3lts and everything works perfectly except the webcam. I enabled the service I modified the octopi.txt file (through filezille because through ssh it doesn't save the file) and nothing at all I can't get anything to work. every time i go to http://myip/webcam/?action=stream always and usual error "" The webcam server is currently not running
If you do not have a camera attached, this is normal and can be safely ignored.ect ect"" via lsusb I have this
root@citrico-opi3lts:~# lsusb
Bus 006 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0483:5740 STMicroelectronics Virtual COM Port
Bus 001 Device 003: ID 1b3f:2002 Generalplus Technology Inc. 808 Camera
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
HELPME please :)
So I am searching around to find the best way to get OctoPrint running on my m2 zero, and I was wondering if you could help me narrow down my options. These are the options I have come up with so far but not exactly sure what the pros and cons are between them so I would appreciate any insight you can provide:
The main questions I have are if any of these OSes are better than any other for security reasons, performance reasons, or just basic compatibility reasons. I plan on plugging my m2 zero into the back of my Prusa's Einsy board via GPIO pins if that makes any difference.
I have heard that the m2 zero gets very hot along with certain installs on the board running hotter than others so that will likely be a concern of mine if that is relevant to any of the above options.
Also if I missed an option, please let me know.
Error when building:
Username for 'https://github.com':
Password for 'https://github.com':
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/morrownr/8821cu-20210118/'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.