kennethjiang / OctoPrint-Anywhere

MIT License
64 stars 18 forks source link

No camera feed, everything else works #81

Closed FledPotato closed 5 years ago

FledPotato commented 5 years ago

Using windows to run octoprint on a laptop and octoprint anywhere cant seem to get video. I still get it on the regular octoprint site, and controls/reads work great on both.

kennethjiang commented 5 years ago

Can you post your octoprint.log file so I can take a look?

FledPotato commented 5 years ago

Am I able to do that while a print is going? If not itll be done in about 20 minutes, then I can send you all the info and follow whatever steps you need to see the issue

kennethjiang commented 5 years ago

I think it's ok to download the log files while it's printing.

FledPotato commented 5 years ago

octoprint.log Is this right? Im on my phone haha, also it says the file is from yesterday but I guess thats fine? If theres just a mess there i can try to get a new log

kennethjiang commented 5 years ago

Thanks @FledPotato

From the log file it looks like the plugin couldn't connect to the configured webcam URL. Can you post a screenshot on your webcam and timelapse settings? This link is for my another plugin but is relevant for the problem you are experiencing.

FledPotato commented 5 years ago

Screenshot_20190429-181020_Chrome The timelapse link thing doesnt work, but normal webcam stream does, also can i just show my ip to everyone like this?

kennethjiang commented 5 years ago

I'm not a security expert but since it's your private ip I'd assume it's fine. I've been doing it many times.

Can you remove the value from snapshot URL? The plugin code looks for it first, and will try to use it if it's there. After you remove it, the plugin will fall back to webcam URL after OctoPrint is restarted.

FledPotato commented 5 years ago

Still "waiting for camera feed"

FledPotato commented 5 years ago

As well as i noticed the printer status is "idle" even if im mid print

kennethjiang commented 5 years ago

Sorry somehow I missed your comments.

Did you clear the snapshot URL in your OctoPrint settings?

It sounds like a bigger problem if the printer status is off. In that case, you can download octoprint.log file and post it here again?

FledPotato commented 5 years ago

Im mid print right now without ocotprint running, could I do this tomorrow? (11pm here) Then i can do all the troubleshooting after a fresh start of octoprint so the log isnt as messy, if thats how it works

kennethjiang commented 5 years ago

A "messy" log is fine. The errors usually hide in all this messiness. :)

FledPotato commented 5 years ago

Sorry for the late response, but seems the issue was fault of another program, which was streaming my webcam. Switched software and reinstalled, now it works great! Is there any chance I could have a higher streaming fos though? My laptop is whats running ocotoprint so the webcam is always at 20-30 fps, which is quite a bit more than the capped site shows :/

kennethjiang commented 5 years ago

Glad you figured this out!

We are actively working on a premium webcam streaming service that allows user to go to higher frame rate. However it'll be a paid service as it costs a lot to transfer the webcam pictures between user's network and our servers.