Comments (4)
It works now!
I needed to upgrade mosquitto from 1.6.9-1 to 1.6.12-0 via the mosquitto dev branch which can be added via sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
.
You may include this in your instructions, because I have the feeling I will not be the only one who
- puts the CA file in the "default" folder under /etc/mosquitto/ca_certificates
- does not have the newest version of mosquitto because he is using the standard apt repositories and not the dev branch of the mosquitto repo.
from home_assistant_hisense_tv.
Can you make sure you are using the latest version of Mosquitto?
Put the CA file in another folder, such as your home directory, since you are not using the Home Assistant Mosquitto addon.
Further debug the issue, through this: https://github.com/tiagofreire-pt/Home_Assistant_Hisense_TV#further-debugging-or-exploring-the-mqtt-broker-inside-the-tv (the bottom)
from home_assistant_hisense_tv.
Damn, I really thought I had it. Moving the CA file to another folder worked at first, but as soon as the TV is switched off, the Mosquitto broker is stuck in a restart loop again. Here's the message:
Nov 08 21:47:13 homeassistant systemd[1]: Started Mosquitto MQTT v3.1/v3.1.1 Broker.
Nov 08 21:47:18 homeassistant mosquitto[1021]: mosquitto: /build/mosquitto-kshoW_/mosquitto-1.6.9/src/loop.c:730: loop_handle_reads_writes: Assertion `pollfds[context->pollfd_index].fd == context->sock' failed.
Nov 08 21:47:18 homeassistant systemd[1]: mosquitto.service: Main process exited, code=killed, status=6/ABRT
Nov 08 21:47:18 homeassistant systemd[1]: mosquitto.service: Failed with result 'signal'.
Nov 08 21:47:18 homeassistant systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 6.
Nov 08 21:47:18 homeassistant systemd[1]: Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
Nov 08 21:47:18 homeassistant systemd[1]: Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
Nov 08 21:47:18 homeassistant mosquitto[1030]: 1604868438: Loading config file /etc/mosquitto/conf.d/hisense.conf
Nov 08 21:47:18 homeassistant mosquitto[1030]: 1604868438: Warning: Bridge hisensemqtt using insecure mode.
This only happens when the TV is off. When it is on again, the restart loop stops.
from home_assistant_hisense_tv.
Thanks for posting your solution!
from home_assistant_hisense_tv.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home_assistant_hisense_tv.