-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Bluetooth BCM43xx fail #340
Comments
@tyborall commented on Jun 28, 2018, 5:57 PM UTC: I think the Pi 3 B(+?) hast another BCM5xxx. |
@jasimancas commented on Jun 28, 2018, 6:39 PM UTC: Is the 3B, not +, in hassio with ResinOS (old version) work fine, but in hassos (new version) not. Same files in Config folder and same add-ons install. |
@pvizeli commented on Jun 28, 2018, 6:54 PM UTC: Do you use the same |
@jasimancas commented on Jun 28, 2018, 7:00 PM UTC: The same config folder (home assistant). |
@pvizeli commented on Jun 29, 2018, 5:29 AM UTC: Can you look into If that the same, can you copy the start.elf, fixup.bin and bootcode.bin to hassos? Maybe the is a bug RPI firmware. |
@jasimancas commented on Jun 29, 2018, 8:26 AM UTC: In a few hours I'll do the necessary tests. Once I have the results I put them here. If you need any particular test, tell me. |
@jasimancas commented on Jun 29, 2018, 4:08 PM UTC: Ok, look this: If i copy start.elf, fixup.bin and bootcode.bin in Boot, same result:
|
@pvizeli commented on Jun 30, 2018, 7:28 AM UTC: The mac address is strange |
@jasimancas commented on Jun 30, 2018, 11:22 AM UTC: Yes, maybe this is the problem. |
@danielsjf commented on Jul 1, 2018, 9:48 PM UTC: If it helps anything, I tried the same on my raspberry pi 3 model B+. The ip also ends in aa, but also the rest is exactly the same. |
@pvizeli commented on Jul 2, 2018, 9:59 AM UTC: I move that to add-on repository and try to fix the add-on |
move[bot] commented on Jul 2, 2018, 9:59 AM UTC: This issue was moved by pvizeli to home-assistant/hassio-addons#339. |
@pvizeli commented on Jul 2, 2018, 10:15 AM UTC: I'm wrong: https://www.raspberrypi.org/forums/viewtopic.php?t=183474 Is that only with 64bit or also with 32bit a problem? (paskyecijano ) |
@jasimancas commented on Jul 2, 2018, 10:16 AM UTC: Both, 32 and 64 |
@pvizeli commented on Jul 2, 2018, 10:20 AM UTC: I try to extract the correct serial number from device tree |
@pvizeli commented on Jul 2, 2018, 10:29 AM UTC: Okay, I provide the bugfix they was describe there in HassOS 1.2 |
@pvizeli commented on Jul 2, 2018, 6:16 PM UTC: I was right, the problem is on add-on. On new linux version they need read the device-tree for serialnumber and not /proc/cpu. I fix that now on add-on |
Perfect, wait to update then. |
Please try it out :) |
HI @pvizeli , I push Start, but nothing, dont start. |
When push Start button, the color of the button is red for 2 seconds, but nothing happend, dont start |
Please report the log of: Supervisor, Add-on |
Supervisor: |
I am currently having the same "invalid mode" issue as jasimancas. Is there any way for me to apply the fix, without having to wait for the official release? Because I have no clue how long that could take and currently many automations are going bonkers due to presence detection not working. |
Update to Hassio 112 but... bcm43xx_init |
I've upgraded to the new 112 release, restarted HA via the CLI, and now everything is working properly again, thanks for the quick release @pvizeli ! |
Hmm yeah I work on it. Look like docker block the devicetree maping with version 18.03 |
Okay, I implement a workaround for now |
Thanks you very much @pvzeli |
Need explicit mount to /proc until the new version of docker come they allow to unmask some folders in sys. |
113 go out in 10min |
Also after full reboot? Do you need repair the devices? I don't see any reason why he not should work anymore. |
I play around with: #344 |
HassOS 64bits working with Rpi3B (not plus)? |
64bit is not official supported but it works. I see no issue actual. The official distro (rasbian run only with 32bit). |
Hi @pvizeli,
But not read anything information |
Strange, let me play on evening with it |
Hmm with my last update, it works for me. If they now not working for you, it is a problem with auth/pair maybe? |
Somehow it is still not working for me. The bluetooth log changed and is now not showing the MAC anymore. miflora wise, I've checked the MAC at least 4 times. It is correct. It does connect to my phone. I can find it with a bluetooth scan on my phone as well. I have also checked the configuration.yaml which has exactly the settings from the documentation: |
Yes @danielsjf same here:
|
It could be that the MAC is already set if you only reboot/update the add-on without a full start. Hmm I can add a |
Okay, we offload the handling from add-on into HassOS and provide later api nice API on webinterface for handling pairing inside Hass.io panel |
/move home-assistant/hassos |
Yes I think this is a good idea as it can also help debugging. At the moment it is very unclear what happens if the Mac address given in the config does not work. An in between could be that the Bluetooth add on has a more informative log. Currently it only shows four lines after it has started. It could show each attempt to connect and the result (e.g. Fail or success). |
home-assistant/operating-system#91 We integrate the modern bluetoothctl into host OS. We plan also to integrate bluetooth after that into hass.io, so that we could expose bluetooth functions to UI. |
HassOS version 1.5 is on build |
I close this now, you have the full power from HassOS and the add-on is not needed anymore. You can now also pair device over the CLI with bluetoothctl. |
It is not entirely clear to me if it is supposed to be fixed now. In any case I can still not connect to devices like the miflora. Whenever I reboot, I get an endless stream of |
@paskyecijano and @jasimancas , is this now working for any of you on the raspberry pi 3 B+ for the 64 bit version? It doesn't work for me so far. |
@jasimancas commented on Jun 28, 2018, 3:34 PM UTC:
I have installed the addon Bluetooth BCM43xx, but the devices dont report.
Raspberry PI3B
The log of the add-on:
I have https://www.home-assistant.io/components/sensor.mitemp_bt/ and https://www.home-assistant.io/components/sensor.miflora/
This issue was moved by pvizeli from home-assistant/hassos#52.
The text was updated successfully, but these errors were encountered: