Coder Social home page Coder Social logo

Comments (11)

EuleMitKeule avatar EuleMitKeule commented on May 28, 2024 1

I receive this error even with "Keep bluetooth connection open" enabled.

I think the problem does not lie in eq3btsmart or even python_eq3bt, at least when "Bluetooth adapter" is set to "Automatic".

When this is the case the exception is raised when homeassistant.components.async_ble_device_from_address does not return a BLEDevice.
To my understanding this will occur when the Home Assistant bluetooth component does not see any bluetooth advertisements from the thermostat.
If I am correct about this, it would mean that the issue lies either in the bluetooth component of the Home Assistant core itself or with the thermostat hardware failing to advertise itself.

from eq3btsmart.

dbuezas avatar dbuezas commented on May 28, 2024

To ensure it is not a signal issue, put the btproxy right next to the eq3 and let it autodiscover (remove the eq3 from integrations first and restart HA). If it doesn't discover it, there is an issue.

from eq3btsmart.

andycockerill-cpi avatar andycockerill-cpi commented on May 28, 2024

Thank you for the fast response. I followed your instructions and it discovered straight after a restart.

from eq3btsmart.

dbuezas avatar dbuezas commented on May 28, 2024

And does it connect and communicate correctly?

from eq3btsmart.

andycockerill-cpi avatar andycockerill-cpi commented on May 28, 2024

I'll leave it connected and get back to you when I have more info.

from eq3btsmart.

andycockerill-cpi avatar andycockerill-cpi commented on May 28, 2024

Further info: in the Logbook, at the same time as the error in the system log, I'm seeing:
Screenshot from 2023-11-23 16-12-28

from eq3btsmart.

dbuezas avatar dbuezas commented on May 28, 2024

Try going to the options and clicking "keep connection open". I think btproxys can keep at least 3 open connections at once.
You can also reduce the scan interval to 5 minutes, which will prevent disconnections.

Hopefully that makes it more stable. Note that I'm not using blproxys myself, I found usb dongles to work better

from eq3btsmart.

andycockerill-cpi avatar andycockerill-cpi commented on May 28, 2024

Thank you for the info, I'll try those.

from eq3btsmart.

andycockerill-cpi avatar andycockerill-cpi commented on May 28, 2024

I increased the scan level to 10 minutes (it was set to 1 as default) and selected "keep Bluetooth connections open". Errors have now stopped. I think it's probably worth noting this in the README for users of BT Proxy? Thanks once again for your prompt replies.

from eq3btsmart.

dbuezas avatar dbuezas commented on May 28, 2024

Oh cool to hear. Feel free to post your experiences there

from eq3btsmart.

dbuezas avatar dbuezas commented on May 28, 2024

One thing to take into account is that if your update rate is 10 times slower, you'll get a tenth of the warnings just because there's a tenth of things happening (you won't get a warning while the integration isn't doing anything)

It may well be that the esp32 was getting drown in work so it started failing, so reducing update frequency really solves things.

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.