Open garage with Broadlink - HA and integrate in Homekit!

Hello !!

I would like to open and close my garage with HA, and then add it to Homekit !

I need to open the garage with Broadlink RF code, and then wait 2 minutes, and send another RF code to Close it automatically ! And finally add it to Homekit !!

here is what I have so far!

# GARAGE

- platform: template
  covers:
    garage:
      friendly_name: "Main Garage"
      open_cover:
        service: script.garage_open
      close_cover:
        service: script.garage_close




# GARAGE

garage_close:
  sequence:
  - service: switch.broadlink_send_packet_192_168_1_103
    data:
      packet:
      - sgc0AAsLDAAAAAA==
  - delay: 00:00:03
  alias: "Garage Close"

garage_open:
  sequence:
  - service: switch.broadlink_send_packet_192_168_1_103
    data:
      packet:
      - sgGEAwwmC58YDCUlDA0lDSQmDCUMJgwNJCYMJQwmDCUMDSUMJQ0kDSUNJCYMDSQNJQ0lJQwMJSYLJgwmCyYMJQwmDA0kDSUlDCYMDCUmDCUMJgwMJSUMDSUNJCYMDCUmDCUMDSQmDCYLDSUNJCYMJQwNJSUMAAMbGA0lJQwNJQwlJQwmDCUNDCUlDCYMJQwmCw0lDSUMJQ0kDSUlDA0lDSQNJSUMDSUlDCYMJQwmCyYMJgsNJQ0kJgwmCw0lJQwmDCUMDSQmDA0kDSUmCw0lJQ0lCw4kJgwlDA0lDCUlDCYMDCUmDAADGhkNJCYLDSUNJCYMJgsmDA0kJgwlDCYLJgwNJQwlDSQNJQ0kJgwNJA0lDSQmDAwlJgwlDCYLJgwlDSUMDSQNJSYLJgwNJCYLJgwmDA0kJgsOJA0kJgwNJCYMJQwNJCYMJgsNJQ0kJgwlDA0lJQwAAxsYDSQmDA0kDSUlDCYMJQwNJSUMJQ0lDCYMDCUNJA0lDSQNJSYLDSUMJQ0lJQwNJSUMJQ0lDCUMJgwlDA0lDCUmDCUMDSUlDCYMJQwNJCYMDSQNJSUMDSUlDCYMDCUmCyYMDSUMJSUMJgwNJCYMAAMaGQwlJgsNJQ0kJgwlDCYLDiQmDCUMJQwmDA0kDSUNJA0lDSQmDAwlDSQNJSYMDCUlDCYMJQwmDCYLJgwNJA0lJQwlDQwlJQ0lDCYLDSUlDA0lDSQmDAwlJgsmDA0kJgwlDA0lDSQmDCUMDSUlDAADGxgNJCYMDSQNJSUMJgwlDA0kJgwmCyYMJQwNJQwlDSQOJA0kJgwNJQwlDSQmDA0kJgwlDCYMJQwmDCUMDSQNJSYLJgwNJCYMJQwmDA0kJgwMJQ0kJgwNJSUMJQwNJSUMJgwNJA0lJQwmDAwlJQ0AAxoYDSUlDA0lDCUlDSUMJgsNJSUNJQwlDCYMDCUNJA0lDSQNJSYMDCUNJA0lJQwNJSUMJgwlDCYMJQwlDQwlDSQmDCYLDSUlDCYMJQwNJSUMDSUMJSUMDSUlDCYMDCUmDCUMDSUMJSUNJQwNJCYMAAMbGA0kJgwMJQ0kJgwlDSUMDSQmDCUMJgwlDA0kDSUNJQwlDSQmDA0kDSUNJCYMDSQmDCUMJgwlDCYMJQwNJA0lJQwmDA0kJgwlDCYLDSUmDAwlDSQmDA0kJgwlDA0kJgwmCw0lDSUlDCYLDSUlDAAF3AAAAAA==
  - delay: 00:00:03
  alias: "Garage Open"

It works, but the problem is that doesn’t close automatically ! And other problem is that in HOMEKIT shows as a “blinds” and not as a “garage” :confused:

Any help would be appreciated :smiley:

little push ! :slight_smile:

Ok, last try :slight_smile:

I have zero experience with homekit. Are you asking for an automation?