Shelly wall display toggle display on and off

Hello guys,
I just go three of the Shelly wall displays. They look great and the integration in homeassistant was very easy.

Now im looking for a way to toggle the display on and off. Like the fully kiosk browser.

I’m planing to put one display next to my bed and it would be awesome if i could turn it on and off with my good morning and good night script.

If any of you did something like this, please let me know :slight_smile:

Have a look here: https://community.shelly.cloud/topic/1793-walldisplay-list-for-useful-rpc-commands/page/2/#comment-28193

You can add this in your configuration.yaml and
use it in an automation.

rest_command:
  wd_bureau_on:
    url: 'http://192.168.0.43/rpc/Ui.Screen.Set?params={"on":true}'
    method: get
  wd_bureau_off:
    url: 'http://192.168.0.43/rpc/Ui.Screen.Set?params={"on":false}'
    method: get
  wd_bureau_brightness_100:
    url: 'http://192.168.0.43/rpc/Ui.SetConfig?config={"brightness":{"level":100,"auto":false}}'
    method: get

To turn the screen on with max brightness, you can use the brichtness setting, not the “on” setting. When your screen is set to auto it wil default to 37% or something.

You can use RPC commands

Hi,
I love finding this, as I was quite disappointed that I couldn’t toggle the display on and off from scratch. However, I am too unepxerienced to undertsan dhow to use this rest commands. I added the rest-command to the confifuartion.yaml, and as far as I understand, it should be possible now to call a service (??), e.g. wd_bureau_off in an automation. But how? Has anyone an exmaple code from an automation?

Thanks in advance :slight_smile:

Hi,

Yes, if you add the “rest_command” part to your configuration.yaml and peforming a config check and restart, there should be an “rest_command” action available in your automation builder.

PS: Maybe your browser cache needs to be cleared

Thanks. In the meantime, Gemini and I found my mistake. I used capital letters in the variables. Works now. What an awesome option. Thanks !