Turn Wall Display Sceen on/off from Home Assistant

Controlling the Screen from Home Assistant Using REST Commands

To control the screen from Home Assistant, we use the REST integration and REST commands.

The screen does not provide a native Home Assistant integration, but instead exposes an HTTP/REST interface. By defining rest_command actions in Home Assistant, we can send commands to the screen and trigger them from:

  • Automations
  • Scripts
  • Dashboard buttons
  • Scenes (via scripts)

Step 1. Add the REST Command to configuration.yaml

The easiest way to edit this file is by using the File Editor add-on from the Add-on Store in Home Assistant.

You can find a ready-to-use example configuration in the code below.

Copy the relevant section and paste it into your configuration.yaml.

Note:
If you already have a rest_command: section, make sure to add the new commands under the existing one instead of creating a second rest_command: block.

rest_command:
  wd_kitchen_on:
    url: 'http://192.168.2.130/rpc/Ui.Screen.Set?params={"on":true}'
    method: get
  wd_kitchen_off:
    url: 'http://192.168.2.130/rpc/Ui.Screen.Set?params={"on":false}'
    method: get
  wd_kitchen_brightness_100:
    url: 'http://192.168.2.130/rpc/Ui.SetConfig?config={"brightness":{"level":100,"auto":false}}'
    method: get
  wd_kitchen_toggle:
    url: 'http://192.168.2.130/rpc/switch.toggle?id=0'
    method: get

Step 2. Validate Your Configuration (Important!)

⚠️ Always validate your configuration before restarting Home Assistant.

  1. Go to Settings → Developer Tools
  2. Open the YAML tab
  3. Click Check Configuration

This is very important:


If you restart Home Assistant while there are errors in configuration.yaml, Home Assistant will not start.
Always validate your configuration before restarting.

If the configuration check reports any errors, go back and edit or remove the changes you just made, then run the check again until it passes without errors.

Step 3. Restart Home Assistant

 Once the configuration check completes successfully:

  • Restart Home Assistant
    (Settings → System → Restart)

After the restart, the REST commands will be loaded and registered.

Step 4. Use REST Commands in Automations, Scripts, or Dashboards

fter Home Assistant has restarted, your REST commands will be available as actions.

Example usage in an automation or script:
action: service: rest_command.your_command_name

You can now trigger screen actions from:

  • Automations
  • Scripts
  • Dashboard buttons
  • Other services and workflows

Further Reading

 For more advanced usage (headers, authentication, payload templates, timeouts, etc.), refer to the official documentation:

📘 https://www.home-assistant.io/integrations/rest_command

For more RPC commands for the Shelly Wall Display, take a look here.
https://community.shelly.cloud/topic/1793-walldisplay-list-for-useful-rpc-commands/