Gate controls your relay through the Shelly Cloud Control API, using your own Shelly account. You only need three values, all found in the Shelly Smart Control app (the app you already use for your Shelly devices).
No Shelly yet?
Turn your gate into a smart gate
You can add app & in-car control to most gates, garages or doors with one inexpensive Shelly relay — and there are good reasons to (reinforced security, nothing to lose, share without copying keys…).
The API URL and the API Key are shown together in one place:
Open the Shelly Smart Control app.
Tap the Settings tab (gear at the bottom).
At the top, choose "Home".
Slide to the bottom again and tap "Cloud Key".
Tap Get key. A box appears with two things:
a Server address, e.g. https://shelly-55-eu.shelly.cloud(long-press to copy)
an auth_key — a long string of letters and digits, with a copy button at the end.
API URL = your server address followed by /device/relay/control e.g. https://shelly-55-eu.shelly.cloud/device/relay/control
ℹ️The API URL is already pre-filled in the form — you just need to replace the XX in shelly-XX-eu with your server number.
API Key = the auth_key string.
🔒Keep your key safe. If you want to feel safe, leave off the last 3–4 characters of the auth_key when you paste it into the form, then type those few characters directly on the car (Settings → API Key) after syncing. That way your complete key never travels through this website — and any data here is deleted after you use it or within 1 hour.
2 · Device ID
Find your device's ID
In the Shelly Smart Control app, open the device you want to control (your gate or garage relay).
Choose the device and open its Settings (last icon) → Device information.
Copy the Device ID — for Gen2+ devices it is a string such as 3ce90e8b1234.
Repeat for a second device (e.g. garage) if you want to control two relays.
3 · Channel
Which output to switch
The Channel is the relay output number on the device:
0 — single-relay devices (Shelly 1, Plus 1, etc.). This is the default.
0, 1, 2… — multi-output devices (e.g. Pro 2PM, Pro 4PM): 0 is the first output, 1 the second, and so on.