Open-source Python gateway for FAAC E145 gate controllers with MQTT, OpenHAB, and Home Assistant integration.
- Control FAAC E145 gates via serial connection
- Real-time position monitoring (0-100% for both wings)
- Web interface with live updates
- MQTT integration for home automation
- REST API for HTTP-based control and monitoring
- Commands: Open, Close, Stop, Position (0-100%)
- Status publishing: position, state, availability
- Home Assistant & OpenHAB compatible
pip install -r requirements.txt
python3 faac_gateway_standalone.pyOpen http://localhost:5000 in your browser.
pip install -r requirements.txt
cp config/config.yaml.example config/config.yaml
# Edit config.yaml with your MQTT broker settings
python3 faac_gateway_mqtt.py -c config/config.yamlSubscribe to status updates:
faac/gate/status- Complete status (JSON)faac/gate/state- Gate state (OPEN/CLOSED/MOVING/STOPPED)faac/gate/wing1- Wing 1 position (0-100%)faac/gate/wing2- Wing 2 position (0-100%)faac/gate/availability- Connection status (online/offline)
Publish commands:
faac/gate/command- Send commands:open,close,stop
See MQTT documentation for detailed integration guides.
Simple HTTP endpoints for gate control:
# Get status
curl http://localhost:5000/api/status
# Send command
curl -X POST http://localhost:5000/api/command \
-H "Content-Type: application/json" \
-d '{"command": "open"}'
# Health check
curl http://localhost:5000/api/healthSee REST API documentation for complete API reference, authentication, and examples.
- REST API Guide - RESTful HTTP API for gate control and status
- FAAC Software Guide - Official FAAC software download, VirtualHere setup, deployment options
- USB Setup Guide - USB driver configuration for FAAC E145 controller
- Installation Guide - Systemd service setup and log management
- MQTT Setup - MQTT broker configuration
- OpenHAB Integration - OpenHAB configuration and usage
- Home Assistant Integration - Home Assistant configuration with dashboard cards
- MQTT Integration Guide - General MQTT integration for various platforms
- Full Documentation
# Test MQTT functionality
python3 examples/mqtt_test.py
# Simple status subscriber
python3 examples/mqtt_simple.py
# Send commands via MQTT
mosquitto_pub -t 'faac/gate/command' -m 'open'- gatecontrol - Gate control solution for FAAC E124 (protocol compatibility with E145 unknown)

