Hi all,
I’m stuck on an Edge driver issue and have run out of ideas after extensive troubleshooting. Hoping someone here has seen this before.
The problem
No matter which LAN-type Edge driver I try to install and scan for, “Scan nearby” in the app always results in “Couldn’t find device” and no new device ever appears — not in the app, and not in smartthings devices (CLI/API).
What I’ve tried (all failed to create any device)
- My own custom driver (
lg-thinq-test) — a minimal driver whose discovery handler unconditionally callstry_create_device(). Verified the code against the official docs and against a real, published, working LAN driver (Todd Austin’s Edge-ONVIF-Driver) field-by-field. No structural differences found. - A rewritten version of the same driver, following the exact pattern (including
lifecycle_handlers,should_continueloop,cosock.socket.sleep) used in that known-working reference driver. - A completely new test driver with a brand-new packageKey, deployed to a brand-new channel I created myself (to rule out any channel-specific corruption).
- A third-party driver that is not mine (“LG ThinQ Bridge” from a public channel by another developer, which reportedly works for other users) — scanned with this driver installed, and it also created zero new devices.
What I’ve already ruled out
- Driver packaging (
edge:drivers:package) succeeds with no errors. - Driver is confirmed installed on the hub (
edge:drivers:installed). - Hub is confirmed enrolled in all relevant channels (
edge:channels:enrollments). - Device profile has valid
categoriesandcapabilities. - Soft hub reboot via the app — no change.
Setup
- Hub: SmartThings Hub (physical, not Aeotec/other), labeled “스마트 홈 허브”
- Multiple channels tested: my own channel, a second brand-new channel I created, and a third-party public channel
- Multiple drivers tested: 3 different custom drivers + 1 known-working third-party driver
- CLI:
@smartthings/cli, driver packaging and install all report success
My current hypothesis
Since even a third-party driver that reportedly works for other users fails to create a device on this specific hub, I suspect the issue is not in any driver’s code, but something at the hub or account level that’s blocking or silently failing device creation during LAN discovery — possibly a stuck/corrupted discovery state on the hub itself.
Question
Has anyone run into a hub that silently fails to create devices during “Scan nearby” for any LAN driver, regardless of which driver or channel is used? Is there a way to get more visibility into why try_create_device is failing (or why discovery may not even be reaching the driver) beyond edge:drivers:logcat? Any known hub-side reset/fix for this, short of a full hub reset?
Thanks in advance for any pointers.