Adding custom Direct Connected device to Scene gives "There was a problem connecting" error in app

I created a custom Direct Connected device that includes a custom capability, and when I try to add that device to a Scene, I get an error upon saving that says, “There was a problem connecting. Try again later. If this problem continues, contact us.”

The device works fine from the Devices dashboard and from the details view, it’s only the automation part that is not working.

Here is my presentation code for the custom capability:

    "automation": {
        "conditions": [{
            "label": "Current Source Status",
            "displayType": "list",
            "list": {
                "alternatives": [{
                    "key": "MPLAY",
                    "value": "Media Player",
                    "type": "active"
                }, {
                    "key": "GAME",
                    "value": "Game",
                    "type": "active"
                }, {
                    "key": "SAT/CB",
                    "value": "Cable/Sat",
                    "type": "active"
                }, {
                    "key": "BD",
                    "value": "Blu-ray",
                    "type": "active"
                }, {
                    "key": "DVD",
                    "value": "DVD",
                    "type": "active"
                }, {
                    "key": "CD",
                    "value": "CD",
                    "type": "active"
                }, {
                    "key": "BT",
                    "value": "Bluetooth",
                    "type": "active"
                }, {
                    "key": "TUNER",
                    "value": "Tuner",
                    "type": "active"
                }, {
                    "key": "AUX1",
                    "value": "Aux 1",
                    "type": "active"
                }, {
                    "key": "AUX2",
                    "value": "Aux 2",
                    "type": "active"
                }, {
                    "key": "PHONO",
                    "value": "Phono",
                    "type": "active"
                }],
                "value": "mode.value",
                "valueType": "string"
            }
        }],
        "actions": [{
            "label": "Current Source",
            "displayType": "list",
            "list": {
                "command": "setMode",
                "alternatives": [{
                    "key": "MPLAY",
                    "value": "Media Player",
                    "type": "active"
                }, {
                    "key": "GAME",
                    "value": "Game",
                    "type": "active"
                }, {
                    "key": "SAT/CB",
                    "value": "Cable/Sat",
                    "type": "active"
                }, {
                    "key": "BD",
                    "value": "Blu-ray",
                    "type": "active"
                }, {
                    "key": "DVD",
                    "value": "DVD",
                    "type": "active"
                }, {
                    "key": "CD",
                    "value": "CD",
                    "type": "active"
                }, {
                    "key": "BT",
                    "value": "Bluetooth",
                    "type": "active"
                }, {
                    "key": "TUNER",
                    "value": "Tuner",
                    "type": "active"
                }, {
                    "key": "AUX1",
                    "value": "Aux 1",
                    "type": "active"
                }, {
                    "key": "AUX2",
                    "value": "Aux 2",
                    "type": "active"
                }, {
                    "key": "PHONO",
                    "value": "Phono",
                    "type": "active"
                }]
            }
        }]
    },

Everything shows up correctly and the functionality otherwise works fine. What can I do to troubleshoot this connectivity error?

Can you share the ID of your capability, please?
I’d like to make a test in a different integration type, if it also fails there, the issue is in the capability itself. If not, I’ll need the timestamp of the last time you tried to save the scene to see if the team can see the logs about that error (Eg. 17:11 CST)

1 Like

breathtravel15210.soundMode is the capability.

I just tried it again at 19:21:41 12/30/2022 CST

Thank you for looking into this!

Hi, @joecoolish!
Just following up, I wasn’t able to replicate the issue so, I asked the team if it was possible to check what caused the error using the timestamp you shared.
I’ll keep you posted.

Hi, @joecoolish. The team needs further information:

  1. The scene that you’re trying to save is an existing one but adding the device or, was it a new one?
    a. if the first, please share the scene name
    b. if the second, please share the location name where you tried to add it
  2. Please, provide support access to your account so the team can get more info:
  1. Go to the SmartThings Web (my.smartthings.com)
  2. Log in to your Samsung Account
  3. Select Menu (⋮) and choose Settings
  4. Toggle on Account Data Access
  5. Select the time period and confirm - In this step, please select “Until turned off”, once the team finishes, we’ll let you know so you can disable it again
1 Like

Thanks for the reply

  1. Existing scene called “Watch a movie”
  2. Done

Let me know if you need anything else!

@nayelyz, any updates on this?