There was some discussion a while ago (see #598 for example) about an interface to control K remotely (i.e. when running naked) so that one can at least connect/disconnect K with an easy telnet command (or similar).
What about that, is this still planned?
Can use web socket for quick hacks or prototypes - https://github.com/ctubio/Krypto-trading-bot/issues/811#issuecomment-485596189
EDIT: looks like some more work needed; i鈥檓 unfortunately no longer working with kbot these days myself
Doesn't work (commented it in #811 )
kill -9 K-trading-bot doesn helps to restart?
Yes it does, but what does that help in connecting via wscat?
I'd like to read out the params (or set them) from the cmdline, not from the gui... so the wscat way (#811) would be very nice...
i had added some comments at https://github.com/ctubio/Krypto-trading-bot/issues/811#issuecomment-505400614 about wscat, hope it helps'''
closing this cos as a "remote/telnet interface" nothing needs to be done because the websocket is already public
Hm, ok now I can read/set the params, but I can't check or set the state (connected/disconnected) via wscat, can I?
@Pat71 you can change the state with -d{"agree":0} and -d{"agree":1}. As I said in the edit of the linked comment, you can quickly see the websocket messages of all the buttons by reviewing the messages sent in the gui.
Great, thanks!
:bulb: i usualy use: wscat -c ws://address:port --auth user:pass
for example, to read quoting parametrs use: wscat -c ws://address:port --auth user:pass -x "=f"