Hello, My hub is smartthings station and software version is latest
As you can see from the title, the child device can’t be created through a bridge device (parent)
When the edge driver starts up, it performs discovery and creates a bridge (parent) device regardless of conditions.
Subsequently, if the preferences field of the bridge device generated satisfies the conditions, register the child device with the bridge
I even checked the actual registration log and there are no problems, but the device is not registered in the bridge.
Took a look at your Edge Driver code on GitHub. It seems the child devices aren’t being created due to a potential issue in the driver:try_create_device call. From your logs, the driver attempts to create child devices, but they aren’t registering with the parent bridge device.
The problem likely stems from the metadata table passed to try_create_device. For child devices, this table must include type = "EDGE_CHILD", label, and profile (all as strings), with device_network_id (for uniqueness) and parent_device_id (the parent’s ID) being critical in most cases. If any required field is missing, invalid (e.g., type set to “LAN” instead of “EDGE_CHILD”), or not a string, the call fails silently, which could explain why the devices aren’t appearing. Your code logs the creation attempt but doesn’t check the return value of try_create_device (it returns true on success, false on failure), so the failure might be going unnoticed.
Additionally, your logs mention “Unknown device type” for packet types like 0x39 and 0x98. This suggests device_manager.lua might be skipping child creation for unrecognized device types or failing to parse the LAN device response fully.
Here’s what I’d suggest to debug and fix:
Double-check the metadata table in your try_create_device call to ensure type = "EDGE_CHILD", and all required fields are strings.
Add error handling to log the result of try_create_device (e.g., if not success then log.error("Failed to create child device") end).
Verify that the child profiles in the profiles/ directory are correctly defined and referenced in the metadata.
Review the conditions in device_manager.lua (around lines 56-74) to ensure the logic for creating children based on preferences (IP, port, vendor) is correct and handles all device types, including the unknown ones.