GithubHelp home page GithubHelp logo

Comments (2)

PlusPlus-ua avatar PlusPlus-ua commented on July 24, 2024

Hi, thank you for the log.

The main problem is the poor connection quality between your device and BT adapter. I've made changes to prevent AttributeError, but you have to improve connection somehow.

from ha_tuya_ble.

mlykotom avatar mlykotom commented on July 24, 2024

I don't know if it's related, but I use Tuya CO2 detector BSS-X-CO2-U (59s19z5m), which works fine for couple of hours and then stops reporting values. Interesting fact is that setting the brightness still works, but it doesn't collect CO2 values.

The logs I get are

This error originated from a custom integration.

Logger: custom_components.tuya_ble.tuya_ble.tuya_ble
Source: custom_components/tuya_ble/tuya_ble/tuya_ble.py:503
Integration: Tuya BLE
First occurred: 9 September 2023 at 09:58:54 (373 occurrences)
Last logged: 11:18:43

DC:23:4F:1D:8B:BB: Device unexpectedly disconnected; RSSI: -64
DC:23:4F:1D:8B:BB: Device unexpectedly disconnected; RSSI: -62
DC:23:4F:1D:8B:BB: Device unexpectedly disconnected; RSSI: -65
DC:23:4F:1D:8B:BB: Device unexpectedly disconnected; RSSI: -66
DC:23:4F:1D:8B:BB: Device unexpectedly disconnected; RSSI: -67

Followed by this

This error originated from a custom integration.

Logger: custom_components.tuya_ble.tuya_ble.tuya_ble
Source: custom_components/tuya_ble/tuya_ble/tuya_ble.py:1247
Integration: Tuya BLE
First occurred: 9 September 2023 at 10:51:14 (40 occurrences)
Last logged: 11:18:50

DC:23:4F:1D:8B:BB: Unexpcted packet (number 0) in notifications, expected 6
DC:23:4F:1D:8B:BB: Unexpcted packet (number 0) in notifications, expected 4
DC:23:4F:1D:8B:BB: Unexpcted packet (number 0) in notifications, expected 3
DC:23:4F:1D:8B:BB: Unexpcted packet (number 0) in notifications, expected 1
DC:23:4F:1D:8B:BB: Unexpcted packet (number 0) in notifications, expected 2

When I disable/enable the Tuya integration and configure the integration again (without touching any hardware), it starts reporting again for couple of hours.

Thanks!

from ha_tuya_ble.

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.