McKael / samtv

samtvcli -- Network CLI remote for Samsung TVs (models 2014-2015)
https://lilotux.net/~mikael/pub/samtv/
MIT License
40 stars 4 forks source link

Question for porting this #11

Closed mStirner closed 1 year ago

mStirner commented 1 year ago

Hey,

i wanted to start porting this to js/node.

My first step for this was, to pair with your script and use the values in the config *.yml to establish a websocket connection and control the tv. Then i wanted to do the crypto stuff.

The problem is, i cant see where you load the config file and what you are do then with session_key & session_id then. How/where do you build/establish a ws connection with the values from config?

Thanks in advance.