gdombiak / OctoPod

Free open source client for OctoPrint
Apache License 2.0
225 stars 42 forks source link

iOS 16 App Widget #616

Open tempus2016 opened 1 year ago

tempus2016 commented 1 year ago

I’m finding that the widget on iOS 16 won’t display any information if I choose a camera in the config. I can choose the printer & theme and it works, but if I choose a camera, the widget stops working.

29ACCD02-4514-4D4D-A260-73DF655C3A33 73A26FE3-EAE9-4605-B83B-38F52A0799BB 524C786F-3758-4F89-9470-E1C30BF95E29

ah03 commented 1 year ago

I have the same issue

Arketsu commented 1 year ago

Same issue for months almost a whole year.

gdombiak commented 1 year ago

Ok ok guys! 😀 I’ll check it out this weekend when I have time to see what’s going on. Stay tuned if I need more info to reproduce this issue.

Arketsu commented 1 year ago

@gdombiak just noticed that when using ip webcam from Pavel Khlebovich (used to work) camera won’t show in the widget. When using droidcamx from Dev47Apps (installed recently) widget works.

gdombiak commented 1 year ago

Hey guys,

I've been trying to reproduce this locally without much success. The only scenario where I see the widget showing information but no camera image is this one:

  1. Phone connected to local network
  2. OctoPrint is available in local network
  3. OctoPrint is available via port forwarding protected with user/password
  4. Cameras configured in OctoPrint with local network work fine
  5. Cameras configured in OctoPrint with public URL DO NOT WORK since authentication fails (see step 1)

Is this your setup? If not I need more information to know how to reproduce what you are seeing. Please include camera resolution since that could be another reason.

Thanks, Gaston

Arketsu commented 1 year ago

Hey guys,

I've been trying to reproduce this locally without much success. The only scenario where I see the widget showing information but no camera image is this one:

  1. Phone connected to local network
  2. OctoPrint is available in local network
  3. OctoPrint is available via port forwarding protected with user/password
  4. Cameras configured in OctoPrint with local network work fine
  5. Cameras configured in OctoPrint with public URL DO NOT WORK since authentication fails (see step 1)

Is this your setup? If not I need more information to know how to reproduce what you are seeing. Please include camera resolution since that could be another reason.

Thanks, Gaston

  1. Yes
  2. Local and public
  3. Yes
  4. Public tried local but octoprint won’t show local camera only public
  5. Using direct video feed with no authentication needed via public ip
Arketsu commented 1 year ago

@gdombiak New test

  1. Phone connected to local network
  2. OctoPrint is available in local network
  3. OctoPrint is available via port forwarding protected with user/password
  4. Cameras configured in OctoPrint with local network

Camera still not showing on widget only in app. Not sure how to find the camera resolution but I am using a Note 8 and this app. https://play.google.com/store/apps/details?id=com.pas.webcam.pro&hl=en_US&gl=US

Morcegolas commented 1 year ago
  1. Yes

Hey guys,

I've been trying to reproduce this locally without much success. The only scenario where I see the widget showing information but no camera image is this one:

  1. Phone connected to local network
  2. OctoPrint is available in local network
  3. OctoPrint is available via port forwarding protected with user/password
  4. Cameras configured in OctoPrint with local network work fine
  5. Cameras configured in OctoPrint with public URL DO NOT WORK since authentication fails (see step 1)

Is this your setup? If not I need more information to know how to reproduce what you are seeing. Please include camera resolution since that could be another reason.

Thanks, Gaston

  1. Yes
  2. Yes
  3. No
  4. Yes
  5. Using a VPN

Widget camera is not working for some time now.

Arketsu commented 1 year ago

@tempus2016 @Morcegolas are you guys running octoprint on windows or raspberry pi?

Morcegolas commented 1 year ago

@tempus2016 @Morcegolas are you guys running octoprint on windows or raspberry pi?

Raspberry Pi here

Arketsu commented 1 year ago

Windows here, currently change the webcam to a Wyze cam and hosting the video/webcam server in the same windows environment. Still having the same issue with no video or job status on the widget only able to see if I open the app.

Ps: For some odd reason video fee inside the app only work with public IP and not local IP.

Arketsu commented 1 year ago

@gdombiak new version of the plug-in might’ve fixed the issue atm still testing I will let you know this week if it’s 100% working.

Arketsu commented 1 year ago

@gdombiak After a week working camera won’t show in the widget again. Reinstalled iOS app and plugin no luck.

Arketsu commented 1 year ago

@gdombiak even after the last update for the plugin and app still doing the same thing. @Morcegolas @tempus2016 @ah03 still having the same problem after updating?

Morcegolas commented 1 year ago

@gdombiak even after the last update for the plugin and app still doing the same thing. @Morcegolas @tempus2016 @ah03 still having the same problem after updating?

Here everything is working great quite some time.

Arketsu commented 1 year ago

@gdombiak Ended up creating a whole new test server with fresh octoprint installation and configuration latest octopod plugin and iOS app. Used a new iPhone 14 pro max and still have the same issue where widget does not show camera. Not sure if there any other troubleshooting step I can do since ended up doing a fresh install and nothing.

Arketsu commented 1 year ago

@gdombiak Ended up setting up a brand new PI testing local and public network configuration, factory reset the iphone 14 pro max latest firmware but no luck.

johndelfino commented 1 year ago

Hey guys,

I've been trying to reproduce this locally without much success. The only scenario where I see the widget showing information but no camera image is this one:

  1. Phone connected to local network

  2. OctoPrint is available in local network

  3. OctoPrint is available via port forwarding protected with user/password

  4. Cameras configured in OctoPrint with local network work fine

  5. Cameras configured in OctoPrint with public URL DO NOT WORK since authentication fails (see step 1)

Is this your setup? If not I need more information to know how to reproduce what you are seeing. Please include camera resolution since that could be another reason.

Thanks,

Gaston

I have been experiencing this issue since installing the application.

  1. Yes
  2. Yes, local and public
  3. Yes
  4. Yes
  5. No public URL

What's extra weird is that if assigning a camera to a medium widget breaks both that widget and a a separate small widget with no camera. It breaks both instances. Really bizarre stuff.

I'm running Octoprint on a Raspberry Pi.

Morcegolas commented 1 year ago

Today I changed my camera resolution for 1080p, the widget preview stopped working, if I change it back for 720p it's working again.

Arketsu commented 1 year ago

Confirmed changing the resolution works…. @gdombiak can you make it so it supports other resolutions?

Morcegolas commented 1 year ago

Confirmed changing the resolution works…. @gdombiak can you make it so it supports other resolutions?

Glad I could help 👌🏼