My preferred method for interacting with my Onefinity X50 is from a remote device instead of a connected display device. My Onefinity is connected to my local network, and all of this works perfectly fine … for the most part.
The one odd issue is that if I want to select a gcode file to process by clicking the folder icon button in the UI, it works fine if I am working from a Chrome browser on my remote laptop. So from chrome, i connect to the onefinity IP address, it displays the UI, and I can completely control the machine and upload new gcode files perfectly fine.
However, if I do the exact same steps from an iPad or iPhone, the upload gcode button does not work properly. When you click the upload button, it tries to find the gcode files on the device that is running the web page - in this case an iPad or iPhone. I can browse around folders and see files, but I can not select a file to upload.
I saw a suggestion around changing file extension / types to ‘.txt’ - but that doesn’t seem to work either.
Seems like it is most likely a simple coding issue on the webUI, but I wonder if others have noticed this, or fixed it ?
but you don’t describe a different behaviour between laptop and iP*thing: The browser opens an “Open file…” dialog on the machine it runs on. The question is, where on the filesystem hierarchy are you on the iP*? Can you access the directory where you have your g-code files?
On laptop, the open dialog works exactly as expected. I can select files and upload them. on the iPhone / iPad I can browse folders, i can see files (they are actually kinda "greyed out"O but I can’t select them.
Yes. And I see the files - but they are not selectable. I tend to store the files in “iCloud” so the folders appear on iPad there. But I also tried it with files loaded directly on the iPhone local storage with same results.
sorry that I can’t help you. But it seems to me that I remember that someone already reported such an issue. I would try to search for it with the search function. It could well be a non-Onefinity issue but a iP* issue or a chrome issue. Did you try another web browser?
PS: The browser that the UI was written for is a (very old) version of chrome
can you get access to the local file system with other “websites” (on the iP* device)? E.g. here, in your message composition window, can you click the “Uplaod” icon (the seventy from the left in the top row) and select a file to upload? If not, then it would not be Onefinity-UI related.
It could be a security option to first allow access by a web page to the filesystem on the local machine.
What is an obvious difference, is that the page served by the controller lacks https encryption. Nowadays many browsers exclude such pages, or you have to manually allow visiting the page. I have no experience with Apple products, but could it be that some security option prevents uploading files from your local system through an unencrypted connection?
“Greyed out” files in your local file upload window would mean that you are not allowed to read or select them for some reason.
It is difficult for me to imagine how this could be related to the Onefinity UI page, i.e. something in the page that alters its behaviour when you use an Apple iP* device. I would rather think that it is something that is caused locally on your device, since the same Onefinity UI page works when you use the laptop. But I cannot be sure.
Doesn’t Apple use a different file formatting system for the Mac/iPad/etc OSes? That would explain why the .nc/.ngc/.gcode/etc restriction on the accept parameter wouldn’t work as expected. Those work with Windows but OSX would need a different set of filters.
glad to hear that you found a solution. But I would not have assumed it there. I knew of the restriction to these file types in the form, but why was everything greyed out then? Would this not prevent the .nc, .ngc, .gcode, .gc file endings being greyed out?
Yeah, that is why I suspect if the correct files have mime types defined, then you may be able to use mime types in the accept clause and it should be more cross platform compatible. I will give it a try tomorrow