开源改变世界!!

[功能请求] 允许通过 Electron 应用程序连接到远程服务器 #718

推推 grbl 2年前 (2023-02-03) 106次浏览
关闭
12 个任务中的第 5 个
jdforsythe 打开了这个问题 2021 年 10 月 3 日 · 9条评论
 Closed
5 of 12 tasks

评论

[功能请求] 允许通过 Electron 应用程序连接到远程服务器 #718

描述

Electron 应用程序应允许输入远程 IP/主机以连接到服务器。

用例:

Raspberry Pi Zero WH 运行 cncjs,连接到 3018pro。Pi 上的 UI 不稳定。解决方案是在我的 Mac 上运行 Electron 应用程序并与 Pi 上的服务器接口,允许我在不下载资产的情况下使用该应用程序并拥有更可靠的连接。

我愿意为此提供帮助

版本

  • CNCjs:1.9.x
  • 节点.js:6.x
  • NPM:5.x

你如何安装CNCjs?

  • NPM
  • 下载 CNCjs 桌面应用程序

数控系统

  • Grbl
  • 冰沙
  • TinyG/g2核心

硬件

  • 树莓派
  • 台式机或笔记本电脑
  • 移动设备

操作系统

  • 不适用
  • 视窗
  • 苹果
  • Linux
[功能请求] 允许通过 Electron 应用程序连接到远程服务器 #718
作者

另一个用例是从一台计算机控制多台 CNC 机器。所以我可能会设置 2 或 3 台机器连接 Raspberry Pis,只是运行服务器,并从一台笔记本电脑控制它们,随意切换

[功能请求] 允许通过 Electron 应用程序连接到远程服务器 #718

How do you install cncjs on zero (1st gen?). I am trying install on zero 2 bud zero have not enough memory to install.

[功能请求] 允许通过 Electron 应用程序连接到远程服务器 #718
Contributor

The only way that I have found to use cncjs on a pi zero is to run only the server on the pi, running the user interface code on some other machine.

[功能请求] 允许通过 Electron 应用程序连接到远程服务器 #718
paveltizek commented 2021 年 12 月 30 日  

Thank you but how to do it? I tried this several times but every time i ended with error heap out of memory. Last i tried this https://github.com/cncjs/cncjs/wiki/Setup-Guide:-Raspberry-Pi-%7C-Install-Node.js-via-Package-Manager-*(Recommended)*
Tried on zero 2W with clean installed Pi OS lite.

[功能请求] 允许通过 Electron 应用程序连接到远程服务器 #718
Contributor

这不简单。我发现的最佳方法是在 PC 上进行构建,复制一堆与平台无关的文件,然后在 Pi 上构建一个与平台相关的模块。 第357章(评论)

[功能请求] 允许通过 Electron 应用程序连接到远程服务器 #718

听起来不错,但不是很舒服。我最终选择的路径是安装 Docker(简单),拉取镜像并在其中安装 cncjs。接下来我决定创建自己的图像以便于安装给每个人(https://hub.docker.com/repository/docker/paveltizek/cncjs)。如果有人会尝试并为它写一些反馈,我将非常高兴。感谢您的时间。

[功能请求] 允许通过 Electron 应用程序连接到远程服务器 #718

I hope you will support it. I do not have time to support yet another alternative way to install. There are already about a dozen ways that people have posted in various places, and then disappeared. There is a CNCjs Users Group on Facebook where new users often show up and ask questions like “I followed the installation instructions and it did not work”. The problem is there are so many different sets of instructions that various people have posted, and they tend to either stop working after a few months when something changes, or only work in very specific situations.