@bobfrankston/miscinfo 1.0.15 → 1.0.17
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/#ports.ts.asv# +127 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/ports.d.ts +7 -1
- package/ports.js +8 -1
package/#ports.ts.asv#
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/** Default fully qualified domain name */
|
|
2
|
+
export const default_fqdn = 'aaz.lt';
|
|
3
|
+
export function endsWithFQDN(dns: string) { return /\.aaz\.lt$/i.test(dns);}
|
|
4
|
+
|
|
5
|
+
ad /** Short name of the primary home-control host — jserv, vdevice and SQL all live here.
|
|
6
|
+
* Defined here rather than in each consumer so there is one place to change it; hlib
|
|
7
|
+
* re-exports these for the browser. */
|
|
8
|
+
export const primaryHost = 'rmf39';
|
|
9
|
+
export const primaryHostIP4 = '172.20.3.39';
|
|
10
|
+
/** Fully qualified name of the primary host, e.g. rmf39.aaz.lt */
|
|
11
|
+
export const primaryFQDN = `${primaryHost}.${default_fqdn}`;
|
|
12
|
+
|
|
13
|
+
/** Centralized port definitions for all services */
|
|
14
|
+
export const ports = {
|
|
15
|
+
jserve2: 10080,
|
|
16
|
+
jserve2s: 10443, // For now, we use the same port for http and https
|
|
17
|
+
|
|
18
|
+
devlisten: 9070, // Hubitat MakerAPI http server
|
|
19
|
+
halisten: 9071, // Home Assistant MakerAPI http server
|
|
20
|
+
haport: 8123, // Home Assistant REST API port
|
|
21
|
+
|
|
22
|
+
rmfsite: 9081, // These will be phased out for the new version
|
|
23
|
+
rmfsites: 9082, // used to be for SSL but now any port is ssl or not
|
|
24
|
+
|
|
25
|
+
rmfprod: 9081, // Secondary port for production version (debugging)
|
|
26
|
+
rmfbeta: 9082, // Secondary port for beta version (debugging)
|
|
27
|
+
rmfalpha: 9083, // Secondary port for the alpha version
|
|
28
|
+
|
|
29
|
+
shim: 9084, // Warming -- these are current forwarded!
|
|
30
|
+
shims: 9085, //
|
|
31
|
+
|
|
32
|
+
jvport: 9180, // These are copied in hlib
|
|
33
|
+
jvports: 9143,
|
|
34
|
+
|
|
35
|
+
sqltcp: 9098,
|
|
36
|
+
sqlhttp: 9099, // For now
|
|
37
|
+
|
|
38
|
+
sqlproxy2: 9097, // Replace sqlproxy and share a port for http/https
|
|
39
|
+
|
|
40
|
+
sqlproxy: 9080,
|
|
41
|
+
sqlproxys: 9043,
|
|
42
|
+
|
|
43
|
+
mlplanel: 9300, // Note: This must jibe with mlpanel since we copy it to another system
|
|
44
|
+
mlpanels: 9301,
|
|
45
|
+
|
|
46
|
+
wizzer: 9310, // Work in progress Wiz control. Internal only so not https for now
|
|
47
|
+
|
|
48
|
+
pserve: 9311, // Photo server
|
|
49
|
+
// vserve: 9312, // Video server from IIS
|
|
50
|
+
checkmake: 9313,
|
|
51
|
+
|
|
52
|
+
bbt: 9314, // Bulletin board test
|
|
53
|
+
backts: 9315,
|
|
54
|
+
backserve: 9316,
|
|
55
|
+
|
|
56
|
+
syncer: 9317,
|
|
57
|
+
|
|
58
|
+
// lifxer: 9318,
|
|
59
|
+
itemw: 9319,
|
|
60
|
+
|
|
61
|
+
pinst: 9299, // Used for my pings server [currently it has a local value because --install-links isn't cooperating]
|
|
62
|
+
|
|
63
|
+
stephanie: 9320, // For testing stephanie site locally
|
|
64
|
+
|
|
65
|
+
httpudp: 9321,
|
|
66
|
+
logit: 9322, // logit logger
|
|
67
|
+
|
|
68
|
+
psyncer: 9324, // Used for the powershell version ??
|
|
69
|
+
rmfAlpha2: 9325, // So we can try alternative clients.
|
|
70
|
+
carder: 9329,
|
|
71
|
+
cardaid: 9330,
|
|
72
|
+
oauth: 9331,
|
|
73
|
+
alerter: 9332,
|
|
74
|
+
|
|
75
|
+
mailx: 9333,
|
|
76
|
+
rmfmail: 9333,
|
|
77
|
+
rmfmaildbg: 9334,
|
|
78
|
+
|
|
79
|
+
vidserve: 9335,
|
|
80
|
+
quickserve: 9336, // Currently implemented using y:\x\bin\serve.ps1
|
|
81
|
+
|
|
82
|
+
bambucam: 9337, // Bambue camera relay
|
|
83
|
+
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
const mqttHost = "pi4c";
|
|
87
|
+
const mqttPort = 1883;
|
|
88
|
+
|
|
89
|
+
/** MQTT broker configuration */
|
|
90
|
+
export const mqtt = {
|
|
91
|
+
host: mqttHost,
|
|
92
|
+
port: mqttPort,
|
|
93
|
+
topic: { // Default for our own use
|
|
94
|
+
rmf: "rmf",
|
|
95
|
+
subtopics: {
|
|
96
|
+
restart: "restart",
|
|
97
|
+
},
|
|
98
|
+
devqtt: {
|
|
99
|
+
top: "rmf",
|
|
100
|
+
sub: "devqtt"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
URL: `mqtt://${mqttHost}.${default_fqdn}:${mqttPort}`
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
// <port port="9070" name="Listen for Hubitat (experimental)" />
|
|
107
|
+
// <port port="9080" name="birdbox1:80" />
|
|
108
|
+
// <port port="9081" name="Home port for home.rmf.vc et al" />
|
|
109
|
+
// <port port="9082" name="Home port for home.rmf.vc et al for SSL" />
|
|
110
|
+
// <port port="9083" name="Web Sockets for home control" />
|
|
111
|
+
// <port port="9084" name="Insteon Shim" />
|
|
112
|
+
// <port port="9085" name="Insteon Shim SSL (reserved)" />
|
|
113
|
+
// <port port="9086" name="shimmer" />
|
|
114
|
+
// <port port="9087" name="shimmer SSL (not yet)" />
|
|
115
|
+
// <port port="9088" name="TCP For NodeSQLAssit" />
|
|
116
|
+
// <port port="9089" name="TCP Shelly Listener (HTLog)" />
|
|
117
|
+
// <port port="9389" name="Birdbox1:3389" />
|
|
118
|
+
// <port port="9920" name="HC XML" />
|
|
119
|
+
// <!-- <port port="9994" name="HC TCP Listener" /> -->
|
|
120
|
+
// <port port="9800-9899" name="HC TCP Listener" />
|
|
121
|
+
// <!-- <port port="9960-9969" name="HC TCP Listener" /> -->
|
|
122
|
+
// <port port="9995" name="HC xcmd" />
|
|
123
|
+
// <port port="9996" name="HC Manual" />
|
|
124
|
+
// <port port="9997" name="HC HTTP" />
|
|
125
|
+
// <port port="9970-9979" name="HC Telnet" />
|
|
126
|
+
// <port port="9901" name="Lightify Client1" />
|
|
127
|
+
//
|
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default_fqdn, ports, mqtt, endsWithFQDN } from './ports.js';
|
|
1
|
+
export { default_fqdn, ports, mqtt, endsWithFQDN, primaryHost, primaryHostIP4, primaryFQDN } from './ports.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default_fqdn, ports, mqtt, endsWithFQDN } from './ports.js';
|
|
1
|
+
export { default_fqdn, ports, mqtt, endsWithFQDN, primaryHost, primaryHostIP4, primaryFQDN } from './ports.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
package/ports.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/** Default fully qualified domain name */
|
|
2
2
|
export declare const default_fqdn = "aaz.lt";
|
|
3
3
|
export declare function endsWithFQDN(dns: string): boolean;
|
|
4
|
+
/** Short name of the primary home-control host — jserv, vdevice and SQL all live here.
|
|
5
|
+
* Defined here rather than in each consumer so there is one place to change it; hlib
|
|
6
|
+
* re-exports these for the browser. */
|
|
7
|
+
export declare const primaryHost = "rmf39";
|
|
8
|
+
export declare const primaryHostIP4 = "172.20.3.39";
|
|
9
|
+
/** Fully qualified name of the primary host, e.g. rmf39.aaz.lt */
|
|
10
|
+
export declare const primaryFQDN = "rmf39.aaz.lt";
|
|
4
11
|
/** Centralized port definitions for all services */
|
|
5
12
|
export declare const ports: {
|
|
6
13
|
jserve2: number;
|
|
@@ -26,7 +33,6 @@ export declare const ports: {
|
|
|
26
33
|
mlpanels: number;
|
|
27
34
|
wizzer: number;
|
|
28
35
|
pserve: number;
|
|
29
|
-
vserve: number;
|
|
30
36
|
checkmake: number;
|
|
31
37
|
bbt: number;
|
|
32
38
|
backts: number;
|
package/ports.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/** Default fully qualified domain name */
|
|
2
2
|
export const default_fqdn = 'aaz.lt';
|
|
3
3
|
export function endsWithFQDN(dns) { return /\.aaz\.lt$/i.test(dns); }
|
|
4
|
+
/** Short name of the primary home-control host — jserv, vdevice and SQL all live here.
|
|
5
|
+
* Defined here rather than in each consumer so there is one place to change it; hlib
|
|
6
|
+
* re-exports these for the browser. */
|
|
7
|
+
export const primaryHost = 'rmf39';
|
|
8
|
+
export const primaryHostIP4 = '172.20.3.39';
|
|
9
|
+
/** Fully qualified name of the primary host, e.g. rmf39.aaz.lt */
|
|
10
|
+
export const primaryFQDN = `${primaryHost}.${default_fqdn}`;
|
|
4
11
|
/** Centralized port definitions for all services */
|
|
5
12
|
export const ports = {
|
|
6
13
|
jserve2: 10080,
|
|
@@ -26,7 +33,7 @@ export const ports = {
|
|
|
26
33
|
mlpanels: 9301,
|
|
27
34
|
wizzer: 9310, // Work in progress Wiz control. Internal only so not https for now
|
|
28
35
|
pserve: 9311, // Photo server
|
|
29
|
-
vserve: 9312,
|
|
36
|
+
// vserve: 9312, // Video server from IIS
|
|
30
37
|
checkmake: 9313,
|
|
31
38
|
bbt: 9314, // Bulletin board test
|
|
32
39
|
backts: 9315,
|