/beninca-wifi

WiFi add-on for Beninca CORE Sliding Gate Controller

Primary LanguageCGNU General Public License v2.0GPL-2.0

Beninca Core WiFi addon

Overview

This device adds WiFi connectivity and remote control to a Beninca CORE control panel installed in a number of sliding and swinging gate controllers.

Hardware

The brain is an ESP32 in an ESP32 MiniKIT.

Power comes from the CORE board itself, supply is rated at 24VAC, up to 200mA. This gets rectified and stepped down twice:

  • Amtec AMSRW-78Z, quite pricy but tiny and to specs, steps down to 12V which are used for the relays
  • A cheap ebay-sourced DSN-MINI-360 board steps it down further to 3.3V which feed the ESP32.

This power scheme is flawed -- the on-board LDO responsible for powering the devkit through USB gets fried if you feed it 3.3V. Don't replicate that. Feed the devkit with 5V instead, or use a bare ESP32 module.

The module has outputs for STOP and P.P on the controller via relays and senses the SCA from CORE to know the position of the gate.

Interface

JSON messages are exchanged over MQTT and allow for control and monitoring. beninca.py contains a custom home-assistant component which provides a cover device. Place it in <config dir>/custom_components/cover/ and add some configuration:

cover:
  - platform: beninca
    name: front_gate
    device_id: beninca-??????
    device_class: garage

License

Copyright 2017 Kiril Zyapkov

This code is released under GPLv2, see LICENSE for details