Configure I2C Relay

So I have this relay:

And I checked the Ardupilot article for relay:
And looked the parameters searching for relay I noticed that there is no option for using a I2C Relay.
Am I right or is there a way to control the relay?

lua sripting can do some crazy stuff, so maybee you can write the i2c bus. Have you tested it?

Nope, LUA cannot drive I2c directly.
You can do two things.

  1. Write an i2c relay driver for the autopilot (not recommended unless you have good experience with AP programming)
  2. Use a logic level relay like this ( and configure an output of your flight controller as a relay driver output Docs here: