-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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
Home Assistant Core 2024.2.0 Switchbot Blind Tilt bluetooth not reporting State #109947
Comments
Hey there @Danielhiversen, @RenierM26, @murtas, @Eloston, @dsypniewski, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) switchbot documentation |
Some error log Logger: homeassistant.components.websocket_api.http.connection [140308806352192] 'position' |
Same here but the position of mine are showing Also a separate error same as above but showing
|
same error, although the blinds to physically move, they do not communicate with HA.
|
Same error here as well. Seeing a lot of error in Bluetooth callback messages like the one above. I do run esp32’s as Bluetooth proxies. |
Issue still present with Core 2024.2.1 |
Still broken. |
Unfortunately none of the maintainers have this device so support for it is not so great (and the library currently has no test coverage for them). dcmeglio is going to work on fixing this up. I also ordered a device for testing, but since I have no production use case for it so it would still be much better if someone who uses these devices on a daily basis signed up to maintain support for them. There are a few outstanding issues with these devices: |
I am a developer that have 2 of the Blind Tilt. Just tell me how to do it and I can help debugging/testing. Also - I am not a newbie, I had PR's accepted into core already. |
It likely has to do with this merge sblibs/pySwitchbot#226 the problem is in the python library not the integration though so you'll have to fork it, and install this core component as a custom_component then reconfigure it to you new library fork for testing. Looks like curtains and blind tilt share the same class? Before it looks like position had defaults, but now it doesn't. That might have be saving blinds since they share a class? Python is not my strong suit, so i'm just guessing at it. |
Suggested solution: |
Same exact Error here. Same logs already provided. |
Just commenting as I have the same issue. Although the blinds do what is instructed, an error is thrown saying HA failed to call the service cover/cover_set_tilt_position."position" but the blind will move, but the status stays as "unknown" and the % open does not change. |
same issue here. bluetooth proxies + all 5 switchbot blind tilts having the exact same issue, it breaks a few of my automations because status is "unknown" |
I believe I have a fix, but I don't have a tilt so I can't fully test. I ordered a tilt for testing but it won't be here till some time next week. If anyone who is having the issue knows how to ssh in to the docker container you could manually install the updated library:
and report back if the issue is resolved. Note that until my PR is merged, updating HA will auto-remove the package upgrade and cause the issue to reoccur. If someone can help test this I think we can probably get it in the next 2024.2.X Note: This requires the advanced ssh addon, not the regular terminal addon and knowledge on how to get into the docker container for homeassistant |
@dcmeglio I ran the install command from the console in HA container. Installed successfully, but still getting error below. I restarted the container as well and same results. Logger: homeassistant.components.websocket_api.http.connection [140047130526912] 'position' |
Did a |
Guess I’ll need to wait till a device arrives. I don’t see how that’s happening right now |
I got this error prior to the one listed above.
Not sure why it would look for |
That won't work because HA will downgrade the lib back to the version that comes with the HA version. You can do this instead. Be sure to remove the custom component this will generate later after upgrading to the next HA version.
|
Complied to those instructions. Blinds are reporting position percentage now, no more Switchbot related error messages in the logs. |
Thanks for confirming. I don't use switchbot devices anymore (and I'm only helping out here) so I have limited ability to test. I tested with the blind tilt I bought to test the pr as well as the plug and bots I had in storage and everything is good. |
Tested on mine and confirmed it is working!
Thanks!
…________________________________
From: J. Nick Koston ***@***.***>
Sent: 11 February 2024 17:15
To: home-assistant/core ***@***.***>
Cc: willliamchan ***@***.***>; Comment ***@***.***>
Subject: Re: [home-assistant/core] Home Assistant Core 2024.2.0 Switchbot Blind Tilt bluetooth not reporting State (Issue #109947)
Thanks for confirming. I don't use switchbot devices anymore (and I'm only helping out here) so I have limited ability to test. I tested with the blind tilt I bought to test the pr as well as the plug and bots I had in storage and everything is good.
—
Reply to this email directly, view it on GitHub<#109947 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANBLBDPF3KSXQYBAKGFRKHDYTD4CJAVCNFSM6AAAAABC7CEQEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXHAYTGMBWHA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Ah thanks. I thought HA only ran pip on upgrades not restarts. |
This fixed it for me as well. Thank you! |
Worked for me on HAOS install. Thanks |
+1 and thanks! |
worked perfect, used terminal in HA to ssl in. Then ran all blinds (6 in total) running on a Sena USB Bluetooth Adapter (UD100-G03) now operational again. My dusk to dawn script works again! No errors in system logs, or logbook. Thanks for your work! edit: removed extra digit in code. |
Thanks for this. Works for me too. |
I can't get this installed on HAOS supervised.
|
take off the 7 on the end of the curl . I copied and pasted from line above in reply, but on actual install I used the origional code.
is correct. |
Yes, thanks! Confirmed working, with blinds! |
With this issue fixed in 2024.2.2, is it safe to delete the custom switchbot folder under custom_components? |
Yes. |
@jorgwolski I'm struggling to delete the folder. I get "Directory not empty" when clicking delete. How do I do so? |
|
Got it. Thanks! |
The problem
-Home Assistant Core 2024.2.0 Switchbot Blind Tilt Bluetooth not reporting state and showing "unknown"
-issue appeared right after update
What version of Home Assistant Core has the issue?
core-2024.2.0
What was the last working version of Home Assistant Core?
core-2024.1.6
What type of installation are you running?
Home Assistant OS
Integration causing the issue
switchbot
Link to integration documentation on our website
https://www.home-assistant.io/integrations/switchbot/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: