Giter Club home page Giter Club logo

Comments (11)

Anrijs avatar Anrijs commented on September 26, 2024 1

I might have found the issue, but someone will need to check if fix works.
Try upgrading aranet4 to aranet4==2.3.4b1

from core.

Anrijs avatar Anrijs commented on September 26, 2024 1

See #115602 (comment)
But instead of aranet4==2.2.2, use aranet4==2.3.4b1

from core.

Anrijs avatar Anrijs commented on September 26, 2024 1

You can shell into container by running docker exec -t -i homeassistant /bin/bash

from core.

home-assistant avatar home-assistant commented on September 26, 2024

Hey there @aschmitz, @thecode, @Anrijs, mind taking a look at this issue as it has been labeled with an integration (aranet) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of aranet can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign aranet Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


aranet documentation
aranet source
(message by IssueLinks)

from core.

thecode avatar thecode commented on September 26, 2024

I think you have the same issue as #115602 but you identified the root cause.
@Anrijs FYI

from core.

Anrijs avatar Anrijs commented on September 26, 2024

I am not able to reproduce this at the moment, but i have got some ideas.
What hardware are You using? How are bluetooth advertisements received?

from core.

thecode avatar thecode commented on September 26, 2024

@Nikkulin3 (and others that want to provide a log with the advertisements sent by your devices)

Please add the following to configuration.yaml, restart home assistant, try to add a device or wait for a update from an existing device and attach the log.

logger:
  default: info
  logs:
    homeassistant.components.bluetooth: debug

Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.

Thanks

from core.

Nikkulin3 avatar Nikkulin3 commented on September 26, 2024

Thanks for the quick reply!

Hardware: Raspberry Pi 4-64 4GB using the on-board bluetooth.
fyi: I'm connecting some Govee BLE devices with bluetooth for temp/humidity and reading data from them successfully.
The Aranets Bluetooth MAC-Address is E2:5C:41:DD:43:DA. (see log / image)
image

For the log, I cleared everything from boot, then tried adding the device again. The log is the
cat .. | grep homeassistant.components.bluetooth-version. I think that's what you asked...
ha-bluetooth.log

@Anrijs I don't know what you mean with "How are bluetooth advertisements received?" but I hope the log clears that up for you.

from core.

thecode avatar thecode commented on September 26, 2024

Thanks @Nikkulin3.

@Anrijs from his log:

2024-04-30 21:26:17.387 DEBUG (MainThread) [homeassistant.components.bluetooth] Rediscovered adapters: {'hci0': {'address': 'DC:A6:32:5B:71:C6', 'sw_version': 'homeassistant', 'hw_version': 'usb:v1D6Bp0246d0548', 'passive_scan': True, 'manufacturer': 'Raspberry Pi Trading Ltd', 'product': None, 'vendor_id': None, 'product_id': None}}

Advertisements received by standard PI Bluetooth adapter (using passive scan, no device name)

The log contains all advertisements from his device, I believe they can be injected offline to understand the problem.

from core.

Nikkulin3 avatar Nikkulin3 commented on September 26, 2024

Not sure how to access pip from within the home assistant os. On my PC, the current version aranet4==2.3.3 connects with the aranet device, which is unexpected and makes things hard to debug for me.

from core.

Nikkulin3 avatar Nikkulin3 commented on September 26, 2024

I am unable to find the file /usr/src/homeassistant/homeassistant/components/aranet/manifest.json on my HA-OS file system nor any folder named aranet or aranet4 while searching /.
Neither with ssh addon or portainer addon+console ingress.
A more elaborate explanation of what shell into home assistant container means exactly (which container? how?) would probably help. I am probably looking in the wrong places.

from core.

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.