# Alexa With Phat Beat

**URL:** <https://forums.pimoroni.com/t/alexa-with-phat-beat/7020>\
**Category:** Support\
**Created:** [January 27, 2018, 12:00am UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020 "2018-01-27T00:00:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndySax](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@AndySax](https://forums.pimoroni.com/u/AndySax)\
**Post date:** [January 27, 2018, 12:00am UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/1 "2018-01-27T00:00:28Z")

</div>

Alexa With Phat Beat  
Hi, Please help.  
I have a Pi Zero W with a Phat Beat. It works perfectly well as a pirate radio but I decided to start a new project and turn it into an Alexa. I wiped the SD card and installed a new version of jessie lite, I then used the script to install the Phat Beat. That all worked fine and I got sound and LED’s when tested.  
I then installed Alexa following the instructions here;

> **[The Simplest Way to Build A Raspberry Pi-Powered Amazon Echo](https://lifehacker.com/the-simplest-way-to-build-a-raspberry-pi-powered-amazon-1794218212)**
>
> A while back we detailed how to make your own Amazon Echo device using a Raspberry Pi, but if anything went wrong with it, you’d have to manually reboot the whole thing. It was a pain in the butt. Now, there’s an easier way to make your own Echo.

  
It all seemed to work apart from there is no sound output only LED’s. I’ve had a search around the forums and haven’t come across this problem but there was someone with a similar problem when installing spotify.  
I am only learning with the Pi so have limited knowledge. Would it be better to install the Alexa first and then the Phat Beat.

Regards  
Andy

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 27, 2018, 10:06am UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/2 "2018-01-27T10:06:18Z")

</div>

I’d run the pHat Beat installer again and see what happens, before starting all over again. I have a pHat Beat, absolutely no experience with Alexa though.

---

<div class="post-metadata">

**Author:** ![AndySax](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@AndySax](https://forums.pimoroni.com/u/AndySax)\
**Post date:** [January 27, 2018, 1:33pm UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/3 "2018-01-27T13:33:08Z")

</div>

Hi, thanks for your reply. I should have tried that but my head was a bit mashed, it was one of those days.  
I’ve just rerun the phat beat script but it didn’t work, still the same problem.

Andy

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 27, 2018, 2:18pm UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/4 "2018-01-27T14:18:17Z")

</div>

It was worth a try anyway. You had sound out of the pHat Beat before so it’s not a hardware issue. Pi Zero doesn’t have an analog out so its not going there. Vu meter is working. Right click the speaker icon in the tray and see what is set as the default audio out.

---

<div class="post-metadata">

**Author:** ![AndySax](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@AndySax](https://forums.pimoroni.com/u/AndySax)\
**Post date:** [January 27, 2018, 5:41pm UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/5 "2018-01-27T17:41:37Z")

</div>

I’m on jessie lite so no speaker icon, is there a way to do that through terminal?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 27, 2018, 8:00pm UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/6 "2018-01-27T20:00:26Z")

</div>

That I don’t know? There likely is a way but I’m a Linux / Raspbian noob.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 27, 2018, 8:02pm UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/7 "2018-01-27T20:02:57Z")

</div>

Have a look see at this, [https://www.raspberrypi.org/documentation/configuration/audio-config.md](https://www.raspberrypi.org/documentation/configuration/audio-config.md) might help?  
Or, [http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/](http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/)

---

<div class="post-metadata">

**Author:** ![AndySax](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@AndySax](https://forums.pimoroni.com/u/AndySax)\
**Post date:** [January 28, 2018, 10:11am UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/8 "2018-01-28T10:11:00Z")

</div>

Thanks for that info. I’ve worked through it with no luck but I have found something interesting.  
If I use alsamixer, sound output is set to PulseAudio and altering the volume does change the level of the LED’s on the PhatBeat. If I press F6 to change the output device, I get the option snd\_rpi\_hifiberry\_dac, which I’m assuming is the correct setting. However, if I change this and exit alsamixer it still does not work but when I go back into alsamixer, it has reverted back to PulseAudio.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 28, 2018, 10:34am UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/9 "2018-01-28T10:34:16Z")

</div>

Have a look see what is listed in your config.txt  
`sudo nano /boot/config.txt`  
Mine has

```auto
interfaces
dtparam=i2c_arm=on

dtoverlay=i2s-mmap
dtoverlay=hifiberry-dac

```

Everything else is remarked out. Any line with a # in front is ignored. That’s on my Pirate Radio install running full Jessie with a pHat Beat.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 28, 2018, 12:23pm UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/10 "2018-01-28T12:23:25Z")

</div>

This may, or may not, lol, help.  
[https://manpages.debian.org/stretch/pulseaudio/pulseaudio.1.en.html](https://manpages.debian.org/stretch/pulseaudio/pulseaudio.1.en.html)

---

<div class="post-metadata">

**Author:** ![AndySax](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@AndySax](https://forums.pimoroni.com/u/AndySax)\
**Post date:** [January 28, 2018, 2:37pm UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/11 "2018-01-28T14:37:03Z")

</div>

dtparam=i2c\_arm=on  
Was remarked out so I changed it but it hasn’t worked.  
Thanks for trying I do appreciate it.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [January 28, 2018, 3:43pm UTC](https://forums.pimoroni.com/t/alexa-with-phat-beat/7020/12 "2018-01-28T15:43:14Z")

</div>

That was likely there in my config.txt because I turned i2c on manually. It looks like the pHat Beat doesn’t use it anyway, it only uses SPI, which I think is the i2s entry.

I think you’ll need some input from @gadgetoid or @sandyjmacdonald to sort this out.
