can not get it to work, the ’ Custom deps deployment’ seems ok, folder are created in config
log still says
2023-09-26 11:14:10.788 INFO (SyncWorker_10) [homeassistant.loader] Loaded switchbot from homeassistant.components.switchbot
2023-09-26 11:14:10.802 INFO (SyncWorker_5) [homeassistant.util.package] Attempting install of PySwitchbot==0.39.1
I received my curtains 3 this week and via your custom script I already got it working.
How do I delete the current install via the Custom deps deployment addon?
If the v2 still doesn’t work, can you enable debug logging for the switchbot integration, try to pair and/or control the old curtains, and post the resulting log? Thanks.
Tried on 2023.10.b2 and indeed they show up as curtains and work. Any thoughts whether it will at some point be possible to activate quiet drift? Perhaps any workarounds? It seems that the quiet drift is indeed only triggerable when using Delay or Schedule. I plan on having nearly all my rooms equipped with these, and I would like to close/open the curtains with sunset/sunrise, and SwitchBot app doesn’t support triggering based on the sun, I would be happy if I could trigger opening/closing with QuietDrift e.g. with 1 minute delay:
I already did some research on the quiet mode and I plan to implement it (hopefully in time to make it into 2023.11). I posted some more more details on what I found last week: Support for SwitchBot Curtain 3 - #39 by the-ress
Do you have any ideas on how to best expose it in HA?
Thank you for the work. I notice that the state of the curtains is not synced to HA, is that correct? The integration does not show the position of the curtains if they are updated/controlled by the switchbot application. I forgot to recall if this is the same for Switchbot Curtain 2, maybe it is…? Requires a bit of time / update of the entity [and me not playing around too quickely with both HA and Switchbot App together…]
I think the switch on/off entitiy for quiet-mode is perfectly fine, this is also how switchbot implemented it in their own application. Did you manage to discover more speed modes? Or do we have just insanely fast vs extremely quiet?
BR
I meant a second cover entity. The issue with an on/off entity for quiet mode is that it complicates automations - for example you’d need to save the current state, turn quiet mode on, open the curtain, and then restore the original mode.
I tried multiple different values, but it looks like only the 2 speeds are supported.
Ah, clear to me now. Sounds like a good alternative too. Would any cards in dashboards linked to the state of just 1 entity be realtime updated when I used the quiet drift cover entity to set position?
Thanks for taking the time to add this support. What a great community.
This might be a silly question, i’m still kinda new to HA. but is the official switchbot integration supposed to support curtain 3 now? I’m not sure how to see which version of an integration I am using, or how to force an update. But I do know my curtain 3’s are not being detected!
Having two covers will tick the box, at least for me.
Just mentioning, though - having designed APIs and done UX for past 17 years, this does have a “hacky” smell about it. As probably having two controls for a single physical device isn’t what HA core team intended, nor is it intuitive. Quiet mode toggle does seem like to be a convention and I don’t think there are unusually cumbersome ways of achieving the result.
Perhaps, for making it easier to do automations, it would be possible to add a “quiet” parameter to the cover.xxx services? Similarly how light has a “transition” attribute, but in this case it would be a binary toggle. In the future, perhaps, covers will have a speed setting as well and all of this would mesh nicely with this hopefully intuitive approach.
Agree. Did somebody raise such feature request to the generic HA cover service already? is this the correctplace? Issues · home-assistant/core · GitHub
Additionally I would be happy to receive the double entity first to go forward and consume silent mode asap thru my automations
I have 2 switchbots version 3 paired to one curtain, so it opens from center. After updating to 2023.10, it discovered 2 new devices. One of them opens/closes the curtain normally (loud, fast, both sides). After reading this discussion, I expected the second one to do the same, but in quiet drift mode. Unfortunatelly, that’s not what happens. Using the second discovered curtain device, it’s same mode - loud and fast - but it opens/closes only left side.
You will have to wait for the update of the switchbot integration and being merged with Home Assistant core, probably 2023.11 or 2023.12 ‘the-ress’ can indicate this more precisely.
Having 2 entities today relates to Switchbot itself, it links 1 Curtain with another Curtain somehow. so the command to 1 curtain entity is copied to the other one internally. HA sees the 2nd curtain bot also and shows you the second entity. I had similar behavior with Curtain version 2.
@the-ress Do you intend to implement the quiet-drift mode for Curtain 3 and also for Curtain 2 (known as Silent mode in the Switchbot app?