-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
HA Error when manually adding the Integration #6
Comments
You need to be on HA 2024.4, see my comment here: home-assistant/core#108326 (comment) The issue is basically that 2024.4 replaced something (I can't remember the name) with |
Backing up and upgrading now. Will revert back with the result. |
Have updated to
I can now add the Integration, and I assume I add the BT MAC address when prompted, which in my case is 0C:EC:80:E0:64:EE. The integration seems to complete, but doesn't appear in HA Integrations. Checking the ESP32 logs, I get the following, which seems to suggest an issue with the BT Comms.
Full Log
|
Can you supply the HA log? |
The mower is currently in its dock and charging, if that makes any difference? I'll set it mowing and try again and revert. |
Do I need to add the PIN for the mower into one of the .py files? |
Did you follow the documentation, specifically step 2. The mower isn't paired to the BLE device. You need to enter pairing mode in the mower and then restart the component.
|
I have reset the ESP32 and put the mower into pairing mode and tried adding the integration - all within 30 seconds and in that order.
Given I have tried a few times, is there anything in HA I can 'clear' such as a cache of the app and start again?
ESP
|
That would be my question too. I have similar problems with my Automower 420. Can't connect/pair the device. |
I removed the PIN and have now successfully paired with the mower, which is showing in HA |
What automower do you have, because on 420 it is not possible to remove PIN (also not to set 0000). All other PIN combinations are working. Or is there a trick to do that? |
I have the A305 I went into Security and set the security level to Low (No Pin, No Alarm, No Time limits) Medium turns on the PIN. Mine was set to high originally. |
Hi, thanks for the information. Unfortunately, the Automower requests the PIN despite the security level being "Low". |
The library has support for sending the pin, so that is something we can do. My mower is set to low security and I don't seem to need to send a PIN to the mower for BLE to work. The mower does ask for a PIN when it's turned on, at which point I enter a PIN on the mower and then everything works. I haven't bothered looking into PIN support, as I don't seem to need it. It should be possible to add though. First we just need some way in HA to specify the PIN, then we can just send the PIN as part of the connection process. |
On my mower (315) I cannot disable the pin, and I always get an error regarding the insufficient authorization. So if it were possible for you to implement the pin sending, it would be nice |
I'm pretty sure someone else is using a 315. So I think it can be done. The insufficient authorisation error usually occurs if the mower isn't paired. If anyone has a good pointer to supporting configuration options that would be a good start |
I've read all the issues, and I think I'm the only one who has a 315 (I'm the guy from the original "thank you" issue). I got it working once, but I couldn't send any command to the mower, then it never paired again. |
Hi! I added the integration manually. Though I can see the component is loaded, it doesn't show up in the integrations.
Do I need to configure to use bt-proxy explicitly? My built in BLE chip is also enabled, connected to other devices. |
Can you supply the full log? |
There are no more log entries for the automower_ble component in HAs log. Where would the component's log end up? |
The entire HA log. There should be lines after |
|
Weird... I guess the |
I found this from the BLE integration: { |
could it be some race condition with the mower being picked up by both ble adapters (built in and esp)? or does the esp btproxy appear as the same device? I'm running on a RPi 3B. I can see that hci0 is scanning the mower, but I'm not sure how to find out what my bt-proxy is doing since the logs are quite empty |
It could be. I recommend just using an ESPHome BLE Proxy as that is the most reliable |
Yes, disabling the internal BLE chip got me to the point where the mower is unauthenticated (Gardena). Any way I could do the authentication manually? |
#6 (comment) might help. Otherwise if you need to send a PIN you can look at adding PIN support to the HA component. See #6 (comment) for more details on that I'm going to close this issue as it was about |
Sure! And thanks for your effort! |
For people reading this, don't include a |
I have followed the instructions to install, but I am getting an HA Error.
I have:
When I try to add the integration, I get this error in the logs:
ESP Code:
Manifest File
ESP32 LOGS
The text was updated successfully, but these errors were encountered: