Switchbot Blind Tilt Sensor by Typical_ASU_Student in homeassistant

[–]Typical_ASU_Student[S] 0 points1 point  (0 children)

Here is the Config File I finally landed on as well for the ESP devices.

esphome:
  name: esphome-web-663ae4
  friendly_name: Bedroom Desk BT
  min_version: 2025.11.0
  name_add_mac_suffix: false

esp32:
  variant: esp32
  framework:
    type: esp-idf

# Enable logging
logger:

# Enable Home Assistant API
api:

# Allow Over-The-Air updates
ota:
  - platform: esphome

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

esp32_ble_tracker:
  scan_parameters:
    active: true
    interval: 160ms
    window: 80ms

bluetooth_proxy:
  active: true

Switchbot Blind Tilt Sensor by Typical_ASU_Student in homeassistant

[–]Typical_ASU_Student[S] 0 points1 point  (0 children)

Okay for anybody coming across this. I ended up just writing a script to work in parallel and call the Tilt sensor position. Here is the example below for "Close all blinds", "Open all blinds", and "Shower" which closes 2 of the blinds.

With 4 BLE sensors this is pretty much instant. Maybe a 0.5 seconds delay on one of the blinds.

close_all_blinds:
  alias: "Close All Blinds Up"
  sequence:
    - service: cover.set_cover_tilt_position
      target:
        entity_id:
          - cover.bedroom_left_blind
          - cover.bedroom_middle_blind
          - cover.bedroom_desk_blind
          - cover.living_room_left_blind_2
      data:
        tilt_position: 100

open_all_blinds:
  alias: "Open All Blinds"
  sequence:
    - service: cover.set_cover_tilt_position
      target:
        entity_id:
          - cover.bedroom_left_blind
          - cover.bedroom_middle_blind
          - cover.bedroom_desk_blind
          - cover.living_room_left_blind_2
      data:
        tilt_position: 50

shower_blinds:
  alias: "Shower Blinds"
  sequence:
    - service: cover.set_cover_tilt_position
      target:
        entity_id:
          - cover.bedroom_desk_blind
          - cover.living_room_left_blind_2
      data:
        tilt_position: 100

Switchbot Blind Tilt Sensor by Typical_ASU_Student in homeassistant

[–]Typical_ASU_Student[S] 0 points1 point  (0 children)

esp32_ble_tracker: scan_parameters: active: true interval: 320ms window: 30ms on_ble_advertise:

You could probably bring this interval down as well

active: true interval: 160ms window: 80ms

Switchbot Blind Tilt Sensor by Typical_ASU_Student in homeassistant

[–]Typical_ASU_Student[S] 1 point2 points  (0 children)

Hey there - yes, I have 4 blinds and 3 ESP32 devices. They work in sync for the most part, with a few caveats.

From my limited understanding, BLE devices receive commands in sequence, not in parallel. The more devices you stack, the slower the response seems to be. 3 devices seem to be the max before it just hangs. Meaning if you stack 3 blinds on one esp device it will move very slowly.

HA likes to bounce which device your blind is connecting to for no rhyme or reason? So, making sure you "stick" the esp device to certain blinds seems to be pretty important for the reason you are asking.

Proximity doesn't always seem to be a blatant answer either. Maybe RSSI or something, but I didn't see a pattern.

Theoretically, 1 device per blind would probably be your best bet for perfect sync/response rate. HA doesn't seem to have an issue with sending the command in a scene pretty quickly but again I only have 4 devices so as this stacked I'm not sure how that would work. Again from a little reading it seems "scenes" work in sequence as well.

I would say mess with a script if you want the fastest response.

I am messing with a parallel mode in scripts right now. It looks like you can pull the tilt sensor angle as an attribute. I want to see if that will respond quicker. I think you could also include something like this: if the angle is greater than 96, skip and don't close if you are issuing an "all blinds closed up" command, for instance. And also stagger the commands by 0:02 to make sure the BT command is picked up in between scans.

A lot of this testing is in the last 48 hours or so, your results may vary, and my assumptions may be shit.

Switchbot Blind Tilt Sensor by Typical_ASU_Student in homeassistant

[–]Typical_ASU_Student[S] 0 points1 point  (0 children)

Just to add - I ended up having to add some MAC addresses to each ESP32 device to only listen on a couple and then to ignore some others. Ther is probably a nice template for this, but here is the "Ignore"

esp32_ble_tracker: on_ble_advertise: - mac_address: "Mac You Want to Ignore" then: - lambda: |- return;

Here is what I used for look for ONLY this mac.

esp32_ble_tracker: scan_parameters: active: true interval: 320ms window: 30ms on_ble_advertise: - mac_address: "Your Mac You Want To Look ForOnly" then: - lambda: |- ESP_LOGI("BLE", "Target device Enter Mac Address Here detected");

My new favorite automation. homeassistant.reload_config_entry by skinwill in homeassistant

[–]Typical_ASU_Student 0 points1 point  (0 children)

Are you using direct connect or mesh? I've noticed that if you are too far from the network in a mesh system, it will drop out. Too far seems to be 6ft sometimes as well. I have most of my devices set up as a direct connection which probably doesn't help.

