Open MiAutomations opened 2 years ago
Please show your yaml file otherwise we cant help you.
Please show your yaml file otherwise we cant help you.
What YAML file do you need?
the one you used to setup the esphome device to enable the media-player
the one you used to setup the esphome device to enable the media-player
Sorry but I'm not using any YAML file to configure the ESPhome to enable the media-player.
When I restart the HA the ESP appears as a new device available to be added, I added this device and for the UI I try to play radio browser
okay, good i understand. I did not have any luck with the version provided from raspiaudio myself. I ended up creating my own Firmware. From you statements i get you are new with ESPHome , is it?
ESPHome uses an YAML based configuration file that tell's the installer what it needs to install on your device, For this to work you need to install the ESPHome Dashboard add-on, when you did not do that already. And enable the "Show in sidebar" and start the add-on, give it some short time after it is started.
When everything did go well you will see a list with the discovered ESPHome device's after you open "ESPHome" on the left side of Home Assistant. Most likely you will see only one. You can now edit the file and replace the content with the code below.
substitutions:
device: mediaplayer # <== replace this with the name you saw when you start editing the device configuration.
esphome:
name: ${device}
esp32:
board: esp-wrover-kit
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${device} Fallback Hotspot"
captive_portal:
media_player:
- platform: i2s_audio
id: media_out
name: ${device} player
dac_type: external
i2s_lrclk_pin: GPIO25
i2s_dout_pin: GPIO26
i2s_bclk_pin: GPIO5
mode: mono
mute_pin:
number: GPIO21
inverted: true
binary_sensor:
- platform: gpio
pin:
number: GPIO0
inverted: true
mode:
input: true
pullup: true
name: ${device} mute
on_click:
- media_player.toggle: media_out
light:
- platform: fastled_clockless
name: ${device} RGB
pin: GPIO22
chipset: SK6812
num_leds: 1
rgb_order: grb
After copying the content hit the Save at the top right. To finish, hit, in the top right corner, now the "Secret" button and fill your WIFI credentials. When done hit the Save again and the big X at the left. Now you can choose Install in the popup menu of the the device. You can use the top installation option.
Now see of the will help with your issue. When the sound it to low for you. Let me know, i do have an small update for that as well.
Hello Yes I'm new in the ESP world
I follow all the steps and I'm receiving the following erro:
Thank you for your support and best regards
As i wrote in the script you should have changed the device: mediaplayer' line where
mediaplayer` should be replaced with the name this device was given on your.
As i wrote in the script you should have changed the
device: mediaplayer' line where
mediaplayer` should be replaced with the name this device was given on your.
Ok sorry, now is working I successfully install the device, but now I'm with 2 devices in a ESP list ... Is this normal?
And I'm not able to see the device in available in the media -> radio Browser even with another name the protoboard is not appear in the list ...
Thank you for your support and best regards
the first issue will go away when you restart the esphome add-on
The second one, did you added the protoboard device in the home-assistant integrations list?
Ok after the addon restart all are available now, thank you
But I still without sound on the protoboard or in the speaker connected :(
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
Hello to all.
I just need some help with the ESP - Raspiaudio-muse-proto board, I had successfully added the device/Board to my Home assistant, I'm able also to control the switch and the light on this board over the ESP integration but I not able listening anything... I try radio browser, and also the Text to Speech without success. And I also tested the same Board with a different firmware that use Bluetooth connection and I'm able to listening the music, I presume from this point that the problem is not on the board... I already try contact the support of the of the Raspiaudio that point me to this site also
I already removed the device and the ESP integration starting again all the installation without success
And the device still online with all the updates installed
I don't have any further idea how to solve this issue... Is there any log to check this?
Thank you for your support and best regards
Which version of ESPHome has the issue?
11.1.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2022.10.0b6
What platform are you using?
ESP32
Board
No response
Component causing the issue
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response