MQTT with Hisense TV

Hi

I am trying to setup MQTT with my Hisense TV following this guide:

If I use MQTT Explorer on my Windows machine this works fine with the Cert File and Key and I can control the TV.

When I try from Home Assistant with a bridge, it fails to connect:

1624709343: Connecting bridge hisensemqtt (192.168.1.150:36669)
1624709343: Socket error on client local.HomeAssistant, disconnecting.

This is my config:

connection hisensemqtt
address 192.168.1.150:36669
username hisenseservice
password multimqttservice
clientid HomeAssistant
bridge_certfile /ssl/rcm_certchain_pem.cer
bridge_keyfile /ssl/rcm_pem_privkey.pkcs8
bridge_insecure true
bridge_tls_version tlsv1.2
try_private false
start_type automatic
topic +/remoteapp/# both

So because that fails I thought I would try it from the command line.

When I try to run this:

mosquitto_sub -d -h 192.168.1.150  -t "/remoteapp/#" -p 36669 --cert /ssl/rcm_certchain_pem.cer --key /ssl/rcm_pem_privkey.pkcs8 -u hisenseservice -P multimqttservice

It just says “Sending Connect” over and over again with no response.

It is the exact same key and cert I am using on my machine and username / password.

This is my config that works…

connection hisensemqtt
address 192.168.x.y:36669
username hisenseservice
password multimqttservice
clientid DE:AD:BE:EF:99:99
bridge_cafile /ssl/hisense.crt
bridge_insecure true
bridge_tls_version tlsv1.2
try_private false
start_type automatic
topic +/remoteapp/# both
bridge_certfile /ssl/rcm_certchain_pem.cer
bridge_keyfile  /ssl/rcm_pem_privkey.pkcs8

I have the bridge_cafile line in it, and the client_id is the MAC of the phone running RemoteNow.

1 Like