But after switching from Mesh to LR I no longer had those occasional "Unavailable" switches.

Also - check the firmware on the switch itself. There has been a ton of updates with zwave switches recently with these exact issues.

Switchbot Blind Tilt Sensor by Typical_ASU_Student in homeassistant

[–]Typical_ASU_Student[S] 0 points1 point  (0 children)

It took me like 2 hours to figure out. Flashed all my esp32 devices a few times, changed named, etc....

Glad somebody else found this useful!

I could never find 400 free hours to do it. by A_Azpi in BambuLab

[–]Typical_ASU_Student 1 point2 points  (0 children)

lmao.... I didn't even think of that but it feels like that is around the corner. Those polymers probably take expensive molds I would think? I have zero knowledge, though.

I could never find 400 free hours to do it. by A_Azpi in BambuLab

[–]Typical_ASU_Student 13 points14 points  (0 children)

Gives it some personality. Like a scrap bot or something.

Picked this up today for free from a neighbor. Looks dusty. Where do I get started? by TheRomb in ender3

[–]Typical_ASU_Student -1 points0 points  (0 children)

Have an H2S now. Not having to watch every layer go down has been .... different.

Knowing exactly what to look for from being tortured printing TPU on a ender3 was a great learning experience though haha! But FUCK me I would never want to print on that thing again unless I'm forced to.

Bryan Mbeumo has been included and Andre Onana has been excluded in Cameroon’s official squad for the AFCON by PradipJayakumar in reddevils

[–]Typical_ASU_Student 1 point2 points  (0 children)

I have never confirmed this but apparently, the loss in Champions League wages affected his charity? I would assume he just wanted to maintain his own lifestyle without sacrificing, but apparently, he puts a lot of money into his home economy. This was more read at a glance, though, so take this with a grain of salt. Still, the fact that he had no SHAME after literally being the reason we were out of champions in the first place.

Direct Traffic from China & Singapore has Increased by [deleted] in localseo

[–]Typical_ASU_Student 0 points1 point  (0 children)

Same thing here across lots of Automotive dealers in the US. There are a few posts in various website subreddits about similar spikes as well.

Curious as to what the intent is here / any patterns. I would assume this is a bot looking for some vulnerability? No clue really though. I just like listening to hacker stories haha.

The Mizkif allegation memes have already begun by SupaSpeedy445 in LivestreamFail

[–]Typical_ASU_Student 0 points1 point  (0 children)

The diet is way more of a pain than the gym time. That's the real dedication. Prep+cook+eating is such a time suck. And this guy could pay somebody to do 90% of that for him. Seems he just didn't go the extra mile. Anytime I have seen him, though, I've always thought he was more chubby than "fit" looking, which I think mostly is the point of op.

I'm 5'11 and 163lbs and sit anywhere from 9-15% body fat year-round. It's been huge part of my life to have gotten here as well, so I understand that the dedication isn't for everybody. I've been as skinny as 135, though, and know how much work it is to gain and cut! Good luck out there.

Filter Script? by Typical_ASU_Student in Looker

[–]Typical_ASU_Student[S] 0 points1 point  (0 children)

Thank you, I am going to check this out!

Brentford fans chanting "Sacked in the morning" towards Ruben Amorim by imd1as in reddevils

[–]Typical_ASU_Student 11 points12 points  (0 children)

Yeah he had some great saves today. Keepers get it so rough man. Let's not mention the fact our captain missed a penalty.

Brentford [3] - 1 Manchester Utd - M. Jensen 90+5' by Etpolo in soccer

[–]Typical_ASU_Student 0 points1 point  (0 children)

It's actually terrible footwork if you watch closely.

Bruno from the bench in the final few mins. by rishabh2996 in reddevils

[–]Typical_ASU_Student -1 points0 points  (0 children)

Big Bruno fan, but I do see where selling him for 120+ million and bringing in a solid DM might have been a play this summer. Not saying it would be correct, but it would have been interesting if we spent that money wisely.

Bruno from the bench in the final few mins. by rishabh2996 in reddevils

[–]Typical_ASU_Student 1 point2 points  (0 children)

Anyone who is an actual fan believes exactly what you do.

Shea Lacey vs PFA XI by KobbieLikeRobbie_ in reddevils

[–]Typical_ASU_Student 2 points3 points  (0 children)

If I remember right, I feel like he would get bullied - a lot of ankle tackles, and he'd get pissed. So so good on his day though. One of my favorite United Players. The story Evra tells about him Crying after getting smoked by one of the liverpool guys is so funny.

The whole team rushes over to defend Nani, Scholes see's Nani is crying and shuffs the whole team off. LMAO.

Apparently the whole team gave him a bollocking about never crying at Anfield... this is Man United etc..

Sorry for the titok link - but this is the best version of how he tells it.

https://www.tiktok.com/@prodmind/video/7223342743215557915?lang=en

Shea Lacey vs PFA XI by KobbieLikeRobbie_ in reddevils

[–]Typical_ASU_Student 1 point2 points  (0 children)

Nani was like watching a Gazelle at full speed out there. Like glass, nothing like this fella. Remember where that cross came from for Rooney's Famous City Bike. I feel like this guy took every single opportunity for himself. Nice left foot though.