[Resolved] Multi-Device command stopped working on Friday Night

I have a rule that turns off multiple devices based on a simulated switch. This is integrated to Alexa with Good Night LocationName setting the switch. This has been working fine, but Friday night it stopped working. Alexa is acknowledging the command and I can see the rule was triggered, but nothing happens on the Smartthings devices. When looking in the log I see the attached file

It was triggered, but that last error (Failed to send commands to 30 of 30 devices) is of interest, This is the text of the view action.

Log Details
Resource Type
activity
Resource Subtype
device
Level
error
Insert Id
919ed1a5-7f79-4637-8197-e890473c3a9a
Timestamp
6/15/2025, 1:01:36 AM EDT
(2025-06-15T05:01:36.270Z)
Execution Id
4a483abc-b859-49e3-8fdc-0d7d7b5ffbb7
Step Id
d9c1b936-acfb-4b2d-8a62-f3057f5fa32f
Message
Failed to send commands to 30 of 30 devices


Runtime Data
[
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "6a3d07ac-a159-40eb-b84d-5efbb9e7bb6e",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "11132795-514b-449a-bdfa-c5d31467b90a",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "065faedb-35d2-474d-b473-b79e2939f6c1",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "32f53396-6f2f-42aa-9573-3a0863844db5",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "719a9683-d0fb-4d65-aec1-7e0dace208cf",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "86450bf0-8e6d-4fc7-8b3a-41a79302227b",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "a29a7adb-90c4-4816-bf3a-34758289ffab",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "5833ef03-b46c-4379-8494-45f9adbbc405",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "18444695-2848-4781-b458-e5f18b0a0d2f",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "cdf490b4-2657-472e-97bf-e21902501fe9",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "5167ec0c-2cb0-414e-ab34-db37d6bcdc69",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "5a38dc8f-1595-49a9-81b5-8851c3162103",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "bcf7c688-11dd-4946-bdbf-3807b982d22a",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "1c349376-64b5-4bb9-844a-53f635222d70",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "789ce7e8-f9f5-4846-afa5-6125eb7daf1a",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "e00e1bfc-fda2-4e98-a330-14163dcd9bad",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "1702d440-aecb-4e35-a93f-f6bfb604f8e5",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "d58ba614-55d3-4c45-bdf4-9b8afb99ea3a",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "89ba2118-525b-4f9c-85d8-b3af8ae01da4",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "123794c1-8684-4ae2-aff0-4df2c208c5a1",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "f1ef7f31-f5d9-465a-b012-d4a697062848",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "76676cdb-808d-46f7-9574-7772ab2436f6",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "4c49c6e5-4284-418d-b63b-8376acfa8c7e",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "5b9d23f3-93e0-4c26-9f3f-746d973abe67",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "c8180fed-6aea-45f2-8eea-df6e6c475cf6",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "659c84d6-50c3-4599-bd70-72cce60dfa64",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "6f3c229f-d4e3-4d74-ae47-6b8b84d2b9d4",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "bc85a94b-dac5-4088-b20c-988a106a81c9",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "f39dcba0-52d5-401f-88ee-836e2593f1de",
      "command": "off"
    }
  },
  {
    "type": "error",
    "subtype": "device",
    "data": {
      "platform": "samsung-smartthings",
      "locationId": "1494a687-4765-4275-979c-b736aac9b354",
      "deviceId": "fb3209f8-8ab2-472d-bd33-f363c0d31a47",
      "command": "off"
    }
  }
]

I can turn the devices off in Smartthings 1 by 1, so the question is did something change in Sharptools or Smartthings to cause multi-device commands to fail?

What about from SharpTools?

The first thing I would try is to proceed through the authorization for SmartThings starting from your SharpTools User Page to make sure you have a fresh, valid authorization.

Josh, I have lots of other rules that turn individual lights that are in this rule on and off and they work fine. It seems to be related to the multi device aspect of this rule. I have other rules that do multi device on a smaller number of devices, so not sure if its the fact this has 30 devices or what.

Can you share more details?

Behind the scenes, a multi device command is basically just a bunch of individual commands issued in parallel.

Edit: Since you are sending the command to such a large bulk of devices and having trouble with it, you could try to create an automation/scene in SmartThings that you could execute from your SharpTools rule.

Not sure what you are asking. I could break this into 3 groups of 10 or 6 of 5, is that what your asking? It just seems odd that 30 of 30 are failing and nothing that is on turns off, so it really is failing fir all.

I’m asking for more details on what’s working and what’s not.

It sounds like the rule in question with the 30 device multi-device command also has individual light commands and they work even after you’ve started experiencing the multi-device command failing? What does the rule look like? What’s working and what isn’t?

You also alluded to other rules having multi device commands with a smaller number of devices… are you implying that those rules with a smaller device count for multi-device commands are still working after you experienced the main rule in question starting to fail to send the multi device commands?

I’m basically just asking for any other details you can provide as this isn’t a known issue, so I’m trying to help work through what’s working and what’s not as a first step.

This is the rule, there are steps after that are irrelevant to the issue


I have rules that turn lights on, 4-6 lights that are working. I actually created copies that will do 3 groups of 10 to see if that works, it will run tonight. I will let you know if that works.

After 2 days of failing as I reported, it now works, the initial rule executes successfully. I will watch it over the next few days and update.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.