Use Siri to control FAAC C720 slide gate

Background:

I have a FAAC C720 slide gate which is controlled by 433Mhz remote. Due to the fact I only have two sets of the remotes, it is not that convenient to have every home members to control the gate easily. I have to keep one remote at home and the other one on the car. So, this comes to my needs.

Scope:

  1. Control the slide gate through WiFi network
  2. Integrate into Smart Home automation platform

Solutions:

Attempt 1: Clone the remote 433Mhz signal by sending through Raspberry Pi and controlled via WiFi network.

My plan was to leverage Raspberry Pi RF 433Mhz receiver and transmitter to capture the remote signal then replicate and send it out by Pi. In this case, once the correct RF signal can be generated by Pi, I can play with it into any Smart Home automation platform. After couple attempts, I successfully sniffer and captured the signals, but it was still failed. Because I didn’t realise the FAAC 433Mhz remote signal is encrypted by rolling code. It is almost impossible for me to decode the code. I have to give up this path.

Attempt 2: I searched a lot on Internet looking for successful case of FAAC gate / door automation, but not really helpful. However, there’s one product comes into my sight. It is called Gogogate2. It meets all my requirement and more. The key thing is that it is compatible with FAAC C720 gate. On their website there’s also a connection diagram guide you how to connect Gogogate2 to FAAC C720 control board. Very nice, but a little expensive for me.

Working Solution:

There’s a topic on Raspberry pi forum.  Interfacing 24v Gate Controlboard gives me another way to control the FAAC gate.

Instead of using Pi and optoisolator, I decided to purchase smart relay switch directly. I got a one channel smart switch which can support AC/DC 7-32V itching/locking. It is similar to Sonoff but not the same brand.

It uses eWeLink app (易微联) to control the switch board. I have been researched long time digging out how to flash the switch board with Sonoff-Tasmota firmware which I believe can be easily added into home assistant automation.

Because the chip of this switch is not based on ESP8266 but ESP8285, I dare not to flash it without fully understand the risk. However, I was surprised to find out the build in factory firmware is not that bad. The eWeLink app already has integration with some well-known smart automation platform, such as Amazon Alexa and Google Home.

I can easily add this switch into Alexa device list by enable the eWeLink skill. But I do still want to control the switch by using iOS native Siri voice assistant. Couple ways to achieve this. Setup Homebridge or Hassbian on Pi or NAS to bridge the communication between alexa and Apple HomeKit. The other way is much straight forward, just use IFTTT and iOS Shortcuts to complete the task.

The detail steps are below.

  1. Wire the Smart Switch with correct input power, then light it up.
  2. Register eWeLink mobile app and follow the instruction to add the smart switch including initial configuration (wifi setup).
  3. Test if you can use eWeLink to control the smart switch directly.
  4. Register a IFTTT account then obtain webhook api key. https://ifttt.com/services/maker_webhooks/settings
  5. Follow the steps to create a new webhook event. You can take this link as reference https://www.macstories.net/ios/how-to-trigger-ifttt-applets-with-ios-12s-new-shortcuts-app-and-siri/
  6. When creating webhook event, search and choose ewelink service, bind the account using eWeLink credential.
  7. Choose the right switch model. Eg. 1 channel switch
  8. Get a shortcut https://www.icloud.com/shortcuts/bd7c5301650b4753b79d4cda8b59beee and modify the fields with your created webhook event name and your api key.
  9. Record Siri voice command to activate this shortcut

So all the Smart Switch side configuration and iOS Siri automation have been completed.

Wiring:

I spent lot of time study the FAAC control board trying to understand how to wire the smart switch onto it.

FAAC C720 control board manual can be downloaded here

The most important diagram is this one. 

But on Gogogate2 website it is suggested to connect like this.

Based on the above manual. Pin 3 OPEN B/CLOSE/SAFE default is partial open. So I didn’t wire as suggested by Gogogate2 web. 

I connect like this:

  • Smart Switch INPUT + —-> C720 BOARD PIN 8 to get 24V power
  • Smart Switch INPUT GND —-> C720 PIN 6 GND
  • Smart Switch COM —-> C720 PIN 1 OPEN A
  • Smart Switch NO —-> C720 PIN 2 GND

Now you can test whether Smart Switch works as expected. In my case, I need to change the smart switch mode to itching not locking. So everytime I trigger the webhook event, it will open/lock the gate opposite to current state. 

You can also test to wire the cables as suggested by Gogogate2 diagram. Tell me the result. Hope this article helps you some. 

Leave a Reply

Your email address will not be published. Required fields are marked *