Skip to content

V2.0.2 playSound API and Patches!

Choose a tag to compare

@RapierXbox RapierXbox released this 17 Feb 21:14
· 459 commits to main since this release
4007c0e

You can now play sounds on your Shelly Display! To do this, send a JSON POST request to the /playSound endpoint. In the JSON body, include a url tag with the URL where your MP3 file is hosted.

Additionally, I’ve fixed a bug that prevented you from exiting the settings page after attempting to manually enter the Home Assistant IP address.

Make sure to update your Shelly display to the latest software version before installing ShellyElevateV2!

Home Assistant Example:

  • configuration.yaml:
rest_command:
  play_sound:
    url: "http://<yourWalldisplayIP>:8080/playSound"
    method: post
    headers:
      Content-Type: "application/json"
    payload: '{"url": "{{mediaUrl}}"}'
  • custom lovelace card:
type: button
name: Play Sound
icon: mdi:volume-high
tap_action:
  action: call-service
  service: rest_command.play_sound
  data:
    mediaUrl: https://www.myinstants.com/media/sounds/airport-open.mp3 #sample sound from myinstants