Sony bravia kd43xe7096

Hello!

I had some trouble to configure my sony bravia with home assistant, but i think the problem is my tv.
the tv description is here

first, I added the “platform: braviatv” with the correct host IP; no bravia.conf file. Rebooted everything. The configuration module appears. But, in the log file, i have

2018-01-26 20:30:16 ERROR (SyncWorker_4) [braviarc.braviarc] [W] Exception: HTTPConnectionPool(host='192.168.1.15', port=80): Max retries exceeded with url: /sony/accessControl (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x6f1f6af0>: Failed to establish a new connection: [Errno 111] Connection refused',))

I can ping my tv:

PING 192.168.1.15 (192.168.1.15): 56 data bytes
64 bytes from 192.168.1.15: seq=0 ttl=63 time=1.526 ms
64 bytes from 192.168.1.15: seq=1 ttl=63 time=1.521 ms

but a telnet on port 80 do nothing:

$ telnet 192.168.1.15 80
Trying 192.168.1.15...
telnet: connect to address 192.168.1.15: Connection refused

An nmap on that host

$ nmap -p- 192.168.1.15

Starting Nmap 7.60 ( https://nmap.org ) at 2018-01-26 21:08 CET
Nmap scan report for pc-11.home (192.168.1.15)
Host is up (0.0079s latency).
Not shown: 65531 closed ports
PORT      STATE SERVICE
2870/tcp  open  daishi
13000/tcp open  unknown
56789/tcp open  unknown
56790/tcp open  unknown

Basically, I am lost, don’t really know what else to try, so any help is appreciated!

a picture of the network access on my tv (in french, sorry)

Thanks!

Maybe you can try my Bravia custom component, see Sony Bravia TV component with Pre-Shared Key.
It also contains an explanation how to configure your TV.

Your error says port=80 and nmap says that port is closed.
A Google search says.
“The server running on BRAVIA listens on TCP port 20060. TCP connections are kept among requests but
they are disconnected by server if no command is sent from client in 30 seconds.”
Try using that port in Hass?
Also nmap only scans common ports. Try nmap 192.168.1.15 -p 20060

Hello jand thanks for your time.
to port 20060 is also closed

i think all configuration in my tv are good for connecting something but i doesn’t work.

Hello Gerard33,

i’m trying your custom component but it still the same.

For the “Installation instructions TV”, i do not have “IP Control” in [Home Network Setup] section.
I only can turn on [Remote Start]

Hi defts

I am in the same situation with my 2017 Bravia KDL-32W660E

These low-end models don’t appear to have the feature.

Hi Jman,

yes you are right. this is sad.

Thanks all for your time !