buildbotics / bbctrl-firmware

Buildbotics CNC Controller Firmware
https://buildbotics.com/
Other
67 stars 24 forks source link

Remote network view not showing correct ETA and progress #345

Open Q1WP opened 3 months ago

Q1WP commented 3 months ago

I recently upgraded to the Pi4 controller and the network service isn't loading properly on remote computers.

The old Pi3 controller loaded properly using Firefox/Chrome/Edge/Safari.

With my current setup, all of my connections are remote to save Pi4 resources (no keyboard, no mouse, no monitor, no webcam, wired ethernet).

These 3 screenshots were taken while the same program was running.

And all 3 of these used to be in sync and correct on the Pi3 controller.

Any ideas?


Design Computer desktop-desktop-windows10


Garage Computer garage-cnc-windows11


Mobile mobile-ios

jcoffland commented 3 months ago

Have you tried a hard reload of the page? Usually CTRL-SHIFT-R. It could be that the browser has cached some old code.

Q1WP commented 3 months ago

I hadn't, but just did and no change, and I checked Edge/Chrome/Safari/Firefox.

jcoffland commented 3 months ago

Does the ETA work correctly if you open the same GCode file on each browser?

jcoffland commented 3 months ago

Doug and I discussed this. We think the problem is that each browser has it's own "active file". If the active file in the browser is different than the file running on the controller then the ETA will not show up. We plan to change this in a future release so that there is only one "active file" and any connected browsers automatically switch files when the active file changes on the controller. Hopefully that makes some sense.

Q1WP commented 3 months ago

It does make sense. The machine is running so I can't test the ETA loading on different browsers right now but will later tonight when I shut down. But, I was using the Pi3 BBCTRL board for 2+ years prior to the upgrade and this issue wasn't present. I could start the machine from the Garage-CNC (Firefox) computer, then go inside to my Main-Desktop (Edge) computer and work but have the controller open on a browser tab and watch progress and the remaining/eta time was visible and accurate, even though that computer did not start the file. And I could see progress on my phone (IOS) the same way. It seems to me that this is a Pi4 version issue (even though unintended).

Q1WP commented 3 months ago

If I clear the cookies, it does at least show text in the reminting field, but it isn't correct and it isn't of the currently running file. This is probably as you suggested with the active file, but why did it change with the Pi4 version?

jcoffland commented 3 months ago

We made a change to the software. It will be fixed in the next release.

Thanks for the report. It's important for us to know how you're using the software and what kind of problems you encounter.