TV control from pc/home assistant

is there an api available to control the TV?
I have QE55Q6FNA series.
Like rest/websocket/soap or something like that?

I found that the tv returns json with information on http://tv:8001/api/v2/
There is debug information on http://tv:8001/ and some logs on http://tv:8001/logs/

How I can control the tv - volume, channels, power using pc?

I believe there are several project on that should be of assistance to you.
I found this one

Samsung Developer Program

Hi Ron,

is there any official Samsung documentation around those APIs?
I’m trying some of the NPM packages found on GitHub (including the one in your link) but it doesn’t work and it’s hard to tell what’s wrong or whether is an issue with the specific TV model.