Making my rented apartment's Chamberlain smart?

I finally got around to wrapping this all up to a point where I could use it. I was out the other day and a delivery came early and had I had this up and running I could have gone, "Yeah, one sec," instead of "Just leave it there and I'll just have to hope it's still there when I get back." It was, but still.

So in the end this was all pretty simple to set up. For hardware:

  1. ESP32
  2. SwitchBot Bot
  3. USB power brick
  4. USB cable of your choice
  5. Spare garage door remote

I don't have a sexy case for my ESP32 so I just kept the foam on it so the pins remain safe. It sits in a cupboard that no one goes into so I imagine it'll be safe until I finally break down and buy a 3D printer (that day is coming). As for the remote, I just stuck the Bot onto it so the sticky bit contacts as much of the surface as possible while still allowing full actuation of the button (see below).

As for in Home Assistant, I have a tile set up on a dashboard that, upon confirmation, triggers the required script:

  - type: tile
    entity: script.open_garage
    hide_state: true
    tap_action:
      action: perform-action
      perform_action: script.open_garage
      target: {}
      confirmation:
        text: You sure?

The script in question:

sequence:
  - type: turn_on
    device_id: <dont_worry_about_it>
    entity_id: <dont_worry_about_it>
    domain: switch
alias: Toggle Garage
description: ""

The only bit I'm missing from the whole system is knowledge of the state of the garage door and that has less to do with a technical limitation and more of a moral one. As I believe I said it's a shared garage and while I'm OK with making it so I can remotely trigger the door something feels weird about having a way of knowing if the garage door is open or closed at a given moment. Somehow it feels like spying on my neighbors...

Anyway, that may change in the future if my anxiety as to the state of the garage door overrides my desire not to "be spying" on my neighbors.

But as it stands, this now works as desired. I still need to go through and set up the script in iOS so I can shout into my helmet to have it open the garage door when I'm on my motorcycle but that's just messing in Shortcuts a bit.

cc: @k8gg because you asked. Sorry for the delay!