GithubHelp home page GithubHelp logo

quinndamerell / octoprint-octoeverywhere Goto Github PK

View Code? Open in Web Editor NEW
147.0 6.0 15.0 938 KB

Cloud Empower Your OctoPrint, Klipper, and Bambu Lab 3D Printers With Free, Private, And Secure Remote Access, AI Print Failure Detection, Real-time Notifications, Live Streaming, and More!

Home Page: https://octoeverywhere.com

License: GNU Affero General Public License v3.0

Python 94.62% JavaScript 2.88% Jinja 0.55% CSS 0.15% Shell 1.60% Batchfile 0.04% Dockerfile 0.16%
octoprint 3d-printing webcam-streaming ai android community image-classification ios webapp fluidd

octoprint-octoeverywhere's Introduction

OctoEverywhere's Logo

Cloud empower your OctoPrint, Klipper, and Bambu Lab 3D printers with free, private, and unlimited remote access, AI print failure detection, and more! Developed for the maker community, powered by the maker community.

Features

  • πŸš€ Free remote access to your full OctoPrint, Mainsail, Fluidd, and Bambu Lab web portals from anywhere.
  • πŸ€– Free & unlimited AI failure detection that will automatically stop failed prints to save you time and money.
  • πŸ“· Full resolution and full frame-rate webcam streaming.
  • πŸ“± Empower your favorite OctoPrint & Klipper iOS and Android apps with remote access.
  • πŸ“Ί Live stream your 3D prints to your friends or the world with Live Links.
  • πŸ”” Instant printer notifications sent to SMS, Email, Discord, Telegram, Slack, and more.
  • πŸ”— Share secure access to your OctoPrint, Fluidd, or Mainsail portal with others.
  • πŸ’ͺ Full OctoPrint plugin functionality.
  • 🀹 Full multicam support.
  • ... and much, much more!

Try It Now!

With a Trustpilot rating of 4.9/5 stars and over 96k makers already using OctoEverywhere, what are you waiting for?

Click Here To Try OctoEverywhere Now! It's free and takes less than 20 seconds to set up!

Bambu Connect Docker Container

If you're using Bambu Connect to connect a Bambu Lab 3D printer, you can either use our installer to run directly on any Debian based Linux device, or you can use our Docker container to run Bambu Connect on any Windows, Mac, or Linux device.

OctoPrint And Klipper Plugin Setup

Follow our Getting Started Guide to get up and running in less than 20 seconds.

Bugs & Feedback

We love to hear from you! Please submit bugs or feedback on our Discord server or via our support system.

Contributing

Feel free to fork, hack, slash, and PR code! OctoEverywhere is made for the maker community; we appreciate any ideas or help we can get!

octoprint-octoeverywhere's People

Contributors

alec-pinson avatar guilouz avatar quinndamerell avatar spuder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

octoprint-octoeverywhere's Issues

After updating i cant connect to the octopy.

After updating to this version i cant connect to OctoPi... Now i have to reformat and reinstall everithing since its bricked..
You should probably wait before updating to this version.

PS: Totally my fault, since I havent checked the release date of this update which was yesterday :D :D :D

Webcam feed not working after update

After updating to latest version webcam will not work via octoeverywhere. It is working fine on octoprint locally just not via anything using octoeverywhere.

was working perfectly fine before the update stream location is
/webcam/?action=stream

Multiple cameras

On my Octopi, I have 3 cameras. Under this app though I am only able to access one of them, the first one that was initially setup. Is there a way to rectify this?

Hans/VE7OES

Downloading gcode file fails - uses loopback IP instead of the octoeverywhere hostname

I'll preface this with saying I'm not sure if this is actually fixable with the plugin... I haven't looked into the source code, but I suspect the code generating the full url for the download button is outside the context of this plugin. Reporting in the off chance it is fixable through the plugin.

Clicking on any download buttons on existing gcode files on the server fails because it uses 127.0.0.1, if I replace the IP with my octoeverywhere hostname it works fine.

Plugin not downloading

Trying to download the plugin from the plugin manager. Does not appear when searching for "octoeverywhere" and installation through the URL says the download completes. After restart, the plugin is not visible in the list of downloaded plugins

