Switchbot Curtain

I need to check in more details indeed. Actually, the error seems non-fatal and the Config checker is successful. I also get the curtain to work by simply restarting the complete host. But error persist while
it seems to cause no issues.

I’ve got the same error displayed in visual studio code but I checked config was good and after restart all is working. @duceduc was right with the name for each curtains :wink:

i wish there is a video to do this step by step. totally noob about this.

1 Like

If your curtain device is in bluetooth range to your HA server, this will be the easiest way.

ya i got that working but i have another 2 curtains which are out of range. i have spare esp32 and raspberry pi at home. i tried both but somehow im stuck

i have spare esp32 and raspberry pi at home. i tried both but somehow im stuck

Oh. In that case, post your question here. The author will surely help you out with the install.

Hi @morles82 you mentioned the switchbot working on the IKEA VIDGA rail. Did the switchbot fit without any modifications? I am on the fence if I should buy them or not. The one thing stopping me at the moment is that the dimentions they give on their website don’t match my curtain rails (VIDGA). Could you possibly link to the exact rail you have or take a close up picture of them?

Thanks!

I am also thinking about buying the switchtbot for my curtains, but I cannot seem to find a definite answer if it fits the Vidga rail without any modifications. Did the switchbot fit the curtain rail without any modifications? Thanks in advance!

Does that mean I have to install something else?

Scratch that, added the Name of the curtain and now it works beautifully!

Hi there,

I added the switchbot-curtain integration

And its working fine so far. Just wondering if it’s possible to expand this integration for two additional feautures:

  • Battery status of switchbot curtain device
  • Real position instead of assumed state

Does anybody know?

Regards,
Lorenz

Hey there! Just a headsup, I can confirm that the SwitchBot will work without modifications on the straight pieces of the VIDGA rails, but when you want it to go around a corner it won’t do it. I’m pretty pleased with mine at the moment!

Hello everyone,

I added the integration to my home assistant and it works well with my curtain devices. It just rocks!!

I’m under the impression however that after a few days it fails to work. It’s like if after a certain time, the integration would stop to work.

Anybody?

Thanks!

I am assuming your are referring to this integration? As far as I can tell, it shouldn’t stop working after awhile, though I am not using it to control the curtains. I know the switchbot integration a handful of users are having trouble where it has stopped working for them, but that is only to control the switchbot bot and not the curtain.

Hi, im new to home assistant and im tryign to get a switchbot curtian working over bluetooth. i isntalled the repository from GitHub - alextud/ha-switchbot-curtain: Controls switchbot curtain using Home Assistant however idk what to do after this point. i know i have to add code to say my mac adress and everyhitng but im nto sure how to do that?
do i got to fileditor>Browse file system> custom components> switchbot-curtain and palce the code inside one of these files?

im using a RPi 4

sorry for the noob questions, just trying to learn.

do i got to fileditor>Browse file system> custom components> switchbot-curtain and palce the code inside one of these files?

No, you do not edit any files under that folder.

Since you just started using HA, I assume you added the code in the configuration.yaml file like so?

configuration.yaml

cover:
  - platform: switchbot-curtain
    mac: 'C5:D6:56:RF:48:BC'
    name: 'living room curtains'

Check to make sure the code is correct by clicking on CHECK CONFIGURATION under Server Controls before restarting HA.
Once back online, navigate to Developer Tools in HA. Under STATES type in in the entity field box.

cover.living_room_curtains

You should see this entity. Now setup a cover automation with this entity to have your curtain do whatever you wish.

Thanks so much, this helped, i was confused as to where that code went. This helped. thanks :slight_smile:

I really can’t 100% confirm the integration stops to work. All I can say is that when HA has been up for some time, my curtains won’t respond. As soon as I reboot HA, my curtains work back.

Any ideas how to troubleshoot my case?

Thanks!!

Is the curtain bot just shy out of bluetooth range? It maybe just having a hard time finding the bot due to interference and a retry may connect without having to restart HA.

I don’t think the device is out of range because as soon as I reboot, curtains work just fine. Maybe Bluetooth signal degenerates overtime?

There’s surrounding interference to put in factor as well, but that will just be temporary and a reboot should not be required.

Have you tried waiting out when the bot stop responding without restarting HA to see if the bot will respond again or it just stopped indefinitely?