(EDGE Driver-Mc): Zigbee Drivers for Motion, Open/Close, Moisture, Smoke-Co Sensors and others Devices

Is the Sonoff S31 Lite plug included in any of these drivers?

Data * zigbeeNodeType: ROUTER
application: 04
endpointId: 01
manufacturer: SONOFF
model: S31 Lite zb
Raw Description 01 0104 0009 01 05 0000 00

Hi @v.porsio,

The concept for “main” component for smartthings is that it is the first multi-device endpoint. It performs all transmission, reception tasks with the hub and secondary components
Then assign the next endpoints to component Switch1, then switch2…

All my multiple device profiles assign the first endpoint to main, and next to switch2, switch3…

It seems much more logical to me that in a component with 3 switches, the main is S1, switch2 is S2 and switch3 is S3, which according to smartthings main is S1, switch1 is S2 and Switch2 is S3.

In device presentations the component placed at the top always has to be the Main, if you want the icon to work fine.

My first intention was to put the “All Switches” custom capability at the top, but then the icon always showed as on, it didn’t change to off.

“All switches” is not a device component, is one custom capability into the main component.

therefore, in components with multiple mosaics, the component that smartthings calls main, with the editable name of the set, is always placed at the top.

Added to this driver date version

┌─────────────┬──────────────────────────────────────┐
│ Name        │ Zigbee Switch Mc                     │
│ Version     │ 2022-04-03T17:03:42.069353           │
└─────────────┴──────────────────────────────────────┘
  - id: "_TZ3000_npzfdcof/Switch"
    deviceLabel: TS0001 Switch
    manufacturer: _TZ3000_npzfdcof
    model: TS0001
    deviceProfileName: single-switch
  - id: "SONOFF/S31 Lite"
    deviceLabel: S31 Lite Switch
    manufacturer: SONOFF
    model: S31 Lite zb
    deviceProfileName: single-switch
1 Like

Hi. Did you manage to get the valve working?

Hi,
anyone managed to get this one working?
i can manage to The on and off and ajust the colour temperature but not the color.

manufacturer: _TZ3000_riwp3k79
model: TS0505A
Raw Description: 01 0104 010D 01 08 0000 0003 0004 0005 0006 0008 0300 1000 02 0019 000A

For Edge drivers, the same thing happens to these devices as to the Ikea CWS color bulbs.
We will have to wait for the edge libraries to update.

In the meantime, you may find some DTH in this thread

Take the opportunity to buy what you need, Lidl motion sensors, open/close, plugs, color temperature bulbs… they work very well with smartthings.
Here in Spain they haven’t sold any smarthome products for a year and it doesn’t seem like they’re going to put it up for sale again

2 Likes

I get an error when trying to install… status code 400. Any ideas what may be going on?

I’m getting that error installing any new driver from any source.

V2 hub
Firmware 42.05

Installed edge drivers are working fine.

FIX: I had more than 50 drivers installed. When I reduced to below 50 I could install again. Odd that I was able to take is above 50 to begin with if there is a 50 limit.

Hi Mariano, add pls

Data * zigbeeNodeType: ROUTER

  • application: 22
  • endpointId: 01
  • manufacturer: LUMI
  • model: lumi.curtain
    Raw Description 01 0104 0202 01 0B 0000 0004 0003 0005 000A 0102 000D 0013 0006 0001 0406 08 0019 000A 000D 0102 0013 0006 0001 0406

Sorry @psix.anp, I don’t have any Zigbee window treatment driver

How did you get this multi tile mode?

You have to make a VID presentation with the different groups that you want to present in the dashdoard.
Up to 5 groups can be presented, the main one and another 4 with the names that you write.
The main group is the one that controls the state of the icon.

Only If the capabilities have action buttons to show then need write the capabilities dashboard actions

this is an example of .json with 4 switches and a custom capabiliy that manages all the switches at the same time

