I made this driver with the help of claude to import contact sensors and lights from capable cameras from Ring. So for context I have a ring alarm system with contact sensors connected and wanted to be able to see those devices in smartthings. There has never been a good solution trying to use alexa as a bridge so I used some reference from ring api that is used for home assistant and made a bridge using an old android phone running termux and the code in the ringbridge.txt file as a .js file. There are several edits to make to this file such as including your ring token and editing the exclude device section if there are devices you don’t want to import into smartthings. Once this bridge is running the driver will connect and get any pushes from the bridge on status changes practically instantly locally. I have only set it up for contact sensors and lights from cameras but whatever the ring api exposes I’m sure could be added such as motion detectors, smoke alarms etc but this is just what i personally needed for my house.
[Edge Driver] Ring LAN Bridge – Ring Alarm contact sensors & camera lights with instant updates
Bring your Ring Alarm contact sensors and Ring camera lights into SmartThings. Status changes show up in about a second, and you can control the camera lights from SmartThings.
Ring has no local API, so this uses a small Node.js bridge that runs on an always-on device on your network (an old Android phone in Termux works well). The bridge keeps a live connection to Ring through ring-client-api and pushes every change to your hub over your LAN.
Ring devices ⇄ Ring cloud ⇄ ring-bridge.js (Termux + PM2) ⇄ LAN ⇄ SmartThings hub
Features
- Contact sensors: Ring Alarm door, window and gate sensors as SmartThings contact sensors
- Camera lights: floodlights and spotlights as switches, usable in routines and voice assistants
- Instant status: changes are pushed, with a 30-second backup poll
- Online/offline status when the bridge is unreachable
- Combined window devices: merge left and right pane sensors into one window. The tile shows Open if either pane is open; the detail view shows each pane
- Exclusion list for devices you don’t want, such as shared neighborhood cameras
- Automatic Ring token refresh, so restarts don’t log you out
Install the driver
Channel invite: SmartThings. Add a little smartness to your things.
Enroll your hub → Available Drivers → install Ring LAN Bridge.
Quick setup
- In Termux:
pkg install nodejs,npm install -g pm2, then in a new foldernpm install ring-client-api express - Copy the bridge script from GitHub (
ringbridge.txt→ring-bridge.js) - Get a token:
npx -p ring-client-api ring-auth-cliand paste it into the script pm2 start ring-bridge.js --name ring-bridge && pm2 save- SmartThings app → Add device → Scan for nearby devices
- If your bridge isn’t at the default address (
192.168.1.17:8080), set Bridge IP/Port in a device’s settings and scan again
Full instructions, the bridge API and troubleshooting:
README on GitHub
Requirements
- SmartThings hub that runs Edge drivers
- Always-on device on the same LAN running Node.js 18+ (Android + Termux, Raspberry Pi, PC, NAS)
- Ring account with Alarm contact sensors and/or cameras with lights
Limitations
- The hub-to-bridge link is local, but the bridge needs Ring’s cloud, so it doesn’t work during an internet outage
- Contact sensors and camera lights only for now (no motion sensors, alarm mode, sirens or doorbells)
- The bridge API has no authentication; keep it on a trusted network
- Unofficial: uses Ring’s unofficial API through ring-client-api, which Ring can change at any time
Screenshots
(add your dashboard tile and window detail view here)
Feedback and bug reports welcome. Please include the bridge log (pm2 logs ring-bridge --lines 50 --nostream) and the driver log (smartthings edge:drivers:logcat).
Not affiliated with Ring, Amazon or Samsung SmartThings. Thanks to dgreif for ring-client-api.