How to create 3 actions from a 2 port switch

Hi

Am looking at the Aqara T2 dual relay module, need to create 3 buttons (for curtains use)

  • Open
  • Close
  • Stop

As the relay module only has 2 outputs the above would be done by:
- COMMON
- OPEN
- CLOSE

  • Common + open = open
  • Common + close = close
  • Common + open and close = stop

I assume there would be some videos i can watch on how to do this? we will want to be able to have a remote switch action the above relay which is easy, but i assume we will enable rules for the STOP action, what would be the best way to do this, to then be able to call these from anywhere in the system.

I plan to find a fully integrated curtain motor (Aqara C3 for example), however i cant find the track for that motor.

This device has two outputs. You could simply have:
Output 1 ON = open
Output 2 ON = close
Outputs OFF = stop.

The issue you would have here is if someone pressed the Open and close at the same time. Your driver would have to insure this did not happen.

I would need 3 buttons in Habistat, but the controller only has 2 actions...

  • Open
  • Close
  • Stop

To stop the curtain when in motion both open and close (on the contacts) need to happen), if open is pressed and released then it opens. Same as close.

My quesiton was about how would i create the buttons as once pressed it sends a 0.5 second signal only.

Contact 1
Contact 2

Open = Contact 1
Close = Contact 2
Stop = Contact 1 and 2

I was thinking of using momentary buttons. I don't know how accurate the Hubitat can create 0.5 second pulses.

I don't understand you button logic where stop = Contact 1 and Contact 2.
If pressing a button sends a 0.5 second pulse, once the pulse had happened the output would be off (aka stop). Perhaps I don't understand you curtain controller.

Both contact 1 and 2 need to be actioned at the same time... however turns out this might be mute as i cant get the motor in this configuration anyway. The motor needs 3 contacts, so this is likely easy to do...

Last point is when a signal is sent to the contact, i need it held closed for over 0.5 seconds, i bet this needs to be via the contact itself (or does it?)

The only one i can find compatible with more than 2 contacts is :

  • MHCOZY 4 channel

Do you have specs/model number on the curtain motor? Iā€™ve done a few awnings and curtains in the past, and while I have seen where a single momentary press will fully open (or close) the curtain, Iā€™ve never seen one that requires both open and closed to be pressed simultaneously to stop it.

What Iā€™ve seen generally:
Momentarily press open - opens curtain completely
Hold/release open - hold starts opening curtain, release stops opening
Press open and then press open again - first press starts opening, second press stops opening

In either case, Iā€™m not sure I would rely on HE (or any hub) to simultaneously pulse both ā€œpolesā€. I think I would rather handle that action on whatever device you end up tying into the motorā€¦ if possible.

We research quiet a few electric curtain tracks, wanted something that wasnt "many" boxes, so preferred the home automation controller in the motor. Aqara C3 does this, however support says its not sold in US (we asked them for the track it fitted too).

The Quola QL600 appeared good, nice price and able to cut it to length, was sold in a box / kit form. However it does not have matter, zigbee or z-wave, it does however have an RJ56 (might be a typo for RJ45), which has 6 contacts, RS485 and 3 common > contact for open, close and stop.

We have ordered the QL600 and a Aqare 2 channel relay to do open and close (waiting for the goods) this seems like the easiest solution based on its size and non-complexity so that all controls remain onsite and dont need internet (the Aqare has zigbee 3 in it). Will post here on how i get on with all that.

We are going to make a shelf and CAD / 3D print brackets to mount the track to that shelf (whch will also house LED lighting controlled by WLED with our own sourced ESP32 WLED controllers (maybe soon available on Amazon) and LED strips (again our own sourced) with pixel control so everything can be controlled from Hubitat That same shelf is planned to house a Bang & Olufsen Dolby atmost speaker.

Side note we are looking at making our own solid Oak wood 4-5 feet tall WLED pixel controlled free standing wall wash unit as well.