File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -100,16 +100,22 @@ To the enabled site inside the "server" section:
100
100
101
101
If you would like get informations about the hasses internal state, get statistics or client information you can send commands
102
102
to the hasses communication channel to modify the internal state, or get information to the log output.
103
+ It also possible the receive information on communication channels. (with "tcp" prefixed commands, these command are replied in json format)
103
104
104
105
These commands are:
105
106
106
107
"status" - Print status/statistics to the log
108
+ "tcpstatus" - Send status/statistics back to the sender on communication channel
107
109
"clientlist" - List clients to the log
108
110
"loglevel_quiet" - Set loglevel to minimal
109
111
"loglevel_normal" - Set loglevel to normal
110
112
"loglevel_debug" - Set loglevel to maximum
113
+ "numberofclients" - Print number of clients to the log
114
+ "tcpnumberofclients" - Send number of clients back to the sender on communication channel
111
115
"reinit_enable" - Enable re-initialize opened connections
112
116
"reinit_disable" - Enable re-initialize opened connections
117
+ "subscribedclients:<sub>" - Print number of the subscribed clients to the log
118
+ "tcpsubscribedclients:<sub>" - Send number of the subscribed clients back to the sender
113
119
"<token>=<message>" - Send message to the subscribers of <token>
114
120
"<token>=<message>;<token2>=<message2>" - Send more messages
115
121
"<token>-<rId>=<message>" - Send message to the subscribers of <token> except <rId>
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ int printhelp(void)
225
225
" \"reinit_enable\" - Enable re-initialize opened connections\n"
226
226
" \"reinit_disable\" - Enable re-initialize opened connections\n"
227
227
" \"subscribedclients:<sub>\" - Print number of the subscribed clients to the log\n"
228
- " \"tcpsubscribedclients:<sub>\" - Send number of the subscribed clients to back \n"
228
+ " \"tcpsubscribedclients:<sub>\" - Send number of the subscribed clients back to the sender \n"
229
229
" \"<token>=<message>\" - Send message to the subscribers of <token>\n"
230
230
" \"<token>=<message>;<token2>=<message2>\" - Send more messages\n"
231
231
" \"<token>-<rId>=<message>\" - Send message to the subscribers of <token> except <rId>\n"
You can’t perform that action at this time.
0 commit comments