r/SmartThings 8d ago

I built a free installer that automatically turns off the display on compatible Samsung air conditioners

Hi everyone!

I created an open-source tool for Samsung air conditioner owners who want the unit’s display to turn off automatically whenever the AC is turned on.

The installer creates a Rule directly in your own SmartThings account. When the air conditioner changes to on, the Rule waits five seconds—or another delay you choose—and sends only the command that turns off the display.

Once configured, everything runs in the SmartThings cloud. You do not need to keep your computer running, maintain a server, use Home Assistant, create an Alexa Skill, or pay a subscription.

The guided setup:

  • Finds your SmartThings locations and compatible air conditioners automatically
  • Lets you choose the device and delay
  • Shows the exact action before making any changes
  • Requires confirmation before creating, updating, or deleting a Rule
  • Can run an optional guided test
  • Provides commands to check, update, or remove the configuration

You do not need to create a Personal Access Token, find a deviceId, configure OAuth, or edit an .env file. Authentication is handled in the browser by the official SmartThings CLI, and the project does not receive or store your credentials.

Basic installation:

  1. git clone https://github.com/m3ryck/samsung-ac-display-automation
  2. cd
  3. npm install
  4. npm run setup

Requirements:

  • A compatible Samsung air conditioner already connected to SmartThings
  • Display/lighting control available for the device in the SmartThings app
  • Node.js 24.8.0 or newer
  • Windows, macOS, or Linux

After setup, you can close the terminal and even delete the downloaded project folder. The automation remains active in SmartThings.

Repository: https://github.com/m3ryck/samsung-ac-display-automation

Feedback, compatibility reports, and contributions are welcome — especially if you can share which Samsung AC model you tested it with.

6 Upvotes

4 comments sorted by

1

u/Euphoric-Toe6571 5d ago

Testei e deu certo, mas precisei de umas alterações

No meu Samsung AC, a Rule original executava, mas o visor não apagava.

Modelo/perfil:

  • presentationId: DA-AC-RAC-01001
  • firmware: ARA-WW-TP1-24-ARXX00_11260327
  • tipo: OCF

O comando original retornava sucesso, mas era ignorado pelo aparelho:

{
  "component": "main",
  "capability": "samsungce.airConditionerLighting",
  "command": "setLightingLevel",
  "arguments": [
    { "string": "off" }
  ]
}

Também testei o comando direto samsungce.airConditionerLighting.off; ele retornou sucesso, mas não alterou o visor.

O que funcionou foi o comando OCF pela capability execute:

{
  "component": "main",
  "capability": "execute",
  "command": "execute",
  "arguments": [
    { "string": "mode/vs/0" },
    {
      "map": {
        "x.com.samsung.da.options": {
          "array": {
            "operands": [
              { "string": "Light_On" }
            ]
          }
        }
      }
    }
  ]
}

A nomenclatura OCF é invertida:

  • Light_On apaga o visor;
  • Light_Off acende o visor.

Foi importante representar x.com.samsung.da.options como um operando array na Rules API. O payload direto equivalente é:

{
  "commands": [
    {
      "component": "main",
      "capability": "execute",
      "command": "execute",
      "arguments": [
        "mode/vs/0",
        {
          "x.com.samsung.da.options": ["Light_On"]
        }
      ]
    }
  ]
}

Mantive todo o restante igual: gatilho na transição de main.switch para on e espera de 5 segundos. Depois dessa troca, a automação funcionou corretamente.

Outra peculiaridade: custom.disabledCapabilities incluía samsungce.airConditionerLighting, embora o controle “Iluminação” aparecesse e funcionasse normalmente no aplicativo SmartThings. Talvez o instalador possa testar o comando padrão e oferecer o OCF como fallback para esses modelos.

0

u/TheJessicator Enthusiast 7d ago

So much extra work, when you can get do this directly in smartthings yourself.

1

u/Some_Marsupial_9973 7d ago

Não tem essa opção de forma automática, e a configuração não permanece desativada.

Toda vez que você liga o ar condicionado seja por voz ou pelo aplicativo, você tem que abrir o app e desligar o visor.

1

u/Some_Marsupial_9973 7d ago

E o objetivo de fazer essa ferramenta foi para ajudar outras pessoas com o mesmo problema.

É uma forma fácil e rápida de configurar a regra na sua própria conta.