Broken web view in OrcaSlicer

As of this time with OctoEverywhere 2.4.0-4-gaca09d5 in Klipper Mainsail

It seems the device tab in OrcaSlicer 1.5.0 Appimage Linux has been broken after installing the addon OctoEverywhere to my printer.

I have yet to remove OctoEverywhere to try and confirm this suspicion as I was wondering if anyone else could confirm before I have to make any changes to my system.

OctoEverywhere Plugin Update has locked out my Octoprint!

Got a notification that OctoEverywhere had an update on my Octoprint so I installed it. Now I cannot get rid of the Setup Wizard Screen on my Octoprint Web Interface. Tried recompleting the Setup and also clicking Finish. Even comes back after reboot. The Setup Wizard Screen will not go away. Please help!

I can't get a text

Up to a couple days ago, I was receiving MMS text messages on print status, it stopped working. Today I logged into my account and tried to have it send a text code and got nothing, been trying all day...getting email alerts but texting has stopped. I just subscribed for a year Today also because I've been very happy up till I lost text notifications. Everything was fine, which I included a photo. Now the website shows I still need to add it again, it won't let me...I even get messages that I've had too many codes and wait a hour. Is there a problem? Is there a place to look to for information on not getting the code sent or not receiving text messages and you can't sign back up for them?
This is shot from the last time I received a text. I use TMobile Network
Screenshot_20221217-195459_Messages

Not started

Run /home/orangepi/octoeverywhere-env/bin/python3 -m moonraker_octoeverywhere "token" i get this error:
Loading Service Config: {"KlipperConfigFolder": "/home/orangepi/printer_data/config", "MoonrakerConfigFile": "/home/orangepi/printer_data/config/moonraker.conf", "KlipperLogFolder": "/home/orangepi/printer_data/logs", "LocalFileStoragePath": "/home/orangepi/printer_data/octoeverywhere-store", "ServiceName": "octoeverywhere", "VirtualEnvPath": "/home/orangepi/octoeverywhere-env", "RepoRootFolder": "/home/orangepi/octoeverywhere"} ERROR! - Exception while parsing service config. 'IsObserver'

Octoeverywhere.conf resetting on reboot in klipper/fluidd

Im trying to orient the camera the correct way but the settings file seems to change whatever i alter back to default on reboot. the camera is the right way up in stream until klipper fully boots up.

octoapp seems to work and doesnt change the orientation once it is set which makes me thing it may be a permissions issue?

Model dialog with no Next button after install

