For developers who may be interested, I noticed that SupraMatic 4 - which comes with the BlueSecur app - actually broadcasts the garage door status via Bluetooth LE.
So if anyone is able to create a “decoder” this may come free of charge in Home Assistant; I’ve tried with BLE Sniffer app for Android and when approaching your garage you’ll find a lot of broadcasts from a MAC starting with F7:30.
In the data you’ll receive, look at the 36th and 37th byte (indexes 35 and 36 starting from 0). Open your garage and you should see something like 0x13 0xC8:
For the first byte, 0x13, just keep the lower 4 bits (i.e. ignoring the first hex digit), so 0x03.
0x03 = open
0x04 = closed
0x07 = partially open (EDIT: it seems that the 0x05 pre-edit is not really used, at least on the Supramatic 4, more info HERE)
The second byte, 0xC8 is the percentage of the opening. C8 in decimal is 200 and this value must be divided by 2 to obtain a float with the percentage; so in this case 0xC8 means 100%.
Of course, via Bluetooth, it would be possible to open/close and send commands too but I think this relies on encryption (as the app allows only one user to send commands). But just having the status could be useful and you can use a Shelly as @bjen suggested to send the commands.
Regering the use of Shelly, they recently released an AddOn “shield” that can be clicked on the relais module. With this a read sensor can easily be added to identify the open/close state of the door through Shelly Shelly Plus AddOn - All Product - Products - Shelly
I haven’t tried this yet but I’m planning to go for this option.
If you are using a Shelly 1 Plus or Pro to open/close the garage door, they have the possibility to communicate also via BLE. So it should be possible to read the status if your Hormann has Bluetooth (such as Supramatic 4) directly within the Shelly!
Hi, just understood that series 4 motors use modbus… Maybe then it’s just a matter to connect an ESP32+RS485 to the bus, bridge the serial to Wifi, and use the modbus integration of HA:
I wouldn’t want to spoil the fun, following Thomas Dupas’s blog “Reverse engineering the Hörmann UAP1-HCP protocol” (Reverse engeneering the Hörmann UAP1-HCP protocol |) for Hormann Supramatic E4, protocol seems to partially decoded as a Modbus payload- but it didn’t seem that it was “just” Modbus.
Hey Guys! As mentioned earlier, I bought 5 PCBs and actually planned to assemble them all. However, the Buck regulator and LDOs are out of stock at my supplier. I managed to find 3 each but broke a DCDC Regulator while assembling (solder bridge between out and the GND Pad and magic smoke escaped). I am currently quite busy and unfortunately do not have time for another go more soldering (we just moved houses), so if anyone wants to complete these PCBs, feel free to do so.
I have one complete board for myself and sold another one (the one on the bottom). So I have 3 Boards which are missing the DCDC Converter and the LDO. I already programmed the PIC Chip (and the ESP for solder verification), what’s left is soldering the two chips and programming the ESP with your wifi Password.
I would sell each of the three PCBs for 30€ + shipping. Just send me a PM.
Hi,
I started to adapt it to ESPhome but I’m not able finalize because I have an E2 motor (not an E3) and I’m failing to get the motor status but all actions are working open, stop, close, venting, toggle light.
I wrote the code almost one year ago and it’s working for me. In HomeAssistant I coupled the esphome cover with a zigbee door sensor to have a closed/open state. I’m missing closing/opening/stopped states but it’s usable.
I was planing to expose the cover as “custom” cover in place of the “template” one.
The venting and toggle light should be turned into buttons since the feature was recently introduced.
I hope it may help owners of E3 who are able to write some C code.
If someone can confirm that the esp_garage_door_state text sensor is returning the right state, I could try to fix my code “blindly”, if I find time .
Hi, for E4 i’m trying to use the HMIP HAP1-HCP adapter from Hormann (40€), in order to let the motor accept E3 accessories. In fact it seems a viable solution, but doesn’t work well for me. I can read the door and light status, which update correctly when I use the original remote command, but I can’t send open/close commands and turn on/off the light via MQTT. So at the moment, on E4 you can only have status report… or I did something wrong.
Actually I was looking for information regarding the Bisecure Gateway integration in HA but I didn’t find anything. It’s probably too complex.
Does anyone know if this also works with Hörmann Promatic 3. At the moment I’m using the control inputs and have to laboriously measure the gate status with sensors. Does anyone still have circuit boards? Then I would like to test it.
After so much effort, for Promatic 4 I decided to abandon the PCB way. I switched to this project:
Or better, this (for MQTT integration):
[update] or better again, my fork here:
10€ in materials, 2h of work and it’s working… instead of over 100€ from SMD parts, PCB
, PIC programmer, HAP adapter, and 2weeks of tinkering
It isn’t complete, I had to do some modifications (MQTT authentication, Serial2 instead of Serial1, dutch language…), but after these mods, it’s working. In fact, it’s a bit buggy via MQTT, you have to send commands 2-3 times, but on webpage it works perfectly.
Does anyone know if something similar can be achieved with the Garamatic 9 door controller? The documentation manual for this model mentions about the use of the optional UAP 1-HCP for ‘additional functions’ so I’m hopeful…