You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already know that the Zyxel's UI has already a built-in way to log most information, but I still wanted to write this tool, mainly for checking the stats from the CLI in a pretty way.
5
+
## Device support
6
+
7
+
Checkout the different project's tags for the supported devices:
8
+
9
+
-`2.0.0` and higher: Zyxel Nebula FWA505
10
+
-`1.1.1` and lower: Zyxel LTE5398-M904
11
+
12
+
The program might also work with other models, but no guarantee is given (some slightly adjustments might be required).
6
13
7
14
## Setup
8
15
@@ -23,7 +30,11 @@ npm install --omit=dev # install only the production dependencies
23
30
24
31
# fill the .env file with the correct credentials
25
32
npx zy-stats # shows stats nicely formatted into the terminal
26
-
npx zy-stats --server-url 'http://192.168.1.1' --username admin --password 'password' --interval 5 # or without filling the .env file
33
+
npx zy-stats --server-url 'http://192.168.1.1' --username admin --password 'password' --interval 5 # without filling the .env file
34
+
npm exec zy-stats -- --server-url 'http://192.168.1.1' --username admin --password 'password' --interval 5 # without filling the .env file
35
+
36
+
# handy alias
37
+
alias zy-stats="cd ~/path-to-repos/zy-stats && nvm use && npx zy-stats"
0 commit comments