ESP32 S3 BOX Volume Config - WORKING

When I got the ESP32 S3 Box the volume was not sufficient. Some Googling later I found a config that works. Just add these lines to your config. All credit goes to the respective developers. 110% works for me.

esp_box_volume:
  id: box_volume

external_components:
  - source: github://sammcj/esphome-esp-s3-box-3-volume@main
    components: [esp_box_volume]
    refresh: always

switch:
  - platform: template
    name: "Set Volume to 80%"
    optimistic: true
    on_turn_on:
      - lambda: id(box_volume).set_volume(0.80);

  - platform: template
    name: "Set Volume to 85%"
    optimistic: true
    on_turn_on:
      - lambda: id(box_volume).set_volume(0.85);

  - platform: template
    name: "Set Volume to 90%"
    optimistic: true
    on_turn_on:
      - lambda: id(box_volume).set_volume(0.90);

  - platform: template
    name: "Set Volume to 110%"
    optimistic: true
    on_turn_on:
      - lambda: id(box_volume).set_volume(1.1);

1 Like

I’ve added this to my ESP32 box config, and it compiled and downloaded with no errors, but the commands are not recognized. Any recommendations?

Sorry, my bad. I assumed you could use voice commands to increase the volume. When I looked at the entity, the controls were there. 110% is still pretty low.

1 Like