AdyRock / com.switchbot

GNU General Public License v3.0
11 stars 6 forks source link

Curtains Not Working #96

Open FSUShanks opened 10 months ago

FSUShanks commented 10 months ago

I have bought 4 Curtain 3,Rod controllers and solar panels to go with them, they were pretty easy to install and get up and running. I set up the curtains to open and close with sunrise and sunset, I add them to homey and created Some flows on there to do the same open and close but sunrise and sunset. This all seemed to be working very well but I had had some issues with the Homey pro 2023 with items not installing as easy as they potentially were described to and some not at all but I didn't think it was anything to do with the Homie pro as such but maybe something to do with the particular Homey pro that I had so I exchanged it for a new one and it started to set this one up same as the other. What I have noticed is that the curtains aren't opening anymore and I'm also beginning to think that maybe I had left them working with the Switchbot hub before and not working directly with the Homey, which means that they weren't actually working how I thought they were it was the Switchbot hub that was doing all the work. I have created the flows exactly as before and they didn't work in the morning so I created some more flow starter buttons, So that the flow is called instantly but they have just errored, I don't know what's happening could you please help thank you.

AdyRock commented 9 months ago

Sorry to take so long to get back to you. How have you connected then to Homey (BLE or HUB)?

FSUShanks commented 9 months ago

Hello Adrian

That’s okay, thank you for the email. I just added them as devices, then used the group app to group them, same as I did with Aqara blind motors, they generally work well. The Switchbot curtain 3 are not playing well at all, sometime mornings, but mostly evenings they do not close.

