This one? GitHub - Gifford47/HCPBridgeMqtt: Emulates Hörmann UAP1-HCP board using an ESP32 and a RS485 converter, and exposes garage door controls over web page and MQTT.
Or which one?
At least the above one is a lot better than my one and a lot cheaper also, i think.
No. That one you have linked is for the Series 4. I have Series 3 (SupraMatic P3). I ordered this one:
The only thing I want to do is to flash it so ESPHome instead of ESPeasy what is installed.
Hello threadstone83…have you ordered and flashed the Wlan Modul? I would like to buy the same to connected my Supramatic E2 to Home Assistant…
@anilini yes I ordered the modul, flashed it (with big help of the seller) and have it in use since then. But as I wrote, I have a SupraMatic P3 (Series 3). I don’t know if it works with the SupraMatic E2.
thx…I think, I will give it a try
Could you please send me your ESPHome Code? I think it would be very helpful… Thanks a lot
No problem. Here is the code. But I also have some hints:
- The functions are only rudimentarily implemented.
- The code is for an older version of ESPHome. At some point in the meantime there was an update, so some line of text needs to be added. Unfortunately I can’t tell you exactly what line.
esphome:
name: garagentor
friendly_name: Garagentor
esp8266:
board: esp12e
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "xxxxxxxxxx"
ota:
password: "xxxxxxxxxx"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: 192.xxx.xxx.xxx
gateway: 192.xxx.xxx.xxx
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Garagentor Fallback Hotspot"
password: "xxxxxxxxxx"
captive_portal:
binary_sensor:
- platform: gpio
name: "offen"
pin:
number: 1
inverted: true
- platform: gpio
name: "geschlossen"
pin:
number: 3
inverted: true
- platform: gpio
name: "Lichtstatus"
pin:
number: 2
inverted: true
switch:
- platform: gpio
pin: 12
id: garage_open
name: "öffnen"
on_turn_on:
- delay: 200ms
- switch.turn_off: garage_open
- platform: gpio
pin: 15
id: garage_close
name: "schließen"
on_turn_on:
- delay: 200ms
- switch.turn_off: garage_close
- platform: gpio
pin: 13
id: garage_partial
name: "Lüftungsstellung_Stop"
on_turn_on:
- delay: 200ms
- switch.turn_off: garage_partial
- platform: gpio
pin: 14
id: garage_light
name: "Licht"
on_turn_on:
- delay: 200ms
- switch.turn_off: garage_light
If anyone has any improvements to the code, please let me know.
thank you.