Comment on page
A device that has been connected to Seam
deviceobject has the following properties:
Errors are returned in a list. For example:
"message": "Device Disconnected, you may need to reconnect the device.",
Seam recommends adding error handling logic to you app for each generic error in this table. Seam may add more generic errors in the future, so your app should include a fallback case if it encounters an unknown generic error code.
When Seam is able to provide more specific information beyond one of the generic errors, one or more errors from the list of specific errors may appear. This gives your app the option to display additional context or suggest provider specific resolutions.
If the connected account associated with a device has an error, it is attached to the device alongside any other device errors. Treat these errors as specific errors. See Connected Account Error Types.
Warnings are returned in a list. For example:
"message": "Device has a flaky connection to the internet.",
On some account types, Seam provides additional information about the manufacturer of the door lock. Where the device is being connected through a smart hub, the manufacturer of the door lock might be different from that of the smart hub.
Seam might return the following manufacturers:
The following example shows a device provider object:
Each constraint in the
code_constraintsarray is an object with at least the
constraint_typeproperty can be one of the following:
You can perform the following actions on