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?
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.
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?
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?
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?
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.
…