Hi everyone,
I’ve built a small Home Assistant add-on that works as a local REST proxy for Came Connect.
It handles login to the Came Connect cloud, token refresh, and exposes your gate with simple REST endpoints inside your HA network.
With it you can:
- Check normalized gate status (
open,closed,opening,closing,stopped,unknown) - Execute commands like Open, Close, Stop, Partial opening, Sequential, etc.
- Inspect and debug your authentication token
Installation
- Go to Settings → Add-ons → Add-on Store
- Click the ⋮ menu → Repositories
- Add the repository:
- Install Came Connect from the list.
- Fill in the configuration with:
client_idandclient_secret(from the Came web app, see README for how to find them)- your Came Connect username and password
- your device ID (from the Came Connect portal URL)
Example endpoints
- Health check →
http://homeassistant:9002/health - Gate status →
http://homeassistant:9002/devices/DEVICE-ID/status - Open →
http://homeassistant:9002/devices/DEVICE-ID/command/2 - Close →
http://homeassistant:9002/devices/DEVICE-ID/command/5 - Stop →
http://homeassistant:9002/devices/DEVICE-ID/command/129
Home Assistant integration
You can expose the commands in HA using rest_command entries. Example:
rest_command:
came_open:
url: "http://homeassistant:9002/devices/DEVICE-ID/command/2"
method: POST
Or create a template cover that maps status + commands for a full gate entity.
My configuration: HASSIO installed on Raspberry Pi 4
The addon code was written with extensive help from ChatGPT and based on the great work of jasonmadigan (https://github.com/jasonmadigan/came-connect).