iosignal-cli 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/bin/ioip.js +6 -0
- package/bin/serverInfo.js +2 -5
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -386,6 +386,16 @@ $ io-server -l 7777 -L 8888
|
|
|
386
386
|
# -L option for CongSocket port ( Arduino connection)
|
|
387
387
|
```
|
|
388
388
|
|
|
389
|
+
### Local Network IP Address
|
|
390
|
+
|
|
391
|
+
If you need the IP address of the server to access it from your local network, you can check the local network IP address of the server.
|
|
392
|
+
|
|
393
|
+
```sh
|
|
394
|
+
$ ioip
|
|
395
|
+
192.168.0.72
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
|
|
389
399
|
### IOSignal Arduino Library
|
|
390
400
|
|
|
391
401
|
Search for `IOSignal` in the Arduino library manager and install it, or see the [`iosignal-arduino`](https://github.com/remocons/iosignal-arduino) github repository
|
package/bin/ioip.js
ADDED
package/bin/serverInfo.js
CHANGED
|
@@ -4,7 +4,7 @@ import chalk from 'chalk';
|
|
|
4
4
|
import boxen from 'boxen';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
function getNetworkAddress (){
|
|
7
|
+
export function getNetworkAddress (){
|
|
8
8
|
for (const interfaceDetails of Object.values(networkInterfaces)) {
|
|
9
9
|
if (!interfaceDetails) continue;
|
|
10
10
|
|
|
@@ -65,7 +65,4 @@ export function serverInfo ( wsPort, congPort ){
|
|
|
65
65
|
|
|
66
66
|
return boxen(message, { padding: 1, borderColor: 'green', margin: 1, })
|
|
67
67
|
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iosignal-cli",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "IOSignal server and client CLI program.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"io-client": "./bin/io-client.js",
|
|
9
9
|
"ios": "./bin/io-server.js",
|
|
10
10
|
"io": "./bin/io-client.js",
|
|
11
|
+
"ioip": "./bin/ioip.js",
|
|
11
12
|
"io-keygen": "./bin/io-keygen.js"
|
|
12
13
|
},
|
|
13
14
|
"author": {
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
"boxen": "^7.1.1",
|
|
20
21
|
"chalk": "^5.3.0",
|
|
21
22
|
"commander": "^11.1.0",
|
|
22
|
-
"iosignal": "^1.3.
|
|
23
|
+
"iosignal": "^1.3.2",
|
|
23
24
|
"meta-buffer-pack": "^1.3.1",
|
|
24
25
|
"redis": "^4.6.12"
|
|
25
26
|
},
|