{
    "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
            },
            {
                "component": "switch4",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "Switch-4",
                "values": [],
                "composite": true
            },
            {
                "component": "main",
                "capability": "legendabsolute60149.switchAllOnOff1",
                "version": 1,
                "idx": 0,
                "group": "All Switches On-Off",
                "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"
            },
            {
                "component": "switch4",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "Switch-4"
            },
            {
                "component": "main",
                "capability": "legendabsolute60149.switchAllOnOff1",
                "version": 1,
                "idx": 0,
                "group": "All Switches On-Off"
            }
        ]
    },
    "detailView": [
        {
            "component": "main",
            "capability": "legendabsolute60149.switchAllOnOff1",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "switch2",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "switch3",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "switch4",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        }
    ],
    "automation": {
        "conditions": [
            {
                "component": "main",
                "capability": "legendabsolute60149.switchAllOnOff1",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "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": []
            },
            {
                "component": "switch4",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            }
        ],
        "actions": [
            {
                "component": "main",
                "capability": "legendabsolute60149.switchAllOnOff1",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "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": []
            },
            {
                "component": "switch4",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            }
        ]
    },
    "type": "profile"
}
1 Like

What dashboard we are talking about here? Smartthings’ own?

This multiple Tile is available in the zigbee multi switch Mc drivers and in the Zigbee Temp Sensor with Thermostat Mc

@Mariano_Colmenarejo This is super cool feature!
Where did you find info how to do it?

Unfortunately I haven’t found any information about this in the documentation.

I was testing several things on my own in the presentation VID of the device and I asked @nayelyz who answered me with the information that I had to change the name of the group in the presentation VID of each capability to show.
From that, trying and trying, I came to these conclusions, I don’t know if they are all correct:

  • Up to 5 capabilities can be displayed in a multiple tile
  • The size of a multiple tile is 4 single tiles regardless of whether it shows 2 or 5 capabilities
  • The “main” Group controls the operation of the icon with the first capability of that group
  • Up to 5 groups can be displayed, the names will be “main” and 4 more with the names you choose
  • Each group has:
    • the “states” field, which shows the state value of the capability atributte
    • the “actions” field, which allows executing commands (switch on-off)…
  • For capabilities to show states and actions, they must have these defined in their capability/dashboard presentation. (For example, the thermostatMode capability has neither states nor actions defined in its dashboard capability presentation and will not show anything in the simple or multiple tile)
  • The names of the groups in the “states” and “actions” fields must be identical.

This is an example of presentation of a multiple mosaic of 4 groups and its .json

Presentation.json
{
    "dashboard": {
        "states": [
            {
                "component": "main",
                "capability": "legendabsolute60149.switchAllOnOff1",
                "version": 1,
                "idx": 0,
                "group": "All Switches On-Off",
                "values": [],                  
                "composite": true
            },
            {
                "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": "legendabsolute60149.switchAllOnOff1",
                "version": 1,
                "idx": 0,
                "group": "All Switches On-Off"
            },
            {
                "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": "legendabsolute60149.switchAllOnOff1",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "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": "legendabsolute60149.switchAllOnOff1",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "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": "legendabsolute60149.switchAllOnOff1",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "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

@Mariano_Colmenarejo
This is absolutely great, thank you very much for sharing

This would be great in dashboard. I rather use rablet than phone to control all the devices. Lack of proper dashboard for Smartthings is a big flaw.

1 Like

You are welcome

In my gituhb, the folders of each driver, thermostat, multi switch, temperature sensor, there are the json of the multiple mosaic presentations in case you need examples

2 Likes

The ikea one shows as CWS and csn do colour as well.

  • zigbeeNodeType: ROUTER
  • firmwareManufacturerCode: 4476
  • firmwareFullVersion: 10021655
  • application: 50
  • endpointId: 01
  • firmwareImageType: 10242
  • manufacturer: IKEA of Sweden
  • model: TRADFRI bulb GU10 CWS 380lm

The Sengled one is just various shades of white

  • zigbeeNodeType: NON_SLEEPY_END_DEVICE
  • firmwareManufacturerCode: 4448
  • firmwareFullVersion: 0000002E
  • application: 01
  • endpointId: 01
  • firmwareImageType: 1
  • manufacturer: sengled
  • model: Z01-A19NAE26
1 Like

Wath colorTemperature rage has?
2700-6000?