Status of internal devices when you have more than one gang

@Mariano_Colmenarejo @nayelyz @RBoy @Brad_ST

all good?
see if there is anything that can be done.
Devices that have more than one gang, only the first one that you can control on the app screen, the others only by opening the device to have access to the on/off buttons. However, we can only know without opening if only the first one is on. If a switch2 is on in the initial view in the app it will show as off, because the status of on and off is only of the first one.

Check the device called “Interruptor cozinha”




If I’m out of the house and I need to see if there’s any lights on I need to open all the switches and not just see the button in the app.

Do you think there is anything that can be done?

While that may often be the case, there is absolutely no reason why it has to be like that. The developer gets to choose which component capability appears as the dashboard status, and which component capability is used for the dashboard action.

The developer could just as easily invent a custom capability that displays the status of all three switches as a string if there is demand for it. There might perhaps be an issue with getting the device certified if it is an official integration, but community developers can indulge themselves.

Moving ahead, perhaps the dashboard tile can be developed to display multiple capabilities - the presentation already supports it.

3 Likes

@niquini,

As says @orangebucket, It is easy to make a multiple tile and put the status and action control of each device.

Máximum 5 devices, main that control the icon status and 4 more with theirs acciones keys

But the tile is 2 x 2 simple tiles in size and takes up a lot of space.

Not everyone will like it and so you have to make two presentations for each profile, one with a simple tile and another multiple tile.

And in preferences add the mosaic change option

Same of these

2 Likes

it would be perfect to have these options as an alternative

I queue it up!
now i’m with something else

2 Likes

Perfect. Wouldn’t this be possible to leave as default in all drivers with more than one capacity and the user chooses how I prefer the view?

I am going to put it only in the zigbee multi switch Mc and zigbee multi switch zemismart Mc.

Tell me which mosaic you want by default, the simple or the multiple, you can change it whenever you want.

Not all capabilities have data or actions defined in their stock presentation to the Dashboard.

For example, Thermostat Mode does not show anything in a tile because it has nothing defined in its Dashboard presentation

Being able to choose which capabilities to see in the Dashboard requires making a device presentation and a profile for each combination of capabilities shown in the dashboard.
It doesn’t seem feasible to me.

Perfect. It already helps a lot!!!

you can leave the simple as default and whoever wants to change it.

taking advantage, is it possible for you to adjust the order in which the swtichs are displayed? They appear as main, switch3 and swtch instead of main, switch2 and switch3

This is a known App issue with all multi-component devices.

I have worked around this by creating a “main” which only does a refresh, then make an additional named component.

How did you setup the multiple tiles for the dashboard? That would be great for some of my devices.

@niquini,

I have made one of them Zigbee Multi Switch Zemismart Mc and it looks like this.
The switch does not turn blue when it is activated, only the name change to Bold type and state name changes.

I’m going to test it a bit and then I make the other driver to publish both, tomorrow

Using a custom presentation, VID, for multiple tile sorts the switches in the details view

2 Likes

Looks like a nice upgrade. I will give it a try when you publish it.

Thanks again for all you do.

2 Likes

You have to make a personalized presentation and in the details view put the capabilities you want to see in the dashboard.

  • The Capability of the main group is the one that controls the status of the icon
  • You have to give the groups name you want for the states
  • For switch actions you have to use the same group name.

This is the example of the json file to create a multi-tile VID of a component with 3 switches

{
    "dashboard": {
        "states": [
            {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "main",
                "values": [],
                "composite": true
            },
            {
                "component": "switch2",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "Switch-2",
                "values": [],
                "composite": true
            },
            {
                "component": "switch3",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "Switch-3",
                "values": [],
                "composite": true
            }
        ],
        "actions": [
            {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "main"
            },
            {
                "component": "switch2",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "Switch-2"
            },
            {
                "component": "switch3",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "Switch-3"
            }
        ]
    },
    "detailView": [
        {
            "component": "main",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "switch2",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "switch3",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        }
    ],
    "automation": {
        "conditions": [
            {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "switch2",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "switch3",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            }
        ],
        "actions": [
            {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": [] 
            },
            {
                "component": "switch2",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "switch3",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            }
        ]
    },
    "type": "profile"
}
2 Likes

it was beautiful!!! you are beast!!!

2 Likes

a layman’s question… wouldn’t it be possible for the name to appear at the top without any activation button and the others appear at the bottom?

The Regleta TV would also appear inside the gray box, the same as what appears on switch2 and 3. And it wouldn’t have the trigger button at the top, but in the front, as well as the others

1 Like

@niquini
I am going to publish the one I have made so that you can try all others profiles, I only have a triple power strip .

┌─────────────┬──────────────────────────────────────┐
│ Name        │ Zigbee Multi Switch Zemismart v2     │
│ Version     │ 2022-02-16T18:51:42.641415           │
└─────────────┴──────────────────────────────────────┘
1 Like

The one you see above is the main, which can be renamed.
If you don’t put any capaility in the main group, the Icon doesn’t work, in fact it only works with that main component.
I don’t know if this can be made to work in another way

1 Like

oops!!! I will test now

1 Like

Is there a possibility that the icon will appear there too? and be able to choose the icon for each channel?

1 Like

switch2 did not become bold when activated. Yours turned out nice (the print you sent).

1 Like