AlexaPi (voice-activated)

Anyone using AlexaPi with HASS?

I’m trying to get @PhyberApex version of AlexaPi to work since his version allow voice control.
https://github.com/PhyberApex/AlexaPi/tree/voice-activated

Unfortunately I have some issues with install.

It gives me an error trying installing PyAudio (but main installer continues).
When launching it I get
pi@Alexa:~ $ sudo python /root/AlexaPi/main.py /root/Alexa.pmdl Traceback (most recent call last): File "/root/AlexaPi/main.py", line 16, in <module> import snowboydecoder ImportError: No module named snowboydecoder

Anyone got this version of AlexaPi up and running?

Pi: Pi2 Model B, latest version of rasbian

I ended up using this version that seems to be a little more up to date.
https://github.com/maso27/AlexaPi/tree/version1.2

I have now installed AlexaPi and it reacts on voice command.
Next step will be to create skills for HASS using the documentation

I’m sorry I couldn’t respond earlier (was on a confrence this weekend).

Glad you figuered something out tho!

Cheers

Just to clear this up. You have voice activation working or do you need to push a button with your setup?

Edit:
I also found the error in my Github repo. If you still need it I can clean it up by tomorrow. I forgot to add the snowboy files to the git commit (still a github noobie) :slight_smile:

Cheers

No worries @PhyberApex, I use voice activation and I’ve got it up and running.
It seems that maso27 is not using snowboy? Is that better?

Welp I looked at it and it looks a lot more polished than my version. I think I actually might switch over to this one myself. I do not know if there is a huge advantage of using the snowboy engine instead of pocketsphynx.

Cheers

Just a little FYI.

There is currently a summit going on for all the AlexaPi fork devs to make one github repo that works really well :slight_smile:

Cheers

1 Like

Nice info @PhyberApex, I bet that will make AlexaPi even better

Hey guys. In case someone wants to help out with the new version, I’m posting a link here. We’re currently working at https://github.com/alexa-pi/AlexaPi.

If you’re at least an intermediate hobby python developer, please join us. You wouldn’t have to write code straight away and spend a lot of time with it. I personally have a lot of code changes ready that need code review and testing and if you could help out just with that, that would be awesome.

Thanks! I hope we’ll have it ready soon.
René

1 Like