Coder Social home page Coder Social logo

Comments (9)

nica-f avatar nica-f commented on May 27, 2024

PS: I see that you also use the python-eq3bt library to connect to the eQ3. In my setup the bleak backend does not work, which seems to have become a common problem for many. The gattlib and bluepy backends do work though. Which backend do you use by default and can this default eventually be changed if necessary?

from eq3btsmart.

dbuezas avatar dbuezas commented on May 27, 2024

I need to update the component to the latest home assistant version.
This component is based on that library, but has diverged quite a bit from it (so much an pull request would make no sense as it would break their CLI and pretty much everything else). This component is specifically adapted and optimized to newer HA version.
I don't know why it broke now, I use uid notify handlers instead of integers for better compatibility, it looks like that API got removed.

I will fix it soon (after I myself update HA) :)

from eq3btsmart.

dbuezas avatar dbuezas commented on May 27, 2024

Oh, I forgot to answer your question: no, I won't change to something other than bleak because that's the Home Assistant wants integrations to use. They put a lot of work to make all integrations work together efficiently and channel traffic through BTProxy and whatnot.
And I also put effort into making a new async bleak endpoint with retries, etc.
Things are just in flux because home assistant is still tweaking and adding features to the Bluetooth integration, I just need to publish a fix when I have time

from eq3btsmart.

nica-f avatar nica-f commented on May 27, 2024

Ah, thank you very much! Looking forward to everything and very much appreciate your effort :-)

Concerning bleak maybe it is just an issue with the seemingly older python-eq3bt that is fixed with your efforts? That would of course also be great. Right now I am back on the old eQ3 integration and hacked the older backend as default into it again, which makes my TRVs to show up again, but that's clearly not a healthy solution.

So I stay tuned ;)
Thanks again!

from eq3btsmart.

dbuezas avatar dbuezas commented on May 27, 2024

:) cool!

from eq3btsmart.

dbuezas avatar dbuezas commented on May 27, 2024

Ok, I just updated Home Assistant to 2023.1.7 and it is working fine.
It looks like something went wrong with the installation of the component.
Reading the message again sehe ich, dass es nicht die Verbindung sondern das Setup von einem Gerät fehlgeschlagen hat. Also es ist nicht was ich dachte. Kannst du bitte eine Neuinstallation probieren? Die meiste Nutzer machen es durch HACS, und es ist wirklich zu empfehlen auch: es macht updates super einfach, plus es gibt viele andere frontend Komponenten und Integrations da. Das hier zum Beispiel :)

The issue with a different backend in the old integration is that it will cause problems with other bluetooth devices.

Let me know if a reinstall or HACS fixes it!

from eq3btsmart.

nica-f avatar nica-f commented on May 27, 2024

OK, so I am now running

Home Assistant 2023.1.7
Frontend 20230110.0 - latest

with HACS, installed your repo via HACS (removed my prior install beforehand) and I still get the same error:

Fehler
Der Konfigurationsfluss konnte nicht geladen werden: {"message":"Invalid handler specified"}

Hmm... I have no idea what this message could mean...

This is running on a Raspberry PI4 with Raspian bullseye in a Python virtual environment.

from eq3btsmart.

dbuezas avatar dbuezas commented on May 27, 2024

Here somebody had the same issue with another integration, and they solved it by deleting any remaining files via terminal 🤷

from eq3btsmart.

dbuezas avatar dbuezas commented on May 27, 2024

Assuming it's solved. Feel free to reopen if the issue persists

from eq3btsmart.

Related Issues (20)

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.