Modal Dialog Setup Wizard blocks everything.
Only 2 buttons [OctoEverywhere] which does nothing and [Previous] which is grayed out. No way to close/cancel/next. The only way to fix - uninstall plugin via SSH :(
OctoEverywhere

1.5.15 Update Failure

2022-02-21 21:31:30,521 - octoprint.plugins.softwareupdate - INFO - Starting update of octoeverywhere to 1.5.15...
2022-02-21 21:31:30,625 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:30,938 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:31,639 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:32,021 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:32,342 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:32,626 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:32,935 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:33,259 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:33,629 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:33,931 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:34,314 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:34,618 - octoprint.plugins.printoid - INFO - //// Send alert to Printoid: 'printer-state' with value Operational (Ender)
2022-02-21 21:31:47,291 - octoprint.plugins.softwareupdate - ERROR - Update of octoeverywhere can not be performed, please also check plugin_softwareupdate_console.log for possible causes of this
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/softwareupdate/init.py", line 2090, in _perform_update
target, populated_check, target_version, log_cb=self._log, online=online
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/softwareupdate/updaters/pip.py", line 115, in perform_update
returncode, stdout, stderr = pip_caller.execute(*pip_args, **pip_kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/pip.py", line 208, in execute
return self.call(command, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/commandline.py", line 244, in call
all_stdout += process_stdout(p.stdout.readlines(timeout=0.5))
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/commandline.py", line 236, in process_stdout
return process_lines(lines, self._log_stdout)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/commandline.py", line 230, in process_lines
*map(lambda x: to_unicode(x, errors="replace"), lines)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/pip.py", line 498, in _preprocess_lines
return list(map(self._preprocess, lines))
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/pip.py", line 517, in _preprocess
return to_unicode(clean_ansi(text))
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/commandline.py", line 57, in clean_ansi
return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1")
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 5-41: ordinal not in range(256)
2022-02-21 21:31:47,439 - octoprint.plugins.softwareupdate - INFO - Saved update log to disk

2022-02-21 21:31:30,544 /home/pi/oprint/bin/python3 -m pip --disable-pip-version-check install https://github.com/QuinnDamerell/OctoPrint-OctoEverywhere/archive/1.5.15.zip --no-cache-dir

user's can close the wizard dialog

@jneilliii sorry to bother you in this thread, but I have a bug where and I'm at a loss on how to fix it. I found this in the docs

Note that with the current implementation, all wizard dialogs will be will always be sorted by their mandatory attribute (which defaults to False) and then alphabetically by their name. Hence, mandatory wizard steps will come first, sorted alphabetically, then the optional steps will follow, also alphabetically.

But I can't for the life of me figure out where to set mandatory. I don't want it set, and I think that's the only thing that can be causing this issue. Any ideas?

Originally posted by @QuinnDamerell in #1 (comment)

I just want to make sure I understand. They are able to click the close button and as a result the settings doesn't get saved here as expected? Then as a result the wizard keeps popping up?

Can't install OctoEverywhere

Running in K1 and K1 Max OS mode
Checking required system packages are installed...
Requirement already satisfied: virtualenv in /usr/lib/python3.8/site-packages (1 5.1.0)
System package install complete.
Checking Python Virtual Environment For OctoEverywhere...
No virtual environment found, creating one now.
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
/usr/lib/python3.8/site-packages/virtualenv.py:1039: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
New python executable in /usr/data/octoeverywhere-env/bin/python3
Also creating executable in /usr/data/octoeverywhere-env/bin/python
Installing setuptools, pip, wheel...done.
Updating PIP if needed... (this can take a few seconds or so)
Requirement already satisfied: pip in /usr/data/octoeverywhere-env/lib/python3.8/site-packages (23.3.2)
Installing or updating required python libs...
ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

OctoEverywhere has been installed successfully!

It says that it's installed but it's not working...

Multiple camera confusion

This sounds similar to an old issue but I think it's the opposite problem: Issue #10 - Multiple Cameras

In my Octoprint setup, I have two web cameras. I would like to use the main camera (camera 1) with OctoEverywhere. But it seems to be using both cameras, at different times:

  • When I check in with the quick view on the OctoEverywhere website, it shows the primary camera, which is what I want
  • When I look at the OctoEverywhere dashboard, the thumbnail with the the quick view button shows the second camera, which is not what I want
  • When I get a print job complete notification, it has a snapshot from the second camera
  • When looking at quick view, seeing the primary camera, if I click the button to report a missed print failure, it shows me a picture from the second camera and asks what is it seeing? While the primary camera shows the print failure, the second camera doesn't show a view that shows the print problem, so there is nothing bad in that picture.
  • I've had a pretty bad print failure, and while looking at the quick view, the spaghetti is clearly visible. But gadget thought everything was fine, presumably because it was watching the second camera that can't see the problem.

I don't see any kind of setting to select which camera should be used. I'd like OctoEverywhere to only use the primary camera for everything (especially Gadget) but I see no such option. Barring such an option, I'd assume OctoEverywhere would use the primary camera, but it seems to be randomly selecting a camera for its different purposes.

Plugin Manager showing 0.8.2

Not really a problem but just wanted to notify that Octoprint's plugin manager is showing version 0.8.2 as the latest, despite everything on the website and github showing 0.8.1

Design request

Would it be possible to do the following for users after they creat an account

  1. Move the octoeverywhere to the bottom of the screen?
  2. Remove setup now, powerful,secure, and simple(not really needed since users created an account)
  3. From a mobile device like an iPad the connect buttons open the link in the same window. Could you make it so that the connect button opens the printer in a new tab? Would make it easier to go back to the dashboard to manage other printers.
  4. When viewing the control tab in octoprint viewing a web cam it will stop streaming after a short time. Can you auto refresh the page to update the data from octoprint?
    8DCF61ED-1C0F-4D48-BB49-295E8CE7040C

Gadget based lighting in klipper

I'm in the process of finishing up my latest printer build and am adding addressable LEDs to the chamber lighting when I had an idea that would be pretty cool if it could be implemented into the octoeverywhere plugin.

Basically my thought is if gadget detects something it could trigger a lighting color change that's specified, for instance to orange on an issue detected, or on a failure and pause change it to red.

Just a thought if it's possible it'd be pretty neat.

OctoEverywhere - Moonraker Webcam Fixes

Thanks to some wonderful debugging help from the community, I was able to resolve several webcam snapshots and streaming issues. Since the last update, I have also fixed up many other smaller bugs and issues in the plugin.

Please update to version 2.3.4 to see how it works for you, and let us know if there are any other issues you're hitting!

Server Part

Hi is the server/website sourcecode also available ?

OctoEverywhere constantly writing errors to logs when klipper is shutdown by moonraker

Following the docs from https://moonraker.readthedocs.io/en/latest/configuration/ and https://docs.mainsail.xyz/overview/quicktips/printer-power-switch, I have setup a [power] section in my moonraker.conf, which controls a mosfet switch via gpio which cuts power to the printer mainboard:

[power printer]
type: gpio
pin: gpio23
initial_state: off
off_when_shutdown: true
on_when_job_queued: true
restart_klipper_when_powered: true
bound_services:
 klipper
 klipper-mcu

Turning on the printer switch in the Mainsail Power Devices menu (which is associated with the moonraker object defined above) will tell moonraker to start the bound services and also restart klipper when it is ready due to restart_klipper_when_powered: true. Similarly, turning off the printer switch will stop the bound services (klipper and klipper-mcu), which also triggers Mainsail to show a "Printer is powered off" section.
klipper shutdown by moonraker

Despite this being intended behaviour for moonraker/mainsail, OctoEverywhere gets stuck in a loop constantly filling both the octoeverywhere.log and the /var/log/syslog every 2 seconds with messages of the type:

2023-11-11 14:54:05,536 - INFO - Connecting to moonraker: ws://0.0.0.0:7125/websocket
2023-11-11 14:54:05,554 - INFO - Websocket connected
2023-11-11 14:54:05,557 - INFO - Moonraker client websocket opened.
2023-11-11 14:54:05,560 - INFO - Moonraker client waiting for klippy ready...
2023-11-11 14:54:05,561 - INFO - Authenticating with moonraker...
2023-11-11 14:54:05,608 - INFO - Moonraker client waiting for klippy ready...
2023-11-11 14:54:05,618 - ERROR - Moonraker client is in an unknown klippy waiting state. state 'disconnected'
2023-11-11 14:54:05,620 - ERROR - Moonraker client exception in klippy waiting logic.; Exception Exception: Unknown klippy waiting state. disconnected; Traceback (most recent call last):
  File "/home/user/octoeverywhere/moonraker_octoeverywhere/moonrakerclient.py", line 584, in _AfterOpenReadyWaiter
    raise Exception(f"Unknown klippy waiting state. {state}")
Exception: Unknown klippy waiting state. disconnected

2023-11-11 14:54:05,621 - INFO - Moonraker client websocket shutdown called.
2023-11-11 14:54:05,626 - INFO - Moonraker client websocket shutdown complete.
2023-11-11 14:54:05,628 - INFO - Moonraker websocket connection closed.
2023-11-11 14:54:05,633 - INFO - Moonraker client websocket connection lost. We will try to restart it soon.

This causes the logs to rapidly increase in size over time as they are constantly being written to with these errors.
octoeverywhere.log

OctoEverywhere 1.9.4 impacts timelapse quality with OctoLapse

I am using OctoLapse and OctoEverywhere.

Before 1.9.4, everything was working fine. OctoLapse was responsible for the camera settings (in my case 480p 10 fps) and most importantly responsible to set a hight enough variable bitrate to not have any artifacts.
And OctoEverywhere was then streaming fine.

Since 1.9.4, by image quality is completely annihilated because OctoEverywhere seems to force a very low bitrate for the video.

As an OctoEverywhere subscriber, I must say I am not very happy about this change. Even if there is a disclaimer from OctoLapse telling that OctoEverywhere does not play nice with OctoLapse, there is a limit... ;-) If OctoEverywhere wants to take responsibility of the camera settings (which is not his role IMO), then we should have an option to completely disable any camera streaming from OctoEverywhere and only use the other features but not te camera stream.

This can be seen with all the color artifacts in the image:

image

Could you please explain how to revert to the previous version please until this is fixed ?

OctoEverywhere - First Layer Complete Notification Improvments

Today I'm excited to announce major fixes and updates to the "first layer complete" notification. This notification has been problematic in the past due to the plugin not knowing the exact layer height. While it still doesn't know the exact layer, the new system I put in place should be much more accurate, and thus it will fire the notification at the correct time!

While I was at it, I added a "third layer complete" since I have heard that some makers would rather be informed after the first few layers to take a look rather than just one. It's up to you which you get, one layer, three layers, or both!

Both of these notifications can be controlled for any platform in the notification settings, found here:
https://octoeverywhere.com/notifications

Happy Printing!

Missing certain notifications

Prusaslicer 2.6.0 - Default MK3S Printer profile
Octoprint 1.9.1
OctoPi 0.18.0
Octoeverywhere 2.7.1

I have Telegram notifications set up for Print Started, Print Complete, Print Failed, Print Time Elapsed every hour, First Layer Done, Filament or Color change, User Interaction Required, Print paused and Print Error. However I am only receiving Print Failed, Print Complete, Print Error and User Interaction Required notifications. I am not receiving any of the other notifications.

updated to latest plugin no 2nd cam with multi cam

Updated to the latest version. Multicam still not working :(

first cam is /webcam/?action=stream
second cam is /webcam2/?action=stream

in multicam setup. Works fine when on LAN .. but no workie when over internet.

Here is system info:
browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
connectivity.connection_check: 1.1.1.1:53
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1500
env.hardware.ram: 3959291904
env.os.bits: 32
env.os.id: linux
env.os.platform: linux
env.plugins.pi_support.model: Raspberry Pi 4 Model B Rev 1.2
env.plugins.pi_support.octopi_version: 0.17.0
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 21.0
env.python.version: 3.7.3
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.6.0rc1
printer.firmware: Marlin bugfix-2.0.x (Mar 26 2021 05:52:09)
systeminfo.generator: systemapi

here is system bundle
octoprint-systeminfo-20210412104947.zip

Running out of memory during printing with octoeverywhere enabled

During a print my rpi runs out of memory because slipstream is cached untill memory is full. The octoprint freezes and serial connection is lost and print stops suddenly.
When plugin is disabled the serial connection is good and the print doesnΒ΄t stop.
added a screenshot of the log and memory just before it is full and a movie where the plugin is disabled where memory value is constant.

octoprint 1.8.6
octoeverywhere 1.11.1

enabled
2023-01-21_19-12-octoprintLog

Peek.2023-01-21.19-08-octoEverywhereDisabled.mp4

Better support/documentation for secrets management

The default installation of octoeverywhere on moonraker creates an octoeverywhere.conf containing the printer_id and private_key of a printer.

Although there is a nice warning for people to not share the private_key, many people backup/share their printer config folder on github and are inadvertently leaking their printer_id and private_key.

Moonraker has support for storing secrets in a separate file, so this could be a good approach for moonraker/klipper users.

_DoAutoSettingsUpdate trying to add a "/" before "stream_url" value in "octoeverywhere.conf"

Hi all,
Got a weird issue, when running octoeverywhere, I find the CAM disappears.

In the config file I set:
snapshot_url = http://10.0.0.1/webcam/webrtc

But when is launches, the URL keeps getting reset to:
snapshot_url = /http://10.0.0.1/webcam/?action=snapshot

I have set the file to read-only, so it is working at the moment, but every few minutes the log entry is shown saying permission denied (obviously as I have the conf file set to read-only)

If I change the perms back to writable, the conf file changes back with the leading "/" and the webcam stops appearing on octoeverywhere dashboard.

I then go back in, set file to read-only, force update the URL to remove the leading "/" and HUP the process, and tada the webcam shows again on the dashboard.

2023-06-10 14:08:23,205 - INFO - Webcam helper found a snapshot url of [/http://10.0.0.1//webcam/?action=snapshot] but detected WebRTC for the stream URL, so we are updating the URL to the camera-streamer snapshot URL
2023-06-10 14:08:23,226 - INFO - Webcam helper updated webcam settings. streamUrl: /http://10.0.0.1/webcam/stream, snapshotUrl: /http://10.0.0.1/webcam/snapshot, flipH: False, flipY: False, rotation: 0
2023-06-10 14:08:59,586 - INFO - Main request http URL threw an exception: No connection adapters were found for '/http://10.0.0.1/webcam/stream'
2023-06-10 14:08:59,587 - ERROR - Main request failed and we have no more fallbacks. We DON'T have a main response.
2023-06-10 14:08:59,590 - WARNING - Web Stream http [86]  failed to make http request. octoHttpResult was None; url:/webcam/?action=snapshot
2023-06-10 14:09:04,530 - INFO - Main request http URL threw an exception: No connection adapters were found for '/http://10.0.0.1//webcam/stream'
2023-06-10 14:09:04,531 - ERROR - Main request failed and we have no more fallbacks. We DON'T have a main response.
2023-06-10 14:09:04,533 - WARNING - Web Stream http [88]  failed to make http request. octoHttpResult was None; url:/webcam/?action=snapshot

What am I doing wrong?

Versions

klipper: v0.11.0-219-g645a1b83
CanBoot: v0.0.1-43-g10cc588
Klipper-Adaptive-Meshing-Purging: v0.1.2-1-gfa40966
KlipperScreen: v0.3.2-55-g6558842
crowsnest: v4.0.2-2-g8b54eae
led_effect: v0.0.10-0-g35cf587
mainsail-config: v1.0.0-11-ge4976f6
moonraker: v0.8.0-48-gaa0f89c
octoeverywhere: 2.5.8-2-gbb205d0
sonar: v0.1.2-0-g7962a12
timelapse: v0.0.1-132-gf9198e0
z_calibration: v1.0.1-0-g7a09913
mainsail: v2.5.1

octoeverywhere.conf

[logging]
log_level = INFO
max_file_size_mb = 5
max_file_count = 3

[server]
printer_id = xxx
private_key = xxx

[relay]
frontend_port = 80

[webcam]
auto_settings_detection = True
stream_url = /webcam/webrtc
snapshot_url = /webcam/?action=snapshot
flip_horizontally = False
flip_vertically = False
rotate = 0

As mentioned above, if I set the config as above, then wait a minute, the camera feed on the dashboard stops and the config file is changed to the following:

[logging]
log_level = INFO
max_file_size_mb = 5
max_file_count = 3

[server]
printer_id = xxx
private_key = xxx

[relay]
frontend_port = 80

[webcam]
auto_settings_detection = True
stream_url = /http://10.0.0.1/webcam/stream
snapshot_url = /http://10.0.0.1/webcam/snapshot
flip_horizontally = False
flip_vertically = False
rotate = 0

Many thanks in advance.

Can't connect to printer

Hi,

I successfully integrated one of my printers to OctoEverywhere but when I click on "Connect" I'm getting the following error after a while:

Your printer is connected, but the request took too long. This usually means OctoPrint is unresponsive or there is an intense process running on the printer. Try to access it locally if you can or you might have to start it.

Actually, OctoPrint is connected to my printer, printer is on and there is no print running. On the website, my printer is marked as "Online".

Thanks,
Kawuezel

Either remove promotional OctoPrint UI notifications or provide a way to permanently disable them

First of all, I want to say I quite like OctoEverywhere overall and am totally fine with the paid aspects as well as the need to support the service more generally, so please don't take this as too harsh a criticism. That said, the notifications the plugin gives for the "birthday celebration" are honestly not ideal, in my opinion. Notifications in the OctoPrint UI should either tell the user things about ongoing prints, safety issues, or updates. Using them for promotional things (even free promos) really leaves a bad feeling for me. Imagine if every OctoPrint plugin did this; it'd be impossible to use the UI.

If it was just one notification, I wouldn't have filed a bug, but I just received what I believe is the third one I've seen in the OctoPrint UI, and that's enough for me to file this. My personal suggestion would be just removing these notifications entirely, as they don't seem to be an appropriate use of the OctoPrint notification system. But if you end up keeping them, can you please add an option in the plugin settings to permanently disable them on a per-user basis? Maybe not everyone feels strongly about this, but I also suspect I'm not the only one who wants to disable them.

Install script targets wrong moonraker.conf and directory in RatOS.

Hi! I have several users reporting problems with the octoeverywhere install script modifying the RatOS git repository.
Instead of finding /home/pi/printer_data/config/moonraker.conf it finds /home/pi/printer_data/config/RatOS/moonraker.conf (which is included by /home/pi/printer_data/config/moonraker.conf) modifies that, and dumps its files in /home/printer_data/config/RatOS/

Any particular reason it's doing a depth first search here? Or is it looking for specific content in moonraker.conf? What's going on?

OctoEverywhere - Multi Printer Support!

Big news... with version 2.4.0, our plug-in now supports remote access for multiple Klipper/Moonraker instances running on the same device!

We are on a final push toward our big launch, so pound on the plug-in hard and be sure to let us know if you have any issues or feedback! πŸš€

Error: WebcamHelper _GetWebcamSettingObj exception

Description of Issue

During a 10MB print the printer stops printing but continued to heat bed and hot end. Display on printer says its still printing. Octopi shows an error that it lost communication with the printer and the only errors included in the log file is a repeating pattern of this error.

Camera is plugged in BUT only displays a black screen.

My Hypothosis

My guess is its creating a memory leak by not properly collecting the object when the service call is over overflowing the onboard memory of the pi board rendering it unresponsive.

Thinking a quick null reference check could prevent this cascade.

Configuration

  • Ender 3 Pro (4.2.7 MB, Marlin2.0.1-V1.1.2-BLTouch-TMC2225 firmware)
  • Raspberry PI 4 (Octoprint 1.9.2, OctoEverywhere 2.7.10)
  • USB Webcam (Logitech C920)
  • Fresh install of Octopi and first time running OctoEverywhere

Octoprint.log file

2023-09-23 14:28:07,666 - octoprint.plugins.octoeverywhere - ERROR - WebcamHelper _GetWebcamSettingObj exception.; AttributeError Exception: 'NoneType' object has no attribute 'lower'; Traceback (most recent call last):
  File "/home/CE3P-A_admin/oprint/lib/python3.9/site-packages/octoeverywhere/webcamhelper.py", line 330, in _GetWebcamSettingObj
    a = self.WebcamPlatformHelperInterface.GetWebcamConfig()
  File "/home/CE3P-A_admin/oprint/lib/python3.9/site-packages/octoprint_octoeverywhere/octoprintwebcamhelper.py", line 54, in GetWebcamConfig
    cameraStreamerJmpegUrl = WebcamHelper.DetectCameraStreamerWebRTCStreamUrlAndTranslate(streamUrl)
  File "/home/CE3P-A_admin/oprint/lib/python3.9/site-packages/octoeverywhere/webcamhelper.py", line 382, in DetectCameraStreamerWebRTCStreamUrlAndTranslate
    streamUrlLower = streamUrl.lower()
AttributeError: 'NoneType' object has no attribute 'lower'

Feature Request: Divide out notifications between errors

Hi there,

I would only like to receive notifications for Gadget detections/errors - not all errors. Is there anyway for webhooks and desktop that notifications can be split up to "Gadget Error" and "Print Error"? The reason for this is that I use emergency stop quite often and I don't want to receive the notification for that error all the time - only if Gadget finds an error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.