Stay Safe & Well Blue Skies Harry Shanker

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 10:11 AM To: AdyRock/com.switchbot @.> Cc: Harry Shanker @.>; Manual @.> Subject: Re: [AdyRock/com.switchbot] Curtains Not Working (Issue #96)

Sorry to take so long to get back to you. How have you connected then to Homey (BLE or HUB)?

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/96#issuecomment-1948095568, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFR6LVHWLJ7DF5ROH7RM6FDYT4WERAVCNFSM6AAAAABCP66VROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGA4TKNJWHA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

AdyRock commented 9 months ago

But when you add them to Homey you can choose between the (hub) driver or (BLE) driver. Homey's BLE is not the best for reliability, so if possible add them via the hub driver.

FSUShanks commented 9 months ago

Ah, okay, I’m not sure which I did it with, I will delete and reconnect, right?

Stay Safe & Well Blue Skies Harry Shanker

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 12:40 PM To: AdyRock/com.switchbot @.> Cc: Harry Shanker @.>; Manual @.> Subject: Re: [AdyRock/com.switchbot] Curtains Not Working (Issue #96)

But when you add them to Homey you can choose between the (hub) driver or (BLE) driver. Homey's BLE is not the best for reliability, so if possible add them via the hub driver.

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/96#issuecomment-1948318798, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFR6LVDFE7D5TD3UNPV3OW3YT5HSZAVCNFSM6AAAAABCP66VROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGMYTQNZZHA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

AdyRock commented 9 months ago

If you see the RSSI level in the device panel, then it was added via BLE and I would recommend using the hub (if you have one of course).

FSUShanks commented 9 months ago

Hello Ady

How would I be able to change this if it is, I have looked in settings, device info and I see BLE MAC, so I am guessing it is, I also remember add the curtains before the hub arrived so almost certain it would have been via BLE.

An issue for me also will be that I want most all of the items to work without internet, so if broadband fails for a while I wont have any issues, you see, thank you.

Just to put you in the picture I have just spent 16 months in hospital after a very serious & traumatic skydiving accident and at the moment I am a paraplegic in a wheelchair for the foreseeable future & mobility will be a problem for a while but just bear with me and help if you can, I will get there in the end, thank you.

Stay Safe & Well Blue Skies Harry Shanker

From: Adrian Rockall @.> Sent: Friday, February 16, 2024 2:58 PM To: AdyRock/com.switchbot @.> Cc: Harry Shanker @.>; Manual @.> Subject: Re: [AdyRock/com.switchbot] Curtains Not Working (Issue #96)

If you see the RSSI level in the device panel, then it was added via BLE and I would recommend using the hub (if you have one of course).

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/96#issuecomment-1948536474, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFR6LVDDZ4YPRSF44D5LMBDYT5XXTAVCNFSM6AAAAABCP66VROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGUZTMNBXGQ. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

AdyRock commented 9 months ago

Sorry to hear about your accident and hope you get better as soon as possible.

Unfortunately, Homeys BLE is not great, so the gap between them has to be quite short with nothing in the way.

If you add the curtains via the hub, then they will be dependent upon the internet. If you want to do that (you can use both methods), then just go through the normal Homey Add Device procedure and select Curtains (Hub) as the device.

I'm not sure how technical you are, but I also have an app that runs on an ESP32 that acts as a kind of BLE repeater. The code is available on my GitHub repo (https://github.com/AdyRock/SwitchBotBLEHub). If you can manage to set that up then it will pick up the BLE data and send it to Homey over you LAN. My SwitchBot app will then treat those messages as if they cam in via BLE, so the integration is seamless, once you can setup an ESP32.

FSUShanks commented 9 months ago

Hey Ady

Thanks, shit happens sometimes I guess 🤷🏽 gives me a bit more reason and time to do some home automation I guess 😜

Okay so a couple of things, I am excited 😁

  1. Can the Switchbot act as the Bluetooth transmitter?
  2. The ESP32, comes with Bluetooth or I need to make sure I get the Bluetooth version?

I like the sound of the esp32, it sounds great 😃

I really want to try and keep as much as I can away from the internet dependency.

Stay Safe & Well Blue Skies Harry Shanker

From: Adrian Rockall @.> Sent: Monday, February 19, 2024 9:48 PM To: AdyRock/com.switchbot @.> Cc: Harry Shanker @.>; Manual @.> Subject: Re: [AdyRock/com.switchbot] Curtains Not Working (Issue #96)

Sorry to hear about your accident and hope you get better as soon as possible.

Unfortunately, Homeys BLE is not great, so the gap between them has to be quite short with nothing in the way.

If you add the curtains via the hub, then they will be dependent upon the internet. If you want to do that (you can use both methods), then just go through the normal Homey Add Device procedure and select Curtains (Hub) as the device.

I'm not sure how technical you are, but I also have an app that runs on an ESP32 that acts as a kind of BLE repeater. The code is available on my GitHub repo (https://github.com/AdyRock/SwitchBotBLEHub). If you can manage to set that up then it will pick up the BLE data and send it to Homey over you LAN. My SwitchBot app will then treat those messages as if they cam in via BLE, so the integration is seamless, once you can setup an ESP32.

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/96#issuecomment-1953194360, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFR6LVFRD7SKCO36D4ONUVLYUPB7TAVCNFSM6AAAAABCP66VROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGE4TIMZWGA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

AdyRock commented 9 months ago

I'm not sure what you mean for item 1?

As far as I know, all ESP32 modules have Bluetooth. Setting them up can be a bit awkward to start with, but once configuration is complete you can update the firmware via a Web browser.

FSUShanks commented 9 months ago

Hello Ady

Sorry, item 1 is asking if the SwitchBot had a Bluetooth module. Item 2 is asking which isp is required.

  1. Can the Switchbot act as the Bluetooth transmitter?
  2. The ESP32, comes with Bluetooth or I need to make sure I get the Bluetooth version?

Thank you.

Stay Safe & Well Blue Skies Harry


From: Adrian Rockall @.> Sent: Tuesday, February 20, 2024 10:12 pm To: AdyRock/com.switchbot @.> Cc: Harry Shanker @.>; Manual @.> Subject: Re: [AdyRock/com.switchbot] Curtains Not Working (Issue #96)

I'm not sure what you mean for item 1?

As far as I know, all ESP32 modules have Bluetooth. Setting them up can be a bit awkward to start with, but once configuration is complete you can update the firmware via a Web browser.

— Reply to this email directly, view it on GitHubhttps://github.com/AdyRock/com.switchbot/issues/96#issuecomment-1955205855, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFR6LVDS4GZEP6VBLBOU7GDYUUNT5AVCNFSM6AAAAABCP66VROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJVGIYDKOBVGU. You are receiving this because you are subscribed to this thread.Message ID: @.***>

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.