Giter Club home page Giter Club logo

Comments (4)

InventoCasa avatar InventoCasa commented on June 21, 2024 2

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

  1. puts the CA file in the "default" folder under /etc/mosquitto/ca_certificates
  2. 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.

tiagofreire-pt avatar tiagofreire-pt commented on June 21, 2024

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.

InventoCasa avatar InventoCasa commented on June 21, 2024

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.

tiagofreire-pt avatar tiagofreire-pt commented on June 21, 2024

Thanks for posting your solution!

from home_assistant_hisense_tv.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.