Orion garage door controller

Hi all. I have transplanted an esp 12e into a Bunnings “Orion garage door controller”. I thought I would share my journey.

https://www.bunnings.com.au/orion-grid-connect-smart-garage-door-controller-with-sensor_p0261686

I transplanted an esp 12e in its place. Complete with the infamous GPIO 15 to ground solder blob😂

Not sure if I damaged the little transistor or what was going on with the 10,000,000 ohm resistor so I tied it all backwards on the magnetic reed pin(GPIO 12). The bridge over the left hand resistor is highly not needed I just wanted 3.3v back to the pin.

Here’s my esphome yaml

esphome:
  name: garage-door
  platform: ESP8266
  board: esp12e

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: !secret ota_password

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

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Garage-Door Fallback Hotspot"
    password: !secret fallback_password

captive_portal:

web_server:
  port: 80
 
#binary function for button
binary_sensor:
  - platform: gpio
    pin: 
      number: GPIO4
      inverted: True
    id: button
    name: Garage Door Button Status
    on_press:
      - switch.toggle: relay_template
    internal: true
    
#binary function for reed switch
  - platform: gpio
    device_class: garage_door
    pin:
      number: GPIO12
      inverted: true
      mode:
        input: true
        pullup: true
    id: door_sensor
    name: Door Sensor
 
# LED  setup
light:
  - platform: monochromatic
    id: LED
    name: LED
    output: LED_output
    internal: true
 
output:
  - platform: esp8266_pwm
    id: LED_output
    pin: 
      number: GPIO5
      inverted: true

#switch fuction for button
switch:
  - platform: gpio
    pin: GPIO4
    id: button_switch
    inverted: True
    name: Garage Door Button
 
# manual control of the relay
  - platform: gpio
    pin: GPIO13
    id: relay
    name: relay
    internal: true
      
# Tie relay, LED and button together
  - platform: template
    name: Door Relay
    id: relay_template
    internal: true
    turn_on_action:
      - light.turn_on: LED
      - switch.turn_on: relay
      - switch.turn_on: button_switch
      - delay: 1s
      - light.turn_off: LED
      - switch.turn_off: relay
      - switch.turn_off: button_switch


I hope this helps out someone looking at the same thing. And would also be happy to hear how others did it too.

Enjoy,

2 Likes

Hi Mate,
Thanks for sharing. I did the same with mine but with ESP12s chip. I can see the chip online but it does not operate the relay through esphome page. It also does not see the reed switch. If I push the manual button, I can see the changes in the log and can hear relay clicking.

Do you think my issue is because I have 1 volt on reed switch and not 3.3 like with your bridge?

Thanks