UnchartedBull / OctoDash

OctoDash is a simple, but beautiful dashboard for OctoPrint.
https://unchartedbull.github.io/OctoDash/index.html
Apache License 2.0
1.02k stars 226 forks source link

[!WEB] and [!WEBCAM] commands not working from the Control screen #3441

Open senghauser opened 1 year ago

senghauser commented 1 year ago

I added a custom [!WEB] command, and it works correctly if i open it while on the Notifications screen, however no iframe is displayed if I open it while on the Control page instead.

If I tap the command, then open the Navigation screen, it shows "loading website," but just hangs there. I need to close the browser window and then reopen it from the navigation screen.

I have tried disabling the icon for the Notification Center, as well as toggling the confirmation and return to home screen options. I am getting the same behavior with the [!WEBCAM] command.

If i recall correctly, I believe the webcam worked for me the first time I tried it, when I first installed OctoDash, but It has not worked since.

20230203_023243 I tap the command from the control screen and get no iframe.

20230203_023250 i then open the Notification center, and the iframe is in here, but wont load

20230203_023303 I close the iframe and then click the command from this screen

20230203_023309 And it loads with no issue.

Best I can tell, the iframe opens inside of the Notification Center screen. Is there some setting I am missing that allows the iframe to open outside of the Notification Center?

zach-ovic commented 1 year ago

Hi, same issue here. Hopefully, this will get fixed.

emelbardis commented 1 year ago

Mine has never worked. Always figured my syntax was wrong [!WEB]http://localhost:5000/plugin/octodashcompanion/webcam

edit: Been a year or so since I messed with it and I was able to get my Pi cam stream to show up only from the Notification screen and then only after changing local host to my local IP address and dropping the port 5000.