Closed mar-schmidt closed 1 month ago
Hey there @elupus, mind taking a look at this issue as it has been labeled with an integration (fjaraskupan
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
fjaraskupan documentation fjaraskupan source (message by IssueLinks)
The signal strength sensor has a value of -98 dBm
Likely a problem with the bluetooth dongle. Any way you could try an esp32 ble gateway?
I can look into it. FYI my bt device works fine with ha's plejd integration. Not sure if that makes a difference
Btw. Turn off bluetooth temporarily on your phone when testing (and possibly powercycle the fan on your house breakers). The fan can only handle one connection at a time. So if your phone keeps a connection (or the fan thinks it does) it will not accept anything new.
Unfortunately that didnt make a difference
Have had a similar issue recently, which happened when I cut all power in the house. After restarting the fan with the circuit breaker, as @elupus suggested, it reassociated.
Then today after having the same issue, it was because the fan had associated with my phone's Fjäråskupan app which I used to debug the prior issue. This time it sufficed to turn off Bluetooth on the phone, uninstall the app, then reboot the Home Assistant Yellow. Which worked, as @elupus also suggested.
Also note, my Fjäråskupan fan has the rotary wheel control, and a damper (in Swedish "spjäll"), which means both of the fan's motherboard I2C ports were already occupied - meaning there's no third connector for the bluetooth controller. But this is possible to workaround. To workaround this I added one more 'Molex 903270306' to the already long panel connector cable. With another Molex connection the rotary wheel control and the fan's Bluetooth module can share the same I2C port on the Fjäråskupan motherboard. The trick is (important) to connect them such that the motherboard I2C port connector from the motherboard branches out to Bluetooth on one side, and rotary panel on the other side, meaning: fan panel & bluetooth module are not connected in serial. Connecting them serially results in garbage signals. Overall: this way the Fjaraskupan Bluetooth module can be installed even on Fans that technically can't have the Bluetooth module in the first place, due to lack of free I2C ports. This is of course a solution that isn't supported by Fjaraskupan, just something I had to do myself out of necessity.
Slightly off topic, but just to share. Note that I'm using a slightly modified version of this integration (attaching patch balow), such that only house ventilation is controlled. This is because I'm using https://community.home-assistant.io/t/bathroom-humidity-exhaust-fan/509992 integration together with 'Bosch Smart Home Room Thermostat II 230V' in the restrooms, which controls floor heating, and has a humidity sensor. When the humidity sensor triggers the 'Bathroom Humidity Exhaust Fan' automation, it only sends an ON/OFF signal, hence the attached patch was required to ensure 'after_cooking_manual' is the only option in the Fjaraskupan integration, such that it can be triggered using 'Bathroom Humidity Exhaust Fan' automation's ON/OFF directives. Works quite well: bathrooms get ventilated, and any ongoing mode can get overridden at the panel. Hope this helps someone. Cheers!
One more update on this, but I have another observation.
I do notice however that 'Timeout on connect' happens from time to time, despite no Bluetooth device in my home has the Fjäråskupan app installed. Interestingly enough, when this happens, a 'HA restart' helps, and the fan re-associates (NOTE: not a system reboot of the Home Assistant Yellow).
I'm suspecting that the Fjäråskupan bluetooth module has some form of list of known prior associated devices, which it will proactively attempt to associate with. This is of course just a theory, but it would be a PITA if true.
Also, it's interesting that 'HA restart' actually helps, as that's just a reboot of the automations and script, and not the complete system - hence a software workaround for this should be possible.
Home Assistant Yellow: Core 2024.6.4 Supervisor 2024.06.2 Operating System 12.4 Frontend 20240610.1
I'm going to close this. The mentioned bluetooth adapter is listed on https://www.home-assistant.io/integrations/bluetooth/ as needing additional OS level patches. So please try with a known good bluetooth dongle and see if it works better.
The problem
Homeassistant can identify the bluetooth signal and allows me to set up the integration, but whenever I try to start the fan or start the lights Im getting a timeout. My BT device is a BCM20702A0 (0b05:17cb) by Broadcom Corp
Bluetooth integration using Fjärråskupans iOS application works fine at all times.
What version of Home Assistant Core has the issue?
core-2024.5.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
fjärråskupan
Link to integration documentation on our website
https://www.home-assistant.io/integrations/fjaraskupan/
Diagnostics information
Home Assistant Log May 8 2024.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response