UI Displaying in Dashboard / Detailview

@nayelyz

I have used this example and I have made my first dashboard using composite definition.

My composite dashboard operates in my.smartthings but not in Android SmartThings App.

Dashboard in my.smartthings
virtual-Energy-device_my_smartthings_com

In ST App only this message

My dashboard definition

{
    "mnmn": "SmartThingsCommunity",
    "vid": "b9edcbcd-b6dc-354c-bbdd-5282b37a5191",
    "version": "0.0.1",
    "dashboard": {
        "states": [
            {
                "label": "{{switch.value}}",
                "alternatives": [
                    {
                        "key": "on",
                        "value": "___PO_CODE_CAPABILITY.SMARTTHINGS.SWITCH_DEFAULT_ATTRIBUTES_SWITCH_ON",
                        "type": "active"
                    },
                    {
                        "key": "off",
                        "value": "___PO_CODE_CAPABILITY.SMARTTHINGS.SWITCH_DEFAULT_ATTRIBUTES_SWITCH_OFF",
                        "type": "inactive"
                    }
                ],
                "capability": "switch",
                "version": 1,
                "component": "main",
                "composite": true,
                "group": "main",
                "transient": false
            },
            {
                "label": "{{energy.value}} {{energy.unit}}",
                "capability": "energyMeter",
                "version": 1,
                "component": "main",
                "composite": true,
                "group": "energy",
                "transient": false
            },
            {
                "label": "{{power.value}} {{power.unit}}",
                "capability": "powerMeter",
                "version": 1,
                "component": "main",
                "composite": true,
                "group": "power",
                "transient": false
            }
        ],
        "actions": [
            {
                "displayType": "standbyPowerSwitch",
                "standbyPowerSwitch": {
                    "command": {
                        "on": "on",
                        "off": "off"
                    },
                    "state": {
                        "value": "switch.value",
                        "on": "on",
                        "off": "off"
                    }
                },
                "group": "main",
                "capability": "switch",
                "version": 1,
                "component": "main"
            }
        ],
        "basicPlus": []
    },

What am I doing wrong or is this composite problem common to Android SmartThings App newest version Version 1.8.17.22 (June ‘24)?

Hi, @TapioX!

Please allow me some time to check this, sorry for the delay.

1 Like

Hello @TapioX,

I tried replicating your setup but did not encounter the same error. To assist you further, please provide us access to your account by following these steps:

  1. Confirm Email Account:
  • Ensure that the email account registered in the forum is the same one you use for SmartThings. If it’s different, please share the correct email with me via DM (direct message).
  1. Enable Support Access:
    • Go to the SmartThings Web: my.smartthings.com
    • Log in with your Samsung Account.
    • Select the Menu (⋮) and choose Settings.
    • Toggle on Account Data Access.
    • Select the time period and confirm - Please choose “Until turned off”. Once our team has completed the review, we’ll notify you so you can disable it again.

Support access is now enabled.

My email account registered in the forum is the same one I use for SmartThings.

I sent to you more information about the device, which I couldn’t get it to work, by email (DM).

My dashboard definition was ok but there was error in my device profile.

After adding mnmn: SmartThingsCommunity to metadata, the device started working in ST App.

Many thanks for the help. @nayelyz @Luis_Humberto_Medina

1 Like

Great! If you need more help in the future, don’t hesitate to contact us.