MQTT Hisense TV

Hi Team.

I have Mosquitto broker and Zigbee2MQTT setup on my HA server. All my ZigBee stuff is imported fine. I now wish to add my Hisense TV to my HA. I can connect to the TV via MQTT Explorer so i know thats all good. What i dont know is what next? How do i add this so HA can see the device?

Craig

I am trying to use this integration

I have installed the integration but what i am not sure about is where this info goes

connection hisense
address <TV_IP_ADDRESS>:36669
username <HISENSE_MQTT_USERNAME>
password  <HISENSE_MQTT_PASSWORD>
clientid HomeAssistant
bridge_tls_version tlsv1.2
bridge_cafile hisense_ca.pem
bridge_certfile hisense_client.pem
bridge_keyfile hisense_client.key
bridge_insecure true
start_type automatic
try_private true
topic /remoteapp/# both 0 <MQTT_PREFIX> ""

OK, So worked out the config file needs to go in share/mosquitto but when the service is starting i am seeing this. The HA server and the HiSense TV are on the same network VLAN

No matter what i do with SSL and certs i just cant get past this. What am i doing wrong?

[21:31:03] INFO: Starting NGINX for authentication handling…
[21:31:03] INFO: Starting mosquitto MQTT broker…
1655411463: Loading config file /share/mosquitto/hisense.conf
1655411463: Warning: Bridge hisensetv using insecure mode.
1655411463: Warning: Mosquitto should not be run as root/administrator.
[21:31:04] INFO: Successfully send discovery information to Home Assistant.
[21:31:04] INFO: Successfully send service information to the Supervisor.
1655411463: mosquitto version 2.0.11 starting
1655411463: Config loaded from /etc/mosquitto/mosquitto.conf.
1655411463: Loading plugin: /usr/share/mosquitto/go-auth.so
1655411463: ├── Username/password checking enabled.
1655411463: ├── TLS-PSK checking enabled.
1655411463: └── Extended authentication not enabled.
1655411463: Opening ipv4 listen socket on port 1883.
1655411463: Opening ipv6 listen socket on port 1883.
1655411463: Opening websockets listen socket on port 1884.
1655411463: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411463: mosquitto version 2.0.11 running
1655411463: New connection from 127.0.0.1:59528 on port 1883.
1655411463: Client closed its connection.
1655411463: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411463: Client local.HomeAssistant closed its connection.
1655411464: New connection from 172.30.32.1:38501 on port 1883.
1655411464: New connection from 172.30.33.2:54982 on port 1883.
1655411464: New client connected from 172.30.32.1:38501 as 7sMlbJkcomDpEDCLVhsJ8n (p2, c1, k60, u’homeassistant’).
1655411464: New client connected from 172.30.33.2:54982 as mqttjs_1e3c36ed (p2, c1, k60, u’addons’).
1655411471: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411471: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411471: Client local.HomeAssistant closed its connection.
1655411477: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411477: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411477: Client local.HomeAssistant closed its connection.
1655411492: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411492: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411492: Client local.HomeAssistant closed its connection.
1655411511: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411511: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411511: Client local.HomeAssistant closed its connection.
1655411542: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411542: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411542: Client local.HomeAssistant closed its connection.
1655411546: New connection from 172.30.32.2:49694 on port 1883.
1655411546: Client closed its connection.
1655411573: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411573: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411573: Client local.HomeAssistant closed its connection.
1655411604: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411604: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411604: Client local.HomeAssistant closed its connection.
1655411635: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411635: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411635: Client local.HomeAssistant closed its connection.
1655411666: New connection from 172.30.32.2:41512 on port 1883.
1655411666: Client closed its connection.
1655411666: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411666: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411666: Client local.HomeAssistant closed its connection.
1655411688: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411688: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411688: Client local.HomeAssistant closed its connection.
1655411717: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411717: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411717: Client local.HomeAssistant closed its connection.
1655411748: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411748: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411748: Client local.HomeAssistant closed its connection.
1655411779: Connecting bridge (step 1) hisensetv (172.16.17.46:36669)
1655411779: Connecting bridge (step 2) hisensetv (172.16.17.46:36669)
1655411779: Client local.HomeAssistant closed its connection.

Good Day

Have you gotten your system to work as yet?

I am new to home assistant and struggling quite abit.

Can you give me a short breakdown of exactly how you configured yhis integration?

I did manage to get this working. It was cobbled together from many different sources. I am going to need to redo it again as my HA died. I will make a note of the steps and process.

Thank you so much. I was looking for the share/mosquito folder and could not find as well. I’m assuming I need to create this folder. I’ll await on you.

Sorry to be a pain. I have tried everything but I’m still not getting this going. I have some other applications that bombs out when modifying the mqtt configuration file. Also port 36669 is not list in my mqtt configuration. I noticed this might be the issue however changing one of the tcip ports to suit does not work either. Perhaps you can remember something?

Im going to try and do the write up this week as i am at the point of needing it for my automations.

1 Like

Hi. Have you managed to look into the system as yet?

1 Like

Sorry to resurrect an old thread. I have the same problem.
Connecting to the TV via MQTTExplorer works, but Mosquitto loops between step1 and step2 as in the log above.
Did something change in the last months?

Hi, I’m newish to MQTT and new to MQTTExplorer. What do I need to do in MQTTExplorer to connect to the Hisense TV please?

1 Like

Sorry to get this going again, got a problem with my certificates, i downloaded the files:

rcm_certchain_pem.cer
rcm_pem_privkey.pkcs8

Put it in my config like this:

connection hisensemqtt
address 172.xx.xx.xx: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

But it wont connect. Using MQTT Explorer with this files works like a charm. Any ideas somebody?

Sorry when resurrecting this thread again, but I do not get it, how to configure the bridge.
I managed to install the ha_hisense_tv and here I am stuck. I do not know, where to put the shown config. The integration does not show up in the UI. I guess that I have to put the “connection hisense …” anywhere, but I have no clue WHERE?

Can you help me out on that point?

1 Like

I’m trying to install the Hisense integration.
Unfortunately it doesn’t work, it freezes.

How can I tell if the bridge is configured correctly.
This is what I get from the mosquitto-brokers log:

…
2024-06-24 09:00:43: Opening websockets listen socket on port 1884.
2024-06-24 09:00:43: Connecting bridge hisense (192.168.0.43:36669)
2024-06-24 09:00:43: mosquitto version 2.0.18 running
2024-06-24 09:00:43: New connection from ::1:39020 on port 1883.
2024-06-24 09:00:43: Client disconnected due to protocol error.
[09:00:43] INFO: Successfully send discovery information to Home Assistant.
[09:00:44] INFO: Successfully send service information to the Supervisor.
…

192.168.0.43 is the Hisense U8QF.

Thx a lot
Christian

need new certificates, old not supported after upgrade firmware )