core: Motionblinds bluetooth - no longer works without explicit connect
The problem
I recently updated from 2024.6.4 to 2024.10.2. Previously, my one Motionblinds (integrated via ESPHome BLE proxies) was working normally.
Since updating, just issuing the close or open action - either via the cover entity in the HASS UI or via a Scene - does nothing. In order to get it to work, I must now explicitly press the “connect” button and then immediately issue the close action.
I also updated ESPHome at the same time but have not updated the actual ESPs themselves, so that shouldn’t be relevant here.
I have not dug into this issue myself in any depth, beyond capturing the logs. I’d actually had my own Motionblinds BLE implementation in Python almost finished when this integration became available, so I have a decent working knowledge of BLEak and the Motionblinds protocol and am willing to help with debugging as my time allows.
Additional Information
5 minutes after pressing the cover UI button to close, I see the following in the logbook (newest to oldest):
Motionblind 0EF4 Speed became unknown
5:51:00 PM - 5 minutes ago
Living Room Shade became unknown
5:51:00 PM - 5 minutes ago
Motionblind 0EF4 Connection status changed to Disconnected
5:51:00 PM - 5 minutes ago
Motionblind 0EF4 Connection status changed to Disconnecting
5:51:00 PM - 5 minutes ago
Motionblind 0EF4 Speed changed to High
5:50:45 PM - 5 minutes ago
Living Room Shade is closing
5:50:45 PM - 5 minutes ago - Jason
Motionblind 0EF4 Connection status changed to Connected
5:50:45 PM - 5 minutes ago
Motionblind 0EF4 Connection status changed to Connecting
5:50:43 PM - 5 minutes ago
However, it’s been 5 minutes and the blind has not moved at all.
Debug logs from the time I pressed the button until now:
Oct 15 17:50:43 nuc1 docker-hass[563612]: 2024-10-15 17:50:43.708 DEBUG (MainThread) [homeassistant.components.motionblinds_ble.cover] (0EF4) Closing
Oct 15 17:50:43 nuc1 docker-hass[563612]: 2024-10-15 17:50:43.708 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Connecting using create_task
Oct 15 17:50:43 nuc1 docker-hass[563612]: 2024-10-15 17:50:43.708 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating connection: connecting
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.054 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating connection: connected
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.086 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Refreshing disconnect timeout to 15.00s using call_later
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.086 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Sending message: 02c001180a0f11322d0056
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.086 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received response in 0.00s
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.086 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Refreshing disconnect timeout to 15.00s using call_later
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.087 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Sending message: 03050f02180a0f11322d0057
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.087 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received response in 0.00s
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.087 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Refreshing disconnect timeout to 15.00s using call_later
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.087 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating running: closing
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.088 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Sending message: 03020302180a0f11322d0057
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.088 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received response in 0.00s
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.269 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received message: 0201c0
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.289 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received message: 12040f020e000000000b0bb403000000005c09
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.289 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received status; position: 0, tilt: 0, battery percentage: 92, is charging: False, is wired: False, speed: HIGH, end positions: BOTH, favorite position set: False
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.289 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating position: 0, tilt: 0
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.290 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating battery; percentage: 92, is charging: False, is wired: False
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.290 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating speed: HIGH
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.291 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating end position info; end positions: BOTH, favorite position set: False
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.291 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating calibration: calibrated
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.481 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received message: 12040f020e000000000b0bb403000000005c09
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.481 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received status; position: 0, tilt: 0, battery percentage: 92, is charging: False, is wired: False, speed: HIGH, end positions: BOTH, favorite position set: False
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.481 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating position: 0, tilt: 0
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.481 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating battery; percentage: 92, is charging: False, is wired: False
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.482 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating speed: HIGH
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.482 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating end position info; end positions: BOTH, favorite position set: False
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.482 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating calibration: calibrated
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.670 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received message: 12040f020e000000000b0bb403000000005c09
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.671 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Received status; position: 0, tilt: 0, battery percentage: 92, is charging: False, is wired: False, speed: HIGH, end positions: BOTH, favorite position set: False
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.671 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating position: 0, tilt: 0
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.671 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating battery; percentage: 92, is charging: False, is wired: False
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.671 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating speed: HIGH
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.671 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating end position info; end positions: BOTH, favorite position set: False
Oct 15 17:50:45 nuc1 docker-hass[563612]: 2024-10-15 17:50:45.671 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating calibration: calibrated
Oct 15 17:51:00 nuc1 docker-hass[563612]: 2024-10-15 17:51:00.088 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Disconnecting after 15.00s
Oct 15 17:51:00 nuc1 docker-hass[563612]: 2024-10-15 17:51:00.088 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating connection: disconnecting
Oct 15 17:51:00 nuc1 docker-hass[563612]: 2024-10-15 17:51:00.088 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Disconnecting
Oct 15 17:51:00 nuc1 docker-hass[563612]: 2024-10-15 17:51:00.135 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Disconnected
Oct 15 17:51:00 nuc1 docker-hass[563612]: 2024-10-15 17:51:00.135 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating connection: disconnected
Oct 15 17:51:00 nuc1 docker-hass[563612]: 2024-10-15 17:51:00.136 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating calibration: None
Oct 15 17:51:00 nuc1 docker-hass[563612]: 2024-10-15 17:51:00.136 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating running: None
Oct 15 17:51:00 nuc1 docker-hass[563612]: 2024-10-15 17:51:00.136 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating position: None, tilt: None
Oct 15 17:51:00 nuc1 docker-hass[563612]: 2024-10-15 17:51:00.136 DEBUG (MainThread) [motionblindsble.device] (49:30:60:7C:0E:F4) Updating speed: None
What version of Home Assistant Core has the issue?
2024.10.2
What was the last working version of Home Assistant Core?
2024.6.4
What type of installation are you running?
Home Assistant Container
Integration causing the issue
motionblinds_ble
Link to integration documentation on our website
https://www.home-assistant.io/integrations/motionblinds_ble
Diagnostics information
config_entry-motionblinds_ble-7b80a70293a42176c803417c46b6de14.json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
See issue body.
Additional information
See issue body.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 20 (10 by maintainers)
@lennp Am I right that this fix wasn’t include in the 2024.11 update? I thought I’ll sit it out, but still have the same problems (I’m too comfortable doing the manual update)