I have a few roller doors (Chamberlain, Merlin brand), which I'd like to automate and integrate with my home automation system (openHAB).
The door opener can be operated by:
a) remote 433Mhz (rolling code), stateless
b) a connected momentary switch, stateless
c) with an optional cloud-connected gateway
Stateless here means: push for open, stop, close
I do not use the cloud as a matter of principle; in automation it means when there is no Internet anything cloud connected won't work. Hence, c) is not an option.
a) and b) are fine, except I do not know, whether the door opens, closes or has stopped. I can't open it say to 70%. Why that? Well, the doors are 3 and 3.5m high, and do not need to open all the way for a human to enter.
Now my actual query...
The build in electronics uses an encoder of sorts. It has 5 wires, indicating to me that it provides directional information. The door, when programmed for the first use, requires it to run full up (press a button to record the end position) same for all down.No matter where the door stops in between, running to either end still allows it to slow down on the last 70mm.
I was wondering whether someone can reasonably guess what encoder type (not brand) is being used and what signals to expect at the pins to work with.
(Purple-coded wires are for the encoder)
I can use a relay to provide the required stateless input for open|close|stop, and use the encoder signal to tell me which state or motion the door is in.
I am asking, as it would avoid working on a ladder up 3m high and doing some testing
... and of course, want to use an Arduino to 'control' the doors.
Any hits appreciated.