Repository navigation
Arduino based Firmware
To access the web interface, first connect to the device’s automatic Wi-Fi hotspot.
By default, the hotspot is named HCPBRIDGE and secured with the password tynet.eu.
Once connected, open a web browser and go to:
http://[deviceip]
(you can also try http://192.168.4.1 if you are connected directly to the hotspot).
When the login screen appears, use the following default credentials:
-
Username:
admin - Password: (leave empty)
After logging in, you will see the main control panel of the device.
For performing OTA (Over-The-Air) updates, authentication uses a different set of credentials:
-
Username:
admin -
Password:
admin
The Boot button (GPIO 0) supports two reset levels:
| Presses (within 6s) | Action |
|---|---|
| 3x | Disable all sensors and restart (sensor recovery) |
| 5x | Full factory reset (clear all preferences) |
Sensor recovery (3x press): If a faulty sensor causes boot problems, press the button 3 times to disable all sensors. The device will restart normally and you can fix the sensor configuration in the Web UI.
Automatic crash recovery:
If a sensor causes a crash (panic/watchdog), the firmware detects this on the next boot via esp_reset_reason() and automatically disables all sensors.
Full factory reset (5x press): Clears all Wi-Fi, MQTT and sensor configuration. The device will restart with its default hotspot.
hormann/<deviceid>/state
Shows the state of the door as a json object
hormann/<deviceid>/command/door
Use the following payloads to control the door: open, close, stop, step
hormann/<deviceid>/position
Shows the current door position in percent (0 to 100)
hormann/<deviceid>/command/set_position
Set a specific position for the door in percent (0 to 100)
The project publishes Home Assistant discovery messages for:
- cover (shutter) entity with position support
- binary_sensor for light / door open
- sensors for temperature / humidity (if present)
Example configuration.yaml is not required when discovery is enabled.
You can configure:
- Wi-Fi (hotspot or STA)
- MQTT broker settings (host, port, user, password, base topic)
- Device name and ID
- Sensor thresholds and mapping
Configuration can be done via the Web UI.
Sensors are manually enabled via the Web UI under Sensor Configuration. Each sensor can be individually activated with a checkbox — no auto-detection. If an enabled sensor is not connected or fails to initialize, the ESP will continue booting normally and report the error via the debug MQTT entity.
Supported sensors:
- BME280 (I2C) — temperature, humidity, pressure
- DS18x20 (OneWire) — temperature
- DHT22 — temperature, humidity
- HC-SR04 (ultrasonic) — distance / parking space detection
- HC-SR501 (PIR) — motion
- MQ4 (analog) — methane / natural gas
Sensor readings are published to MQTT under hormann/<device_id>/sensor with configurable thresholds. Pins and thresholds are configurable in the Web UI.
The HC-SR04 ultrasonic sensor can be used to detect available parking space. The "Parking" feature (displayed as "free": true/false in MQTT):
- Measures distance to an object (e.g., car in garage)
- Tracks the maximum distance ever measured (represents empty space baseline)
- Compares current distance to max with a proximity threshold (default: 10cm)
- Publishes
truewhen(current_distance + threshold) > max_distance→ space available ✅ - Publishes
falsewhen occupied → no parking space ❌
Configuration:
- Enable sensor: Activate HC-SR04 in Sensor Configuration tab
- Trigger & Echo pins: Set custom GPIO pins for your board
- Max distance: Sensor range limit (default: 150cm)
-
Proximity threshold: Distance margin for detection (default: 10cm, configurable as
sen_prox_thresh)
- Each sensor is tested up to 3 times during boot before being marked as failed
- Failed sensors are shown with red text in the Web UI (last known value preserved)
- During normal operation, 5 consecutive poll failures disable a sensor until reboot
- MQTT discovery and publishing skip failed sensors — no stale data sent to Home Assistant
- See Factory Reset & Sensor Recovery for crash recovery options
A small implementation supports a ventilation (vent) position and custom positioning. The vent behaviour uses a configured numeric position value. You can set custom positions with MQTT SET_POSITION.
- No BUS devices found: check wiring, test +24V, try "jump start" with motor connector +24V. For old HW, ensure DIP-based scan is toggled.
-
Cannot reach Web UI: connect to hotspot
HCPBRIDGE/ try http://192.168.4.1. Check firewall or captive-portal on client device. - MQTT messages not arriving: verify broker settings, credentials, and that device is connected to Wi-Fi. Use a local MQTT client (mosquitto_sub) to debug.
- OTA fails: confirm OTA credentials (admin/admin) and sufficient flash space. Use serial logs to inspect errors.