Hörmann garage door via MQTT

Ok , thx for info about ota….

Device does not trigger, after power off.
No double Click to open the garagedoor in homeassistant.

Supramatic 4 E4

BTW: OTA is for ESP or GitHub “hömrnann FW”

Good question… maybe someone could answer if it possible to change the code , without cutting.

1 Like

Hi there! I keept the board like it is and just switched the pins inside the configuration.h code like @stomko descriped. It works now for me.

1 Like

Switch in code!! Works for me

1 Like

can you share the code?

I am currently using the one that @stromko mentioned to you.
It also works for me when I cut electricity or pull and reconnect the board.

But I am missing a button to activate the ventilation. I will play around a bit and will see then.

The GitHub - MCLW/HCPBridgeHomeassistant: emulates Hoermann HAP 1 HCP (HCP2) on ESP32. seems also to work.
In addition it has a button for ventilation which is most important for me.

I think I will stick with this one for now and test it.

You meant this

// Serial port
#define RS485 Serial2
#define PIN_TXD 17 // UART 2 TXT - G17
#define PIN_RXD 16 // UART 2 RXD - G16

So was it in my config. But it did not work.

So I had to change like this?

// Serial port
#define RS485 Serial2
#define PIN_TXD 16 // UART 2 TXT - G16
#define PIN_RXD 17 // UART 2 RXD - G17

Do you think that any of the ESP based methods could work on a Lineamatic gate motor? Thanks

// Serial port
#define RS485 Serial2
#define PIN_TXD 16 
#define PIN_RXD 17 

yes that is what i did. It actually does not matter what is written after the //. It is just an comment and is not effecting the code. Most important is that you switched 16-17

1 Like

Can you still tell me where you got the matching rj12 socket ? That would be great… I have currently solved it with cables.

I am not exactly sure what you mean.

I am based in Germany. You have multiple stores where you can order them. Just search for RJ12 6P6C socket.

Conrad

I am currently using the fork of Dr. Pat and it is working like a charme. Only thing i do not understand completely is the light (lamp) as it is always on in my case. Is this supposed to represent the build in leds on the motor or is this supposed to be something else?

Anyone else having problems whit the light state?

Thanks in advance
-joe

After testing, I figured following behaviour. If I open or close the door, the light turns actually off on the motor. But in the HCPBridge the status will not be updated. If I turn the light off via command, the motor does nothing (light is already off) but the HCPBridge is back in sync with the motor. Looks like after opening/closing the actual state of the light is not synchronized correclty between bridge and motor.

Does anyone have some advice on how to solve this issue?

Thanks in advance.
-joe

I did not face such issues. For me lamp status was ok. My issues were completely different and more serious.
It is funny how the same code acts differently for everyone. What gate model do you have?

@Dr.Pat

I also use the code! it works so far…only when I restart Homeassistant completely (i.e. the system), the board is no longer connected and on Supramtatic4 it shows the code 7…
And the Restart button on the WebUI leads to the same problem.
Can you test this against?
Disconnecting the gate from the power supply solves the problem again…

One more thing:
Half position on WebUI does not work.

Model is a SuptraMatic E4 and it looks like everything is working fine but the Sync issue i have with lamp status. I did not check the half position on WebUI yet to be honest. I also added a BME280 Sensor to monitor temp and hum in my garage.

It just occurred to me that I deactivated the afterglow time and the running light on the motor. Maybe there is a problem with this. I will check on that soon.

Has anyone been able to get the WIFI working with this version of the source?

(I also tried the Master version)

I can flash it all no worries at all, no errors or anything; after flashing the blue LED is flashing. But I can never see the AP appearing.
Any bright ideas?

I am 99% sure that I have tried it, because I have tried every fork out there, and did not have issues with wifi on any of them.
One thing I noticed though is - if I use fresh ESP, I go through AP step to configure wifi. However if I flash the same ESP with other fork, that uses the same implementation of wifi connectivity, if you give it the same password for AP as you use on your wifi network, it will just connect to your wifi - no need to connect to AP first, scan for networks.

1 Like

That is exactly what I was expecting to see as well; but I am thinking something is wrong that I cannot seem to put my finger on.

I took the standard steps:

  • Running VSCode with PlatformIO
  • Created a new project
  • Copied the source into the project folder
  • Copied the WebUI into a folder 1 level higher than the project
  • Flip the TX/RX in the configuration
  • Build
  • Flash

It is really simple… BUT :frowning: