Comments (6)
I am also looking at the help and I have some issues.
The -s, --secret
parameter does not show a <value>
field next to it like in -p, --port <port>
parameter, for example. Is it right?
Also, some parameters like -c, --config <filename>
show that the default is ~/.cncrc
but also show (default: "")
at the end of the string. Is it right?
➜ cncjs-kt-ext git:(master) node . --help
Usage: cncjs-kt-ext -s <secret> -p <port> [options]
Options:
-V, --version output the version number
-s, --secret the secret key stored in the ~/.cncrc file
-p, --port <port> path or name of serial port (default: "")
-b, --baudrate <baudrate> baud rate (default: 115200) (default: 0)
-c, --config <filename> set the config file (deafult: ~/.cncrc) (default: "")
--socket-address <address> socket address or hostname (default: localhost) (default: "")
--socket-port <port> socket port (default: 8000) (default: "")
--controller-type <type> controller type: Grbl|Smoothie|TinyG (default: Grbl) (default: "")
--access-token-lifetime <lifetime> access token lifetime in seconds or a time span string (default: 30d) (default: "")
-h, --help output usage information
from cncjs-kt-ext.
Also, the -s, --secret
does not work
from cncjs-kt-ext.
I figured out that I can use the CNCJS_SECRET
environment variable. So now, I am receiving the following output:
Connection error. Unauthorized user: user.id=, user.name=cncjs-autolevel
How do I set these user.id
and user.name
?
from cncjs-kt-ext.
Alright, I was able to run it by adding my credentials directly on the id
and name
fields on generateAccessToken
function.
from cncjs-kt-ext.
Thank's guy !
Little precision : ID could be found in the ~/.cncrc
file
from cncjs-kt-ext.
@matthgyver Yeap that is right. I am fixing these things on my fork. I was not able to test it yet. I just know that it is running. If I can fix these command-line issues I will make a pull request here.
from cncjs-kt-ext.
Related Issues (20)
- I cannot run the auto level comando twice. HOT 2
- After autolevel, starting the program plunges bit into board, before turning it on preventing movement HOT 1
- Probe always fails with alarm (and maybe broken tool) HOT 1
- .cncrc file missing on pi HOT 2
- Unable to connect to CNCJS on Raspberry Pi HOT 1
- nothing happens HOT 4
- odd compensations HOT 2
- My GCode fails to Autolevel because it results in a movement to NaN HOT 1
- Documentation problem HOT 16
- Problem in big files, and modificate in grbl files. HOT 20
- Z Probe depth until fail HOT 1
- Division by 0 / NaN coordinates
- Add probe collision protection
- First point's probe height undesired offset HOT 5
- Autoleveling area problem HOT 4
- Probe issue
- Unable to use HOT 1
- Just response "OK" after running macro HOT 1
- How to start the service HOT 1
- Big loops being added to the code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cncjs-kt-ext.