exico91 / SommerESP

A plug and play ESP32-C3 board to control Sommer garage doors
MIT License
10 stars 0 forks source link

SommerESP

A plug and play ESP32-C3 board to control Sommer garage doors based on ESPHOME

This combo is designed to replace the Sommer Conex Module and the Sommer Output OC Module.

How it works

The Sommer Conex Module is designed to replicate the press of the buttons on the controller of the garage door and the Sommer Output OC just provide the signal for the status and 24 Volts DC.

This project takes the 24V and converts it to 3.3V for the ESP32-C3 module, the DC regulator on the power board can take from 4.5V to 40V and cleanly output 3.3V then transfer it to the Control board along with the status signal.

The ESP controller simulate the press of the buttons using a pair of optocouplers, simple enough. You can also attach other things to this board, I left a couple of GPIOs on exposed pins along with the serial connection required to flash the module.

Instructions

You can buy here the kit that includes the two boards and a cable or you can build one yourself. You can find the BOM (bill of materials) here and the gerber files here. I used JLCPCB for my orders but there are also other manufactures.

Installation

  1. Remove the plug from the wall, or cut off power to the Sommer garage door controller
  2. Write your firmware if you want or use it as is. You can find a basic yaml here. To do so you will need a serial programmer and set it to 3.3V, connect GND, VIN, RX and TX to the controller board and power it on while pressing BOOT on the board. When you are done remove the serial programmer. DO NOT connect the programmer while the board is connected to the power board or inserted in the Sommer controller.
  3. Open the controller but pay attention to the keypad cable when you remove the cover
  4. Place the power board and the controller board as shown:
  5. Connect the cable from the power board to the controller board
  6. Flip the first two switches to ON on the dip switch array on the Sommer controller
  7. Connect the keypad to the controller board in the same orientation as it was before
  8. Close the cover and power it on. You should be able to see a wifi network and connect to it to configure the module.

Flashing and extra pins

To flash connect you serial programmer to the exposed pins on the controller board. DO NOT connect the programmer while the board is connected to the power board or inserted in the Sommer controller. From top to bottom the pins are in this order:

GPIO05 GPIO03 3.3V TX RX GND

Press BOOT while powering on the programmer to send the controller in flashing mode.

Compatibility

This project should work with Sommer Base+, Pro+ and Evo+. The main focus of this project is ESPHome and Homeassistant but you can flash whatever you want on the ESP32-C3. Check here for the pinout.

Confirmed working models:

Model Notes Credits
9080 Base+ The keypad plug is present but there is no keypad, just plug the SommerESP there. tim-kiefer
2060 Evo+ The keypad plug has 5 pins instead of 3. Just plug the module on the middle leaving pin 1 and 5 free. See photo for reference here Severnt
9110 Pro+ Original installation that created this project. This model has a wall mount control board with a 2 button keypad. Alessio D

Origins

A thank you to https://github.com/jampez77/garage_door_sensor/ and https://github.com/azrael783/esphome_garagedoor_opener for giving me the ispiration to do this project, a lot of the code and core functionality is similar to these projects. Unfortunately neither did what I needed, cheap and invisible installation. Unfortunately the two Sommer modules (Conex and Output OC) are not cheap for what they are and using a DC-DC converter and relais externally is bulky and unsightly. I took the matter into my hands and now is almost plug and play and places where the two Sommer modules were.