Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When adding coffee machine no device or entities created #9

Closed
Avatar1976 opened this issue Dec 27, 2023 · 7 comments
Closed

When adding coffee machine no device or entities created #9

Avatar1976 opened this issue Dec 27, 2023 · 7 comments
Labels
question Further information is requested

Comments

@Avatar1976
Copy link

Avatar1976 commented Dec 27, 2023

My Giga5 with Bluetooth adapter is detected (Mac address appears and adds to home assistant with out errors) ok but after adding I have no entities or devices.
Thanks for your efforts so far was pleased to see someone working on an integration for our beloved Jura coffee machines. 😊
Is it possible the Giga 5 just isn't supported yet?
Screenshot_20231228_065648_Home Assistant

@AlexxIT AlexxIT added the question Further information is requested label Dec 27, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Dec 27, 2023

Setup integration is only first step when your BT can see device with right name:

macs = [v.address for v in devices if v.name == "TT214H BlueFrog"]

Second step is your device should send info with model number and your BT adapter should support active connection mode:

{"address": entry.data["mac"], "manufacturer_id": 171, "connectable": True},

@Avatar1976
Copy link
Author

Avatar1976 commented Dec 27, 2023

Second step is your device should send info with model number and your BT adapter should support active connection mode:

Are you suggesting I need to change HA Bluetooth adapters? Are their log files anywhere I can assist troubleshooting with providing?

@Avatar1976
Copy link
Author

I did find this setting in my Raspberry Pi 4 Bluetooth adapter settings just now (what I run my HA installation from).
Screenshot_20231228_072641_Home Assistant
Is this part of the issue potentially? Do I need to disable this?

@AlexxIT
Copy link
Owner

AlexxIT commented Dec 27, 2023

Sometimes you just needs to wait. If you not using some BT proxy - your BT should support connection mode. And you will get problems with "bad" adapter only during control step.

@Avatar1976
Copy link
Author

So the workflow seems to look like this (going to say something is not right with its comms with the coffee machine).
Screenshot_20231228_073320_Home Assistant
Screenshot_20231228_073346_Home Assistant

@Avatar1976
Copy link
Author

Disabled aforementioned passive scanning mode on my Bluetooth config in HA and it errors on loop (initialising, then erroring as per below).
Screenshot_20231228_074047_Home Assistant
So likely to be the built in raspberry pi4 Bluetooth adapter not suitable for use with your integration?

@Avatar1976
Copy link
Author

home-assistant/core#98461
Looks to be an ongoing issue with rp4 (and potentially also rp3). Hard reset of my rp4 (full power down) and restarting without passive setting appears to have now allowed me to add my Giga5 as expected.
Screenshot_20231228_081339_Home Assistant

Do get intermittent connection drops though but other than that seems to work as expected:
Screenshot_20231228_080337_Home Assistant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants